uniapp 复选框 同意协议选择框

js yekong 516℃

uniapp 复选框

<u-checkbox-group activeColor="#4293F5">
						<u-checkbox  :checked="checked"  labelColor="#171717" labelSize="12" label="同意"  @change="getchecked"></u-checkbox>
					</u-checkbox-group>
					


<u-checkbox-group shape="circle" activeColor="#4293F5">
						<u-checkbox :checked="checked" labelColor="#171717" labelSize="12" label="同意"  @change="getchecked"></u-checkbox>
					</u-checkbox-group>
				checked: false,
getchecked(e) {
				this.checked = e
			},

html

<view class="group_10">
						<u-checkbox-group size="10" shape="circle" activeColor="#4293F5">
							<u-checkbox size="14" shape="circle" activeColor="#FEC846"  :checked="checked"
								labelColor="#171717" labelSize="12" label="点击授权登录即表示同意" @change="getchecked">
							</u-checkbox>
						</u-checkbox-group>
						<text class="text_8">《厨师到家用户协议》</text>
					</view>

wanjunshijiecom 2022-01-12 at 21.19.01

喜欢 (0)