wxml:
<view class='flex-end treaty-text'>
<checkbox-group bindchange="selectedTreaty">
<view class='check-box'>
<checkbox value="1" checked='checked'/>
</view>
</checkbox-group>
<view>我已阅读和同意</view>
<navigator hover-class='none' url='/guofeng/exemptionTreaty/exemptionTreaty' class='treaty-skip'>《2019国风大赛服务免责声明》</navigator> <view>并报名参赛</view></view>
wxss:
.flex-end{
display: flex;
align-items: center;
justify-content: flex-end;
}
.treaty-text{
padding-top: 28rpx;
text-align: center;
font-size: 22rpx;
color: rgba(119,119,119,1);
}
.treaty-skip{
color: rgba(119,156,217,1);
}
checkbox .wx-checkbox-input{
width: 24rpx;
height: 24rpx;
}
//改变选中√颜色
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{
color:rgba(150,13,7,1);
}