mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-24 18:22:53 +08:00
118 lines
3.1 KiB
Vue
118 lines
3.1 KiB
Vue
<template>
|
||
<div>
|
||
<!-- 教师赋能 -->
|
||
<div class="xindex-content" style="padding: 0">
|
||
<div class="modules xcontent2">
|
||
<div class="xcontent2-main">
|
||
<div class="modules-list" style="margin-top: 0;">
|
||
<div class="bgc">
|
||
<div class="title">教师节活动通知</div>
|
||
<!--内容列表内容-->
|
||
<div class="timeAndAuthor">
|
||
<div class="author">发布人:李玉冰</div>
|
||
<div class="case-info-date portal-time">
|
||
<i class="el-icon-time" style="margin-right: 5px;"></i>
|
||
<time-show time="2023-08-04"></time-show>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="topTitle">通知内容</div>
|
||
<div class="noticeContent">--内容列表内容--</div>
|
||
</div>
|
||
</div>
|
||
<!-- <div class="xcontent2-minor" style="margin-left: 25px">
|
||
<div class="portal-ranking ranking-bg">
|
||
<p class="ranking-title">重要通知</p>
|
||
<ul class="xindex-ranking-course">
|
||
<li class="xindex-ranking-li" v-for="(item, cindex) in 10" :key="'cc' + cindex" @click="noticeDetail(item)">
|
||
<a style="display: inherit">
|
||
<span class="portal-right-text blue-one">
|
||
<img :src="getPic(cindex)" alt="" />
|
||
</span>
|
||
<span class="portal-title-desc index-one-line-ellipsis title-line-ellipsis"
|
||
style="font-size: 14px; color: #04243c">哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈</span>
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div> -->
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
<script>
|
||
import timeShow from "@/components/Portal/datetimeShow.vue";
|
||
export default {
|
||
data: () => {
|
||
return {
|
||
courseList: {
|
||
list: [],
|
||
count: 0,
|
||
pageIndex: 1,
|
||
pageSize: 10,
|
||
},
|
||
};
|
||
},
|
||
components: { timeShow },
|
||
methods: {
|
||
noticeDetail(item) {
|
||
},
|
||
getPic(index) {
|
||
return this.webBaseUrl + "/images/listblue0" + (index + 1) + ".png";
|
||
},
|
||
changePageSize(pageSize) {
|
||
this.courseList.pageSize = pageSize;
|
||
},
|
||
loadData(pindex) {
|
||
console.log(pindex);
|
||
},
|
||
},
|
||
};
|
||
</script>
|
||
<style scoped lang='scss'>
|
||
.modules-list {
|
||
min-height: 555px;
|
||
background: #ffffff;
|
||
border-radius: 8px;
|
||
|
||
.bgc {
|
||
font-size: 18px;
|
||
font-weight: 600;
|
||
color: #000000;
|
||
background: linear-gradient(180deg,
|
||
rgba(56, 125, 247, 0.2) 0%,
|
||
rgba(166, 168, 255, 0) 100%);
|
||
border-radius: 8px 8px 0 0;
|
||
|
||
.title {
|
||
padding: 20px;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
}
|
||
|
||
.timeAndAuthor {
|
||
padding: 0 20px;
|
||
|
||
.author {
|
||
font-size: 14px;
|
||
font-weight: 400;
|
||
color: #333333;
|
||
margin-bottom: 5px;
|
||
}
|
||
}
|
||
|
||
.topTitle {
|
||
display: flex;
|
||
justify-content: center;
|
||
font-size: 18px;
|
||
font-weight: 600;
|
||
margin-bottom: 30px;
|
||
}
|
||
|
||
.noticeContent {
|
||
padding: 0 80px;
|
||
}
|
||
}
|
||
</style>
|