|
|
@ -1,31 +1,37 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" |
|
|
|
|
|
|
|
class="mgb20"> |
|
|
|
<div class="flex-between"> |
|
|
|
<div class="flex-between"> |
|
|
|
<div class="per_title" v-preventReClick @click="back"> |
|
|
|
<div class="per_title" |
|
|
|
|
|
|
|
v-preventReClick |
|
|
|
|
|
|
|
@click="back"> |
|
|
|
<i class="el-icon-arrow-left"></i> |
|
|
|
<i class="el-icon-arrow-left"></i> |
|
|
|
<span class="per_back">返回</span> |
|
|
|
<span class="per_back">返回</span> |
|
|
|
<span class="per_school" v-text="form.id ? '编辑文章' : '新建文章'"></span> |
|
|
|
<span class="per_school" |
|
|
|
|
|
|
|
v-text="form.id ? '编辑文章' : '新建文章'"></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
<div class="page"> |
|
|
|
<div class="page"> |
|
|
|
<el-form :model="form" :rules="rules" class="input-form model" label-width="140px"> |
|
|
|
<el-form :model="form" |
|
|
|
<el-form-item prop="title" label="标题"> |
|
|
|
:rules="rules" |
|
|
|
<el-input |
|
|
|
class="input-form model" |
|
|
|
id="articleTitle" |
|
|
|
label-width="140px"> |
|
|
|
|
|
|
|
<el-form-item prop="title" |
|
|
|
|
|
|
|
label="标题"> |
|
|
|
|
|
|
|
<el-input id="focus-el" |
|
|
|
style="width: 940px" |
|
|
|
style="width: 940px" |
|
|
|
placeholder="请输入标题" |
|
|
|
placeholder="请输入标题" |
|
|
|
v-model="form.title" |
|
|
|
v-model="form.title" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="100" |
|
|
|
maxlength="100" |
|
|
|
@change="nameChange" |
|
|
|
@change="nameChange"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<div class="item-line"> |
|
|
|
<div class="item-line"> |
|
|
|
<el-form-item prop="releaseTime" label="发布日期"> |
|
|
|
<el-form-item prop="releaseTime" |
|
|
|
<el-date-picker |
|
|
|
label="发布日期"> |
|
|
|
v-model="form.releaseTime" |
|
|
|
<el-date-picker v-model="form.releaseTime" |
|
|
|
type="date" |
|
|
|
type="date" |
|
|
|
placeholder="选择日期" |
|
|
|
placeholder="选择日期" |
|
|
|
format="yyyy-MM-dd" |
|
|
|
format="yyyy-MM-dd" |
|
|
@ -35,124 +41,136 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item-line"> |
|
|
|
<div class="item-line"> |
|
|
|
<el-form-item prop="source" label="来源"> |
|
|
|
<el-form-item prop="source" |
|
|
|
<el-input |
|
|
|
label="来源"> |
|
|
|
placeholder="请输入来源" |
|
|
|
<el-input placeholder="请输入来源" |
|
|
|
v-model.trim="form.source" |
|
|
|
v-model.trim="form.source" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="50" |
|
|
|
maxlength="50" |
|
|
|
class="inline-input" |
|
|
|
class="inline-input"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="author" label="作者"> |
|
|
|
<el-form-item prop="author" |
|
|
|
<el-input |
|
|
|
label="作者"> |
|
|
|
v-model="form.author" |
|
|
|
<el-input v-model="form.author" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="50" |
|
|
|
maxlength="50" |
|
|
|
class="inline-input" |
|
|
|
class="inline-input"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item-line"> |
|
|
|
<div class="item-line"> |
|
|
|
<el-form-item prop="edit" label="编辑"> |
|
|
|
<el-form-item prop="edit" |
|
|
|
<el-input |
|
|
|
label="编辑"> |
|
|
|
placeholder="请输入编辑" |
|
|
|
<el-input placeholder="请输入编辑" |
|
|
|
v-model.trim="form.edit" |
|
|
|
v-model.trim="form.edit" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="50" |
|
|
|
maxlength="50" |
|
|
|
class="inline-input" |
|
|
|
class="inline-input"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="audit" label="审核"> |
|
|
|
<el-form-item prop="audit" |
|
|
|
<el-input |
|
|
|
label="审核"> |
|
|
|
placeholder="请输入审核" |
|
|
|
<el-input placeholder="请输入审核" |
|
|
|
v-model.trim="form.audit" |
|
|
|
v-model.trim="form.audit" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="50" |
|
|
|
maxlength="50" |
|
|
|
class="inline-input" |
|
|
|
class="inline-input"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="item-line"> |
|
|
|
<div class="item-line"> |
|
|
|
<el-form-item prop="classificationId" label="所属分类"> |
|
|
|
<el-form-item prop="classificationId" |
|
|
|
<el-select style="width: 234px;" v-model="form.classificationId"> |
|
|
|
label="所属分类"> |
|
|
|
|
|
|
|
<el-select style="width: 234px;" |
|
|
|
|
|
|
|
v-model="form.classificationId"> |
|
|
|
<template v-for="item in classifications"> |
|
|
|
<template v-for="item in classifications"> |
|
|
|
<el-option |
|
|
|
<el-option v-if="item.id" |
|
|
|
v-if="item.id" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
|
:label="item.classificationName" |
|
|
|
:label="item.classificationName" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
<el-button class="set-btn" type="primary" @click="setClass">设置</el-button> |
|
|
|
<el-button class="set-btn" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
@click="setClass">设置</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="author" label="主题标签"> |
|
|
|
<el-form-item prop="author" |
|
|
|
<el-select style="width: 234px;" v-model="form.lableId" multiple> |
|
|
|
label="主题标签"> |
|
|
|
|
|
|
|
<el-select style="width: 234px;" |
|
|
|
|
|
|
|
v-model="form.lableId" |
|
|
|
|
|
|
|
multiple> |
|
|
|
<template v-for="item in labels"> |
|
|
|
<template v-for="item in labels"> |
|
|
|
<el-option |
|
|
|
<el-option v-if="item.id" |
|
|
|
v-if="item.id" |
|
|
|
|
|
|
|
:key="item.id" |
|
|
|
:key="item.id" |
|
|
|
:label="item.labelName" |
|
|
|
:label="item.labelName" |
|
|
|
:value="item.id"> |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
<el-button class="set-btn" type="primary" @click="setLabel">设置</el-button> |
|
|
|
<el-button class="set-btn" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
@click="setLabel">设置</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-form-item prop="summary" label="摘要"> |
|
|
|
<el-form-item prop="summary" |
|
|
|
<el-input |
|
|
|
label="摘要"> |
|
|
|
style="width: 940px" |
|
|
|
<el-input style="width: 940px" |
|
|
|
type="textarea" |
|
|
|
type="textarea" |
|
|
|
v-model.trim="form.summary" |
|
|
|
v-model.trim="form.summary" |
|
|
|
:rows="3" |
|
|
|
:rows="3" |
|
|
|
clearable |
|
|
|
clearable></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="bannerImg" label="封面图"> |
|
|
|
<el-form-item prop="bannerImg" |
|
|
|
<el-upload |
|
|
|
label="封面图"> |
|
|
|
class="avatar-uploader" |
|
|
|
<el-upload class="avatar-uploader" |
|
|
|
accept=".jpg,.png,.jpeg,.gif" |
|
|
|
accept=".jpg,.png,.jpeg,.gif" |
|
|
|
:on-change="changeFile" |
|
|
|
:on-change="changeFile" |
|
|
|
:show-file-list="false" |
|
|
|
:show-file-list="false" |
|
|
|
:action="this.api.fileupload" |
|
|
|
:action="this.api.fileupload" |
|
|
|
:auto-upload="false" |
|
|
|
:auto-upload="false"> |
|
|
|
> |
|
|
|
<img v-if="form.bannerImg" |
|
|
|
<img v-if="form.bannerImg" :src="form.bannerImg" class="avatar"> |
|
|
|
:src="form.bannerImg" |
|
|
|
<div class="uploader-default" v-else> |
|
|
|
class="avatar"> |
|
|
|
<img class="plus" src="@/assets/img/plus.png" alt=""> |
|
|
|
<div class="uploader-default" |
|
|
|
|
|
|
|
v-else> |
|
|
|
|
|
|
|
<img class="plus" |
|
|
|
|
|
|
|
src="@/assets/img/plus.png" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
<p>点击上传</p> |
|
|
|
<p>点击上传</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-upload> |
|
|
|
</el-upload> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="mainBody" label="正文" > |
|
|
|
<el-form-item prop="mainBody" |
|
|
|
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' v-model="form.mainBody" :init="editorConfig" /> |
|
|
|
label="正文"> |
|
|
|
|
|
|
|
<Editor api-key='rnk6zw9v267xqz7pf98twt1vmrvltmd436je7a642pckltda' |
|
|
|
|
|
|
|
v-model="form.mainBody" |
|
|
|
|
|
|
|
:init="editorConfig" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item prop="file" label="文件上传"> |
|
|
|
<el-form-item prop="file" |
|
|
|
<el-upload |
|
|
|
label="文件上传"> |
|
|
|
:before-upload="fileBeforeUpload" |
|
|
|
<el-upload :before-upload="fileBeforeUpload" |
|
|
|
:on-remove="handleRemove" |
|
|
|
:on-remove="handleRemove" |
|
|
|
:on-success="uploadSuccessFile" |
|
|
|
:on-success="uploadSuccessFile" |
|
|
|
:action="this.api.fileUploadNakadai" |
|
|
|
:action="this.api.fileUploadNakadai" |
|
|
|
:file-list="form.fileList" |
|
|
|
:file-list="form.fileList" |
|
|
|
:headers="headers" |
|
|
|
:headers="headers"> |
|
|
|
> |
|
|
|
|
|
|
|
<el-button>上传</el-button> |
|
|
|
<el-button>上传</el-button> |
|
|
|
</el-upload> |
|
|
|
</el-upload> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
</el-form> |
|
|
|
<div class="btns"> |
|
|
|
<div class="btns"> |
|
|
|
<el-button type="primary" @click="submit(1)">发布</el-button> |
|
|
|
<el-button type="primary" |
|
|
|
|
|
|
|
@click="submit(1)">发布</el-button> |
|
|
|
<el-button @click="submit(0)">保存草稿</el-button> |
|
|
|
<el-button @click="submit(0)">保存草稿</el-button> |
|
|
|
<el-button @click="back">取消</el-button> |
|
|
|
<el-button @click="back">取消</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 剪裁组件弹窗 --> |
|
|
|
<!-- 剪裁组件弹窗 --> |
|
|
|
<el-dialog title="图片裁剪" append-to-body :visible.sync="cropperModel" width="1100px" :close-on-click-modal="false"> |
|
|
|
<el-dialog title="图片裁剪" |
|
|
|
<Cropper |
|
|
|
append-to-body |
|
|
|
ref="cropper" |
|
|
|
:visible.sync="cropperModel" |
|
|
|
|
|
|
|
width="1100px" |
|
|
|
|
|
|
|
:close-on-click-modal="false"> |
|
|
|
|
|
|
|
<Cropper ref="cropper" |
|
|
|
:img-file.sync="file" |
|
|
|
:img-file.sync="file" |
|
|
|
:is-upload="isUpload" |
|
|
|
:is-upload="isUpload" |
|
|
|
:fixed="true" |
|
|
|
:fixed="true" |
|
|
@ -160,30 +178,53 @@ |
|
|
|
@upload="customUpload" /> |
|
|
|
@upload="customUpload" /> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="所属分类设置" :visible.sync="classVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeClass"> |
|
|
|
<el-dialog title="所属分类设置" |
|
|
|
|
|
|
|
:visible.sync="classVisible" |
|
|
|
|
|
|
|
width="500px" |
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
class="manage-dia" |
|
|
|
|
|
|
|
:before-close="closeClass"> |
|
|
|
<div class="plus"> |
|
|
|
<div class="plus"> |
|
|
|
<i class="el-icon-circle-plus-outline" @click="addClass"></i> |
|
|
|
<i class="el-icon-circle-plus-outline" |
|
|
|
|
|
|
|
@click="addClass"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table :data="classifications" ref="table" header-align="center" row-key="id"> |
|
|
|
<el-table :data="classifications" |
|
|
|
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> |
|
|
|
ref="table" |
|
|
|
<el-table-column prop="classificationName" label="分类名称" align="center" min-width="130"> |
|
|
|
header-align="center" |
|
|
|
|
|
|
|
row-key="id"> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
width="60" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="classificationName" |
|
|
|
|
|
|
|
label="分类名称" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
<el-input v-if="scope.row.edit" |
|
|
|
v-if="scope.row.edit" |
|
|
|
|
|
|
|
placeholder="请输入分类名称" |
|
|
|
placeholder="请输入分类名称" |
|
|
|
v-model="scope.row.classificationName" |
|
|
|
v-model="scope.row.classificationName" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="30" |
|
|
|
maxlength="30"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ scope.row.classificationName }}</span> |
|
|
|
<span v-else>{{ scope.row.classificationName }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="updateTime1" label="是否引用" align="center" min-width="60">否</el-table-column> |
|
|
|
<el-table-column prop="updateTime1" |
|
|
|
<el-table-column label="操作" align="center" min-width="60"> |
|
|
|
label="是否引用" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="60">否</el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="60"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<i v-if="scope.row.edit" class="el-icon-check edit" @click="submitClass(scope.row)"></i> |
|
|
|
<i v-if="scope.row.edit" |
|
|
|
<i v-else class="el-icon-edit edit" @click="editClass(scope.row)"></i> |
|
|
|
class="el-icon-check edit" |
|
|
|
<i class="el-icon-delete del" @click="delClass(scope.row, scope.$index)"></i> |
|
|
|
@click="submitClass(scope.row)"></i> |
|
|
|
|
|
|
|
<i v-else |
|
|
|
|
|
|
|
class="el-icon-edit edit" |
|
|
|
|
|
|
|
@click="editClass(scope.row)"></i> |
|
|
|
|
|
|
|
<i class="el-icon-delete del" |
|
|
|
|
|
|
|
@click="delClass(scope.row, scope.$index)"></i> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -192,30 +233,53 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
<el-dialog title="主题标签设置" :visible.sync="labelVisible" width="500px" :close-on-click-modal="false" class="manage-dia" :before-close="closeLabel"> |
|
|
|
<el-dialog title="主题标签设置" |
|
|
|
|
|
|
|
:visible.sync="labelVisible" |
|
|
|
|
|
|
|
width="500px" |
|
|
|
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
|
|
|
class="manage-dia" |
|
|
|
|
|
|
|
:before-close="closeLabel"> |
|
|
|
<div class="plus"> |
|
|
|
<div class="plus"> |
|
|
|
<i class="el-icon-circle-plus-outline" @click="addLabel"></i> |
|
|
|
<i class="el-icon-circle-plus-outline" |
|
|
|
|
|
|
|
@click="addLabel"></i> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table :data="labels" ref="table" header-align="center" row-key="id"> |
|
|
|
<el-table :data="labels" |
|
|
|
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> |
|
|
|
ref="table" |
|
|
|
<el-table-column prop="labelName" label="主题名称" align="center" min-width="130"> |
|
|
|
header-align="center" |
|
|
|
|
|
|
|
row-key="id"> |
|
|
|
|
|
|
|
<el-table-column type="index" |
|
|
|
|
|
|
|
width="60" |
|
|
|
|
|
|
|
label="序号" |
|
|
|
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="labelName" |
|
|
|
|
|
|
|
label="主题名称" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="130"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
|
<el-input v-if="scope.row.edit" |
|
|
|
v-if="scope.row.edit" |
|
|
|
|
|
|
|
placeholder="请输入主题名称" |
|
|
|
placeholder="请输入主题名称" |
|
|
|
v-model="scope.row.labelName" |
|
|
|
v-model="scope.row.labelName" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
maxlength="30" |
|
|
|
maxlength="30"></el-input> |
|
|
|
></el-input> |
|
|
|
|
|
|
|
<span v-else>{{ scope.row.labelName }}</span> |
|
|
|
<span v-else>{{ scope.row.labelName }}</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="updateTime1" label="是否引用" align="center" min-width="60">否</el-table-column> |
|
|
|
<el-table-column prop="updateTime1" |
|
|
|
<el-table-column label="操作" align="center" min-width="60"> |
|
|
|
label="是否引用" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="60">否</el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" |
|
|
|
|
|
|
|
align="center" |
|
|
|
|
|
|
|
min-width="60"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<i v-if="scope.row.edit" class="el-icon-check edit" @click="submitLabel(scope.row)"></i> |
|
|
|
<i v-if="scope.row.edit" |
|
|
|
<i v-else class="el-icon-edit edit" @click="editLabel(scope.row)"></i> |
|
|
|
class="el-icon-check edit" |
|
|
|
<i class="el-icon-delete del" @click="delLabel(scope.row, scope.$index)"></i> |
|
|
|
@click="submitLabel(scope.row)"></i> |
|
|
|
|
|
|
|
<i v-else |
|
|
|
|
|
|
|
class="el-icon-edit edit" |
|
|
|
|
|
|
|
@click="editLabel(scope.row)"></i> |
|
|
|
|
|
|
|
<i class="el-icon-delete del" |
|
|
|
|
|
|
|
@click="delLabel(scope.row, scope.$index)"></i> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -701,7 +765,7 @@ $upload-lg-height: 102px; |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
width: $upload-width; |
|
|
|
width: $upload-width; |
|
|
|
height: $upload-height; |
|
|
|
height: $upload-height; |
|
|
|
border: 1px solid #DCDEE0; |
|
|
|
border: 1px solid #dcdee0; |
|
|
|
border-radius: 2px; |
|
|
|
border-radius: 2px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
@ -712,7 +776,7 @@ $upload-lg-height: 102px; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
background: #FAFAFA; |
|
|
|
background: #fafafa; |
|
|
|
p { |
|
|
|
p { |
|
|
|
margin-top: 10px; |
|
|
|
margin-top: 10px; |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
@ -769,7 +833,7 @@ $upload-lg-height: 102px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
&:hover .review { |
|
|
|
&:hover .review { |
|
|
|
border-color: #9278FF; |
|
|
|
border-color: #9278ff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.review { |
|
|
|
.review { |
|
|
@ -779,7 +843,7 @@ $upload-lg-height: 102px; |
|
|
|
width: 170px; |
|
|
|
width: 170px; |
|
|
|
height: 112px; |
|
|
|
height: 112px; |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
border: 1px solid #DCDEE0; |
|
|
|
border: 1px solid #dcdee0; |
|
|
|
border-radius: 2px; |
|
|
|
border-radius: 2px; |
|
|
|
img { |
|
|
|
img { |
|
|
|
width: 80px; |
|
|
|
width: 80px; |
|
|
@ -798,7 +862,7 @@ $upload-lg-height: 102px; |
|
|
|
.plus { |
|
|
|
.plus { |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|
color: #9278FF; |
|
|
|
color: #9278ff; |
|
|
|
text-align: right; |
|
|
|
text-align: right; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
@ -806,7 +870,8 @@ $upload-lg-height: 102px; |
|
|
|
margin-left: 10px !important; |
|
|
|
margin-left: 10px !important; |
|
|
|
} |
|
|
|
} |
|
|
|
.manage-dia { |
|
|
|
.manage-dia { |
|
|
|
.edit, .del { |
|
|
|
.edit, |
|
|
|
|
|
|
|
.del { |
|
|
|
font-size: 14px; |
|
|
|
font-size: 14px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
} |
|
|
@ -834,12 +899,13 @@ $upload-lg-height: 102px; |
|
|
|
} |
|
|
|
} |
|
|
|
.line { |
|
|
|
.line { |
|
|
|
margin-bottom: 24px; |
|
|
|
margin-bottom: 24px; |
|
|
|
border-bottom: 1px dashed #C2C2C2; |
|
|
|
border-bottom: 1px dashed #c2c2c2; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-form-item--small.el-form-item { |
|
|
|
.el-form-item--small.el-form-item { |
|
|
|
margin-bottom: 24px; |
|
|
|
margin-bottom: 24px; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-input, .el-select { |
|
|
|
.el-input, |
|
|
|
|
|
|
|
.el-select { |
|
|
|
width: 300px; |
|
|
|
width: 300px; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-select .el-input { |
|
|
|
.el-select .el-input { |
|
|
@ -848,13 +914,14 @@ $upload-lg-height: 102px; |
|
|
|
.el-textarea { |
|
|
|
.el-textarea { |
|
|
|
width: 550px; |
|
|
|
width: 550px; |
|
|
|
} |
|
|
|
} |
|
|
|
.auto, .auto .el-input { |
|
|
|
.auto, |
|
|
|
|
|
|
|
.auto .el-input { |
|
|
|
width: auto; |
|
|
|
width: auto; |
|
|
|
} |
|
|
|
} |
|
|
|
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before { |
|
|
|
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before { |
|
|
|
font-size: 18px; |
|
|
|
font-size: 18px; |
|
|
|
vertical-align: -4px; |
|
|
|
vertical-align: -4px; |
|
|
|
color: #F5222D; |
|
|
|
color: #f5222d; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.btns { |
|
|
|
.btns { |
|
|
|