|
@@ -1,348 +1,296 @@
|
|
|
<template>
|
|
|
- <div class="payment my-message">
|
|
|
- <Header @search="search($event)"></Header>
|
|
|
- <div class="bgImg">
|
|
|
- <div class="tits">
|
|
|
- <h1>通知公告</h1>
|
|
|
- <p>最新消息,敬请关注<br/>快速获取</p>
|
|
|
- </div>
|
|
|
- <img src="@/assets/new1/handoutBGC.png" alt="" />
|
|
|
+ <div class="payment my-message">
|
|
|
+ <Header @search="search($event)"></Header>
|
|
|
+ <div class="bgImg">
|
|
|
+ <div class="tits">
|
|
|
+ <h1>
|
|
|
+ {{
|
|
|
+ type === 1
|
|
|
+ ? "政策法规"
|
|
|
+ : type === 2
|
|
|
+ ? "通知公告"
|
|
|
+ : type === 3
|
|
|
+ ? "开班消息"
|
|
|
+ : "最新通知"
|
|
|
+ }}
|
|
|
+ </h1>
|
|
|
+ <p>最新消息,敬请关注<br />快速获取</p>
|
|
|
+ </div>
|
|
|
+ <img src="@/assets/new1/handoutBGC.png" alt="" />
|
|
|
+ </div>
|
|
|
+ <div class="container" style="padding: 10px 0px">
|
|
|
+ <div class="tabs_box container" style="margin-top: 30px">
|
|
|
+ <ul class="tabs_ul">
|
|
|
+ <li
|
|
|
+ v-for="(item, index) in tab"
|
|
|
+ :key="index"
|
|
|
+ @click="handleClick(item)"
|
|
|
+ :class="type == item.value ? 'active' : null"
|
|
|
+ >
|
|
|
+ {{ item.label }}
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
</div>
|
|
|
- <div class="container" style="padding: 10px 0px;">
|
|
|
- <el-breadcrumb separator="/">
|
|
|
+ <!-- <el-breadcrumb separator="/">
|
|
|
<el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
|
|
|
- <el-breadcrumb-item>通知公告</el-breadcrumb-item>
|
|
|
- </el-breadcrumb>
|
|
|
- <el-main
|
|
|
- class="container"
|
|
|
- style="width:1310px!important"
|
|
|
- >
|
|
|
- <div class="my-message__body">
|
|
|
- <div class="content__body">
|
|
|
- <el-empty
|
|
|
- v-if="list.length == 0"
|
|
|
- description="暂无消息"
|
|
|
- ></el-empty>
|
|
|
- <template v-else>
|
|
|
- <div class="message-list">
|
|
|
- <div
|
|
|
- class="message-list__item"
|
|
|
- v-for="(item, index) in list"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
+ <el-breadcrumb-item>{{
|
|
|
+ type === 1
|
|
|
+ ? "政策法规"
|
|
|
+ : type === 2
|
|
|
+ ? "通知公告"
|
|
|
+ : type === 3
|
|
|
+ ? "开班消息"
|
|
|
+ : "最新消息"
|
|
|
+ }}</el-breadcrumb-item>
|
|
|
+ </el-breadcrumb> -->
|
|
|
+ <el-main class="container" style="width: 1310px !important">
|
|
|
+ <div class="my-message__body">
|
|
|
+ <div class="content__body">
|
|
|
+ <el-empty v-if="list.length == 0" description="暂无消息"></el-empty>
|
|
|
+ <template v-else>
|
|
|
+ <div class="message-list">
|
|
|
<div
|
|
|
- class="icon"
|
|
|
- :class="{ 'icon--blue': item.systemStatus === 1 ? '' : true }"
|
|
|
+ class="message-list__item"
|
|
|
+ v-for="(item, index) in list"
|
|
|
+ :key="index"
|
|
|
>
|
|
|
- <i
|
|
|
- v-if="item.systemStatus === 1"
|
|
|
- class="el-icon-message-solid"
|
|
|
- ></i>
|
|
|
-
|
|
|
- <i v-else class="el-icon-s-custom"></i>
|
|
|
- </div>
|
|
|
- <div class="text">
|
|
|
- <div class="desc">
|
|
|
- {{ $tools.timestampToTime(item.sendTime, false) }}
|
|
|
+ <div class="icon icon--blue">
|
|
|
+ <i class="el-icon-news"></i>
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="title"
|
|
|
- :style="item.receiptStatus == 1 ? 'color:#999' : ''"
|
|
|
- >
|
|
|
- {{
|
|
|
- item.systemStatus === 2
|
|
|
- ? item.informVo.informName
|
|
|
- : item.systemStatus === 1
|
|
|
- ? item.text
|
|
|
- : "接口异常"
|
|
|
- }}
|
|
|
+ <div class="text">
|
|
|
+ <div class="desc">
|
|
|
+ {{ $tools.timestampToTime(item.createTime, false) }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="title"
|
|
|
+ :style="item.receiptStatus == 1 ? 'color:#999' : ''"
|
|
|
+ >
|
|
|
+ {{ item.title }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ class="btn"
|
|
|
+ @click="showDetail(item)"
|
|
|
+ >查看详情</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
- <el-button type="primary" class="btn" @click="showDetail(item)"
|
|
|
- >查看详情</el-button
|
|
|
- >
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <div class="pagination">
|
|
|
- <el-pagination
|
|
|
- @current-change="currentChange"
|
|
|
- background
|
|
|
- layout="prev, pager, next"
|
|
|
- :total="total"
|
|
|
- :pager-count="5"
|
|
|
- :page-size="formData.pageSize"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-main>
|
|
|
- <el-dialog
|
|
|
- width="600px"
|
|
|
- class="my-message-modal"
|
|
|
- :visible.sync="showDetailModal"
|
|
|
- :close-on-click-modal="false"
|
|
|
- :close-on-press-escape="false"
|
|
|
- :show-close="false"
|
|
|
- >
|
|
|
- <div class="my-message-modal__content">
|
|
|
- <div class="my-message-modal__close" @click="showDetailModal = false">
|
|
|
- X
|
|
|
- </div>
|
|
|
- <div class="my-message-modal__header">通知详情</div>
|
|
|
- <div class="my-message-modal__body">
|
|
|
- <div class="content">
|
|
|
- <div class="content__body">
|
|
|
- <div class="title">
|
|
|
- {{
|
|
|
- listData.systemStatus === 2
|
|
|
- ? listData.informVo.informName
|
|
|
- : listData.systemStatus === 1
|
|
|
- ? listData.remind
|
|
|
- : ""
|
|
|
- }}
|
|
|
- </div>
|
|
|
- <div class="desc">
|
|
|
- {{ $tools.timestampToTime(listData.sendTime, false) }}
|
|
|
+ <div class="pagination">
|
|
|
+ <el-pagination
|
|
|
+ @current-change="currentChange"
|
|
|
+ background
|
|
|
+ layout="prev, pager, next"
|
|
|
+ :total="total"
|
|
|
+ :pager-count="5"
|
|
|
+ :page-size="formData.pageSize"
|
|
|
+ >
|
|
|
+ </el-pagination>
|
|
|
</div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-main>
|
|
|
+ <el-dialog
|
|
|
+ width="900px"
|
|
|
+ class="my-message-modal"
|
|
|
+ :visible.sync="showDetailModal"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ :close-on-press-escape="false"
|
|
|
+ :show-close="false"
|
|
|
+ >
|
|
|
+ <div class="my-message-modal__content">
|
|
|
+ <div class="my-message-modal__close" @click="showDetailModal = false">
|
|
|
+ X
|
|
|
+ </div>
|
|
|
+ <div class="my-message-modal__header">详情</div>
|
|
|
+ <div class="my-message-modal__body">
|
|
|
+ <div class="content">
|
|
|
+ <div class="content__body">
|
|
|
+ <div class="title">
|
|
|
+ {{ listData.title }}
|
|
|
+ </div>
|
|
|
+ <div class="desc">
|
|
|
+ 发布时间
|
|
|
+ {{ $tools.timestampToTime(listData.createTime, false) }}
|
|
|
+ </div>
|
|
|
|
|
|
- <div
|
|
|
- class="content" id="html1"
|
|
|
- v-if="listData.systemStatus === 2"
|
|
|
- v-html="listData.informVo.affiche"
|
|
|
- ></div>
|
|
|
- <!-- <div id="html1">
|
|
|
+ <div
|
|
|
+ class="content"
|
|
|
+ id="html1"
|
|
|
+ v-html="listData.titleContent"
|
|
|
+ ></div>
|
|
|
+ <!-- <div id="html1">
|
|
|
|
|
|
</div> -->
|
|
|
- <div class="content" v-if="listData.systemStatus === 1">
|
|
|
- {{ listData.text }}
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="list" v-if="listData.informVo">
|
|
|
- <div
|
|
|
- class="item"
|
|
|
- v-for="(item, index) in listData.informVo.informCourseVo"
|
|
|
- :key="'informVo' + index"
|
|
|
- >
|
|
|
- <div class="item__title">{{ item.goodsName }}</div>
|
|
|
- <div class="item__desc">
|
|
|
- {{ item.courseName
|
|
|
- }}{{ item.moduleName ? "/" + item.moduleName : ""
|
|
|
- }}{{ item.chapterName ? "/" + item.chapterName : ""
|
|
|
- }}{{ item.sectionName }}
|
|
|
- </div>
|
|
|
- <div v-if="false" class="item__content" @click="jumpSection(item)">
|
|
|
- {{
|
|
|
- $tools.secondToTime(item.topicNum, false)
|
|
|
- }}(点击可直接跳转)
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- class="item"
|
|
|
- v-for="(item, index) in listData.informVo.informExamVo"
|
|
|
- :key="'informExamVo' + index"
|
|
|
- >
|
|
|
- <div class="item__title">{{ item.goodsName }}</div>
|
|
|
- <div class="item__desc">
|
|
|
- {{ item.moduleName ? "/" + item.moduleName : ""
|
|
|
- }}{{ item.chapterName ? "/" + item.chapterName : ""
|
|
|
- }}{{ item.examName }}
|
|
|
- </div>
|
|
|
- <div v-if="false" class="item__content" @click="jumpExam(item)">
|
|
|
- 第{{ item.topicNum }}道题(点击可直接跳转)
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <div
|
|
|
- class="my-message-modal__footer"
|
|
|
- >
|
|
|
+ <div class="my-message-modal__footer"></div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
- </div>
|
|
|
- <ToolBar></ToolBar>
|
|
|
- <Footer></Footer>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ <ToolBar></ToolBar>
|
|
|
+ <Footer></Footer>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
|
|
|
<script>
|
|
|
- import { mapGetters } from "vuex";
|
|
|
- import Footer from "@/components/footer/index";
|
|
|
- import Header from "@/components/header/index";
|
|
|
- import ToolBar from "@/components/toolbar/index";
|
|
|
- export default {
|
|
|
- name: "noticelist",
|
|
|
- components: {
|
|
|
- Footer,
|
|
|
- Header,
|
|
|
- ToolBar
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- showDetailModal: false,
|
|
|
- formData: {
|
|
|
- systemStatusList: "2", //1系统消息2教务消息
|
|
|
+import { mapGetters } from "vuex";
|
|
|
+import Footer from "@/components/footer/index";
|
|
|
+import Header from "@/components/header/index";
|
|
|
+import ToolBar from "@/components/toolbar/index";
|
|
|
+export default {
|
|
|
+ name: "noticelist",
|
|
|
+ components: {
|
|
|
+ Footer,
|
|
|
+ Header,
|
|
|
+ ToolBar,
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ showDetailModal: false,
|
|
|
+ formData: {
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
+ type:3
|
|
|
},
|
|
|
- listData: {},
|
|
|
- total: 0,
|
|
|
+ listData: {},
|
|
|
+ total: 0,
|
|
|
goodsData: {},
|
|
|
list: [],
|
|
|
+ type: 3,
|
|
|
+ tab: [
|
|
|
+ { label: "开班消息", value: 3 },
|
|
|
+ { label: "最新消息", value: 0 },
|
|
|
+ { label: "政策法规", value: 1 },
|
|
|
+ { label: "通知公告", value: 2 },
|
|
|
+ ],
|
|
|
};
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(["header"]),
|
|
|
+ currentComponent: function () {
|
|
|
+ return function (int) {
|
|
|
+ var str = "";
|
|
|
+ switch (int) {
|
|
|
+ case 1:
|
|
|
+ str = "listOption1";
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ str = "listOption2";
|
|
|
+ break;
|
|
|
+
|
|
|
+ default:
|
|
|
+ str = "listOption1";
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ return str;
|
|
|
+ };
|
|
|
},
|
|
|
- computed: {
|
|
|
- ...mapGetters(["header"]),
|
|
|
- currentComponent: function() {
|
|
|
- return function(int) {
|
|
|
- var str = "";
|
|
|
- switch (int) {
|
|
|
- case 1:
|
|
|
- str = "listOption1";
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- str = "listOption2";
|
|
|
- break;
|
|
|
-
|
|
|
- default:
|
|
|
- str = "listOption1";
|
|
|
- break;
|
|
|
- }
|
|
|
- return str;
|
|
|
- };
|
|
|
- }
|
|
|
- },
|
|
|
+ },
|
|
|
mounted() {
|
|
|
+ const type = this.$route.meta.type;
|
|
|
+ console.log(this.$route.meta);
|
|
|
+ if (type) {
|
|
|
+ this.formData.type = type;
|
|
|
+ }
|
|
|
this.getappinformUserlist();
|
|
|
},
|
|
|
- methods: {
|
|
|
- currentChange(e) {
|
|
|
+ methods: {
|
|
|
+ currentChange(e) {
|
|
|
this.formData.pageNum = e;
|
|
|
this.getappinformUserlist();
|
|
|
},
|
|
|
- showDetail(item) {
|
|
|
- this.sysTime = this.$tools.timest();
|
|
|
- this.messageId = item.id;
|
|
|
- this.orderGoodsId = item.orderGoodsId;
|
|
|
- if (item.informVo && item.informVo.affiche) {
|
|
|
- item.informVo.affiche = item.informVo.affiche.replace(
|
|
|
- /<img/gi,
|
|
|
- '<img style="max-width:100%;"'
|
|
|
- );
|
|
|
- item.informVo.affiche = item.informVo.affiche.replace(
|
|
|
- /\\t/gi,
|
|
|
- ' '
|
|
|
- );
|
|
|
- // item.informVo.affiche = item.informVo.affiche.replace(
|
|
|
- // /\\"/gi,
|
|
|
- // ''
|
|
|
- // );
|
|
|
- }
|
|
|
- this.showDetailModal = true;
|
|
|
- this.listData = item;
|
|
|
- // setTimeout(() => {
|
|
|
- // document.getElementById("html1").innerHTML= item.informVo.affiche ;
|
|
|
- // }, 3000);
|
|
|
+ handleClick(item) {
|
|
|
+ this.type = item.value;
|
|
|
+ this.formData= {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ type : item.value==0?null:item.value
|
|
|
+ }
|
|
|
+ this.getappinformUserlist();
|
|
|
},
|
|
|
- getappinformUserlist() {
|
|
|
+ showDetail(item) {
|
|
|
+ this.$router.push({
|
|
|
+ path: "/notice-detail",
|
|
|
+ query: {
|
|
|
+ id: item.id,
|
|
|
+ },
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ if (item.titleContent) {
|
|
|
+ item.titleContent = item.titleContent.replace(
|
|
|
+ /<img/gi,
|
|
|
+ '<img style="max-width:100%;"'
|
|
|
+ );
|
|
|
+ item.titleContent = item.titleContent.replace(/\\t/gi, " ");
|
|
|
+ // item.informVo.affiche = item.informVo.affiche.replace(
|
|
|
+ // /\\"/gi,
|
|
|
+ // ''
|
|
|
+ // );
|
|
|
+ }
|
|
|
+ this.showDetailModal = true;
|
|
|
+ this.listData = item;
|
|
|
+ // setTimeout(() => {
|
|
|
+ // document.getElementById("html1").innerHTML= item.informVo.affiche ;
|
|
|
+ // }, 3000);
|
|
|
+ },
|
|
|
+ getappinformUserlist() {
|
|
|
this.$request
|
|
|
- .systemannouncemen(this.formData)
|
|
|
- .then(res => {
|
|
|
- if(res.code==200 &&res.data){
|
|
|
- this.list = [{className: null,
|
|
|
-goodsId: null,
|
|
|
-gradeId: null,
|
|
|
-id: 14408,
|
|
|
-idCard: null,
|
|
|
-informId: 10,
|
|
|
-informVo: {
|
|
|
-affiche: res.data,
|
|
|
-classifyId: null,
|
|
|
-classifyName: null,
|
|
|
-createBy: "admin",
|
|
|
-informCourseVo: [],
|
|
|
-informExamVo: [],
|
|
|
-informId: 10,
|
|
|
-informName: "停课停班通知",
|
|
|
-informType: 1,
|
|
|
-informWay: 1,
|
|
|
-issueStatus: 1,
|
|
|
-issueTime: null,
|
|
|
-receiptNum: null,
|
|
|
-receiptStatus: 1,
|
|
|
-sendTime: null,
|
|
|
-status: 1,
|
|
|
-userFrom: 1,
|
|
|
-userId: null,
|
|
|
-userNum: null,
|
|
|
-userStatus: null},
|
|
|
-orderGoodsId: null,
|
|
|
-planId: null,
|
|
|
-realName: null,
|
|
|
-receiptStatus: 0,
|
|
|
-remind: null,
|
|
|
-remindId: null,
|
|
|
-sendStatus: 1,
|
|
|
-sendTime: 1735228800,
|
|
|
-systemStatus: 2,
|
|
|
-telPhone: null,
|
|
|
-text: null,
|
|
|
-userId: 219}];
|
|
|
- this.total = 1;
|
|
|
+ .consultationlist(this.formData)
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.list = res.rows || [];
|
|
|
+ this.total = res.total;
|
|
|
}
|
|
|
// this.list = res.rows;
|
|
|
// this.total = res.total;
|
|
|
})
|
|
|
- .finally(() => {
|
|
|
- });
|
|
|
+ .finally(() => {});
|
|
|
},
|
|
|
- }
|
|
|
- };
|
|
|
- </script>
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
|
<style scoped lang="scss">
|
|
|
- .payment {
|
|
|
- background-color: rgb(245, 247, 249);
|
|
|
- }
|
|
|
- .bgImg {
|
|
|
- position: relative;
|
|
|
- height: 300px;
|
|
|
- background: repeating-linear-gradient(to right, #00A3FF, #AC00BF);
|
|
|
- & > .tits {
|
|
|
- position: absolute;
|
|
|
- left: 20%;
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
- width: 300px;
|
|
|
- h1 {
|
|
|
- font-size: 40px;
|
|
|
- font-weight: bold;
|
|
|
- color: #fff;
|
|
|
- margin-bottom: 14px;
|
|
|
- }
|
|
|
- p {
|
|
|
- line-height: 25px;
|
|
|
- color: #fff;
|
|
|
- letter-spacing: 1px;
|
|
|
- }
|
|
|
+.payment {
|
|
|
+ background-color: rgb(245, 247, 249);
|
|
|
+}
|
|
|
+.bgImg {
|
|
|
+ position: relative;
|
|
|
+ height: 300px;
|
|
|
+ background: repeating-linear-gradient(to right, #00a3ff, #ac00bf);
|
|
|
+ & > .tits {
|
|
|
+ position: absolute;
|
|
|
+ left: 20%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ width: 300px;
|
|
|
+ h1 {
|
|
|
+ font-size: 40px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #fff;
|
|
|
+ margin-bottom: 14px;
|
|
|
}
|
|
|
- & > img {
|
|
|
- height: 238px;
|
|
|
- position: absolute;
|
|
|
- right: 20%;
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
+ p {
|
|
|
+ line-height: 25px;
|
|
|
+ color: #fff;
|
|
|
+ letter-spacing: 1px;
|
|
|
}
|
|
|
}
|
|
|
- .my-message {
|
|
|
+ & > img {
|
|
|
+ height: 238px;
|
|
|
+ position: absolute;
|
|
|
+ right: 20%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+ }
|
|
|
+}
|
|
|
+.my-message {
|
|
|
&__header {
|
|
|
/deep/ .el-tabs__header {
|
|
|
margin-bottom: 0;
|
|
@@ -389,17 +337,17 @@ userId: 219}];
|
|
|
&__body {
|
|
|
.message-list {
|
|
|
&__item {
|
|
|
- margin-bottom: 24px;
|
|
|
+ margin-bottom: 0px;
|
|
|
display: flex;
|
|
|
border: 1px solid #eee;
|
|
|
- padding: 30px 24px;
|
|
|
+ padding: 15px 12px;
|
|
|
align-items: center;
|
|
|
border-radius: 8px;
|
|
|
|
|
|
.icon {
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
- background: rgba(255, 209, 0, 1);
|
|
|
+ background: #22acff;
|
|
|
border-radius: 50%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -648,11 +596,12 @@ userId: 219}];
|
|
|
&__body {
|
|
|
.title {
|
|
|
margin-top: 10px;
|
|
|
- font-size: 16px;
|
|
|
+ font-size: 18px;
|
|
|
font-family: Microsoft YaHei;
|
|
|
font-weight: 400;
|
|
|
color: #333333;
|
|
|
- line-height: 24px;
|
|
|
+ line-height: 40px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
.desc {
|
|
@@ -661,7 +610,9 @@ userId: 219}];
|
|
|
font-family: Microsoft YaHei;
|
|
|
font-weight: 400;
|
|
|
color: #999999;
|
|
|
- line-height: 24px;
|
|
|
+ line-height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
.list {
|
|
@@ -757,17 +708,17 @@ userId: 219}];
|
|
|
&__body {
|
|
|
.message-list {
|
|
|
&__item {
|
|
|
- margin-bottom: 24px;
|
|
|
+ margin-bottom: 0px;
|
|
|
display: flex;
|
|
|
border: 1px solid #eee;
|
|
|
- padding: 30px 24px;
|
|
|
+ padding: 15px 12px;
|
|
|
align-items: center;
|
|
|
border-radius: 8px;
|
|
|
|
|
|
.icon {
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
- background: rgba(255, 209, 0, 1);
|
|
|
+ background: #22acff;
|
|
|
border-radius: 50%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -1078,5 +1029,42 @@ userId: 219}];
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- </style>
|
|
|
+.tabs_box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: 1px solid #409eff;
|
|
|
+ justify-content: space-between;
|
|
|
+ .tabs_ul {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ li {
|
|
|
+ font-size: 18px;
|
|
|
+ &:first-child {
|
|
|
+ border-top-left-radius: 8px;
|
|
|
+ }
|
|
|
+ width: 150px;
|
|
|
+ text-align: center;
|
|
|
+ height: 50px;
|
|
|
+ line-height: 50px;
|
|
|
+ cursor: pointer;
|
|
|
+ user-select: none;
|
|
|
+ &:hover {
|
|
|
+ color: #409eff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ & > .active {
|
|
|
+ color: #fff;
|
|
|
+ background-color: #409eff;
|
|
|
+ &:hover {
|
|
|
+ color: #fff !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .tab_more {
|
|
|
+ float: right;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #7f7f7f;
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|
|
|
|