update EventRecordEdit.vue style

This commit is contained in:
Timi
2026-09-01 16:27:53 +08:00
parent bfea58f714
commit 9c5306d8e4
30 changed files with 583 additions and 621 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
</t-form>
<section class="items" v-entrance-transition="70">
<div class="section-title"><strong>产品权益</strong><span>至少一项,数量最多三位小数</span></div>
<div v-for="(item, index) in form.itemList" :key="item.clientKey" class="item-card">
<div v-for="(item, index) in form.itemList" :key="item.clientKey" class="item">
<div class="item-head"><span v-text="`权益 ${index + 1}`" /><t-button theme="danger" variant="text" size="small" @click="removeItem(index)">删除</t-button></div>
<t-input v-model="item.productName" borderless placeholder="产品名称" />
<t-input v-model.trim="item.unit" borderless placeholder="单位,例如 盒、次" />
@@ -337,7 +337,7 @@ onUnmounted(() => navBarStore.clearRight());
font-size: .8125rem;
}
.item-card {
.item {
gap: .5rem;
padding: .75rem;
margin-bottom: .75rem;