Browse Source

修改BUG

shenjj 7 years ago
parent
commit
5f017a22ea
2 changed files with 14 additions and 1 deletions
  1. 12 1
      pages/mobile/order/details.vue
  2. 2 0
      pages/mobile/order/index.vue

+ 12 - 1
pages/mobile/order/details.vue

@@ -39,9 +39,18 @@
             <div class="pull-left clearfix">
               <template v-if="vendorType !== 'buyer'">
                 <div style="color: #666">买家:</div>
+                <template v-if="orderList.buyentername === orderList.buyername">
+                  <div>{{orderList.buyentername || '(个人账户)'}}</div>
+                </template>
+                <template v-else>
+                  <div>{{orderList.buyentername}}</div><div>&nbsp;|&nbsp;{{orderList.buyername}}</div>
+                </template>
                 <!--<span class="labelInfo_ForItem" v-if="item.storeid === '33069557578d44e69bd91ad12d28a8d4'">寄售</span>-->
-                <div style="color: #333">{{orderList.buyentername || '(个人账户)'}}</div><div>&nbsp;|&nbsp;{{orderList.buyername}}</div>
+                <!--<div style="color: #333">{{orderList.buyentername || '(个人账户)'}}</div><div>&nbsp;|&nbsp;{{orderList.buyername}}</div>-->
               </template>
+              <div class="pull-left" v-else @click="toShopdetails(orderList)" style="max-width: 5rem">卖家:
+                <!--<span class="labelInfo_ForItem" v-if="item.storeid === '33069557578d44e69bd91ad12d28a8d4'">寄售</span>-->
+                {{orderList.sellername}}<img src="/images/mobile/user/icon-right.png" style="margin-top: 0.28rem"/></div>
             </div>
             <div class="pull-right" v-if="vendorType !== 'buyer'">
               <div class="concat" @click="cancatAlert()">
@@ -1168,6 +1177,8 @@
             .pri {
               font-size: 0.28rem;
               color: #f43938;
+              @include overFlowHidden();
+              width: 2.4rem;
             }
           }
         }

+ 2 - 0
pages/mobile/order/index.vue

@@ -1004,6 +1004,8 @@
         .pri {
           font-size: 0.28rem;
           color: #f43938;
+          @include overFlowHidden();
+          width: 2.4rem;
         }
       }
     }