zhuxiao.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <template>
  2. <view>
  3. <view style="width: 100%;text-align: center;margin: 20upx 0upx;">
  4. <image style="width: 100rpx;height: 100rpx; margin: 20rpx auto;" src="../../static/images/my/eorr.png" mode=""></image>
  5. <view style="font-weight: bold;font-size: 32rpx;color: #222222;">很抱歉,我们在这里见面</view>
  6. <view style="margin-top: 20upx;font-size: 24upx;color: #B2B2B2;">如果您是误操作,请取消申请</view>
  7. </view>
  8. <view style="margin: 32rpx;background: #F6F6F6;padding: 28rpx 30upx;border-radius: 32rpx;">
  9. <view style="font-weight: bold;
  10. font-size: 32rpx;
  11. color: #222222;margin-bottom: 20rpx;">注销提示:</view>
  12. <view style="font-weight: bold;
  13. font-size: 28rpx;
  14. color: #222222;margin-bottom: 20rpx;">若你是二次申请注销,则注销申请会直接通过</view>
  15. <view style="font-weight: bold;
  16. font-size: 28rpx;
  17. color: #222222;margin-bottom: 20rpx;">一旦账号注销成功</view>
  18. <view class="title_item">
  19. <view class="item_yuan"></view>
  20. <view class="item_title">您的账号将无法登陆与使用</view>
  21. </view>
  22. <view class="title_item">
  23. <view class="item_yuan"></view>
  24. <view class="item_title">您的账号信息与会员权益将会永久清除且无法恢复</view>
  25. </view>
  26. <view class="title_item">
  27. <view class="item_yuan"></view>
  28. <view class="item_title">您的收益将被永久清空且无法恢复</view>
  29. </view>
  30. <view class="title_item">
  31. <view class="item_yuan"></view>
  32. <view class="item_title">您的账号所关联的订单将无法查询与找回</view>
  33. </view>
  34. <view class="title_item">
  35. <view class="item_yuan"></view>
  36. <view class="item_title">您在上门服务购买的物品将无法进行售后</view>
  37. </view>
  38. <view class="title_item">
  39. <view class="item_yuan"></view>
  40. <view class="item_title">您在上门服务的账号信息及会员权益将会永久清除且无法恢复</view>
  41. </view>
  42. <view class="title_item">
  43. <view class="item_yuan"></view>
  44. <view class="item_title" style="color:#F24E4E">您所绑定的手机号码3个月内将无法再次注册上门服务</view>
  45. </view>
  46. </view>
  47. <view style="margin-top: 100upx;display: flex;padding: 20upx;">
  48. <view @tap="send"
  49. style="flex: 1;background: #F6F6F6;color: #222222;height: 100rpx;line-height: 100rpx;border-radius: 50upx;text-align: center;">
  50. 继续注销</view>
  51. <view @tap="back"
  52. style="margin-left: 10upx;flex: 1;background: #FF9DB4;font-weight: bold;font-size: 32rpx;
  53. color: #222222;height: 100rpx;line-height: 100rpx;border-radius: 50upx;text-align: center;">
  54. 暂不注销</view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. }
  63. },
  64. onLoad() {
  65. },
  66. methods: {
  67. back() {
  68. uni.navigateBack();
  69. },
  70. send() {
  71. let that = this;
  72. let userId = this.$queue.getData('userId');
  73. let phone = this.$queue.getData('phone') ? this.$queue.getData('phone') : '';
  74. uni.showModal({
  75. title: '温馨提示',
  76. content: '注销后您的账号信息与会员权益将会永久清除且无法恢复,继续注销将在三日内清除完毕,确认继续注销吗?',
  77. showCancel: true,
  78. cancelText: '暂不注销',
  79. confirmText: '继续注销',
  80. success: res => {
  81. if (res.confirm) {
  82. that.$queue.showLoading('注销中...');
  83. that.$Request
  84. .postJson('/app/message/insertMessage', {
  85. state: 3,
  86. title: phone ? phone : '注销账号',
  87. content: '我要注销账号!',
  88. phone: phone,
  89. userId: userId
  90. })
  91. .then(res => {
  92. if (res.code === 0) {
  93. uni.showToast({
  94. title: '申请成功!'
  95. });
  96. that.$queue.logout();
  97. setTimeout(function() {
  98. uni.switchTab({
  99. url: '/pages/index/index'
  100. })
  101. }, 1000);
  102. } else {
  103. uni.hideLoading();
  104. uni.showModal({
  105. showCancel: false,
  106. title: '注销失败',
  107. content: res.msg
  108. });
  109. }
  110. });
  111. }
  112. }
  113. });
  114. }
  115. }
  116. }
  117. </script>
  118. <style>
  119. page {
  120. background: #fff;
  121. }
  122. .title_item {
  123. display: flex;
  124. align-items: center;
  125. margin-top: 15upx;
  126. }
  127. .item_yuan {
  128. width: 12upx;
  129. height: 12upx;
  130. border-radius: 50%;
  131. background: #AAAAAA;
  132. }
  133. .item_title {
  134. margin-left: 10upx;
  135. font-size: 28rpx;
  136. color: #AAAAAA;
  137. }
  138. </style>