29884
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="photo">
|
<div class="photo">
|
||||||
<image mode="aspectFit" :src="img" @click="preview(img)" />
|
<div class="photo-wrapper">
|
||||||
|
<image mode="widthFix" :src="img" />
|
||||||
|
</div>
|
||||||
<div class="photo-footer">
|
<div class="photo-footer">
|
||||||
<div class="item" @click="back">
|
<div class="item" @click="back">
|
||||||
<image src="./images/fanhui.png" />
|
<image src="./images/fanhui.png" />
|
||||||
@@ -104,8 +106,24 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: auto;
|
|
||||||
background: #000;
|
background: #000;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.photo-wrapper {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100vh;
|
||||||
|
padding-bottom: 216px;
|
||||||
|
|
||||||
|
& > image {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.photo-footer {
|
.photo-footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -137,10 +155,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& > image {
|
|
||||||
width: 100%;
|
|
||||||
min-height: calc(100% - 216px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user