update:优化样式

This commit is contained in:
2026-06-01 15:39:40 +08:00
parent f5497c534d
commit 72518fa17e
4 changed files with 73 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
<script setup>
import IconButton from "./IconButton.vue";
import IconButton from "@/components/IconButton.vue";
const props = defineProps({
show: {
@@ -27,29 +27,29 @@ const getContentHeight = () => {
<view class="scale-in" :style="{ height: getContentHeight() }">
<image
v-if="mode === 'normal'"
src="../static/screen-hint-bg.png"
src="/static/screen-hint-bg.png"
mode="widthFix"
/>
<image
v-if="mode === 'tall'"
src="../static/coach-comment.png"
src="/static/coach-comment.png"
mode="widthFix"
/>
<image
v-if="mode === 'square'"
src="../static/prompt-bg-square.png"
src="/static/prompt-bg-square.png"
mode="widthFix"
/>
<image
v-if="mode === 'small'"
src="../static/finish-frame.png"
src="/static/finish-frame.png"
mode="widthFix"
/>
<slot />
</view>
<IconButton
v-if="!!onClose"
src="../static/close-gold-outline.png"
src="/static/close-gold-outline.png"
:width="30"
:onClick="onClose"
/>