瀏覽代碼

feat:“订单明细弹窗分佣隐藏”

soobin 1 年之前
父節點
當前提交
cc96479a35
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/styles/orderCenter/index.less
  2. 1 1
      src/views/orderCenter/index.vue

+ 1 - 1
src/styles/orderCenter/index.less

@@ -411,7 +411,7 @@
     // width: 100%;
     background-color: rgba(255, 255, 255, 1);
     // border-radius: 1vw 1vw 0 0;
-    height: 420px;
+    height: auto;
     padding: 10px 10px;
 
     // .section1 {

+ 1 - 1
src/views/orderCenter/index.vue

@@ -177,7 +177,7 @@
           <span class="title">{{ $t('orderCenter.commodity') }}</span>
           <span class="content">{{ refundObject.productName }}</span>
         </div>
-        <div class="orderDetailBox flex-row justify-between">
+        <div v-if="user.ifForeign === '0' && user.isDistribution === '1'" class="orderDetailBox flex-row justify-between">
           <span class="title">{{ $t('orderCenter.distribution') }}</span>
           <span class="content">{{ showSubcom(refundObject) }}</span>
         </div>