You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
675 B

9 months ago
  1. <template>
  2. <view class="radioWrap">
  3. <u-checkbox-group @change="changeRadio">
  4. <u-checkbox v-model="isCheck" shape="circle" label="已阅读并同意" :labelSize="12" ></u-checkbox>
  5. </u-checkbox-group>
  6. <view class="privacyText">
  7. <text>用户协议</text> <text>隐私协议</text>
  8. </view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. props: ['isCheck'],
  14. methods: {
  15. changeRadio(val) {
  16. this.$emit('changeRadio', val)
  17. }
  18. }
  19. }
  20. </script>
  21. <style lang="scss" scoped>
  22. .radioWrap {
  23. display: flex;
  24. align-items: center;
  25. .privacyText {
  26. font-size: 24rpx;
  27. color: #888E94;
  28. text {
  29. color: $themC;
  30. }
  31. }
  32. }
  33. </style>