完成绑定设备UI

This commit is contained in:
kron
2025-05-29 15:48:38 +08:00
parent e1cb712c57
commit 6466c65b66
10 changed files with 270 additions and 2 deletions

View File

@@ -14,13 +14,26 @@ const props = defineProps({
type: Function,
default: () => {},
},
mode: {
type: String,
default: "normal",
},
});
</script>
<template>
<view class="container" :style="{ display: show ? 'flex' : 'none' }">
<view class="scale-in">
<image src="../static/coach-comment.png" mode="widthFix" />
<image
v-if="mode === 'normal'"
src="../static/coach-comment.png"
mode="widthFix"
/>
<image
v-if="mode === 'square'"
src="../static/prompt-bg-square.png"
mode="widthFix"
/>
<slot />
</view>
<IconButton