logout.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <template>
  2. <view>
  3. <u-navbar title="注销账号"></u-navbar>
  4. <view class="logout-head">
  5. <img src="../../static/img/logout.png" alt="">
  6. <p>注销帐号</p>
  7. </view>
  8. <view class="logout-text">
  9. <p>我们很遗憾您做出注销帐号的决定,在提交申请前请您仔细阅读以下内容:</p>
  10. <p> 1.您应确保您有权决定该账户的注销事宜,不侵犯任何第三方的合法权益,如因此引发任何投诉争议,由您自行承担。</p>
  11. <p> 2.帐号注销后您无法再使用本社区的各项服务,您的个人信息及求助记录也将被清空。</p>
  12. <p> 3.如您已被国家机关调查或正处于诉讼、仲裁程序中,请注意,注销您的帐号并不代表此帐号注销前的帐号行为和相关责任得到豁免或减轻。</p>
  13. </view>
  14. <view class="logout-btn">
  15. <u-button class="logout-btn1" shape="circle" type="" @click="logout">
  16. <span>继续注销</span>
  17. </u-button>
  18. <u-button class="logout-btn2" shape="circle" type="success" @click="toSetting">
  19. <span>我再想想</span>
  20. </u-button>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. }
  29. },
  30. methods: {
  31. toSetting() {
  32. uni.navigateBack({
  33. })
  34. },
  35. logout() {
  36. uni.redirectTo({
  37. url: '/pages/login/login'
  38. })
  39. }
  40. }
  41. }
  42. </script>
  43. <style>
  44. page{
  45. background-color: #fff;
  46. }
  47. </style>
  48. <style lang="scss" scoped>
  49. .collapse{
  50. background-color: #fff;
  51. padding:0 10px;
  52. }
  53. .logout-head{
  54. background-color: #FF5E5E ;
  55. padding: 20px 0;
  56. display: flex;
  57. flex-direction: column;
  58. align-items: center;
  59. img{
  60. height: 52px;
  61. width: 52px;
  62. }
  63. p{
  64. color:#fff;
  65. margin-top: 4px;
  66. }
  67. }
  68. .logout-text{
  69. padding: 24px;
  70. p{
  71. line-height: 28px;
  72. }
  73. }
  74. .logout-btn{
  75. display: flex;
  76. justify-content: space-between;
  77. padding: 0 24px;
  78. }
  79. .logout-btn1{
  80. color:#BBBBBB!important;
  81. background-color:#fff!important;
  82. flex: 0.4;
  83. span{
  84. color:#333;
  85. }
  86. }
  87. .logout-btn2{
  88. background-color:#00B962!important;
  89. flex: 0.4;
  90. border-color: #00B962!important;
  91. color:#fff!important;
  92. }
  93. </style>