浏览代码

Merge branch '大连交通技师学院' of https://gogs.mtavip.com/wangguoyu/uniProject into 大连交通技师学院

tanxue 2 月之前
父节点
当前提交
ea24a1e3d4

+ 3 - 3
pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo.vue

@@ -2,18 +2,18 @@
 	<view class="dljt-page-box">
 		<MtaNavbar></MtaNavbar>
 		<view class="dljt-container-box">
-			<view class="dljt-page-title">校园动态</view>
+			<view class="dljt-page-title">党群工作</view>
 			<view class="dljt-page-content-box">
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
-					<view class="breadcrumb-active">学院新闻</view>
+					<view class="breadcrumb-active">党建工作</view>
 				</view>
 				<MtaScrollViewVue :refreshFn="getList">
 					<template v-slot="{ list }">
 						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
 							<img class="list-img" :src="item.cover" />
-							<view class="list-time-box">
+							<view class="list-time-box time-red-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
 							</view>

+ 61 - 13
pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">党建工作</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">党员风采</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box time-red-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,21 +41,41 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
+
 	const data = reactive({
-		content: '',
+		list: '',
+		total: '',
 		page: 1,
 		size: 5
-		
-	})
-	
-	onLoad(() => {
-		pageInit();
 	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDangjianFengcaiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
-		httpApi.getDangjianFengcaiList({page: data.page,size: data.size}).then(res => {
+		httpApi.getDangjianFengcaiList({
+			page: data.page,
+			size: data.size
+		}).then(res => {
 			data.list = res.data.data;
 			data.total = res.data.total;
 		})
@@ -36,4 +84,4 @@
 
 <style>
 
-</style>
+</style>

+ 57 - 10
pages/dqgzGonghuizhijia/dqgzGonghuizhijia.vue

@@ -1,9 +1,38 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">党建工作</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">工会之家</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box time-red-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
+
 <script setup>
 	import {
 		ref,
@@ -13,18 +42,36 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
+
 	const data = reactive({
-		list: [],
-		total: 0,
+		list: '',
+		total: '',
 		page: 1,
 		size: 5
 	})
-	
-	onLoad(() => {
-		pageInit();
-	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDangjianGonghuiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	
 	function pageInit() {
 		httpApi.getDangjianGonghuiList({page: data.page,size: data.size}).then(res => {

+ 55 - 10
pages/xsydDeyuduiwu/xsydDeyuduiwu.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">学生园地</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">德育教育</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,18 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		list: [],
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getXueshengDeyuList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	
 	function pageInit() {
 		httpApi.getXueshengDeyuList({page: data.page,size: data.size}).then(res => {

+ 55 - 10
pages/xsydGongqingtuan/xsydGongqingtuan.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">学生园地</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">共青团</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,18 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		list: [],
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getXueshengGongqingList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	
 	function pageInit() {
 		httpApi.getXueshengGongqingList({page: data.page,size:data.size}).then(res => {

+ 54 - 9
pages/xsydXueshenghuodong/xsydXueshenghuodong.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">学生园地</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">学生活动</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,18 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
 		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getXueshengHuodongList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	
 	function pageInit() {
 		httpApi.getXueshengHuodongList({page: data.page,size: data.size}).then(res => {

+ 61 - 13
pages/xsydZizhuguanli/xsydZizhuguanli.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">学生园地</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">资源管理</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,21 +41,41 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
+
 	const data = reactive({
-		list: [],
-		total: 0,
+		list: '',
+		total: '',
 		page: 1,
 		size: 5
 	})
-	
-	onLoad(() => {
-		pageInit();
-	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getXueshengZizhuList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
-		httpApi.getXueshengZizhuList({page: data.page,size:data.size}).then(res => {
+		httpApi.getXueshengZizhuList({
+			page: data.page,
+			size: data.size
+		}).then(res => {
 			data.list = res.data.data;
 			data.total = res.data.total;
 		})
@@ -36,4 +84,4 @@
 
 <style>
 
-</style>
+</style>

+ 56 - 11
pages/xydtTongzhigonggao/xydtTongzhigonggao.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">校园动态</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">通知公告</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +41,36 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
-		list: [],
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDongtaiTongzhiGonggaoList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
 		httpApi.getDongtaiTongzhiGonggaoList({page:data.page,size: data.size}).then(res => {
 			data.list = res.data.data;

+ 55 - 10
pages/xydtXiaowugongkai/xydtXiaowugongkai.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">校园动态</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">校务公开</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,18 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		list: [],
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDongtaiXiaowuGongkaiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	
 	function pageInit() {
 		httpApi.getDongtaiXiaowuGongkaiList({page:data.page,size:data.size}).then(res => {

+ 55 - 10
pages/xydtXueyuanfengcai/xydtXueyuanfengcai.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">校园动态</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">学院风采</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,18 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
-		list: [],
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDongtaiXueyuanFengcaiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	
 	function pageInit() {
 		httpApi.getDongtaiXueyuanFengcaiList({page: data.page,size:data.size}).then(res => {

+ 55 - 11
pages/xydtXueyuanxingwen/xydtXueyuanxingwen.vue

@@ -1,6 +1,34 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box">
+		<MtaNavbar></MtaNavbar>
+		<view class="dljt-container-box">
+			<view class="dljt-page-title">校园动态</view>
+			<view class="dljt-page-content-box">
+				<view class="dljt-breadcrumb-box">
+					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">学院新闻</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="list-item-box" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<img class="list-img" :src="item.cover" />
+							<view class="list-time-box">
+								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
+								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
+							</view>
+							<view class="list-right-box">
+								<view class="list-name">{{item.title}}</view>
+								<view class="list-line"></view>
+								<view class="list-content" v-html="getStringByHtml3(item.content)"> </view>
+							</view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +41,35 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+	import MtaScrollViewVue from "@/components/MtaScrollView/MtaScrollView.vue";
+	import {
+		formatDateToYearMonthDay,
+		getStringByHtml3
+	} from "@/utils/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	const data = reactive({
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		list: [],
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getDongtaiYuanxiaoXinwenList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	function pageInit() {
 		httpApi.getDongtaiYuanxiaoXinwenList({page: data.page,size:data.size}).then(res => {
 			data.list = res.data.data;