积分表UI修改

This commit is contained in:
kron
2025-09-24 21:05:06 +08:00
parent 59016fe54f
commit 94edc3d6c9
20 changed files with 483 additions and 92 deletions

View File

@@ -5,6 +5,10 @@ const props = defineProps({
type: Boolean,
default: false,
},
height: {
type: String,
default: "260px",
},
onClose: {
type: Function,
default: () => {},
@@ -46,7 +50,7 @@ watch(
class="modal-content"
:style="{
transform: `translateY(${showContent ? '0%' : '100%'})`,
height: !noBg ? '260px' : 'auto',
height,
}"
@click.stop=""
>
@@ -55,7 +59,7 @@ watch(
src="https://static.shelingxingqiu.com/attachment/2025-08-05/dbuaf19pf7qd8ps0uh.png"
mode="widthFix"
/>
<view class="close-btn" @click="onClose">
<view class="close-btn" @click="onClose" v-if="!noBg">
<image src="../static/close-yellow.png" mode="widthFix" />
</view>
<slot></slot>