|
@@ -0,0 +1,509 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <div class="forum_list">
|
|
|
|
|
+ <div class="title">
|
|
|
|
|
+ <span>中国人民解放军陆军勤务学院论坛</span>
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <li
|
|
|
|
|
+ :class="{ active: item.id === tabInd }"
|
|
|
|
|
+ v-for="item in tab"
|
|
|
|
|
+ :key="item.id"
|
|
|
|
|
+ @click="cutTab(item)"
|
|
|
|
|
+ >
|
|
|
|
|
+ {{ item.name }}
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="conten">
|
|
|
|
|
+ <div class="topImg">
|
|
|
|
|
+ <!-- <img src="../../assets/img/banner.png" alt="" /> -->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row rowFi">
|
|
|
|
|
+ <div class="row_one">最 新</div>
|
|
|
|
|
+ <div class="row_tow">作 者</div>
|
|
|
|
|
+ <div class="row_three">回复/查看</div>
|
|
|
|
|
+ <div class="row_four">发帖时间</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="nullTit" v-if="dataArr.length===0">暂无数据</div>
|
|
|
|
|
+ <div class="row" v-for="item in dataArr" :key="item.id" @click="skip(item)" v-else>
|
|
|
|
|
+ <div class="row_one">{{item.title}}</div>
|
|
|
|
|
+ <div class="row_tow">{{item.creatorName}}</div>
|
|
|
|
|
+ <div class="row_three">{{item.reply?item.reply:0}}/{{item.visit?item.visit:0}}</div>
|
|
|
|
|
+ <div class="row_four">{{item.createTime}}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- 底部 -->
|
|
|
|
|
+ <div class="bottom">
|
|
|
|
|
+ <!-- 分页 -->
|
|
|
|
|
+ <div class="paging" v-if="total>5">
|
|
|
|
|
+ <el-pagination
|
|
|
|
|
+ layout="prev, pager, next,jumper"
|
|
|
|
|
+ :total="total"
|
|
|
|
|
+ :current-page="formData.pageNum"
|
|
|
|
|
+ :page-size='formData.pageSize'
|
|
|
|
|
+ @current-change="currentChange"
|
|
|
|
|
+ @size-change="sizeChange"
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-pagination>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="rickText">
|
|
|
|
|
+ <div class="inputR">
|
|
|
|
|
+ <el-select
|
|
|
|
|
+ v-model="selectType"
|
|
|
|
|
+ placeholder="请选择主题分类"
|
|
|
|
|
+ style="width: 400px"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-option label="数字史馆" value="scene"></el-option>
|
|
|
|
|
+ <el-option label="美丽校园" value="school"></el-option>
|
|
|
|
|
+ <el-option label="信息典藏" value="goods"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ style="margin: 0 20px"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ placeholder="帖子标题字数不能超过30个字。"
|
|
|
|
|
+ v-model="title"
|
|
|
|
|
+ maxlength="30"
|
|
|
|
|
+ show-word-limit
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ style="width: 400px"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ placeholder="请输入姓名"
|
|
|
|
|
+ v-model="creatorName"
|
|
|
|
|
+ maxlength="8"
|
|
|
|
|
+ show-word-limit
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ <!-- 上传图片 -->
|
|
|
|
|
+ <el-upload
|
|
|
|
|
+ accept= '.png,.jpg,.jpeg,.gif'
|
|
|
|
|
+ title="上传图片"
|
|
|
|
|
+ class="upload-demo imgUplod"
|
|
|
|
|
+ :action="baseURL + '/web/bbs/upload'"
|
|
|
|
|
+ multiple
|
|
|
|
|
+ :before-upload="beforethumbUploadImg"
|
|
|
|
|
+ :on-success="upload_thumb_successImg"
|
|
|
|
|
+ >
|
|
|
|
|
+ <i class="w-e-icon-image"></i>
|
|
|
|
|
+ </el-upload>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- 富文本 -->
|
|
|
|
|
+ <div id="div1" style="z-index: 1"></div>
|
|
|
|
|
+ <!-- 按钮 -->
|
|
|
|
|
+ <div class="txtBtn">
|
|
|
|
|
+ <el-button type="primary" style="width: 120px" @click="publish"
|
|
|
|
|
+ >发 表</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+import axios from '@/utils/request'
|
|
|
|
|
+import { webBbsSave, webBbsList, webBbsVisit } from '@/apis/tab8'
|
|
|
|
|
+import E from 'wangeditor'
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: 'forum_list',
|
|
|
|
|
+ components: {},
|
|
|
|
|
+ data () {
|
|
|
|
|
+ // 这里存放数据
|
|
|
|
|
+ return {
|
|
|
|
|
+ // 列表数据
|
|
|
|
|
+ dataArr: [],
|
|
|
|
|
+ total: 0,
|
|
|
|
|
+ // 服务器前缀地址
|
|
|
|
|
+ baseURL: '',
|
|
|
|
|
+ tabInd: 1,
|
|
|
|
|
+ tab: [
|
|
|
|
|
+ { id: 1, name: '数字史馆', type: 'scene' },
|
|
|
|
|
+ { id: 2, name: '美丽校园', type: 'school' },
|
|
|
|
|
+ { id: 3, name: '信息典藏', type: 'goods' }
|
|
|
|
|
+ ],
|
|
|
|
|
+ formData: {
|
|
|
|
|
+ endTime: '',
|
|
|
|
|
+ searchKey: '',
|
|
|
|
|
+ startTime: '',
|
|
|
|
|
+ status: 2,
|
|
|
|
|
+ type: 'scene',
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ pageSize: 5,
|
|
|
|
|
+ bbsType: 'topic'
|
|
|
|
|
+ },
|
|
|
|
|
+ selectType: 'scene',
|
|
|
|
|
+ title: '',
|
|
|
|
|
+ creatorName: '',
|
|
|
|
|
+ content: ''
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ // 监听属性 类似于data概念
|
|
|
|
|
+ computed: {},
|
|
|
|
|
+ // 监控data中的数据变化
|
|
|
|
|
+ watch: {},
|
|
|
|
|
+ // 方法集合
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ // 上传图片
|
|
|
|
|
+ beforethumbUploadImg (file) {
|
|
|
|
|
+ // console.log(998, file)
|
|
|
|
|
+ // 限制图片大小和格式
|
|
|
|
|
+ const sizeOk = file.size / 1024 / 1024 < 5
|
|
|
|
|
+ const typeOk =
|
|
|
|
|
+ file.type === 'image/png' ||
|
|
|
|
|
+ file.type === 'image/jpeg' ||
|
|
|
|
|
+ file.type === 'image/gif'
|
|
|
|
|
+
|
|
|
|
|
+ return new Promise((resolve, reject) => {
|
|
|
|
|
+ if (!typeOk) {
|
|
|
|
|
+ this.$message.error('图片格式有误!')
|
|
|
|
|
+ reject(file)
|
|
|
|
|
+ } else if (!sizeOk) {
|
|
|
|
|
+ this.$message.error('图片大小超过5M!')
|
|
|
|
|
+ reject(file)
|
|
|
|
|
+ } else if (file.name.length > 32) {
|
|
|
|
|
+ this.$message.error('图片名字不能超过32个字!')
|
|
|
|
|
+ reject(file)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ resolve(file)
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ upload_thumb_successImg (data) {
|
|
|
|
|
+ this.$message.success('上传成功')
|
|
|
|
|
+ this.editor.txt.append(
|
|
|
|
|
+ `<img src="${this.baseURL}${data.data.urlPath}" style="max-width:100%;display: block;margin: 10px auto;"/><p>  </p>`
|
|
|
|
|
+ )
|
|
|
|
|
+ }, // 点击发表文章
|
|
|
|
|
+ async publish () {
|
|
|
|
|
+ if (this.creatorName.trim() === '') {
|
|
|
|
|
+ return this.$message.warning('名字不能为空!')
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.title.trim() === '') {
|
|
|
|
|
+ return this.$message.warning('标题不能为空!')
|
|
|
|
|
+ }
|
|
|
|
|
+ if (this.editor.txt.html() === '') {
|
|
|
|
|
+ return this.$message.warning('内容不能为空')
|
|
|
|
|
+ }
|
|
|
|
|
+ const res = await webBbsSave({
|
|
|
|
|
+ bbsType: 'topic',
|
|
|
|
|
+ content: this.editor.txt.html(),
|
|
|
|
|
+ creatorName: this.creatorName,
|
|
|
|
|
+ title: this.title,
|
|
|
|
|
+ type: this.selectType
|
|
|
|
|
+ })
|
|
|
|
|
+ if (res.code === 0) {
|
|
|
|
|
+ this.title = this.creatorName = ''
|
|
|
|
|
+ this.editor.txt.html('')
|
|
|
|
|
+ this.$message.success('发帖成功,等待审核.')
|
|
|
|
|
+ } else this.$message.warning(res.msg)
|
|
|
|
|
+ },
|
|
|
|
|
+ // 点击通知父组件切换 动态组件is的值,并且把数据传过去
|
|
|
|
|
+ async skip (item) {
|
|
|
|
|
+ await webBbsVisit(item.id)
|
|
|
|
|
+ this.$emit('cutComFn', item)
|
|
|
|
|
+ },
|
|
|
|
|
+ cutTab (item) {
|
|
|
|
|
+ this.tabInd = item.id
|
|
|
|
|
+ this.formData.type = item.type
|
|
|
|
|
+ this.formData.pageNum = 1
|
|
|
|
|
+ this.webBbsList(this.formData)
|
|
|
|
|
+ },
|
|
|
|
|
+ currentChange (val) {
|
|
|
|
|
+ // console.log('当前页改变了', val)
|
|
|
|
|
+ this.formData.pageNum = val
|
|
|
|
|
+ this.webBbsList(this.formData)
|
|
|
|
|
+ },
|
|
|
|
|
+ sizeChange (val) {
|
|
|
|
|
+ // console.log('条数改变了', val)
|
|
|
|
|
+ this.formData.pageNum = 1
|
|
|
|
|
+ this.formData.pageSize = val
|
|
|
|
|
+ this.webBbsList(this.formData)
|
|
|
|
|
+ },
|
|
|
|
|
+ // 封装获取列表的方法
|
|
|
|
|
+ async webBbsList (data) {
|
|
|
|
|
+ const res = await webBbsList(data)
|
|
|
|
|
+ this.total = res.data.total
|
|
|
|
|
+ this.dataArr = res.data.records
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ // 生命周期 - 创建完成(可以访问当前this实例)
|
|
|
|
|
+ created () {
|
|
|
|
|
+ // 获取服务器前缀地址
|
|
|
|
|
+ this.baseURL = axios.defaults.baseURL
|
|
|
|
|
+ },
|
|
|
|
|
+ // 生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
|
|
+ mounted () {
|
|
|
|
|
+ // 初始化富文本
|
|
|
|
|
+ // 富文本
|
|
|
|
|
+ this.editor = new E('#div1')
|
|
|
|
|
+ // 配置字体
|
|
|
|
|
+ this.editor.config.fontNames = [
|
|
|
|
|
+ '黑体',
|
|
|
|
|
+ '仿宋',
|
|
|
|
|
+ '楷体',
|
|
|
|
|
+ '标楷体',
|
|
|
|
|
+ '华文仿宋',
|
|
|
|
|
+ '华文楷体',
|
|
|
|
|
+ '宋体',
|
|
|
|
|
+ '微软雅黑',
|
|
|
|
|
+ 'Arial',
|
|
|
|
|
+ 'Tahoma',
|
|
|
|
|
+ 'Verdana',
|
|
|
|
|
+ 'Times New Roman'
|
|
|
|
|
+ ]
|
|
|
|
|
+ this.editor.config.uploadImgShowBase64 = true // 图片地址
|
|
|
|
|
+ this.editor.config.showLinkVideo = false
|
|
|
|
|
+ this.editor.create()
|
|
|
|
|
+ },
|
|
|
|
|
+ beforeCreate () {}, // 生命周期 - 创建之前
|
|
|
|
|
+ beforeMount () {}, // 生命周期 - 挂载之前
|
|
|
|
|
+ beforeUpdate () {}, // 生命周期 - 更新之前
|
|
|
|
|
+ updated () {}, // 生命周期 - 更新之后
|
|
|
|
|
+ beforeDestroy () {}, // 生命周期 - 销毁之前
|
|
|
|
|
+ destroyed () {}, // 生命周期 - 销毁完成
|
|
|
|
|
+ // 如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
|
|
+ activated () {
|
|
|
|
|
+ // 调用获取列表方法
|
|
|
|
|
+ this.webBbsList(this.formData)
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</script>
|
|
|
|
|
+<style lang='less' scoped>
|
|
|
|
|
+/* 分页 */
|
|
|
|
|
+/deep/.el-pagination {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pager li {
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ min-width: 24px;
|
|
|
|
|
+ width: 28px;
|
|
|
|
|
+ height: 28px;
|
|
|
|
|
+ padding: 0;
|
|
|
|
|
+ margin: 0 8px;
|
|
|
|
|
+ border: 1px solid #b9412e;
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pager li:hover {
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pager li.active {
|
|
|
|
|
+ width: 30px;
|
|
|
|
|
+ height: 30px;
|
|
|
|
|
+ background-color: #b9412e;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pager li.active + li {
|
|
|
|
|
+ border: 1px solid #c7c7c7;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pagination button:hover {
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pagination .btn-next {
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pagination .btn-prev {
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pager li.active + li {
|
|
|
|
|
+ border: 1px solid #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/.el-pagination button:disabled {
|
|
|
|
|
+ color: #fff9ec;
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+}
|
|
|
|
|
+::-webkit-scrollbar {
|
|
|
|
|
+ /*滚动条整体样式*/
|
|
|
|
|
+ width: 3px; /*高宽分别对应横竖滚动条的尺寸*/
|
|
|
|
|
+ height: 0px;
|
|
|
|
|
+}
|
|
|
|
|
+::-webkit-scrollbar-thumb {
|
|
|
|
|
+ /*滚动条里面小方块*/
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
|
|
+ background: #b9412e;
|
|
|
|
|
+}
|
|
|
|
|
+::-webkit-scrollbar-track {
|
|
|
|
|
+ /*滚动条里面轨道*/
|
|
|
|
|
+ // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ background: #fff9ec;
|
|
|
|
|
+}
|
|
|
|
|
+.forum_list {
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+ width: 1200px;
|
|
|
|
|
+ height: 100vh;
|
|
|
|
|
+ min-height: 800px;
|
|
|
|
|
+ overflow-y: auto;
|
|
|
|
|
+ .title {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ color: #f3eabd;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ height: 60px;
|
|
|
|
|
+ background-color: #bd1b1b;
|
|
|
|
|
+ & > span {
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ padding-left: 40px;
|
|
|
|
|
+ font-size: 26px;
|
|
|
|
|
+ margin-right: 100px;
|
|
|
|
|
+ }
|
|
|
|
|
+ & > ul {
|
|
|
|
|
+ height: 60px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ & > li {
|
|
|
|
|
+ margin-right: 30px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ letter-spacing: 2px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ width: 150px;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .active {
|
|
|
|
|
+ border-bottom: 5px solid #f3eabd;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ // &::after {
|
|
|
|
|
+ // content: "";
|
|
|
|
|
+ // position: absolute;
|
|
|
|
|
+ // width: 100%;
|
|
|
|
|
+ // height: 1px;
|
|
|
|
|
+ // bottom: -1px;
|
|
|
|
|
+ // left: 0;
|
|
|
|
|
+ // display: block;
|
|
|
|
|
+ // background-color: #bd1b1b;
|
|
|
|
|
+ // }
|
|
|
|
|
+ }
|
|
|
|
|
+ .topImg {
|
|
|
|
|
+ margin-top: -10px;
|
|
|
|
|
+ min-width: 1200px;
|
|
|
|
|
+ height: 225px;
|
|
|
|
|
+ background: url("../../assets/img/banner.png");
|
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
|
+ // & > img {
|
|
|
|
|
+ // width: 100%;
|
|
|
|
|
+ // height: 100%;
|
|
|
|
|
+ // }
|
|
|
|
|
+ }
|
|
|
|
|
+ .conten {
|
|
|
|
|
+ padding-bottom: 20px;
|
|
|
|
|
+ color: #5f5f5f;
|
|
|
|
|
+ background-color: #fff9ec;
|
|
|
|
|
+ .row {
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ margin: 0 24px;
|
|
|
|
|
+ border-bottom: 1px solid #ccc;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ & > div {
|
|
|
|
|
+ height: 60px;
|
|
|
|
|
+ line-height: 60px;
|
|
|
|
|
+ margin: 0 40px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .row_one {
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
|
+ white-space: nowrap;
|
|
|
|
|
+ margin-left: 0;
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ .row_tow {
|
|
|
|
|
+ width: 135px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .row_three {
|
|
|
|
|
+ width: 100px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .row_four {
|
|
|
|
|
+ margin-right: 0;
|
|
|
|
|
+ width: 170px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .rowFi {
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ border-bottom: none;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .nullTit {
|
|
|
|
|
+ height: 100px;
|
|
|
|
|
+ line-height: 100px;
|
|
|
|
|
+ font-size: 30px;
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .bottom {
|
|
|
|
|
+ padding: 0 20px 20px 20px;
|
|
|
|
|
+ background-color: #fff9ec;
|
|
|
|
|
+ .paging {
|
|
|
|
|
+ /deep/.el-input__inner {
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+ width: 30px;
|
|
|
|
|
+ height: 30px !important;
|
|
|
|
|
+ background-color: transparent;
|
|
|
|
|
+ border-color: #b9412e;
|
|
|
|
|
+ border-radius: 50%;
|
|
|
|
|
+ }
|
|
|
|
|
+ /deep/.el-pagination__jump {
|
|
|
|
|
+ color: #b9412e;
|
|
|
|
|
+ }
|
|
|
|
|
+ height: 80px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ }
|
|
|
|
|
+ .rickText {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ background-color: #fffcf6;
|
|
|
|
|
+ padding: 20px;
|
|
|
|
|
+ .inputR {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ .imgUplod {
|
|
|
|
|
+ /deep/.w-e-icon-image {
|
|
|
|
|
+ color: #999;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ line-height: 40px;
|
|
|
|
|
+ }
|
|
|
|
|
+ /deep/.el-upload-list{
|
|
|
|
|
+ display: none !important;
|
|
|
|
|
+ }
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ z-index: 9999;
|
|
|
|
|
+ top: 61px;
|
|
|
|
|
+ right: 0px;
|
|
|
|
|
+ width: 40px;
|
|
|
|
|
+ height: 40px;
|
|
|
|
|
+ &:hover {
|
|
|
|
|
+ background-color: #f6f6f6;
|
|
|
|
|
+ /deep/.w-e-icon-image {
|
|
|
|
|
+ color: black;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ .txtBtn {
|
|
|
|
|
+ margin-top: 20px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|