style(recycle): fix select recycle rule popup height

This commit is contained in:
Timi
2026-11-13 19:25:02 +08:00
parent fee05df8e4
commit 0f0e783ad9
+8 -2
View File
@@ -149,7 +149,7 @@
<bottom-popup
v-model="ruleVisible"
title="选择兑换模板"
max-height="70vh"
height="70vh"
right-button-text=""
@left-button-click="ruleVisible = false"
>
@@ -162,7 +162,13 @@
@click="selectRule(item)"
>
<template #leftIcon>
<t-image v-if="getRulePhotoId(item)" class="avatar" :src="getAttachmentReadURL(getRulePhotoId(item), 96)" :alt="item.recycleName || '回收物'" fit="cover" />
<t-image
v-if="getRulePhotoId(item)"
class="avatar"
:src="getAttachmentReadURL(getRulePhotoId(item), 96)"
:alt="item.recycleName || '回收物'"
fit="cover"
/>
<div v-else class="avatar fallback" v-text="(item.recycleName || '回').slice(0, 1)" />
</template>
<template #title>