|
|
@@ -1,701 +0,0 @@
|
|
|
-<template>
|
|
|
- <div class="forum_look">
|
|
|
- <!-- 回帖按钮 -->
|
|
|
- <div class="ulTitleBtn" @click="fuTxtShow = true">回 帖</div>
|
|
|
- <div class="title">
|
|
|
- <div class="rowBack el-icon-arrow-left" @click='backList' v-show="!fuTxtShow">
|
|
|
- 返回
|
|
|
- </div>
|
|
|
- <span>论 坛</span>
|
|
|
- <!-- <ul>
|
|
|
- <li
|
|
|
- :class="{ active: item.type === lookInfo.type }"
|
|
|
- v-for="item in tab"
|
|
|
- :key="item.id"
|
|
|
- >
|
|
|
- {{ item.name }}
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- <img
|
|
|
- src="../../assets/img/back.png"
|
|
|
- alt=""
|
|
|
- @click="$emit('cutComFn', {})"
|
|
|
- /> -->
|
|
|
- </div>
|
|
|
- <div class="conten" v-show="!fuTxtShow">
|
|
|
- <div class="row rowOne">
|
|
|
- <div class="xian"></div>
|
|
|
- <!-- 头像 -->
|
|
|
- <div class="buddha">
|
|
|
- <i class="el-icon-user-solid"></i>
|
|
|
- </div>
|
|
|
- <span>{{ lookInfo.creatorName }}</span>
|
|
|
- <h3>{{ lookInfo.title }}</h3>
|
|
|
- <p v-html="lookInfo.content"></p>
|
|
|
- <div class="row_bott">
|
|
|
- <span>发表于:{{ lookInfo.createTime }}</span>
|
|
|
- <div class="inco">
|
|
|
- <div title="赞" @click="clickLikeOne('upVote', lookInfo.id)">
|
|
|
- <img :src="require(`@/assets/img/${lookInfo.flag?'goodAc':'good'}.png`)" alt="" /> 点赞 ({{
|
|
|
- lookInfo.upVote ? lookInfo.upVote : 0
|
|
|
- }})
|
|
|
- </div>
|
|
|
- <!-- <div title="踩" @click="clickUnlikeOne('unVote', lookInfo.id)">
|
|
|
- <img src="../../assets/img/goodNo.png" alt="" />({{
|
|
|
- lookInfo.unVote ? lookInfo.unVote : 0
|
|
|
- }})
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- 留言列表为空的时候 -->
|
|
|
- <div class="rowNull" v-if="dataArr.length === 0">暂无数据</div>
|
|
|
- <div class="row" v-for="item in dataArr" :key="item.id" v-else>
|
|
|
- <!-- 头像 -->
|
|
|
- <div class="buddha">
|
|
|
- <i class="el-icon-user-solid"></i>
|
|
|
- </div>
|
|
|
- <span>{{ item.creatorName }}</span>
|
|
|
- <h3> </h3>
|
|
|
- <p v-html="item.content"></p>
|
|
|
- <div class="row_bott">
|
|
|
- <span>发表于:{{ item.createTime }}</span>
|
|
|
- <div class="inco">
|
|
|
- <div title="赞" @click="clickLike('upVote', item.id)">
|
|
|
- <img :src="require(`@/assets/img/${item.flag?'goodAc':'good'}.png`)" alt="" /> 点赞 ({{
|
|
|
- item.upVote ? item.upVote : 0
|
|
|
- }})
|
|
|
- </div>
|
|
|
- <!-- <div title="踩" @click="clickUnlike('unVote', item.id)">
|
|
|
- <img src="../../assets/img/goodNo.png" alt="" />({{
|
|
|
- item.unVote ? item.unVote : 0
|
|
|
- }})
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- 分页 -->
|
|
|
- <div class="paging" v-show="!fuTxtShow">
|
|
|
- <el-pagination
|
|
|
- layout="prev, pager, next"
|
|
|
- :total="total"
|
|
|
- :current-page="formData.pageNum"
|
|
|
- @current-change="currentChange"
|
|
|
- @size-change="sizeChange"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </div>
|
|
|
- <!-- 底部 -->
|
|
|
- <div class="bottom" v-show="fuTxtShow">
|
|
|
- <!-- 后面加的关闭 -->
|
|
|
- <div class="rickTextBack el-icon-arrow-left" @click="fuTxtShow = false">
|
|
|
- 返回
|
|
|
- <div></div>
|
|
|
- </div>
|
|
|
- <div class="rickText">
|
|
|
- <div class="inputR">
|
|
|
- <!-- 上传图片 -->
|
|
|
- <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">
|
|
|
- <div
|
|
|
- class="nameCut"
|
|
|
- :class="{ active: !nameShow }"
|
|
|
- @click="nameShow = false"
|
|
|
- ></div>
|
|
|
- <div class="noName">匿 名</div>
|
|
|
- <div
|
|
|
- class="nameCut"
|
|
|
- :class="{ active: nameShow }"
|
|
|
- @click="nameShow = true"
|
|
|
- ></div>
|
|
|
- <el-input
|
|
|
- :disabled="!nameShow"
|
|
|
- style="width: 300px"
|
|
|
- type="text"
|
|
|
- placeholder="请填写您的姓名"
|
|
|
- v-model="name2"
|
|
|
- maxlength="8"
|
|
|
- show-word-limit
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- <el-button type="primary" style="width: 120px" @click="reply"
|
|
|
- >提 交</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-</template>
|
|
|
-
|
|
|
-<script>
|
|
|
-import axios from '@/utils/request'
|
|
|
-import { webBbsMesList, webBbsSave, webBbsLike } from '@/apis/tab8'
|
|
|
-import E from 'wangeditor'
|
|
|
-export default {
|
|
|
- name: 'forum_look',
|
|
|
- components: {},
|
|
|
- props: {
|
|
|
- lookInfo: {
|
|
|
- type: Object,
|
|
|
- default: () => {}
|
|
|
- }
|
|
|
- },
|
|
|
- data () {
|
|
|
- // 这里存放数据
|
|
|
- return {
|
|
|
- // 选择匿名
|
|
|
- nameShow: true,
|
|
|
- // 控制富文本显示和隐藏
|
|
|
- fuTxtShow: false,
|
|
|
- // 点赞-帖子的开关
|
|
|
- likeFlagOne: [],
|
|
|
- // unLikeFlagOne: [],
|
|
|
- // 点赞-评论的开关
|
|
|
- likeFlag: [],
|
|
|
- // unLikeFlag: [],
|
|
|
- baseURL: '',
|
|
|
- // 评论列表数据
|
|
|
- total: 0,
|
|
|
- dataArr: [],
|
|
|
- tab: [
|
|
|
- { id: 1, name: '数字史馆', type: 'scene' },
|
|
|
- { id: 2, name: '美丽校园', type: 'school' },
|
|
|
- { id: 3, name: '文物典藏', type: 'goods' }
|
|
|
- ],
|
|
|
- formData: {
|
|
|
- parentId: null,
|
|
|
- pageNum: 1,
|
|
|
- pageSize: 10
|
|
|
- },
|
|
|
- name2: ''
|
|
|
- }
|
|
|
- },
|
|
|
- // 监听属性 类似于data概念
|
|
|
- computed: {},
|
|
|
- // 监控data中的数据变化
|
|
|
- watch: {},
|
|
|
- // 方法集合
|
|
|
- methods: {
|
|
|
- // 点击返回
|
|
|
- backList () {
|
|
|
- this.fuTxtShow = false
|
|
|
- this.$emit('cutComFn', {})
|
|
|
- },
|
|
|
- // 点赞-帖子
|
|
|
- async clickLikeOne (type, id) {
|
|
|
- if (!this.likeFlagOne.includes(id)) {
|
|
|
- const res = await webBbsLike(type, id)
|
|
|
- if (res.code === 0) {
|
|
|
- this.$message.success('点赞成功.')
|
|
|
- this.likeFlagOne.push(id)
|
|
|
- this.lookInfo.upVote++
|
|
|
- this.lookInfo.flag = true
|
|
|
- } else this.$message.warning(res.msg)
|
|
|
- } else this.$message.warning('您已经赞过了.')
|
|
|
- },
|
|
|
- // 点踩-帖子
|
|
|
- // async clickUnlikeOne (type, id) {
|
|
|
- // if (!this.unLikeFlagOne.includes(id)) {
|
|
|
- // const res = await webBbsLike(type, id)
|
|
|
- // if (res.code === 0) {
|
|
|
- // this.$message.success('点踩成功.')
|
|
|
- // this.unLikeFlagOne.push(id)
|
|
|
- // this.lookInfo.unVote++
|
|
|
- // } else this.$message.warning(res.msg)
|
|
|
- // } else this.$message.warning('您已经踩过了.')
|
|
|
- // },
|
|
|
- // 点赞-评论
|
|
|
- async clickLike (type, id) {
|
|
|
- if (!this.likeFlag.includes(id)) {
|
|
|
- const res = await webBbsLike(type, id)
|
|
|
- if (res.code === 0) {
|
|
|
- this.$message.success('点赞成功.')
|
|
|
- this.likeFlag.push(id)
|
|
|
- this.webBbsMesList(this.formData)
|
|
|
- } else this.$message.warning(res.msg)
|
|
|
- } else this.$message.warning('您已经赞过了.')
|
|
|
- },
|
|
|
- // 点踩-评论
|
|
|
- // async clickUnlike (type, id) {
|
|
|
- // if (!this.unLikeFlag.includes(id)) {
|
|
|
- // const res = await webBbsLike(type, id)
|
|
|
- // if (res.code === 0) {
|
|
|
- // this.$message.success('点踩成功.')
|
|
|
- // this.unLikeFlag.push(id)
|
|
|
- // this.webBbsMesList(this.formData)
|
|
|
- // } else this.$message.warning(res.msg)
|
|
|
- // } else this.$message.warning('您已经踩过了.')
|
|
|
- // },
|
|
|
- // 点击回复
|
|
|
- async reply () {
|
|
|
- if (this.name2.trim() === '' && this.nameShow) {
|
|
|
- return this.$message.warning('名字不能为空!')
|
|
|
- }
|
|
|
- if (this.editor.txt.html() === '') {
|
|
|
- return this.$message.warning('内容不能为空')
|
|
|
- }
|
|
|
- const res = await webBbsSave({
|
|
|
- bbsType: 'reply',
|
|
|
- parentId: this.formData.parentId,
|
|
|
- content: this.editor.txt.html(),
|
|
|
- creatorName: this.name2,
|
|
|
- type: this.lookInfo.type,
|
|
|
- title: this.lookInfo.title
|
|
|
- })
|
|
|
- if (res.code === 0) {
|
|
|
- this.name2 = ''
|
|
|
- this.editor.txt.html('')
|
|
|
- this.$message.success('回帖成功,等待审核.')
|
|
|
- this.webBbsMesList(this.formData)
|
|
|
- this.fuTxtShow = false
|
|
|
- } else this.$message.warning(res.msg)
|
|
|
- },
|
|
|
- // 上传图片
|
|
|
- beforethumbUploadImg (file) {
|
|
|
- // console.log(998, file)
|
|
|
- // 限制图片大小和格式
|
|
|
- const sizeOk = file.size / 1024 / 1024 < 5
|
|
|
- const typeOk =
|
|
|
- file.type === 'image/png' ||
|
|
|
- (file.type === 'image/jpeg' && !file.name.includes('.jfif')) ||
|
|
|
- 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><br/></p>`
|
|
|
- )
|
|
|
- },
|
|
|
- // 分页器方法
|
|
|
- currentChange (val) {
|
|
|
- // console.log('当前页改变了', val)
|
|
|
- this.formData.pageNum = val
|
|
|
- this.webBbsMesList(this.formData)
|
|
|
- },
|
|
|
- sizeChange (val) {
|
|
|
- // console.log('条数改变了', val)
|
|
|
- this.formData.pageNum = 1
|
|
|
- this.formData.pageSize = val
|
|
|
- this.webBbsMesList(this.formData)
|
|
|
- },
|
|
|
- // 封装获取评论列表的方法
|
|
|
- async webBbsMesList (data) {
|
|
|
- const res = await webBbsMesList(data)
|
|
|
- this.total = res.data.total
|
|
|
- this.dataArr = res.data.records
|
|
|
- // 点赞高亮的判断
|
|
|
- this.dataArr.forEach(v => {
|
|
|
- this.likeFlag.forEach(p => {
|
|
|
- if (p === v.id) v.flag = true
|
|
|
- })
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
- // 生命周期 - 创建完成(可以访问当前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.showLinkVideo = false
|
|
|
- this.editor.create()
|
|
|
- },
|
|
|
- beforeCreate () {}, // 生命周期 - 创建之前
|
|
|
- beforeMount () {}, // 生命周期 - 挂载之前
|
|
|
- beforeUpdate () {}, // 生命周期 - 更新之前
|
|
|
- updated () {}, // 生命周期 - 更新之后
|
|
|
- beforeDestroy () {}, // 生命周期 - 销毁之前
|
|
|
- destroyed () {}, // 生命周期 - 销毁完成
|
|
|
- activated () {
|
|
|
- this.formData.pageNum = 1
|
|
|
- this.formData.parentId = this.lookInfo.id
|
|
|
- this.webBbsMesList(this.formData)
|
|
|
- // 看看有没有点赞
|
|
|
- this.likeFlagOne.forEach(v => {
|
|
|
- if (v === this.lookInfo.id) this.lookInfo.flag = true
|
|
|
- })
|
|
|
- } // 如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
-}
|
|
|
-</script>
|
|
|
-<style lang='less' scoped>
|
|
|
-::-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: rgba(185, 46, 46, 0.3);
|
|
|
-}
|
|
|
-::-webkit-scrollbar-track {
|
|
|
- /*滚动条里面轨道*/
|
|
|
- // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
- border-radius: 10px;
|
|
|
- background: #fff9ec;
|
|
|
-}
|
|
|
-.forum_look {
|
|
|
- border-top: 8px solid #be1220;
|
|
|
- border-bottom: 8px solid #be1220;
|
|
|
- padding: 0 12px;
|
|
|
- background: url("../../assets/img/forBac.png") #f0dbbf center center no-repeat;
|
|
|
- position: fixed;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
- width: 1200px;
|
|
|
- height: 650px;
|
|
|
- .ulTitleBtn {
|
|
|
- font-size: 18px;
|
|
|
- color: #fff;
|
|
|
- cursor: pointer;
|
|
|
- position: absolute;
|
|
|
- top: 10px;
|
|
|
- right: 50px;
|
|
|
- width: 100px;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
- text-align: center;
|
|
|
- background-color: #f2cd83;
|
|
|
- border-radius: 5px;
|
|
|
- }
|
|
|
- .rowBack {
|
|
|
- z-index: 100;
|
|
|
- position: absolute;
|
|
|
- top: 65px;
|
|
|
- left: 15px;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- color: #cb444e;
|
|
|
- cursor: pointer;
|
|
|
- & > div {
|
|
|
- background-color: #b92e2e;
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- left: 10px;
|
|
|
- width: 1156px;
|
|
|
- height: 1px;
|
|
|
- }
|
|
|
- }
|
|
|
- .title {
|
|
|
- color: #fff;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- height: 60px;
|
|
|
- & > span {
|
|
|
- font-weight: 700;
|
|
|
- padding-left: 40px;
|
|
|
- font-size: 26px;
|
|
|
- }
|
|
|
- }
|
|
|
- .conten {
|
|
|
- border-radius: 5px 5px 0 0;
|
|
|
- position: relative;
|
|
|
- height: 480px;
|
|
|
- overflow-y: auto;
|
|
|
- color: #5f5f5f;
|
|
|
- background-color: rgba(255, 255, 255, 0.3);
|
|
|
- padding: 10px 50px 20px 30px;
|
|
|
- .row {
|
|
|
- padding-top: 10px;
|
|
|
- position: relative;
|
|
|
- border-bottom: 1px dashed #d5a6a6;
|
|
|
- .buddha {
|
|
|
- margin-left: 30px;
|
|
|
- text-align: center;
|
|
|
- position: absolute;
|
|
|
- width: 130px;
|
|
|
- height: 50px;
|
|
|
- overflow: hidden;
|
|
|
- left: 0px;
|
|
|
- top: 31px;
|
|
|
- & > i {
|
|
|
- width: 50px;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- background-color: #fff;
|
|
|
- border-radius: 50%;
|
|
|
- font-size: 30px;
|
|
|
- color: #e7cfcf;
|
|
|
- }
|
|
|
- }
|
|
|
- & > span {
|
|
|
- margin-left: 30px;
|
|
|
- width: 130px;
|
|
|
- text-align: center;
|
|
|
- position: absolute;
|
|
|
- left: 0px;
|
|
|
- top: 91px;
|
|
|
- }
|
|
|
-
|
|
|
- & > h3 {
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- & > p {
|
|
|
- width: 80%;
|
|
|
- margin: 0 0 0 180px;
|
|
|
- line-height: 26px;
|
|
|
- }
|
|
|
- .row_bott {
|
|
|
- width: 80%;
|
|
|
- margin: 0 0 0 180px;
|
|
|
- margin-top: 30px;
|
|
|
- margin-bottom: 15px;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- & > span {
|
|
|
- color: #a8a8a8;
|
|
|
- }
|
|
|
- .inco {
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- bottom: 15px;
|
|
|
- & > div {
|
|
|
- cursor: pointer;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .rowOne {
|
|
|
- .row_bott .inco{
|
|
|
- bottom: 0;
|
|
|
- }
|
|
|
- border-bottom: none;
|
|
|
- &>h3{
|
|
|
- margin-bottom: 10px;
|
|
|
- }
|
|
|
- .buddha {
|
|
|
- top: 41px;
|
|
|
- }
|
|
|
- & > span {
|
|
|
- top: 101px;
|
|
|
- }
|
|
|
- .xian {
|
|
|
- width: 1136px;
|
|
|
- position: absolute;
|
|
|
- bottom: -14px;
|
|
|
- left: -20px;
|
|
|
- height: 1px;
|
|
|
- background-color: #be1220;
|
|
|
- }
|
|
|
- }
|
|
|
- .rowNull {
|
|
|
- height: 100px;
|
|
|
- line-height: 100px;
|
|
|
- font-size: 30px;
|
|
|
- color: #b9412e;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
- }
|
|
|
- .paging {
|
|
|
- /deep/.el-pager li {
|
|
|
- background-color: transparent;
|
|
|
- color: #333333;
|
|
|
- }
|
|
|
- /deep/.el-pager li.active {
|
|
|
- color: #b92e2e;
|
|
|
- }
|
|
|
- /deep/.el-pagination button {
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- /deep/.el-pagination button:disabled {
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- border-radius: 0 0 5px 5px;
|
|
|
- background-color: rgba(255, 255, 255, 0.3);
|
|
|
- height: 80px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- }
|
|
|
- .bottom {
|
|
|
- padding: 12px;
|
|
|
- width: 100%;
|
|
|
- position: absolute;
|
|
|
- bottom: 40px;
|
|
|
- left: 0;
|
|
|
- .rickTextBack {
|
|
|
- position: relative;
|
|
|
- padding-left: 20px;
|
|
|
- width: 100%;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- color: #cb444e;
|
|
|
- background-color: rgba(255, 255, 255, 0.3);
|
|
|
- cursor: pointer;
|
|
|
- & > div {
|
|
|
- background-color: #b92e2e;
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- left: 10px;
|
|
|
- width: 1156px;
|
|
|
- height: 1px;
|
|
|
- }
|
|
|
- }
|
|
|
- .rickTextBack {
|
|
|
- position: relative;
|
|
|
- padding-left: 20px;
|
|
|
- width: 100%;
|
|
|
- height: 50px;
|
|
|
- line-height: 50px;
|
|
|
- color: #cb444e;
|
|
|
- background-color: rgba(255, 255, 255, 0.3);
|
|
|
- cursor: pointer;
|
|
|
- & > div {
|
|
|
- background-color: #b92e2e;
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- left: 10px;
|
|
|
- width: 1156px;
|
|
|
- height: 1px;
|
|
|
- }
|
|
|
- }
|
|
|
- .rickText {
|
|
|
- width: 100%;
|
|
|
- background-color: rgba(255, 255, 255, 0.3);
|
|
|
- padding: 20px;
|
|
|
- .inputR {
|
|
|
- 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: 1px;
|
|
|
- right: 1px;
|
|
|
- width: 40px;
|
|
|
- height: 40px;
|
|
|
- &:hover {
|
|
|
- background-color: #f6f6f6;
|
|
|
- /deep/.w-e-icon-image {
|
|
|
- color: black;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- .txtBtn {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- position: relative;
|
|
|
- margin-top: 20px;
|
|
|
- /deep/.el-button {
|
|
|
- width: 120px;
|
|
|
- height: 40px;
|
|
|
- position: absolute;
|
|
|
- right: 20px;
|
|
|
- bottom: 0;
|
|
|
- color: #d8b380;
|
|
|
- font-size: 18px;
|
|
|
- }
|
|
|
- .nameCut {
|
|
|
- cursor: pointer;
|
|
|
- position: relative;
|
|
|
- margin-right: 10px;
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- border-radius: 50%;
|
|
|
- border: 1px solid #b9412e;
|
|
|
- }
|
|
|
- .noName{
|
|
|
- margin-right: 30px;
|
|
|
- }
|
|
|
- .active {
|
|
|
- &::after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- top: 50%;
|
|
|
- left: 50%;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
- width: 15px;
|
|
|
- height: 15px;
|
|
|
- border-radius: 50%;
|
|
|
- background-color: #b9412e;
|
|
|
- }
|
|
|
- }
|
|
|
- /deep/.el-input.is-disabled .el-input__inner{
|
|
|
- background-color: #e9ebec;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- /deep/.el-input__inner {
|
|
|
- background-color: rgba(255, 255, 255, 0.5);
|
|
|
- }
|
|
|
- /deep/.el-input__count-inner {
|
|
|
- background-color: transparent;
|
|
|
- }
|
|
|
- // /deep/.w-e-toolbar {
|
|
|
- // background-color: rgba(231,218,203) !important;
|
|
|
- // }
|
|
|
- // /deep/.w-e-text-container {
|
|
|
- // background-color: rgba(231,218,203) !important;
|
|
|
- // }
|
|
|
- }
|
|
|
-}
|
|
|
-</style>
|