|
@@ -2,27 +2,44 @@
|
|
|
<div class="pc-edit">
|
|
<div class="pc-edit">
|
|
|
<div class="content-wrap" v-show="diyStore.editTab == 'content'">
|
|
<div class="content-wrap" v-show="diyStore.editTab == 'content'">
|
|
|
<div class="edit-attr-item-wrap">
|
|
<div class="edit-attr-item-wrap">
|
|
|
- <h3 class="mb-[10px]">导航模式</h3>
|
|
|
|
|
|
|
+ <h3 class="mb-[10px]">标题内容</h3>
|
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
|
- <el-form-item label="展示风格">
|
|
|
|
|
- <el-radio-group v-model="diyStore.editComponent.styleType">
|
|
|
|
|
- <el-radio :value="1">固定显示</el-radio>
|
|
|
|
|
- <el-radio :value="2">单行滑动</el-radio>
|
|
|
|
|
- <el-radio :value="3">分页滑动</el-radio>
|
|
|
|
|
- </el-radio-group>
|
|
|
|
|
|
|
+ <el-form-item label="风格选择" class="flex">
|
|
|
|
|
+ <span class="text-primary flex-1 cursor-pointer" @click="showStyle1">风格{{ diyStore.editComponent.styleType }}</span>
|
|
|
|
|
+ <el-icon @click="showStyle1" class="cursor-pointer">
|
|
|
|
|
+ <ArrowRight />
|
|
|
|
|
+ </el-icon>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="每行数量">
|
|
|
|
|
- <el-radio-group v-model="diyStore.editComponent.number">
|
|
|
|
|
- <el-radio :value="3">3个</el-radio>
|
|
|
|
|
- <el-radio :value="4">4个</el-radio>
|
|
|
|
|
- <el-radio :value="5">5个</el-radio>
|
|
|
|
|
- </el-radio-group>
|
|
|
|
|
|
|
+ <el-form-item label="标题图片" v-if="diyStore.editComponent.styleType == 4">
|
|
|
|
|
+ <div class="flex-row-start">
|
|
|
|
|
+ <upload-image v-model="diyStore.editComponent.titleImg" :limit="1" />
|
|
|
|
|
+ <div class="flex-column-between images-bos">
|
|
|
|
|
+ <div class="annotation3">(建议上传尺寸相同图片,推荐尺寸30*150)</div>
|
|
|
|
|
+ <div class="flex-row-between images-box">
|
|
|
|
|
+ <div>缩放模式</div>
|
|
|
|
|
+ <div class="flex-row-start" @click="openImageType({ imgType: diyStore.editComponent.titleImgType }, 1)">
|
|
|
|
|
+ <span style="margin-top: 2px" class="text-primary flex-1 cursor-pointer">{{
|
|
|
|
|
+ diyStore.editComponent.titleImgType == 1 ? '拉伸' : diyStore.editComponent.titleImgType == 2 ? '缩放' : '填充'
|
|
|
|
|
+ }}</span>
|
|
|
|
|
+ <el-icon class="cursor-pointer">
|
|
|
|
|
+ <ArrowRight />
|
|
|
|
|
+ </el-icon>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="每页行数" v-if="diyStore.editComponent.styleType == 3">
|
|
|
|
|
- <el-radio-group v-model="diyStore.editComponent.count">
|
|
|
|
|
- <el-radio :value="1">1个</el-radio>
|
|
|
|
|
- <el-radio :value="2">2个</el-radio>
|
|
|
|
|
- </el-radio-group>
|
|
|
|
|
|
|
+ <el-form-item label="标题名称" v-else>
|
|
|
|
|
+ <el-input v-model="diyStore.editComponent.title" placeholder="请输入标题名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="链接地址">
|
|
|
|
|
+ <WebLinkInput v-model="diyStore.editComponent.titleUrl" placeholder="请输入或选择链接" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="副标题">
|
|
|
|
|
+ <el-input v-model="diyStore.editComponent.subtitle" placeholder="请输入副标题" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="链接地址">
|
|
|
|
|
+ <WebLinkInput v-model="diyStore.editComponent.subtitleUrl" placeholder="请输入或选择链接" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
@@ -34,12 +51,15 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-form label-width="86px" class="px-[10px]">
|
|
<el-form label-width="86px" class="px-[10px]">
|
|
|
|
|
+ <el-form-item label="风格选择" class="mt-[20px]">
|
|
|
|
|
+ <span class="text-primary flex-1 cursor-pointer" @click="showStyle2">风格{{ diyStore.editComponent.navType }}</span>
|
|
|
|
|
+ <el-icon @click="showStyle2" class="cursor-pointer">
|
|
|
|
|
+ <ArrowRight />
|
|
|
|
|
+ </el-icon>
|
|
|
|
|
+ </el-form-item>
|
|
|
<draggable v-model="diyStore.editComponent.navlList" item-key="id">
|
|
<draggable v-model="diyStore.editComponent.navlList" item-key="id">
|
|
|
<template #item="{ element, index }">
|
|
<template #item="{ element, index }">
|
|
|
<div class="edit-attr-box">
|
|
<div class="edit-attr-box">
|
|
|
- <el-icon @click="onDel(index)" color="#F56C6C" size="18px" class="circleClose">
|
|
|
|
|
- <CircleCloseFilled />
|
|
|
|
|
- </el-icon>
|
|
|
|
|
<el-form-item label="图片上传">
|
|
<el-form-item label="图片上传">
|
|
|
<div class="flex-row-start">
|
|
<div class="flex-row-start">
|
|
|
<upload-image v-model="element.imageUrl" :limit="1" />
|
|
<upload-image v-model="element.imageUrl" :limit="1" />
|
|
@@ -65,13 +85,25 @@
|
|
|
<el-form-item label="副标题名称">
|
|
<el-form-item label="副标题名称">
|
|
|
<el-input v-model="element.subtitle" placeholder="请输入标签名称" />
|
|
<el-input v-model="element.subtitle" placeholder="请输入标签名称" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
+ <el-form-item label="框体颜色">
|
|
|
|
|
+ <el-color-picker v-model="element.color1" />
|
|
|
|
|
+ <icon name="iconfont iconmap-connect" size="20px" class="block !text-gray-400 mx-[5px]" />
|
|
|
|
|
+ <el-color-picker v-model="element.color2" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="按钮">
|
|
|
|
|
+ <el-input v-model="element.btnText" placeholder="请输入标签名称" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="按钮颜色">
|
|
|
|
|
+ <el-color-picker v-model="element.btncolor1" />
|
|
|
|
|
+ <icon name="iconfont iconmap-connect" size="20px" class="block !text-gray-400 mx-[5px]" />
|
|
|
|
|
+ <el-color-picker v-model="element.btncolor2" />
|
|
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="链接地址">
|
|
<el-form-item label="链接地址">
|
|
|
- <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
|
|
|
|
+ <WebLinkInput v-model="element.url" placeholder="请输入或选择链接" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</draggable>
|
|
</draggable>
|
|
|
- <el-button @click="onAdd" style="width: 100%; margin-top: 10px">新增导航</el-button>
|
|
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -80,15 +112,6 @@
|
|
|
<div class="edit-attr-item-wrap">
|
|
<div class="edit-attr-item-wrap">
|
|
|
<h3 class="mb-[10px]">样式设置</h3>
|
|
<h3 class="mb-[10px]">样式设置</h3>
|
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
|
- <el-form-item label="文字大小">
|
|
|
|
|
- <el-slider size="small" v-model="diyStore.editComponent.titleSize" show-input :min="1" :max="50" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="文字加粗">
|
|
|
|
|
- <el-radio-group size="small" v-model="diyStore.editComponent.titleWeight" fill="#409eff">
|
|
|
|
|
- <el-radio-button label="加粗" :value="'bold'" />
|
|
|
|
|
- <el-radio-button label="不加粗" :value="'normal'" />
|
|
|
|
|
- </el-radio-group>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
<el-form-item label="文字颜色">
|
|
<el-form-item label="文字颜色">
|
|
|
<span class="mr-[10px]">{{ diyStore.editComponent.titleColor }}</span>
|
|
<span class="mr-[10px]">{{ diyStore.editComponent.titleColor }}</span>
|
|
|
<el-color-picker class="mr-[10px]" v-model="diyStore.editComponent.titleColor" />
|
|
<el-color-picker class="mr-[10px]" v-model="diyStore.editComponent.titleColor" />
|
|
@@ -99,21 +122,38 @@
|
|
|
<div class="edit-attr-item-wrap">
|
|
<div class="edit-attr-item-wrap">
|
|
|
<h3 class="mb-[10px]">副标题样式</h3>
|
|
<h3 class="mb-[10px]">副标题样式</h3>
|
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
|
- <el-form-item label="文字大小">
|
|
|
|
|
- <el-slider size="small" v-model="diyStore.editComponent.subtitleSize" show-input :min="1" :max="50" />
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="文字颜色">
|
|
|
|
|
|
|
+ <el-form-item label="标题样式">
|
|
|
<span class="mr-[10px]">{{ diyStore.editComponent.subtitleColor }}</span>
|
|
<span class="mr-[10px]">{{ diyStore.editComponent.subtitleColor }}</span>
|
|
|
<el-color-picker class="mr-[10px]" v-model="diyStore.editComponent.subtitleColor" />
|
|
<el-color-picker class="mr-[10px]" v-model="diyStore.editComponent.subtitleColor" />
|
|
|
- <el-button @click="diyStore.editComponent.subtitleColor = '#101828'" size="small">重置</el-button>
|
|
|
|
|
|
|
+ <el-button @click="diyStore.editComponent.subtitleColor = '#ffffff'" size="small">重置</el-button>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="背景色">
|
|
|
|
|
+ <el-color-picker v-model="diyStore.editComponent.subtitleColor1" />
|
|
|
|
|
+ <icon name="iconfont iconmap-connect" size="20px" class="block !text-gray-400 mx-[5px]" />
|
|
|
|
|
+ <el-color-picker v-model="diyStore.editComponent.subtitleColor2" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="edit-attr-item-wrap">
|
|
<div class="edit-attr-item-wrap">
|
|
|
- <h3 class="mb-[10px]">图片设置</h3>
|
|
|
|
|
|
|
+ <h3 class="mb-[10px]">版块样式</h3>
|
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
<el-form label-width="80px" class="px-[10px]">
|
|
|
- <el-form-item label="图片圆角">
|
|
|
|
|
- <el-slider size="small" v-model="diyStore.editComponent.imageRadius" show-input :min="1" :max="50" />
|
|
|
|
|
|
|
+ <el-form-item label="文字加粗">
|
|
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.navWeight">
|
|
|
|
|
+ <el-radio :value="'bold'">加粗</el-radio>
|
|
|
|
|
+ <el-radio :value="'normal'">不加粗</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="按钮文字">
|
|
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.navBtnType">
|
|
|
|
|
+ <el-radio :value="1">常规</el-radio>
|
|
|
|
|
+ <el-radio :value="2">斜体</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="上圆角">
|
|
|
|
|
+ <el-slider size="small" v-model="diyStore.editComponent.navtopRounded" show-input :min="0" :max="100" />
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="下圆角">
|
|
|
|
|
+ <el-slider size="small" v-model="diyStore.editComponent.navBtnbottomRounded" show-input :min="0" :max="100" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</div>
|
|
</div>
|
|
@@ -121,16 +161,142 @@
|
|
|
<slot name="style"></slot>
|
|
<slot name="style"></slot>
|
|
|
</div>
|
|
</div>
|
|
|
<ImagesForm ref="ImagesFormRef" @confirmCallBack="confirmCallBack"></ImagesForm>
|
|
<ImagesForm ref="ImagesFormRef" @confirmCallBack="confirmCallBack"></ImagesForm>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 风格弹窗1 -->
|
|
|
|
|
+ <el-dialog v-model="showDialog1" title="风格选择" width="950">
|
|
|
|
|
+ <div class="data-bos">
|
|
|
|
|
+ <template v-for="(item, index) in styleList" :key="index">
|
|
|
|
|
+ <div
|
|
|
|
|
+ :class="{ 'border-primary': styleId1 == item.id }"
|
|
|
|
|
+ @click="changeTitleStyle1(item)"
|
|
|
|
|
+ class="data-list flex items-center justify-center overflow-hidden w-[200px] h-[100px] mr-[12px] mb-[12px] cursor-pointer border bg-[#eee]"
|
|
|
|
|
+ >
|
|
|
|
|
+ <img :src="item.img" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <template #footer>
|
|
|
|
|
+ <span class="dialog-footer">
|
|
|
|
|
+ <el-button @click="showDialog1 = false">取消</el-button>
|
|
|
|
|
+ <el-button type="primary" @click="confirmTitleStyle1">确认</el-button>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-dialog>
|
|
|
|
|
+ <!-- 风格弹窗2 -->
|
|
|
|
|
+ <el-dialog v-model="showDialog2" title="风格选择" width="950">
|
|
|
|
|
+ <div class="data-bos">
|
|
|
|
|
+ <template v-for="(item, index) in navList" :key="index">
|
|
|
|
|
+ <div
|
|
|
|
|
+ :class="{ 'border-primary': styleId2 == item.id }"
|
|
|
|
|
+ @click="changeTitleStyle2(item)"
|
|
|
|
|
+ class="data-list flex items-center justify-center overflow-hidden w-[400px] h-[100px] mr-[12px] mb-[12px] cursor-pointer border bg-[#eee]"
|
|
|
|
|
+ >
|
|
|
|
|
+ <img :src="item.img" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <template #footer>
|
|
|
|
|
+ <span class="dialog-footer">
|
|
|
|
|
+ <el-button @click="showDialog2 = false">取消</el-button>
|
|
|
|
|
+ <el-button type="primary" @click="confirmTitleStyle2">确认</el-button>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
|
|
+import activity1 from '@/assets/images/pcdiy/activity1.png';
|
|
|
|
|
+import activity2 from '@/assets/images/pcdiy/activity2.png';
|
|
|
|
|
+import activity3 from '@/assets/images/pcdiy/activity3.png';
|
|
|
|
|
+import activity4 from '@/assets/images/pcdiy/activity4.png';
|
|
|
|
|
+import activity5 from '@/assets/images/pcdiy/activity5.png';
|
|
|
|
|
+import activity6 from '@/assets/images/pcdiy/activity6.png';
|
|
|
|
|
+import activity7 from '@/assets/images/pcdiy/activity7.png';
|
|
|
|
|
+import activity8 from '@/assets/images/pcdiy/activity8.png';
|
|
|
import draggable from 'vuedraggable';
|
|
import draggable from 'vuedraggable';
|
|
|
import usePcdiyStore from '@/store/modules/pcdiy';
|
|
import usePcdiyStore from '@/store/modules/pcdiy';
|
|
|
import uploadImage from '@/components/upload-image/index.vue';
|
|
import uploadImage from '@/components/upload-image/index.vue';
|
|
|
import ImagesForm from '@/components/ImagesForm/index.vue';
|
|
import ImagesForm from '@/components/ImagesForm/index.vue';
|
|
|
const diyStore = usePcdiyStore();
|
|
const diyStore = usePcdiyStore();
|
|
|
const ImagesFormRef = ref();
|
|
const ImagesFormRef = ref();
|
|
|
|
|
+const showDialog1 = ref(false);
|
|
|
|
|
+const styleId1 = ref<any>(1);
|
|
|
|
|
+const showDialog2 = ref(false);
|
|
|
|
|
+const styleId2 = ref<any>(1);
|
|
|
|
|
+
|
|
|
|
|
+const styleList = [
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity1,
|
|
|
|
|
+ id: 1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity2,
|
|
|
|
|
+ id: 2
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity3,
|
|
|
|
|
+ id: 3
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity4,
|
|
|
|
|
+ id: 4
|
|
|
|
|
+ }
|
|
|
|
|
+];
|
|
|
|
|
+const navList = [
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity5,
|
|
|
|
|
+ id: 1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity5,
|
|
|
|
|
+ id: 2
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ img: activity6,
|
|
|
|
|
+ id: 3
|
|
|
|
|
+ }
|
|
|
|
|
+ // {
|
|
|
|
|
+ // img: activity8,
|
|
|
|
|
+ // id: 4
|
|
|
|
|
+ // }
|
|
|
|
|
+];
|
|
|
|
|
+
|
|
|
|
|
+//打开弹窗1
|
|
|
|
|
+const showStyle1 = () => {
|
|
|
|
|
+ showDialog1.value = true;
|
|
|
|
|
+ styleId1.value = diyStore.editComponent.styleType;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+//选择弹窗1
|
|
|
|
|
+const changeTitleStyle1 = (item: any) => {
|
|
|
|
|
+ styleId1.value = item.id;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+//确定弹窗1
|
|
|
|
|
+const confirmTitleStyle1 = () => {
|
|
|
|
|
+ diyStore.editComponent.styleType = styleId1.value;
|
|
|
|
|
+ showDialog1.value = false;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+//打开弹窗2
|
|
|
|
|
+const showStyle2 = () => {
|
|
|
|
|
+ showDialog2.value = true;
|
|
|
|
|
+ styleId2.value = diyStore.editComponent.navType;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+//选择弹窗1
|
|
|
|
|
+const changeTitleStyle2 = (item: any) => {
|
|
|
|
|
+ styleId2.value = item.id;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+//确定弹窗1
|
|
|
|
|
+const confirmTitleStyle2 = () => {
|
|
|
|
|
+ diyStore.editComponent.navType = styleId2.value;
|
|
|
|
|
+ showDialog2.value = false;
|
|
|
|
|
+};
|
|
|
|
|
|
|
|
// 打开图片类型
|
|
// 打开图片类型
|
|
|
const openImageType = (element: any, type: any) => {
|
|
const openImageType = (element: any, type: any) => {
|
|
@@ -138,22 +304,16 @@ const openImageType = (element: any, type: any) => {
|
|
|
ImagesFormRef.value.onOpen(datas, type);
|
|
ImagesFormRef.value.onOpen(datas, type);
|
|
|
};
|
|
};
|
|
|
//图片类型返回
|
|
//图片类型返回
|
|
|
-const confirmCallBack = (res: any, index: any) => {
|
|
|
|
|
- diyStore.editComponent.navlList[index].imgType = res.imgType;
|
|
|
|
|
-};
|
|
|
|
|
-const onAdd = () => {
|
|
|
|
|
- diyStore.editComponent.navlList.push({
|
|
|
|
|
- imageUrl: '',
|
|
|
|
|
- title: '标题名称',
|
|
|
|
|
- subtitle: '副标题名称',
|
|
|
|
|
- url: '',
|
|
|
|
|
- imgType: 1,
|
|
|
|
|
- id: Date.now()
|
|
|
|
|
- });
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
-const onDel = (index: any) => {
|
|
|
|
|
- diyStore.editComponent.navlList.splice(index, 1);
|
|
|
|
|
|
|
+const confirmCallBack = (res: any, type: any) => {
|
|
|
|
|
+ if (type == 1) {
|
|
|
|
|
+ diyStore.editComponent.titleImgType = res.imgType;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ diyStore.editComponent.navlList.forEach((item: any) => {
|
|
|
|
|
+ if (item.id == res.id) {
|
|
|
|
|
+ item.imgType = res.imgType;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
@@ -184,24 +344,24 @@ const onDel = (index: any) => {
|
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
margin-top: 18px;
|
|
margin-top: 18px;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .images-bos {
|
|
|
|
|
- flex: 1;
|
|
|
|
|
- height: 98px;
|
|
|
|
|
- padding: 5px 0;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .images-bos {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ height: 98px;
|
|
|
|
|
+ padding: 5px 0;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .images-box {
|
|
|
|
|
- font-size: 13px;
|
|
|
|
|
- color: #666;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .images-box {
|
|
|
|
|
+ font-size: 13px;
|
|
|
|
|
+ color: #666;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .circleClose {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: -9px;
|
|
|
|
|
- right: -9px;
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .circleClose {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: -9px;
|
|
|
|
|
+ right: -9px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -211,6 +371,25 @@ const onDel = (index: any) => {
|
|
|
line-height: 14px;
|
|
line-height: 14px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .data-bos {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ gap: 0 12px;
|
|
|
|
|
+
|
|
|
|
|
+ .data-list {
|
|
|
|
|
+ background-color: #f9fafb;
|
|
|
|
|
+ border: 1px solid #e5e7eb;
|
|
|
|
|
+
|
|
|
|
|
+ &.border-primary {
|
|
|
|
|
+ border-color: var(--el-color-primary);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ img {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
:deep(.el-form-item__label) {
|
|
:deep(.el-form-item__label) {
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
}
|
|
}
|