Browse Source

陈列SKU图片识别

zhujindu 4 months ago
parent
commit
975a6fc208

+ 11 - 3
src/views/week/dailyApproval.vue

@@ -387,9 +387,17 @@
             <div
             <div
               v-if="item.photos.length > 4"
               v-if="item.photos.length > 4"
               class="arrowIcon"
               class="arrowIcon"
-              style="text-align: center; padding: 3px 0"
+              style="
+                display: flex;
+                align-items: center;
+                justify-content: center;
+                padding: 5px 0;
+                font-size: 20px;
+              "
               @click="setVisitIMG1Flag(item)">
               @click="setVisitIMG1Flag(item)">
-              <van-icon size="28" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'" />
+              <span v-if="item.visitIMG1Flag">折叠</span>
+              <span v-else>展开</span>
+              <van-icon size="20" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'" />
             </div>
             </div>
             <!-- 生动化陈列 sku -->
             <!-- 生动化陈列 sku -->
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
@@ -898,7 +906,7 @@ export default {
   border-right: 0;
   border-right: 0;
   border-radius: 10px;
   border-radius: 10px;
   .el-table__cell {
   .el-table__cell {
-    padding: 8px 0 !important;
+    padding: 6px 0 !important;
   }
   }
 }
 }
 .table-headermd th.el-table__cell {
 .table-headermd th.el-table__cell {

+ 9 - 4
src/views/week/dailyDetails.vue

@@ -380,12 +380,17 @@
             <div
             <div
               v-if="item.photos.length > 4"
               v-if="item.photos.length > 4"
               class="arrowIcon"
               class="arrowIcon"
-              style="display: flex; align-items: center; justify-content: center; padding: 5px 0"
+              style="
+                display: flex;
+                align-items: center;
+                justify-content: center;
+                padding: 5px 0;
+                font-size: 20px;
+              "
               @click="setVisitIMG1Flag(item)">
               @click="setVisitIMG1Flag(item)">
               <span v-if="item.visitIMG1Flag">折叠</span>
               <span v-if="item.visitIMG1Flag">折叠</span>
               <span v-else>展开</span>
               <span v-else>展开</span>
-              <van-icon size="20" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'">
-              </van-icon>
+              <van-icon size="20" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'" />
             </div>
             </div>
             <!-- 生动化陈列 sku -->
             <!-- 生动化陈列 sku -->
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
@@ -791,7 +796,7 @@ export default {
   border-right: 0;
   border-right: 0;
   border-radius: 10px;
   border-radius: 10px;
   .el-table__cell {
   .el-table__cell {
-    padding: 8px 0 !important;
+    padding: 6px 0 !important;
   }
   }
 }
 }
 .table-headermd th.el-table__cell {
 .table-headermd th.el-table__cell {

+ 11 - 3
src/views/week/dailyHistoricalDetails.vue

@@ -386,9 +386,17 @@
             <div
             <div
               v-if="item.photos.length > 4"
               v-if="item.photos.length > 4"
               class="arrowIcon"
               class="arrowIcon"
-              style="text-align: center; padding: 3px 0"
+              style="
+                display: flex;
+                align-items: center;
+                justify-content: center;
+                padding: 5px 0;
+                font-size: 20px;
+              "
               @click="setVisitIMG1Flag(item)">
               @click="setVisitIMG1Flag(item)">
-              <van-icon size="28" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'" />
+              <span v-if="item.visitIMG1Flag">折叠</span>
+              <span v-else>展开</span>
+              <van-icon size="20" :name="item.visitIMG1Flag ? 'arrow-up' : 'arrow-down'" />
             </div>
             </div>
             <!-- 生动化陈列 sku   -->
             <!-- 生动化陈列 sku   -->
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
             <template v-if="item.photoSkuImgSummaryeList && item.photoSkuImgSummaryeList.length">
@@ -967,7 +975,7 @@ export default {
   border-right: 0;
   border-right: 0;
   border-radius: 10px;
   border-radius: 10px;
   .el-table__cell {
   .el-table__cell {
-    padding: 8px 0 !important;
+    padding: 6px 0 !important;
   }
   }
 }
 }
 .table-headermd th.el-table__cell {
 .table-headermd th.el-table__cell {