mine.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <view class="v1">
  3. <view class="userback">
  4. <view class="brand">
  5. Y
  6. </view>
  7. <view class="userback-username">
  8. 原动力
  9. </view>
  10. </view>
  11. <view class="user-function">
  12. <view class="user-function-forget">
  13. <button class="clean-btn-style user-function-forget-btn" @click="back()">清空缓存</button>
  14. </view>
  15. <view class="user-function-exit">
  16. <button class="clean-btn-style user-function-exit-btn" @click="back()">退出登录</button>
  17. </view>
  18. </view>
  19. <!-- 提示信息弹窗 -->
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. };
  27. },
  28. methods:{
  29. back(){
  30. uni.reLaunch({
  31. url:'/pages/login/login'
  32. })
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" >
  38. .v1{
  39. display: block;
  40. position:absolute;
  41. width: 100%;
  42. height: 100vh;
  43. background-color: #FFFFFF;
  44. }
  45. .clean-btn-style{
  46. background-color: #FFFFFF;
  47. border-radius: 0;
  48. }
  49. .clean-btn-style::after{
  50. border: none;
  51. }
  52. .userback {
  53. height: 216px;
  54. // background-repeat: no-repeat;
  55. // background-size: 100%;
  56. text-align: center
  57. }
  58. .brand{
  59. display: inline-block;
  60. border-radius: 50%;
  61. // margin-top: 21%;
  62. width: 97px;
  63. height: 97px;
  64. margin: 80px auto 0;
  65. background-color: #1AAD19;
  66. color: #ffffff;
  67. font-size: 70px;
  68. line-height: 97px;
  69. }
  70. .userback-username{
  71. margin-top: 20px;
  72. }
  73. .user-function{
  74. margin: 30px 20px;
  75. border-radius: 20px;
  76. background-color: #F8F8F8;
  77. line-height: 36px;
  78. border: 1px solid #F0F0F0;
  79. .user-function-forget{
  80. padding-left: 30px;
  81. cursor: pointer;
  82. border-bottom: 1px solid #F0F0F0;
  83. .user-function-forget-btn{
  84. font-size: 14px;
  85. padding: 0;
  86. text-align: left;
  87. background-color: #F8F8F8;
  88. width: 90%;
  89. margin: 0;
  90. }
  91. }
  92. .user-function-exit{
  93. padding-left: 30px;
  94. cursor: pointer;
  95. .user-function-exit-btn{
  96. font-size: 14px;
  97. padding: 0;
  98. text-align: left;
  99. background-color: #F8F8F8;
  100. width: 90%;
  101. margin: 0;
  102. }
  103. }
  104. }
  105. </style>