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>