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

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

parent 49a4def3
This diff is collapsed.
This diff is collapsed.
...@@ -767,8 +767,8 @@ ...@@ -767,8 +767,8 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
......
This diff is collapsed.
...@@ -440,28 +440,23 @@ ...@@ -440,28 +440,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
...@@ -510,28 +510,23 @@ ...@@ -510,28 +510,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
...@@ -886,18 +886,27 @@ ...@@ -886,18 +886,27 @@
<div v-if="isShowContract" class="_show_img_box" @click="(isShowContract = false), (imgViewList = [])"> <div v-if="isShowContract" class="_show_img_box" @click="(isShowContract = false), (imgViewList = [])">
<div style=" <div style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
margin-top: -300px; 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"> <el-carousel-item style="height: 600px; overflow: auto" v-for="(item, index) in imgViewList" :key="index">
<img :src="item" style="" /> <img :src="item" style="" />
</el-carousel-item> </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> </div>
</div> </div>
......
...@@ -491,28 +491,23 @@ ...@@ -491,28 +491,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000"
trigger="click"
>
<el-carousel-item
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj" v-for="(item, index) in picObj"
:key="index" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<img :src="item" style="" /> </el-image>
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
...@@ -610,28 +610,23 @@ ...@@ -610,28 +610,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
...@@ -562,28 +562,23 @@ ...@@ -562,28 +562,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
This diff is collapsed.
...@@ -432,28 +432,23 @@ ...@@ -432,28 +432,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
transform: translateY(-50%); transform: translateY(-50%);
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-dialog> </q-dialog>
......
This diff is collapsed.
...@@ -420,28 +420,23 @@ ...@@ -420,28 +420,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
margin-top: -300px; margin-top: -300px;
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-card> </q-card>
......
...@@ -162,28 +162,23 @@ ...@@ -162,28 +162,23 @@
<div <div
style=" style="
position: absolute; position: absolute;
width: 800px; max-width: 800px;
height: 600px; height: auto;
left: 50%; left: 50%;
top: 50%; top: 50%;
margin-left: -400px; margin-left: -400px;
margin-top: -300px; margin-top: -300px;
" "
> >
<el-carousel <el-image
:initial-index="initialIndex" style="width: 100%; height: 100%"
height="600px" fit="cover"
:interval="5000" v-for="(item, index) in picObj"
trigger="click" :key="index"
:src="item"
:preview-src-list="picObj"
> >
<el-carousel-item </el-image>
style="height: 600px; overflow: auto"
v-for="(item, index) in picObj"
:key="index"
>
<img :src="item" style="" />
</el-carousel-item>
</el-carousel>
</div> </div>
</div> </div>
</q-card> </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