修改导航组显示

v1.0.0
于肖磊 2024-10-11 16:30:03 +08:00
parent 53fbbd1edd
commit 06207334f4
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<div v-if="['image_with_text', 'image'].includes(nav_style)" class="top-img flex align-c jc-c">
<image-empty v-model="item1.img[0]" :style="img_style"></image-empty>
</div>
<p v-if="['image_with_text', 'text'].includes(nav_style)" class="size-12 ma-0" :style="text_style">{{ item1.title }}</p>
<p v-if="['image_with_text', 'text'].includes(nav_style)" class="w size-12 ma-0 nowrap oh" :style="text_style">{{ item1.title }}</p>
</div>
</div>
</el-carousel-item>

View File

@ -42,7 +42,7 @@
<upload v-model="scoped.row.img" :limit="1" size="72"></upload>
<div class="flex-col flex-1 jc-c gap-20">
<el-form-item label="标题" class="mb-0" label-width="50">
<el-input v-model="scoped.row.title" placeholder="请输入标题" maxlength="4" show-word-limit clearable></el-input>
<el-input v-model="scoped.row.title" placeholder="请输入标题" maxlength="10" show-word-limit clearable></el-input>
</el-form-item>
<el-form-item label="链接" class="w mb-0" label-width="50">
<url-value v-model="scoped.row.link"></url-value>