|
|
@@ -0,0 +1,292 @@
|
|
|
+<template>
|
|
|
+ <div class="normal-card">
|
|
|
+ <div class="title-box">
|
|
|
+ <div class="title">五一活动通报与操作指南</div>
|
|
|
+ <div class="descript">请赶紧布置你的门店,并按指引执行</div>
|
|
|
+ <div class="info">
|
|
|
+ <span class="tag">促销活动</span>
|
|
|
+ <span>2022-01-01 11:11:11</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="text-content">
|
|
|
+ <span>正文小标题</span>
|
|
|
+ <p>
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ 正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容正文内容
|
|
|
+ </p>
|
|
|
+ <div class="file"></div>
|
|
|
+ </div>
|
|
|
+ <div class="file-content">
|
|
|
+ <p class="title">视频</p>
|
|
|
+ <div class="video"></div>
|
|
|
+ <div class="file-download">
|
|
|
+ <p class="title">附件下载</p>
|
|
|
+ <div class="file-list">
|
|
|
+ <div class="item-file">
|
|
|
+ <div class="left">
|
|
|
+ <div class="icon">
|
|
|
+ <img src="../../../assets/file_icons/image.png" alt />
|
|
|
+ </div>
|
|
|
+ <div class="text">
|
|
|
+ <p>销售策略</p>
|
|
|
+ <p>2022-01-02 15:30:02</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <p>预览</p>
|
|
|
+ <button>下载</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item-file"></div>
|
|
|
+ <div class="item-file"></div>
|
|
|
+ <div class="item-file"></div>
|
|
|
+ <div class="item-file"></div>
|
|
|
+ <div class="item-file"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="comments">
|
|
|
+ <div class="score-box">
|
|
|
+ <p>评分反馈</p>
|
|
|
+ <div class="handle">
|
|
|
+ <p>总体</p>
|
|
|
+ <el-rate v-model="score" :colors="scoreColor"></el-rate>
|
|
|
+ <p>满意</p>
|
|
|
+ </div>
|
|
|
+ <p>5人评分</p>
|
|
|
+ </div>
|
|
|
+ <div class="text-box">
|
|
|
+ <p>留言反馈</p>
|
|
|
+ <div class="comment-panl">
|
|
|
+ <el-input type="textarea" :rows="4" placeholder="请填写留言" resize="none" v-model="textarea"></el-input>
|
|
|
+ <el-button type="success" size="small">发表</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ name: "NoticeDetail",
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ score: 0,
|
|
|
+ scoreColor: ["#99A9BF", "#F7BA2A", "#FADB14"],
|
|
|
+ textarea: ""
|
|
|
+ };
|
|
|
+ },
|
|
|
+ computed: {},
|
|
|
+ watch: {},
|
|
|
+ mounted() {
|
|
|
+ console.log(this.$route.query.id);
|
|
|
+ },
|
|
|
+ methods: {}
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.normal-card {
|
|
|
+ width: 1200px;
|
|
|
+ padding: 30px;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ margin-top: 10px;
|
|
|
+ font-family: PingFang SC-Regular;
|
|
|
+ box-sizing: border-box;
|
|
|
+}
|
|
|
+.normal-card .title-box {
|
|
|
+ padding-bottom: 20px;
|
|
|
+ border-bottom: 1px solid #eeeeee;
|
|
|
+}
|
|
|
+.normal-card .title-box .title {
|
|
|
+ font-size: 18px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 24px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
+.normal-card .title-box .descript {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 24px;
|
|
|
+}
|
|
|
+.normal-card .title-box .info {
|
|
|
+ line-height: 16px;
|
|
|
+ margin-top: 10px;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.normal-card .title-box .info .tag {
|
|
|
+ width: 48px;
|
|
|
+ height: 16px;
|
|
|
+ border: 1px solid #fa8c16;
|
|
|
+ color: #fa8c16;
|
|
|
+ margin-right: 10px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 10px;
|
|
|
+ display: inline-block;
|
|
|
+ padding: 2px 5px;
|
|
|
+}
|
|
|
+.normal-card .text-content {
|
|
|
+ padding: 20px 0;
|
|
|
+ border-bottom: 1px solid #eeeeee;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.normal-card .text-content .file {
|
|
|
+ width: 690px;
|
|
|
+ height: 360px;
|
|
|
+ background: red;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+.normal-card .file-content {
|
|
|
+ padding: 20px 0;
|
|
|
+ border-bottom: 1px solid #eeeeee;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
+.normal-card .file-content .title {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+.normal-card .file-content .video {
|
|
|
+ width: 690px;
|
|
|
+ height: 360px;
|
|
|
+ background: red;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+.normal-card .file-content .title {
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download {
|
|
|
+ margin-top: 40px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .file-list {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file {
|
|
|
+ width: 334px;
|
|
|
+ height: 44px;
|
|
|
+ background: #ffffff;
|
|
|
+ border-radius: 4px 4px 4px 4px;
|
|
|
+ border: 1px solid #cccccc;
|
|
|
+ margin: 0 10px 10px 0;
|
|
|
+ padding: 12px 16px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left .icon {
|
|
|
+ width: 29px;
|
|
|
+ height: 29px;
|
|
|
+ margin-right: 16px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left .icon img {
|
|
|
+ width: 29px;
|
|
|
+ height: 29px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left .text {
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left .text p:first-child {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ line-height: 22px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .left .text p:last-child {
|
|
|
+ font-size: 10px;
|
|
|
+ font-family: PingFang SC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ line-height: 22px;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .right {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .right p {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #3874f6;
|
|
|
+}
|
|
|
+.normal-card .file-content .file-download .item-file .right button {
|
|
|
+ width: 70px;
|
|
|
+ height: 32px;
|
|
|
+ background: #3874f6;
|
|
|
+ border-radius: 52px;
|
|
|
+ border: none;
|
|
|
+ color: #ffffff;
|
|
|
+ margin-left: 16px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.normal-card .comments {
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+.normal-card .comments .score-box {
|
|
|
+}
|
|
|
+.normal-card .comments .score-box p:first-child {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+.normal-card .comments .score-box .handle {
|
|
|
+ margin-top: 22px;
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+.normal-card .comments .score-box .handle p:first-child {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ margin-right: 20px;
|
|
|
+}
|
|
|
+.normal-card .comments .score-box p:last-child {
|
|
|
+ font-size: 12px;
|
|
|
+ font-family: PingFang SC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #999999;
|
|
|
+ margin-top: 12px;
|
|
|
+}
|
|
|
+.normal-card .comments .score-box .handle p:last-child {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFangSC-Regular-, PingFangSC-Regular;
|
|
|
+ font-weight: normal;
|
|
|
+ color: #262626;
|
|
|
+ margin-left: 20px;
|
|
|
+ margin-top: 0;
|
|
|
+}
|
|
|
+.normal-card .comments .text-box {
|
|
|
+ margin-top: 40px;
|
|
|
+}
|
|
|
+.normal-card .comments .text-box p {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC-Bold, PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+.normal-card .comments .text-box .comment-panl {
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+.normal-card .comments .text-box .comment-panl .el-input {
|
|
|
+ min-height: 64px;
|
|
|
+}
|
|
|
+.normal-card .comments .text-box .comment-panl .el-button {
|
|
|
+ background: #52c41a;
|
|
|
+ margin-top: 10px;
|
|
|
+}
|
|
|
+</style>
|