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.

39 lines
862 B

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