| | |
| | | <!-- 已添加的标题列表 --> |
| | | <div v-for="(title, index) in form.titles" :key="index" class="title-item"> |
| | | <card class="title-text"> |
| | | <Input v-model="title.templateTitle" placeholder="请输入文本标题" style="width: 300px; margin-top: 8px;"/> |
| | | <div style="display: flex; align-items: center; gap: 8px;"> |
| | | <span>{{ title.contentType ==='TEXT' ? '文本标题': '图片标题'}} :</span> |
| | | <Input v-model="title.templateTitle" placeholder="请输入标题" style="width: 300px; margin-top: 8px;"/> |
| | | </div> |
| | | |
| | | <Button class="delete-btn" type="text" @click="removeTitle(index)" style="color: #ff4d4f;">删除</Button> |
| | | </card> |
| | | <!-- <card v-if="title.contentType === 'IMAGE'" class="title-image">--> |