accountCancellation.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="page dis f-c ">
  3. <view class="title dis a-c ">
  4. <image class="mr-1" src="/static/icon/my/warning.png" mode=""></image>
  5. <text>注销账号不可逆,请谨慎操作!</text>
  6. </view>
  7. <view class="content dis f-c ">
  8. <text>1.注销后账号将退出%登录租户名称%无法登录,无法找回。</text>
  9. <text>2.注销后你的身份信息,三方账号(微信,支付宝)不会存在之前的账号绑定关系。</text>
  10. <text>3.注销前请确保钱包内余额为0,且无其它资金纠纷问题。</text>
  11. <text>4.注销后你在%登录租户名称%下的订单以及其它业务相关数据将被清除。</text>
  12. </view>
  13. <view class="footerfixed">
  14. <view class="dis a-c checkbox">
  15. <u-checkbox-group v-model="checkbox" placement="row" iconPlacement="left" size="14">
  16. <u-checkbox v-for="(item, index) in checkboxList1" :key="index" :name="item" shape="circle"
  17. activeColor="#FDE935" iconColor='#333' iconSize="10">
  18. </u-checkbox>
  19. </u-checkbox-group>
  20. <text>请您阅读并同意 <text style="color: #1F1F1F;" class="ml-1 mr-1" @click="logoutAgreement">注销协议</text>
  21. </text>
  22. </view>
  23. <view class="btn dis a-c j-s">
  24. <view class="dis a-c j-c " @click="back">
  25. 暂不注销
  26. </view>
  27. <view class="dis a-c j-c " @click="logout">
  28. 确定注销
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. import {
  36. mapState,
  37. mapMutations
  38. } from "vuex"
  39. export default {
  40. data() {
  41. return {
  42. checkbox: [],
  43. // 基本案列数据
  44. checkboxList1: ['选中'],
  45. }
  46. },
  47. onShow() {
  48. },
  49. onLoad() {},
  50. computed: {
  51. ...mapState(['userInfo']),
  52. },
  53. methods: {
  54. //返回上个页面
  55. back() {
  56. uni.navigateBack(-1)
  57. },
  58. //注销
  59. logout() {
  60. if (this.checkbox.length == 0) {
  61. return uni.showToast({
  62. title: '请阅读后勾选并同意《注销协议》',
  63. icon: 'none'
  64. });
  65. }
  66. uni.navigateTo({
  67. url: '/pages/login/smsCode?mobile=' + this.userInfo.sysUser.mobile,
  68. })
  69. },
  70. //注销协议
  71. logoutAgreement() {
  72. uni.navigateTo({
  73. url: '/pages/set/logoutAgreement'
  74. })
  75. },
  76. }
  77. }
  78. </script>
  79. <style lang="scss" scoped>
  80. page {
  81. background-color: #f8f8f8;
  82. padding: 40rpx;
  83. box-sizing: border-box;
  84. }
  85. .title {
  86. image {
  87. width: 36rpx;
  88. height: 36rpx;
  89. }
  90. font-size: 36rpx;
  91. color: #333;
  92. font-weight: bold;
  93. }
  94. .content {
  95. margin-top: 30rpx;
  96. font-size: 30rpx;
  97. color: #333;
  98. text {
  99. margin-bottom: 60rpx;
  100. }
  101. }
  102. .footerfixed {
  103. position: fixed;
  104. bottom: 0;
  105. left: 0;
  106. width: 100%;
  107. .checkbox {
  108. margin-left: 40rpx;
  109. margin-bottom: 40rpx;
  110. font-size: 26rpx;
  111. color: #999;
  112. }
  113. .btn {
  114. width: 100%;
  115. padding: 25rpx 30rpx 54rpx;
  116. box-sizing: border-box;
  117. background: linear-gradient(0, #FFFFFF 0%, rgba(255, 254, 245, 0.8) 100%);
  118. view:first-child {
  119. flex: 1;
  120. border-radius: 58rpx 58rpx 58rpx 58rpx;
  121. border: 1rpx solid #FDE935;
  122. padding: 20rpx;
  123. box-sizing: border-box;
  124. margin-right: 30rpx;
  125. }
  126. view:last-child {
  127. flex: 1;
  128. background: #FDE935;
  129. border-radius: 58rpx 58rpx 58rpx 58rpx;
  130. padding: 20rpx;
  131. box-sizing: border-box;
  132. }
  133. }
  134. }
  135. </style>