|
|
@@ -0,0 +1,504 @@
|
|
|
+<template>
|
|
|
+ <div class="pc-edit">
|
|
|
+ <!-- 内容 -->
|
|
|
+ <div class="content-wrap" v-show="diyStore.editTab == 'content'">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">头部组件</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="设置">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.settings" fill="#409eff">
|
|
|
+ <el-radio-button label="顶部" :value="1" />
|
|
|
+ <el-radio-button label="左侧" :value="2" />
|
|
|
+ <el-radio-button label="中间" :value="3" />
|
|
|
+ <el-radio-button label="右侧" :value="4" />
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <!-- <el-form-item label="轮播区域">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.carousel">
|
|
|
+ <el-radio :value="1">仅轮播图</el-radio>
|
|
|
+ <el-radio :value="2">内嵌广告</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item> -->
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <template v-if="diyStore.editComponent.settings == 1">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">顶部设置</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="样式选择">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.topStyle">
|
|
|
+ <el-radio :value="1">样式1</el-radio>
|
|
|
+ <el-radio :value="2">样式2</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="logo">
|
|
|
+ <div>
|
|
|
+ <upload-image v-model="diyStore.editComponent.logo" :limit="1" />
|
|
|
+ <div class="annotation">建议尺寸:宽度{{ diyStore.editComponent.topStyle == 1 ? '185' : '390' }}px*90px</div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="二维码">
|
|
|
+ <div>
|
|
|
+ <upload-image v-model="diyStore.editComponent.code" :limit="1" />
|
|
|
+ <div class="annotation">建议尺寸:宽度100px*100px</div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="全部商品分类" label-width="120">
|
|
|
+ <el-checkbox v-model="diyStore.editComponent.classifyShow" label="显示" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <div class="edit-attr-title flex-row-between">
|
|
|
+ <div>
|
|
|
+ <span>导航栏</span>
|
|
|
+ <span class="title2">鼠标拖拽可以改变顺序</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.topType" fill="#409eff">
|
|
|
+ <el-radio-button label="顶部导航" :value="1" />
|
|
|
+ <el-radio-button label="标签" :value="2" />
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <template v-if="diyStore.editComponent.topType == 1">
|
|
|
+ <draggable v-model="diyStore.editComponent.topNav" item-key="id">
|
|
|
+ <template #item="{ element, index }">
|
|
|
+ <div class="edit-attr-box">
|
|
|
+ <el-icon @click="onDel(1, index)" color="#F56C6C" size="18px" class="circleClose">
|
|
|
+ <CircleCloseFilled />
|
|
|
+ </el-icon>
|
|
|
+ <el-form-item label="导航名称">
|
|
|
+ <el-input v-model="element.title" placeholder="请输入导航名称" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="链接地址">
|
|
|
+ <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </draggable>
|
|
|
+ <el-button @click="onAdd(1)" style="width: 100%; margin-top: 10px">新增顶部导航</el-button>
|
|
|
+ </template>
|
|
|
+ <template v-if="diyStore.editComponent.topType == 2">
|
|
|
+ <draggable v-model="diyStore.editComponent.toplabel" item-key="id">
|
|
|
+ <template #item="{ element, index }">
|
|
|
+ <div class="edit-attr-box">
|
|
|
+ <el-icon @click="onDel(2, index)" color="#F56C6C" size="18px" class="circleClose">
|
|
|
+ <CircleCloseFilled />
|
|
|
+ </el-icon>
|
|
|
+ <el-form-item label="标签名称">
|
|
|
+ <el-input v-model="element.title" placeholder="请输入标签名称" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="链接地址">
|
|
|
+ <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </draggable>
|
|
|
+ <el-button @click="onAdd(2)" style="width: 100%; margin-top: 10px">新增标签</el-button>
|
|
|
+ </template>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-if="diyStore.editComponent.settings == 2">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">左侧导航设置</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="样式选择">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.leftStyle">
|
|
|
+ <el-radio :value="1">样式1</el-radio>
|
|
|
+ <el-radio :value="2">样式2</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-if="diyStore.editComponent.settings == 3">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">中间轮播图</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="背景全屏">
|
|
|
+ <el-checkbox v-model="diyStore.editComponent.carouselStyle" label="开启" />
|
|
|
+ <span class="annotation2">(开启后轮播图背景随轮播图变化)</span>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="轮播左右键" label-width="120">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.carouselType">
|
|
|
+ <el-radio :value="1">圆形</el-radio>
|
|
|
+ <el-radio :value="2">方形</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <div class="edit-attr-title flex-row-between">
|
|
|
+ <div>
|
|
|
+ <span>广告图片</span>
|
|
|
+ <span class="title2">鼠标拖拽可以改变顺序</span>
|
|
|
+ </div>
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.centreType" fill="#409eff">
|
|
|
+ <el-radio-button label="轮播图" :value="1" />
|
|
|
+ <el-radio-button label="内嵌广告" :value="2" />
|
|
|
+ </el-radio-group>
|
|
|
+ </div>
|
|
|
+ <template v-if="diyStore.editComponent.centreType == 1">
|
|
|
+ <draggable v-model="diyStore.editComponent.carouselList" item-key="id">
|
|
|
+ <template #item="{ element, index }">
|
|
|
+ <div class="edit-attr-box">
|
|
|
+ <el-icon @click="onDel(3, index)" color="#F56C6C" size="18px" class="circleClose">
|
|
|
+ <CircleCloseFilled />
|
|
|
+ </el-icon>
|
|
|
+ <el-form-item label="图片上传">
|
|
|
+ <div class="flex-row-start">
|
|
|
+ <upload-image v-model="element.imageUrl" :limit="1" />
|
|
|
+ <div class="flex-column-between images-bos">
|
|
|
+ <div class="annotation3">(建议上传尺寸相同图片,推荐尺寸756*{{ diyStore.editComponent.advertNum == 0 ? '540' : '400' }})</div>
|
|
|
+ <div class="flex-row-between images-box">
|
|
|
+ <div>缩放模式</div>
|
|
|
+ <div class="flex-row-start" @click="openImageType(element, 1)">
|
|
|
+ <span style="margin-top: 2px" class="text-primary flex-1 cursor-pointer">{{
|
|
|
+ element.imgType == 1 ? '拉伸' : element.imgType == 2 ? '缩放' : '填充'
|
|
|
+ }}</span>
|
|
|
+ <el-icon class="cursor-pointer">
|
|
|
+ <ArrowRight />
|
|
|
+ </el-icon>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="链接地址">
|
|
|
+ <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="是否显示">
|
|
|
+ <el-switch v-model="element.show" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </draggable>
|
|
|
+ <el-button @click="onAdd(3)" style="width: 100%; margin-top: 10px">新增轮播图</el-button>
|
|
|
+ </template>
|
|
|
+ <template v-if="diyStore.editComponent.centreType == 2">
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="广告数量" style="margin-top: 10px">
|
|
|
+ <el-radio-group @change="onAdvertNum" v-model="diyStore.editComponent.advertNum">
|
|
|
+ <el-radio :value="0">0张</el-radio>
|
|
|
+ <el-radio :value="1">1张</el-radio>
|
|
|
+ <el-radio :value="2">2张</el-radio>
|
|
|
+ <el-radio :value="3">3张</el-radio>
|
|
|
+ <el-radio :value="4">4张</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <draggable v-model="diyStore.editComponent.advertList" item-key="id">
|
|
|
+ <template #item="{ element }">
|
|
|
+ <div class="edit-attr-box" v-show="element.show">
|
|
|
+ <el-form-item label="图片上传">
|
|
|
+ <div class="flex-row-start">
|
|
|
+ <upload-image v-model="element.imageUrl" :limit="1" />
|
|
|
+ <div class="flex-column-between images-bos">
|
|
|
+ <div class="annotation3">(建议上传尺寸相同图片,推荐尺寸{{ Math.floor(756 / diyStore.editComponent.advertNum) }}*130)</div>
|
|
|
+ <div class="flex-row-between images-box">
|
|
|
+ <div>缩放模式</div>
|
|
|
+ <div class="flex-row-start" @click="openImageType(element, 2)">
|
|
|
+ <span style="margin-top: 2px" class="text-primary flex-1 cursor-pointer">{{
|
|
|
+ element.imgType == 1 ? '拉伸' : element.imgType == 2 ? '缩放' : '填充'
|
|
|
+ }}</span>
|
|
|
+ <el-icon class="cursor-pointer">
|
|
|
+ <ArrowRight />
|
|
|
+ </el-icon>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="链接地址">
|
|
|
+ <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </draggable>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-if="diyStore.editComponent.settings == 4">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">右侧设置</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="资讯位置">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.realType">
|
|
|
+ <el-radio :value="1">在上</el-radio>
|
|
|
+ <el-radio :value="2">在下</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="数据来源">
|
|
|
+ <el-radio-group v-model="diyStore.editComponent.realDataType">
|
|
|
+ <el-radio :value="1">默认</el-radio>
|
|
|
+ <el-radio :value="2">手动</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="文章数量">
|
|
|
+ <el-slider v-model="diyStore.editComponent.realNumber" show-input :min="1" :max="10" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <div class="edit-attr-title flex-row-between">
|
|
|
+ <div>
|
|
|
+ <span>导航设置</span>
|
|
|
+ <span class="title2">鼠标拖拽可以改变顺序</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <draggable v-model="diyStore.editComponent.navlList" item-key="id">
|
|
|
+ <template #item="{ element, index }">
|
|
|
+ <div class="edit-attr-box">
|
|
|
+ <el-icon @click="onDel(4, index)" color="#F56C6C" size="18px" class="circleClose">
|
|
|
+ <CircleCloseFilled />
|
|
|
+ </el-icon>
|
|
|
+ <el-form-item label="图片上传">
|
|
|
+ <div class="flex-row-start">
|
|
|
+ <upload-image v-model="element.imageUrl" :limit="1" />
|
|
|
+ <div class="flex-column-between images-bos">
|
|
|
+ <div class="annotation3">(建议上传尺寸相同图片,推荐尺寸150*150)</div>
|
|
|
+ <div class="flex-row-between images-box">
|
|
|
+ <div>缩放模式</div>
|
|
|
+ <div class="flex-row-start" @click="openImageType(element, 3)">
|
|
|
+ <span style="margin-top: 2px" class="text-primary flex-1 cursor-pointer">{{
|
|
|
+ element.imgType == 1 ? '拉伸' : element.imgType == 2 ? '缩放' : '填充'
|
|
|
+ }}</span>
|
|
|
+ <el-icon class="cursor-pointer">
|
|
|
+ <ArrowRight />
|
|
|
+ </el-icon>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="标签名称">
|
|
|
+ <el-input v-model="element.title" placeholder="请输入标签名称" :maxlength="4" show-word-limit />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="链接地址">
|
|
|
+ <el-input v-model="element.url" placeholder="请输入链接地址" />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </draggable>
|
|
|
+ <el-button @click="onAdd(4)" style="width: 100%; margin-top: 10px">新增导航</el-button>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <!-- 样式 -->
|
|
|
+ <div class="style-wrap" v-show="diyStore.editTab == 'style'">
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">轮播区域设置</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="切换间隔ms" label-width="100px">
|
|
|
+ <el-slider v-model="diyStore.editComponent.carouselInterval" show-input :min="1000" :max="6000" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="图片圆角">
|
|
|
+ <el-slider v-model="diyStore.editComponent.carouselRadius" show-input :min="0" :max="100" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">左侧区域设置</h3>
|
|
|
+ <el-form class="px-[10px]">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="主文字颜色">
|
|
|
+ <el-color-picker v-model="diyStore.editComponent.leftColor1" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="背景颜色">
|
|
|
+ <el-color-picker v-model="diyStore.editComponent.leftBackground" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="副文字颜色">
|
|
|
+ <el-color-picker v-model="diyStore.editComponent.leftColor2" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <div class="edit-attr-item-wrap">
|
|
|
+ <h3 class="mb-[10px]">右侧区域导航</h3>
|
|
|
+ <el-form label-width="80px" class="px-[10px]">
|
|
|
+ <el-form-item label="图片圆角">
|
|
|
+ <el-slider v-model="diyStore.editComponent.rightRadius" show-input :min="0" :max="50" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <!-- 组件样式 -->
|
|
|
+ <slot name="style"></slot>
|
|
|
+ </div>
|
|
|
+ <ImagesForm ref="ImagesFormRef" @confirmCallBack="confirmCallBack"></ImagesForm>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup name="Index" lang="ts">
|
|
|
+import draggable from 'vuedraggable';
|
|
|
+import usePcdiyStore from '@/store/modules/pcdiy';
|
|
|
+import uploadImage from '@/components/upload-image/index.vue';
|
|
|
+import ImagesForm from '@/components/ImagesForm/index.vue';
|
|
|
+const diyStore = usePcdiyStore();
|
|
|
+const ImagesFormRef = ref();
|
|
|
+
|
|
|
+const onAdd = (res: any) => {
|
|
|
+ if (res == 1) {
|
|
|
+ //顶部导航
|
|
|
+ diyStore.editComponent.topNav.push({
|
|
|
+ title: '',
|
|
|
+ url: ''
|
|
|
+ });
|
|
|
+ } else if (res == 2) {
|
|
|
+ //标签
|
|
|
+ diyStore.editComponent.toplabel.push({
|
|
|
+ title: '',
|
|
|
+ url: ''
|
|
|
+ });
|
|
|
+ } else if (res == 3) {
|
|
|
+ //轮播图
|
|
|
+ diyStore.editComponent.carouselList.push({
|
|
|
+ imageUrl: '',
|
|
|
+ url: '',
|
|
|
+ imgType: 1,
|
|
|
+ show: true,
|
|
|
+ id: Date.now()
|
|
|
+ });
|
|
|
+ } else if (res == 4) {
|
|
|
+ //导航
|
|
|
+ diyStore.editComponent.navlList.push({
|
|
|
+ imageUrl: '',
|
|
|
+ title: '',
|
|
|
+ url: '',
|
|
|
+ imgType: 1,
|
|
|
+ id: Date.now()
|
|
|
+ });
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+const onDel = (res: any, index: any) => {
|
|
|
+ if (res == 1) {
|
|
|
+ //顶部导航
|
|
|
+ diyStore.editComponent.topNav.splice(index, 1);
|
|
|
+ } else if (res == 2) {
|
|
|
+ //标签
|
|
|
+ diyStore.editComponent.toplabel.splice(index, 1);
|
|
|
+ } else if (res == 3) {
|
|
|
+ //轮播图
|
|
|
+ diyStore.editComponent.carouselList.splice(index, 1);
|
|
|
+ } else if (res == 4) {
|
|
|
+ //导航
|
|
|
+ diyStore.editComponent.navlList.splice(index, 1);
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+const onAdvertNum = (res: any) => {
|
|
|
+ diyStore.editComponent.advertList.forEach((item: any, index: any) => {
|
|
|
+ item.show = false;
|
|
|
+ if (index < res) {
|
|
|
+ item.show = true;
|
|
|
+ }
|
|
|
+ });
|
|
|
+};
|
|
|
+
|
|
|
+// 打开图片类型
|
|
|
+const openImageType = (element: any, type: any) => {
|
|
|
+ const datas = JSON.parse(JSON.stringify(element));
|
|
|
+ ImagesFormRef.value.onOpen(datas, type);
|
|
|
+};
|
|
|
+
|
|
|
+// 图片类型返回
|
|
|
+const confirmCallBack = (res: any, type: any) => {
|
|
|
+ let list = [];
|
|
|
+ if (type == 1) list = diyStore.editComponent.carouselList;
|
|
|
+ if (type == 2) list = diyStore.editComponent.advertList;
|
|
|
+ if (type == 3) list = diyStore.editComponent.navlList;
|
|
|
+ list.forEach((item: any) => {
|
|
|
+ if (item.id == res.id) {
|
|
|
+ item.imgType = res.imgType;
|
|
|
+ }
|
|
|
+ });
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.pc-edit {
|
|
|
+ .edit-attr-item-wrap {
|
|
|
+ border-top: 2px solid var(--el-color-info-light-8);
|
|
|
+ padding-top: 20px;
|
|
|
+
|
|
|
+ &:first-of-type {
|
|
|
+ border-top: none;
|
|
|
+ padding-top: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .edit-attr-title {
|
|
|
+ display: flex;
|
|
|
+
|
|
|
+ .title2 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666;
|
|
|
+ margin-left: 6px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .edit-attr-box {
|
|
|
+ padding: 18px 10px 0 10px;
|
|
|
+ border: 1px solid #e5e6eb;
|
|
|
+ border-radius: 4px;
|
|
|
+ position: relative;
|
|
|
+ margin-top: 18px;
|
|
|
+
|
|
|
+ .images-bos {
|
|
|
+ flex: 1;
|
|
|
+ height: 98px;
|
|
|
+ padding: 5px 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .images-box {
|
|
|
+ font-size: 13px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+
|
|
|
+ .circleClose {
|
|
|
+ position: absolute;
|
|
|
+ top: -9px;
|
|
|
+ right: -9px;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .annotation {
|
|
|
+ // position: absolute;
|
|
|
+ // bottom: 0;
|
|
|
+ // left: 0;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666;
|
|
|
+ }
|
|
|
+
|
|
|
+ .annotation2 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .annotation3 {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #666;
|
|
|
+ line-height: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.el-form-item__label) {
|
|
|
+ font-weight: 400;
|
|
|
+ }
|
|
|
+
|
|
|
+ :deep(.file-selector) {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|