Преглед на файлове

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>