学员端小程序
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.

38 lines
837 B

  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 @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. this.$emit('changeRadio', val)
  17. },
  18. async goPage(type) {
  19. this.$goPage('/pages/userCenter/login/privacyAgreement/privacyAgreement?type='+ type)
  20. }
  21. }
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. .radioWrap {
  26. display: flex;
  27. align-items: center;
  28. .privacyText {
  29. font-size: 24rpx;
  30. color: #888E94;
  31. text {
  32. color: $themC;
  33. }
  34. }
  35. }
  36. </style>