温红权 пре 3 година
родитељ
комит
080d100c7d
1 измењених фајлова са 14 додато и 3 уклоњено
  1. 14 3
      ruoyi-ui/src/views/components/table/xtTable.vue

+ 14 - 3
ruoyi-ui/src/views/components/table/xtTable.vue

@@ -150,12 +150,23 @@
         label="详情">
         <template slot-scope="scope">
           
-            <img style="width:40rem;height:40rem" :src="scope.row.sootImgUrl"/>
+            <!-- <img style="width:40rem;height:40rem" :src="scope.row.sootImgUrl"/> -->
            <!-- </div> -->
             <!-- <div v-for="item in scope.row.allImgUrl"> -->
-            <div v-for="item in [1,1,1,1,1,1]">
+            <div style="width:86rem;overflow-y: hidden;overflow-x: auto;white-space: nowrap;">
                 <!-- <img style="width:40rem;height:40rem" :src="item.replace(' ','')"/> -->
-                <img style="width:40rem;height:40rem" src="https://ns-strategy.cdn.bcebos.com/ns-strategy/upload/fc_big_pic/part-00315-1423.jpg"/> 
+                <!-- <el-image   v-for="item in ['https://ns-strategy.cdn.bcebos.com/ns-strategy/upload/fc_big_pic/part-00315-1423.jpg','https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg']"
+    style="width:20rem;height:20rem;display:inline-block;margin-right:10px"
+    :src="item" 
+    :preview-src-list="['https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg','https://ns-strategy.cdn.bcebos.com/ns-strategy/upload/fc_big_pic/part-00315-1423.jpg']">
+  </el-image> -->
+  <el-image   v-for="item in scope.row.allImgUrl"
+    style="width:20rem;height:20rem;display:inline-block;margin-right:10px"
+    :src="item" 
+    :preview-src-list="scope.row.allImgUrl">
+  </el-image>
+ 
+                <!-- <img style="width:40rem;height:40rem" src="https://ns-strategy.cdn.bcebos.com/ns-strategy/upload/fc_big_pic/part-00315-1423.jpg"/>  -->
                 
                 <!-- <div>{{item.replace(' ','')}}</div> -->
             </div>