first commit

This commit is contained in:
那些花儿
2025-11-05 09:27:20 +08:00
commit 375eb81203
4587 changed files with 880312 additions and 0 deletions
@@ -0,0 +1,97 @@
<!--#
layout("/layouts/v4/baseLayout.html"){
#-->
<style>
.section-banner {
position: relative;
overflow: hidden;
}
.section-banner .banner-img {
width: 100%;
height: 100%;
}
.section-banner .banner-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.section-wrapper {
width: 100%;
}
.act-wrapper{
width: 100%;
background-image: url(https://www.ncu.edu.cn/images/bbg1.jpg);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
</style>
<div class="v4-container" id="v4-home-app">
<!-- 首页banner -->
<div class="section-banner">
<div class="banner-img">
<img src="${config.AppHomeImg!}" alt=""/>
</div>
</div>
<user></user>
<entry></entry>
<!-- 工会活动 -->
<div class="section-wrapper act-wrapper">
<act/>
</div>
<!-- <jcdt :list="websiteNews.grassroots"></jcdt>-->
</div>
<script>
<!--#include("act.js"){}#-->
<!--#include("jcdt.js"){}#-->
<!--#include("entry.js"){}#-->
<!--#include("user.js"){}#-->
new Vue({
el: '#v4-home-app',
data(){
return{
websiteNews:{
grassroots:[],
}
}
},
components: {
'act': act,
'jcdt': jcdt,
'entry': entry,
'user': user,
},
mounted() {
this.getWebSiteNews()
},
methods: {
getWebSiteNews(){
this.$axios.post('/platform/home/getNews').then(res => {
if (res.code === 0) {
this.websiteNews = res.data
}
})
}
}
})
</script>
<!--#
}
#-->