update EventRecordEdit.vue style
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user