裂变星小程序-25.03.04
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.

109 lines
2.6 KiB

  1. <template>
  2. <view>
  3. <uv-modal ref="modal" :showConfirmButton="false">
  4. <view class="modal__view">
  5. <view class="header">
  6. <image class="icon" src="../static/auth/caution.png" mode=""></image>
  7. <view>
  8. 服务协议和隐私权政策
  9. </view>
  10. </view>
  11. <view class="content">
  12. 请您务必审慎阅读充分理解用户协议和隐私政策各条款包括但不限于用户注意事项用户行为规范以及为了向你提供服务而收集使用存储你个人信息的情况等你可阅读
  13. <text class="highlight" @click="$refs.popup.open('user_xy')">裂变星小程序用户服务协议</text>
  14. <text class="highlight" @click="$refs.popup.open('user_ys')">裂变星小程序平台隐私权政策</text>
  15. 了解详细信息如你同意请点击下方按钮开始接受我们的服务
  16. </view>
  17. <view class="footer flex">
  18. <button class="btn" @click="onConfirm(false)">不同意</button>
  19. <button class="btn btn-confirm" @click="onConfirm(true)">同意</button>
  20. </view>
  21. </view>
  22. </uv-modal>
  23. <configPopup ref="popup"></configPopup>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. name: 'agreementModal',
  29. data() {
  30. return {
  31. }
  32. },
  33. methods: {
  34. open() {
  35. this.$refs.modal.open()
  36. },
  37. onConfirm(confirm) {
  38. this.$emit('confirm', confirm)
  39. this.$refs.modal.close()
  40. },
  41. },
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .modal__view {
  46. display: flex;
  47. flex-direction: column;
  48. padding: 12rpx 0 0 0;
  49. }
  50. .header {
  51. display: flex;
  52. flex-direction: column;
  53. align-items: center;
  54. text-align: center;
  55. font-size: 32rpx;
  56. font-family: PingFang SC, PingFang SC-Regular;
  57. font-weight: 400;
  58. color: #000000;
  59. .icon {
  60. width: 90rpx;
  61. height: 90rpx;
  62. margin-bottom: 26rpx;
  63. }
  64. }
  65. .content {
  66. margin-top: 30rpx;
  67. font-size: 30rpx;
  68. font-family: PingFang SC, PingFang SC-Regular;
  69. font-weight: 500;
  70. text-align: left;
  71. color: #A2A2A2;
  72. .highlight {
  73. color: #474747;
  74. font-weight: 700;
  75. }
  76. }
  77. .footer {
  78. margin-top: 60rpx;
  79. text-align: center;
  80. justify-content: space-between;
  81. .btn {
  82. display: inline-flex;
  83. align-items: center;
  84. justify-content: center;
  85. border-radius: 10rpx;
  86. width: 258rpx;
  87. height: 92rpx;
  88. font-size: 36rpx;
  89. font-family: PingFang SC, PingFang SC-Regular;
  90. font-weight: 400;
  91. box-sizing: border-box;
  92. margin: 0;
  93. padding: 0;
  94. background: #F2F2F2;
  95. color: #C3C3C3;
  96. &-confirm {
  97. background: #07C160;
  98. color: #ffffff;
  99. }
  100. }
  101. }
  102. </style>