wangfei 6 лет назад
Родитель
Сommit
50fe315a24

+ 5
- 2
src/components/libraryListItem/index.vue Просмотреть файл

@@ -158,6 +158,8 @@ export default {
158 158
       z-index: 1;
159 159
     }
160 160
     > span {
161
+      width: .7rem;
162
+      text-align: center;
161 163
       display: inline-block;
162 164
       position: absolute;
163 165
       left: -0.1rem;
@@ -168,7 +170,7 @@ export default {
168 170
       background: #333;
169 171
       line-height: 0.25rem;
170 172
       border-radius: 0.25rem;
171
-      padding: 0 0.15rem;
173
+      box-shadow: 0 0 .1rem .02rem rgba(0, 0, 0, .15);
172 174
       &.active {
173 175
         background: #fc5534;
174 176
       }
@@ -217,7 +219,8 @@ export default {
217 219
             font-size: 0.13rem;
218 220
           }
219 221
           &.status {
220
-            padding: 0 0.15rem;
222
+            width: .7rem;
223
+            text-align: center;
221 224
             font-size: 0.12rem;
222 225
             color: #999;
223 226
             background: #fff;

+ 9
- 7
src/pages/user/mainPage/userCenter/index.vue Просмотреть файл

@@ -7,15 +7,17 @@
7 7
         <div class="user-card">
8 8
           <div>
9 9
             <img :src="headimgurl" alt width="100%" height="100%">
10
-            <div>
11
-              <div class="user-name">{{user.Name}}</div>
10
+            <div style="margin-top: 0.06rem;">
11
+              <div>
12
+                <div class="user-name" style="display:inline-block;vertical-align: middle;">{{user.Name}}</div>
13
+                <div class="vip" style="display:inline-block;vertical-align: middle;margin-left:0.05rem">
14
+                  <span>vip1</span>
15
+                  <img src="../../../../common/icon/Rectangle.png" alt="">
16
+                </div>
17
+              </div>
12 18
               <div v-if="user.Phone">{{user.Phone}}</div>
13 19
               <div v-else>未绑定</div>
14 20
             </div>
15
-            <div class="vip">
16
-              <span>vip1</span>
17
-              <img src="../../../../common/icon/Rectangle.png" alt="">
18
-            </div>
19 21
           </div>
20 22
           <div v-if="user.Phone" class="code">
21 23
             <div>卡号:{{user.Barcode}}</div>
@@ -126,7 +128,7 @@ export default {
126 128
           if (this.user.Phone) {
127 129
             JsBarcode("#barcode", this.user.Barcode, {
128 130
               lineColor: '#000000',
129
-              width:1.5,
131
+              width:2.2,
130 132
               height: 60,
131 133
               displayValue: false
132 134
             })