Jelajahi Sumber

feat : 样式问题处理

zhangyuhan 1 tahun lalu
induk
melakukan
f3dfabee3f

+ 2 - 0
apps/bigmember_pc/src/views/article-content/components/RecommendCustomers.vue

@@ -32,6 +32,8 @@ const getListData = computed(() => {
   const result = customerList.value
   if (result.length > 0) {
     getListStatus(result)
+  } else {
+    that.$emit('doHide')
   }
   return result
 })

+ 1 - 1
apps/bigmember_pc/src/views/article-content/components/RecommendServesCard.vue

@@ -80,7 +80,7 @@ const props = defineProps({
     margin-right: 0;
   }
   margin: 16px 8px 0 8px;
-  width: 442px;
+  width: calc(50% - 8px);
   min-height: 178px;
   overflow: hidden;
   border-radius: 8px;

+ 4 - 0
apps/bigmember_pc/src/views/article-content/pages/Article.vue

@@ -585,6 +585,10 @@ const canShowMask = computed(() => {
         tr td {
           border: 1px solid #ebebeb;
           padding: 10px;
+          &:empty {
+            border-width: 0;
+            padding: 0;
+          }
         }
       }
     }