Commit 28a62dac authored by 罗超's avatar 罗超

修改单据附件图片预览样式

parent 49a4def3
This diff is collapsed.
This diff is collapsed.
......@@ -767,8 +767,8 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
......
This diff is collapsed.
......@@ -440,28 +440,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
......@@ -510,28 +510,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
......@@ -886,18 +886,27 @@
<div v-if="isShowContract" class="_show_img_box" @click="(isShowContract = false), (imgViewList = [])">
<div style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -300px;
">
<el-carousel :initial-index="initialIndex" height="600px" :interval="5000" trigger="click">
<!-- <el-carousel :initial-index="initialIndex" height="600px" :interval="5000" trigger="click">
<el-carousel-item style="height: 600px; overflow: auto" v-for="(item, index) in imgViewList" :key="index">
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-carousel> -->
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in imgViewList"
:key="index"
:src="item"
:preview-src-list="imgViewList"
>
</el-image>
</div>
</div>
</div>
......
......@@ -491,28 +491,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
>
<el-carousel-item
style="height: 600px; overflow: auto"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
......@@ -610,28 +610,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
......@@ -562,28 +562,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
This diff is collapsed.
......@@ -432,28 +432,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-dialog>
......
This diff is collapsed.
......@@ -420,28 +420,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -300px;
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-card>
......
......@@ -162,28 +162,23 @@
<div
style="
position: absolute;
width: 800px;
height: 600px;
max-width: 800px;
height: auto;
left: 50%;
top: 50%;
margin-left: -400px;
margin-top: -300px;
"
>
<el-carousel
:initial-index="initialIndex"
height="600px"
:interval="5000"
trigger="click"
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in picObj"
:key="index"
:src="item"
:preview-src-list="picObj"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</el-image>
</div>
</div>
</q-card>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment