Browse Source

bug修改

wangfei 6 years ago
parent
commit
50fe315a24

+ 5
- 2
src/components/libraryListItem/index.vue View File

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

+ 9
- 7
src/pages/user/mainPage/userCenter/index.vue View File

7
         <div class="user-card">
7
         <div class="user-card">
8
           <div>
8
           <div>
9
             <img :src="headimgurl" alt width="100%" height="100%">
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
               <div v-if="user.Phone">{{user.Phone}}</div>
18
               <div v-if="user.Phone">{{user.Phone}}</div>
13
               <div v-else>未绑定</div>
19
               <div v-else>未绑定</div>
14
             </div>
20
             </div>
15
-            <div class="vip">
16
-              <span>vip1</span>
17
-              <img src="../../../../common/icon/Rectangle.png" alt="">
18
-            </div>
19
           </div>
21
           </div>
20
           <div v-if="user.Phone" class="code">
22
           <div v-if="user.Phone" class="code">
21
             <div>卡号:{{user.Barcode}}</div>
23
             <div>卡号:{{user.Barcode}}</div>
126
           if (this.user.Phone) {
128
           if (this.user.Phone) {
127
             JsBarcode("#barcode", this.user.Barcode, {
129
             JsBarcode("#barcode", this.user.Barcode, {
128
               lineColor: '#000000',
130
               lineColor: '#000000',
129
-              width:1.5,
131
+              width:2.2,
130
               height: 60,
132
               height: 60,
131
               displayValue: false
133
               displayValue: false
132
             })
134
             })