Commit a125aaf4 authored by liujiangnan's avatar liujiangnan

fix: 对缝

parent ca57b0c0
...@@ -49,7 +49,11 @@ ...@@ -49,7 +49,11 @@
<!-- 图片容器 --> <!-- 图片容器 -->
<div class="image-container" :class="{ 'multi-page-container': currentPages.length > 1 }"> <div class="image-container" :class="{ 'multi-page-container': currentPages.length > 1 }">
<!-- 多页显示 --> <!-- 多页显示 -->
<div v-for="(page, pageIndex) in currentPages" :key="pageIndex" class="page-wrapper"> <div v-for="(page, pageIndex) in currentPages" :key="pageIndex" class="page-wrapper"
:style="{
justifyContent: currentPages.length == 1 ? 'center' : (pageIndex == 0 ? 'flex-end' : 'flex-start'),
}"
>
<img <img
v-if="page.image_url" v-if="page.image_url"
:src="page.image_url" :src="page.image_url"
......
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