This commit is contained in:
yanran200730
2022-05-26 11:35:49 +08:00
parent 0cb698d995
commit 1d3d9920dd

View File

@@ -8,7 +8,9 @@
</div>
<div></div>
</div>
<image mode="aspectFit" :src="img" @click="preview(img)" />
<div class="photo-wrapper">
<image mode="widthFix" :src="img" />
</div>
<div class="photo-footer">
<div class="item" @click="back">
<image src="./images/fanhui.png" />
@@ -127,9 +129,21 @@
position: relative;
width: 100%;
height: 100vh;
overflow: auto;
overflow-y: auto;
background: #000;
.photo-wrapper {
display: flex;
align-items: center;
width: 100%;
min-height: 100vh;
padding-bottom: 216px;
& > image {
width: 100%;
}
}
.photo-top {
display: flex;
position: fixed;