This commit is contained in:
xvv 2024-08-14 11:20:46 +08:00
parent 4ad941d8d9
commit ece18a7c94
14 changed files with 57 additions and 60 deletions

View File

@ -3,10 +3,7 @@ VUE_APP_TITLE = 虚拟仿真实验教学中心
# 开发环境配置
ENV = 'development'
# 若依管理系统/开发环境
# VUE_APP_BASE_API = 'http://122.51.230.86:8001'
VUE_APP_BASE_API = 'http://127.0.0.1:8080'
VUE_APP_BASE_API = 'https://f382b38516.zicp.fun'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -323,7 +323,6 @@ export default {
margin-bottom: 30px;
margin-right: 2%;
position: relative;
background-color: #fff;
overflow: hidden;
cursor: pointer;
}
@ -346,8 +345,8 @@ export default {
font-size: 20px;
position: absolute;
width: 94%;
height: 94%;
width: 100%;
height: 220px;
font-weight: 500;
font-size: 20px;
color: #FFFFFF;

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/zywyh.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -96,43 +96,6 @@ export default {
});
// let introduction_center_param = {
// "categoryId": "1813827591224823808",
// "pageNum": 1,
// "pageSize": 1000
// };
// getPageData(introduction_center_param).then(response => {
// response.data.list.forEach(element => {
// this.content += element.contentDetail;
// });
// });
// let organizational_structure_param = {
// "categoryId": "1813827750121836544",
// "pageNum": 1,
// "pageSize": 1000
// };
// getPageData(organizational_structure_param).then(response => {
// response.data.list.forEach(element => {
// // this.orgList.push(element);
// this.orgList += element.contentDetail;
// });
// });
// let current_leader_param = {
// "categoryId": "1813827861774209024",
// "pageNum": 1,
// "pageSize": 1000
// };
// getPageData(current_leader_param).then(response => {
// response.data.list.forEach(element => {
// this.leaderList += element.contentDetail;
// });
// });
},
}
@ -142,9 +105,9 @@ export default {
<style scoped>
.container {
background: url(../../assets/images/bckimg.png) no-repeat;
background-size:100% 100%;
background-attachment:fixed;
//background: url(../../assets/images/bckimg.png) no-repeat;
//background-size:100% 100%;
//background-attachment:fixed;
}
.bj {
background: #F5F5F5;

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/jxythd.png" alt="">
</div>
</div>
<!-- new -->
@ -23,12 +23,20 @@
</div>
<div class="news">
<div v-show="currentActive == 0">
<div class="noticeRsr" v-for="(item,index) in onelist" @click="goDeatail(item)" >
<div >{{item.contentTitle}}</div>
<div >{{item.publishDate}}</div>
<div class="n-box" v-for="(item,index) in onelist" @click="goDeatails(item)" >
<div>
<div class="v-time" >{{item.publishDate}}</div>
<div class="v-title">{{item.contentTitle}}</div>
<div class="v-size">{{item.summary}}</div>
</div>
<div>
<img :src=" imgurl + item.contentImg" style="width: 420px; height: 263px; ">
</div>
</div>
</div>
<div v-show="currentActive == 1"> <div class="noticeRsr" v-for="(item,index) in twolist" @click="goDeatail(item)" >
<div v-show="currentActive == 1"> <div class="noticeRsr" v-for="(item,index) in twolist" @click="goDeatails(item)" >
<div >{{item.contentTitle}}</div>
<div >{{item.publishDate}}</div>
</div></div>
@ -68,6 +76,7 @@ export default {
},
data() {
return {
imgurl: process.env.VUE_APP_BASE_API,
onelist:[],
oneid:'',
twolist:[],
@ -86,6 +95,7 @@ export default {
created() {
//
this.initPageData();
},
computed: {
@ -95,6 +105,7 @@ export default {
handleDataFromPage(data){
if (this.currentActive === 0){
this.onelist = data
console.log(this.onelist)
}
if (this.currentActive === 1){
this.twolist = data
@ -542,9 +553,36 @@ export default {
display: flex;
justify-content: space-between;
font-size: 20px;
}
.n-box{
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #DDDDDD;
box-sizing: border-box;
padding: 15px 0px;
}
.noticeRsr:hover{
color: #00A0E8;
cursor: pointer;
}
.v-time{
font-weight: 500;
font-size: 18px;
color: #005375;
margin-bottom: 15px;
}
.v-title{
font-weight: bold;
font-size: 24px;
color: #005375;
margin-bottom: 15px;
}
.v-size{
width: 800px;
font-size: 18px;
color: #999999;
}
</style>

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/jspt.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/jxzy.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/jxtd.png" alt="">
</div>
</div>
<!-- new -->

View File

@ -4,7 +4,7 @@
<headers></headers>
<div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt="">
<img src="../../assets/gw/jxzy.png" alt="">
</div>
</div>
<div class="news11">
@ -597,9 +597,9 @@ export default {
.news11 .news11-list .news11-list-item:hover>.backmo {
width: 100%;
height: 100%;
height: 194px;
box-sizing: border-box;
padding: 15px;
padding: 10px 15px;
transition: background-color 0.5s;
background-color: rgba(0, 0, 0, 0.46) !important;
color: #fff;
@ -656,7 +656,7 @@ export default {
/** 对象作为伸缩盒子模型显示 **/
-webkit-box-orient: vertical;
/** 设置或检索伸缩盒对象的子元素的排列方式 **/
-webkit-line-clamp: 8;
-webkit-line-clamp: 3;
}
.news11 .news11-list .news11-list-item .tags {