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' ENV = 'development'
# 若依管理系统/开发环境 # 若依管理系统/开发环境
# VUE_APP_BASE_API = 'http://122.51.230.86:8001' VUE_APP_BASE_API = 'https://f382b38516.zicp.fun'
VUE_APP_BASE_API = 'http://127.0.0.1:8080'
# 路由懒加载 # 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true 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-bottom: 30px;
margin-right: 2%; margin-right: 2%;
position: relative; position: relative;
background-color: #fff;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
} }
@ -346,8 +345,8 @@ export default {
font-size: 20px; font-size: 20px;
position: absolute; position: absolute;
width: 94%; width: 100%;
height: 94%; height: 220px;
font-weight: 500; font-weight: 500;
font-size: 20px; font-size: 20px;
color: #FFFFFF; color: #FFFFFF;

View File

@ -4,7 +4,7 @@
<headers></headers> <headers></headers>
<div class="ny-banner"> <div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt=""> <img src="../../assets/gw/zywyh.png" alt="">
</div> </div>
</div> </div>
<!-- new --> <!-- 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> <style scoped>
.container { .container {
background: url(../../assets/images/bckimg.png) no-repeat; //background: url(../../assets/images/bckimg.png) no-repeat;
background-size:100% 100%; //background-size:100% 100%;
background-attachment:fixed; //background-attachment:fixed;
} }
.bj { .bj {
background: #F5F5F5; background: #F5F5F5;

View File

@ -4,7 +4,7 @@
<headers></headers> <headers></headers>
<div class="ny-banner"> <div class="ny-banner">
<img src="../../assets/gw/ny-banner.jpg" alt=""> <img src="../../assets/gw/jxythd.png" alt="">
</div> </div>
</div> </div>
<!-- new --> <!-- new -->
@ -23,12 +23,20 @@
</div> </div>
<div class="news"> <div class="news">
<div v-show="currentActive == 0"> <div v-show="currentActive == 0">
<div class="noticeRsr" v-for="(item,index) in onelist" @click="goDeatail(item)" > <div class="n-box" v-for="(item,index) in onelist" @click="goDeatails(item)" >
<div >{{item.contentTitle}}</div> <div>
<div >{{item.publishDate}}</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> </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.contentTitle}}</div>
<div >{{item.publishDate}}</div> <div >{{item.publishDate}}</div>
</div></div> </div></div>
@ -68,6 +76,7 @@ export default {
}, },
data() { data() {
return { return {
imgurl: process.env.VUE_APP_BASE_API,
onelist:[], onelist:[],
oneid:'', oneid:'',
twolist:[], twolist:[],
@ -86,6 +95,7 @@ export default {
created() { created() {
// //
this.initPageData(); this.initPageData();
}, },
computed: { computed: {
@ -95,6 +105,7 @@ export default {
handleDataFromPage(data){ handleDataFromPage(data){
if (this.currentActive === 0){ if (this.currentActive === 0){
this.onelist = data this.onelist = data
console.log(this.onelist)
} }
if (this.currentActive === 1){ if (this.currentActive === 1){
this.twolist = data this.twolist = data
@ -542,9 +553,36 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
font-size: 20px; 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{ .noticeRsr:hover{
color: #00A0E8; color: #00A0E8;
cursor: pointer; 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> </style>

View File

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

View File

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

View File

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

View File

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