Commit 27d20f5f2a7e4ece71c8689fb552f818ffa5e658

Authored by zhiyangdu
1 parent 00e10f0f

地址列表页样式优化

src/components/addressList/addressList.less
... ... @@ -102,7 +102,7 @@ page {
102 102 flex-direction: row;
103 103 justify-content: flex-end;
104 104 align-items: center;
105   - flex: 1;
  105 + // flex: 1;
106 106 .check-box {
107 107 width: 36px;
108 108 height: 36px;
... ...
src/pages/addressList/addressList.vue
... ... @@ -4,9 +4,8 @@
4 4 <!-- 导航栏 -->
5 5 <div class="nav">
6 6  
7   - <!-- navBar -->
8   - <nav-bar
9   - @back="back"
  7 + <!-- navBar -->
  8 + <nav-bar @back="back"
10 9 :navs="navs">
11 10 </nav-bar>
12 11 </div>
... ... @@ -68,7 +67,7 @@ export default {
68 67  
69 68 this.$set(this, "navs", {
70 69 back: {
71   - img: "/static/img/icon_back.png"
  70 + img: "static/img/icon_back.png"
72 71 },
73 72 title: this.title
74 73 });
... ... @@ -114,7 +113,7 @@ export default {
114 113 if (this.getStore("uid")) {
115 114  
116 115 // 显示loading
117   - Indicator.open('加载中...');
  116 + Indicator.open('加载中...');
118 117  
119 118 // 请求接口
120 119 this.http("/Api/" + (this.getApiVersion().index) + "/myAddress", {
... ... @@ -300,7 +299,7 @@ export default {
300 299 if (item.uid && item.id) {
301 300  
302 301 // 显示loading
303   - Indicator.open('加载中...');
  302 + Indicator.open('加载中...');
304 303 // 请求接口
305 304 this.http("/Api/" + (this.getApiVersion().index) + "/delAddress", {
306 305 uid: item.uid,
... ... @@ -377,7 +376,7 @@ export default {
377 376 } else {
378 377  
379 378 // 显示loading
380   - Indicator.open('加载中...');
  379 + Indicator.open('加载中...');
381 380  
382 381 // 请求接口
383 382 this.http("/Api/" + (this.getApiVersion().index) + "/editAddress", {
... ... @@ -477,28 +476,28 @@ export default {
477 476  
478 477 <style rel="stylesheet/less" lang="less">
479 478 @import './addressList';
480   -.van-dialog{
481   -width: 640px;
482   -font-size: 32px;
  479 +.van-dialog {
  480 + width: 640px;
  481 + font-size: 32px;
483 482 }
484 483 .van-dialog__header {
485   - padding-top: 52px;
486   - font-weight: 500;
487   - line-height: 48px;
488   - text-align: center;
  484 + padding-top: 52px;
  485 + font-weight: 500;
  486 + line-height: 48px;
  487 + text-align: center;
489 488 }
490 489 .van-dialog__message {
491   - max-height: 72px;
492   - padding: 26px 24px;
493   - overflow-y: auto;
494   - font-size: 28px;
495   - line-height: 40px;
  490 + max-height: 72px;
  491 + padding: 26px 24px;
  492 + overflow-y: auto;
  493 + font-size: 28px;
  494 + line-height: 40px;
496 495 }
497   -.van-dialog{
498   - font-size: 32px;
  496 +.van-dialog {
  497 + font-size: 32px;
499 498 }
500   -.van-button{
501   - font-size: 32px;
502   - padding: 40px 0;
  499 +.van-button {
  500 + font-size: 32px;
  501 + padding: 40px 0;
503 502 }
504 503 </style>
505 504 \ No newline at end of file
... ...