This commit is contained in:
kron
2025-08-05 15:17:19 +08:00
parent dabc598eee
commit 4b9fe45ad2
11 changed files with 21 additions and 9 deletions

View File

@@ -44,12 +44,15 @@ watch(
>
<view
class="modal-content"
:style="{ transform: `translateY(${showContent ? '0%' : '100%'})`, height: !noBg ? '260px' : 'auto' }"
:style="{
transform: `translateY(${showContent ? '0%' : '100%'})`,
height: !noBg ? '260px' : 'auto',
}"
@click.stop=""
>
<image
v-if="!noBg"
src="../static/modal-content-bg.png"
src="https://static.shelingxingqiu.com/attachment/2025-08-05/dbuaf19pf7qd8ps0uh.png"
mode="widthFix"
/>
<view class="close-btn" @click="onClose">