瀏覽代碼

style(frontend): 调整摄影视图中历史图片展示逻辑和样式

- 修改历史图片展示数量:从最多 5 张调整为最多 4 张- 注释掉历史图片中第一张图片的特殊样式
panqiuyao 3 月之前
父節點
當前提交
ecd8c782fe
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      frontend/src/views/Photography/shot.vue

+ 4 - 4
frontend/src/views/Photography/shot.vue

@@ -170,8 +170,8 @@
                       </el-image>
                       </div>
                     </component>
-                    <div v-if="item.items.length < 5"
-                      v-for="item in (5 - item.items.length)"
+                    <div v-if="item.items.length < 4"
+                      v-for="item in (4 - item.items.length)"
                          class="history-item_image"
                     >
                       <span class="tag" style="font-size: 12px;">暂未配置</span>
@@ -1590,10 +1590,10 @@ const onGenerateCLick = (menu,item)=>{
                 width:100%;
                 height: 100%;
               }
-              &:first-child {
+        /*      &:first-child {
                 width: 146px;
                 height: 146px;
-              }
+              }*/
               &.el-loading-parent--relative{
                 ::v-deep {
                   .el-loading-mask { display: none}