cancelAccount.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <template>
  2. <view>
  3. <u-navbar title="注销账号" title-color="#101010"></u-navbar>
  4. <view class="background">
  5. <view class="main">
  6. <view class="top">
  7. <view class="img-box">
  8. <image class="img" src="@/assets/img/vessel2.png" mode=""></image>
  9. </view>
  10. </view>
  11. <view class="content">
  12. <p>我们很遗憾您做出注销帐号的决定,在决定注销前请您仔细阅读以下内容:</p>
  13. <p>1.您应确保您有权决定该账户的注销事宜,不侵犯任何第三方的合法权益,如因此引发任何投诉争议,由您自行承担。</p>
  14. <p>2.帐号注销后您无法再使用本产品的各项服务,您的个人信息及使用记录也将被清空。</p>
  15. <p>3.如您已被国家机关调查或正处于诉讼、仲裁程序中,请注意,注销您的帐号并不代表此帐号注销前的帐号行为和相关责任得到豁免或减轻。</p>
  16. </p>
  17. <view class="notice">
  18. 注:本平台暂不提供线上注销账号功能,如您确有注销需求,可拨打客服电话沟通解决。
  19. </view>
  20. </view>
  21. <u-modal v-model="openModalBl" @confirm="confirmPhone" confirm-text="拨打电话" confirm-color="#606266"
  22. :show-cancel-button="true" ref="uModal" :asyncClose="true" title="客服电话" :content="content"
  23. :content-style="{fontSize: '24px',color: '#101010'}"></u-modal>
  24. </view>
  25. </view>
  26. <!-- 底部 -->
  27. <view class="bottom" >
  28. <button class="service" @click="openModalBl=true" >
  29. <view>
  30. <image class="img" src="@/assets/img/riFill-customer-service-2-fill 1.svg" mode=""></image>
  31. </view>
  32. 客服电话(7:00-24:00)
  33. </button>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. data() {
  40. return {
  41. content: "400-8899-619",
  42. openModalBl:false,
  43. }
  44. },
  45. methods: {
  46. confirmPhone() {
  47. this.openModalBl = false;
  48. uni.makePhoneCall({
  49. phoneNumber: this.content //仅为示例
  50. });
  51. },
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .background {
  57. position: relative;
  58. height: 200px;
  59. background: linear-gradient(180deg, rgba(255, 217, 217, 1) 0%, rgba(255, 217, 217, 0) 100%);
  60. .main {
  61. position: absolute;
  62. top: 24rpx;
  63. left: 32rpx;
  64. right: 32rpx;
  65. background-color: #fff;
  66. border-radius: 8px;
  67. overflow: hidden;
  68. .top {
  69. background: linear-gradient(180deg, rgba(255, 100, 106, 1) 0%, rgba(255, 161, 164, 1) 98%);
  70. height: 204rpx;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. .img-box {
  75. .img {
  76. width: 144rpx;
  77. height: 144rpx;
  78. // box-shadow: 0px 6px 10px 0px rgba(255,0,9,1);
  79. }
  80. }
  81. }
  82. .content {
  83. padding: 32rpx;
  84. line-height: 46rpx;
  85. color: rgb(16,16,16);
  86. p{
  87. margin-bottom: 16rpx;
  88. }
  89. .notice{
  90. font-weight: bold;
  91. }
  92. }
  93. }
  94. }
  95. // 底部
  96. .bottom {
  97. background-color: #fff;
  98. position: fixed;
  99. bottom: 0;
  100. left: 0;
  101. right: 0;
  102. padding: 24rpx 32rpx;
  103. .service {
  104. display: flex;
  105. justify-content: center;
  106. align-items: center;
  107. color: rgba(255, 255, 255, 1);
  108. font-size: 32rpx;
  109. border-radius: 50px;
  110. background: linear-gradient(-88.46deg, rgba(34, 109, 198, 1) 2.59%, rgba(9, 158, 237, 1) 97.02%);
  111. }
  112. .img {
  113. width: 40rpx;
  114. height: 40rpx;
  115. vertical-align: middle;
  116. margin-right: 16rpx;
  117. }
  118. }
  119. </style>