浏览代码

修改行李详情照片样式

zhaoke 1 年之前
父节点
当前提交
3cc02a4016
共有 2 个文件被更改,包括 10 次插入8 次删除
  1. 1 1
      src/components/ErrorDialog/index.vue
  2. 9 7
      src/views/newBagDetails/index.vue

+ 1 - 1
src/components/ErrorDialog/index.vue

@@ -50,7 +50,7 @@ export default {
       loading: false,
       noMore: false,
       page: 0,
-      pageSize: 10,
+      pageSize: 50,
     }
   },
   computed: {

+ 9 - 7
src/views/newBagDetails/index.vue

@@ -48,13 +48,15 @@
     <Dialog :flag="imgFlag" width="600px" class="dialog-check-img">
       <div class="dialog-wrapper">
         <div class="title">照片预览</div>
-        <div style="height: 600px" class="content">
-          <el-row :gutter="20">
-            <el-col v-for="(item,index) in srcUrl" :key="index" :span="8">
-              <el-image :src="'data:image/gif;base64,'+item.picData" :preview-src-list="srcList">
-              </el-image>
-            </el-col>
-          </el-row>
+        <div style="height: 600px">
+          <el-scrollbar style="height: 100%;padding: 0 20px 0 20px;">
+            <el-row :gutter="20">
+              <el-col style="margin-bottom: 20px;" v-for="(item,index) in srcUrl" :key="index" :span="8">
+                <el-image :src="'data:image/gif;base64,'+item.picData" :preview-src-list="srcList">
+                </el-image>
+              </el-col>
+            </el-row>
+          </el-scrollbar>
         </div>
         <div class="foot right t30">
           <el-button size="medium" class="r24" @click="imgFlag = false" type="primary">确定</el-button>