DelMemConfirm.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <view class="page">
  3. <view class="list_info">
  4. <view class="title">为保证你的账号安全,在你提交的注销申请生效前,需同时满足以下条件</view>
  5. <view class="content">
  6. <view class="paragraph">
  7. <view class="subheading">1. 账号处于安全状态</view>
  8. <view class="subtitle">账号处于正常使用状态,无被盗风险</view>
  9. </view>
  10. <view class="paragraph">
  11. <view class="subheading">2.账号权限解除</view>
  12. <view class="subtitle">账号已解除与其他产品的授权登录或绑定关系</view>
  13. </view>
  14. <view class="paragraph">
  15. <view class="subheading">3.账号无任何纠纷,包括投诉举报</view>
  16. <view class="subtitle">本账号及通过本账号接入的第三方产品中没有未完成和/或存在争议的服务
  17. <view style="margin-top: 10rpx;">本账号无任何纠纷,包括投诉举报、侵权等</view>
  18. </view>
  19. </view>
  20. <view class="paragraph red">
  21. 注意:删除账号后,你将无法找回账号信息,你的所有数据和消息也会一并删除
  22. </view>
  23. </view>
  24. <view class="agree">
  25. <checkbox-group @change="agreeChange">
  26. <label>
  27. <checkbox value="agree" :checked="agree" :class="{ 'checked': agree, 'custom-checkbox': true }"
  28. style="display: none;" />
  29. <view class="custom-checkbox-box" :class="{ 'checked': agree }"></view>
  30. </label>
  31. </checkbox-group>
  32. <text @click="goPage()"><text style="color: #7c7c7c;padding-right: 5rpx;">我已阅读并同意</text> 注销协议</text>
  33. </view>
  34. <view class="btn_submit" @click="nextStep" :class="{ disabled: !agree }">下一步</view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {
  40. data() {
  41. return {
  42. agree: false,
  43. };
  44. },
  45. methods: {
  46. goPage() {
  47. console.log(66666);
  48. uni.navigateTo({
  49. url: '/pages/AboutUs/UserLogoutAgreement'
  50. })
  51. },
  52. agreeChange(e) {
  53. this.agree = e.detail.value.includes('agree');
  54. },
  55. nextStep() {
  56. if (this.agree) {
  57. uni.navigateTo({
  58. url: '/pages/my/DelMemVerify',
  59. });
  60. }
  61. },
  62. },
  63. };
  64. </script>
  65. <style scoped lang="scss">
  66. .page {
  67. padding: 40rpx;
  68. box-sizing: border-box;
  69. }
  70. .list_info {
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: flex-start;
  74. align-items: center;
  75. color: #1F1F1F;
  76. .title {
  77. margin-top: 60rpx;
  78. font-family: 'PingFang SC-Bold';
  79. font-weight: 400;
  80. font-size: 40rpx;
  81. margin-bottom: 34rpx;
  82. }
  83. .paragraph {
  84. margin-bottom: 36rpx;
  85. .subheading {
  86. font-size: 28rpx;
  87. font-family: 'PingFang SC-Bold';
  88. font-weight: 400;
  89. }
  90. .subtitle {
  91. margin-top: 4rpx;
  92. font-size: 24rpx;
  93. font-family: 'PingFang SC';
  94. font-weight: 400;
  95. color: #7C7C7C;
  96. }
  97. &.red {
  98. color: #FF0000;
  99. font-size: 24rpx;
  100. font-weight: 400;
  101. }
  102. }
  103. .agree {
  104. margin-top: 200rpx;
  105. text-align: left;
  106. width: 626rpx;
  107. color: #333;
  108. font-size: 28rpx;
  109. display: flex;
  110. align-items: center;
  111. justify-content: center;
  112. font-size: 24rpx;
  113. font-family: 'PingFang SC-Medium';
  114. .custom-checkbox-box {
  115. display: inline-block;
  116. width: 28rpx;
  117. height: 28rpx;
  118. background-image: url('../../static/icon/wd_icon_gouxuan01.png'); // 未选中状态图片路径
  119. background-size: cover;
  120. margin-right: 10rpx;
  121. vertical-align: middle;
  122. }
  123. .custom-checkbox-box.checked {
  124. background-image: url('../../static/icon/wd_icon_gouxuan02.png'); // 选中状态图片路径
  125. }
  126. }
  127. .btn_submit {
  128. width: 660rpx;
  129. height: 96rpx;
  130. margin: 0 auto;
  131. margin-top: 40rpx;
  132. background: #1f1f1f;
  133. border-radius: 50rpx;
  134. font-weight: bold;
  135. font-size: 32rpx;
  136. color: #ffffff;
  137. display: flex;
  138. flex-direction: row;
  139. justify-content: center;
  140. align-items: center;
  141. &.disabled {
  142. background: #999;
  143. }
  144. }
  145. }
  146. </style>