Baozhangchao il y a 3 ans
Parent
révision
20ee8aa4a2
3 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 1
    0
      src/App.vue
  2. 1
    1
      src/components/Tabber.vue
  3. 4
    5
      src/components/UserCenter.vue

+ 1
- 0
src/App.vue Voir le fichier

22
 #app {
22
 #app {
23
   margin: 0;
23
   margin: 0;
24
   height: 100%;
24
   height: 100%;
25
+  background-color: rgb(247, 247, 247);
25
 }
26
 }
26
 </style>
27
 </style>

+ 1
- 1
src/components/Tabber.vue Voir le fichier

66
 <style lang="less" scoped>
66
 <style lang="less" scoped>
67
 .tabbar {
67
 .tabbar {
68
   .van-tabbar {
68
   .van-tabbar {
69
-    padding-bottom: 2em;
69
+    // padding-bottom: 2em;
70
   }
70
   }
71
 }
71
 }
72
 </style>
72
 </style>

+ 4
- 5
src/components/UserCenter.vue Voir le fichier

15
 
15
 
16
     <div class="button-box">
16
     <div class="button-box">
17
       <van-cell-group>
17
       <van-cell-group>
18
-        <van-cell class="user-button" title="注册" @click="handLogin()" />
18
+        <van-cell class="user-button" title="注册" icon="contact" @click="handLogin()" is-link />
19
       </van-cell-group>
19
       </van-cell-group>
20
       <!-- <button type="primary" @click="handLogin()">微信授权登录</button> -->
20
       <!-- <button type="primary" @click="handLogin()">微信授权登录</button> -->
21
       <!-- <van-button class="user-button" type="info" @click="handLogin()">注册</van-button> -->
21
       <!-- <van-button class="user-button" type="info" @click="handLogin()">注册</van-button> -->
109
   width: 100%;
109
   width: 100%;
110
   height: 100%;
110
   height: 100%;
111
   .user-info {
111
   .user-info {
112
+    background-color: #fff;
113
+    margin-bottom: 10px;
112
     display: flex;
114
     display: flex;
113
     height: 20%;
115
     height: 20%;
114
     padding-left: 24px;
116
     padding-left: 24px;
132
     }
134
     }
133
   }
135
   }
134
   .button-box {
136
   .button-box {
135
-    width: 97%;
137
+    width: 100%;
136
     margin: 0 auto;
138
     margin: 0 auto;
137
     // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
139
     // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
138
     .user-button {
140
     .user-button {
139
-      height: 50px;
140
-      line-height: 30px;
141
-
142
       // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
141
       // box-shadow: 0px 8px 38px 0px rgba(0, 0, 0, 0.12);
143
     }
142
     }
144
   }
143
   }