shish 13 часов назад
Родитель
Сommit
af3aeec2a6
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      hdApp/src/admin/home/components/purchase-ghs-panel.vue

+ 9 - 0
hdApp/src/admin/home/components/purchase-ghs-panel.vue

@@ -26,6 +26,15 @@
             </block>
           </template>
 
+          <!-- 店铺告警公告:shopInfo.warning 有值时红底展示,可跳转 warningUrl -->
+          <view
+            v-if="!$util.isEmpty(shopInfo) && !$util.isEmpty(shopInfo.warning)"
+            class="warning-banner"
+            @click.stop="goWarning(shopInfo)"
+          >
+            <text>{{ shopInfo.warning }}</text>
+          </view>
+
           <template v-if="!$util.isEmpty(supplierList)">
             <view class="ghs_list_area flex-col justify-end">
               <view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">