Ver código fonte

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

tanxue 2 meses atrás
pai
commit
4c0bc3a1f1
44 arquivos alterados com 2204 adições e 272 exclusões
  1. 26 2
      api/common.js
  2. 17 3
      components/MtaNavbar/MtaNavbar.vue
  3. 67 5
      pages.json
  4. 9 6
      pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo.vue
  5. 19 33
      pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo.vue
  6. 5 2
      pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai.vue
  7. 6 3
      pages/dqgzGonghuizhijia/dqgzGonghuizhijia.vue
  8. 68 9
      pages/dqgzGongzhuizhijiaInfo/dqgzGongzhuizhijiaInfo.vue
  9. 69 10
      pages/dqgzXueyuanfengcaiInfo/dqgzXueyuanfengcaiInfo.vue
  10. 7 6
      pages/index/index.vue
  11. 52 11
      pages/jyjxDasaifengcai/jyjxDasaifengcai.vue
  12. 96 0
      pages/jyjxDasaifengcaiInfo/jyjxDasaifengcaiInfo.vue
  13. 55 13
      pages/jyjxDierketang/jyjxDierketang.vue
  14. 96 0
      pages/jyjxDierketangInfo/jyjxDierketangInfo.vue
  15. 50 9
      pages/jyjxGuizhangzhidu/jyjxGuizhangzhidu.vue
  16. 96 0
      pages/jyjxGuizhangzhiduInfo/jyjxGuizhangzhiduInfo.vue
  17. 54 12
      pages/jyjxJinengjianding/jyjxJinengjianding.vue
  18. 96 0
      pages/jyjxJinengjiandingInfo/jyjxJinengjiandingInfo.vue
  19. 55 13
      pages/jyjxKeyandongtai/jyjxKeyandongtai.vue
  20. 96 0
      pages/jyjxKeyandongtaiInfo/jyjxKeyandongtaiInfo.vue
  21. 54 12
      pages/jyjxKeyanhuodong/jyjxKeyanhuodong.vue
  22. 96 0
      pages/jyjxKeyanhuodongInfo/jyjxKeyanhuodongInfo.vue
  23. 3 1
      pages/jyjxShiziduiwu/jyjxShiziduiwu.vue
  24. 96 0
      pages/jyjxShiziduiwuInfo/jyjxShiziduiwuInfo.vue
  25. 53 12
      pages/jyjxXiaoqihezuo/jyjxXiaoqihezuo.vue
  26. 96 0
      pages/jyjxXiaoqihezuoInfo/jyjxXiaoqihezuoInfo.vue
  27. 52 11
      pages/jyjxZhongdianxiangmu/jyjxZhongdianxiangmu.vue
  28. 96 0
      pages/jyjxZhongdianxiangmuInfo/jyjxZhongdianxiangmuInfo.vue
  29. 12 6
      pages/xsydDeyuduiwu/xsydDeyuduiwu.vue
  30. 71 10
      pages/xsydDeyuduiwuInfo/xsydDeyuduiwuInfo.vue
  31. 5 2
      pages/xsydGongqingtuan/xsydGongqingtuan.vue
  32. 69 10
      pages/xsydGongqingtuanInfo/xsydGongqingtuanInfo.vue
  33. 5 2
      pages/xsydXueshenghuodong/xsydXueshenghuodong.vue
  34. 70 9
      pages/xsydXueshenghuodongInfo/xsydXueshenghuodongInfo.vue
  35. 5 2
      pages/xsydZizhuguanli/xsydZizhuguanli.vue
  36. 74 8
      pages/xsydZizhuguanliInfo/xsydZizhuguanliInfo.vue
  37. 5 2
      pages/xydtTongzhigonggao/xydtTongzhigonggao.vue
  38. 80 12
      pages/xydtTongzhigonggaoInfo/xydtTongzhigonggaoInfo.vue
  39. 6 2
      pages/xydtXiaowugongkai/xydtXiaowugongkai.vue
  40. 68 10
      pages/xydtXiaowugongkaiInfo/xydtXiaowugongkaiInfo.vue
  41. 5 2
      pages/xydtXueyuanfengcai/xydtXueyuanfengcai.vue
  42. 68 10
      pages/xydtXueyuanfengcaiInfo/xydtXueyuanfengcaiInfo.vue
  43. 12 5
      pages/xydtXueyuanxingwen/xydtXueyuanxingwen.vue
  44. 64 7
      pages/xydtXueyuanxinwenInfo/xydtXueyuanxinwenInfo.vue

+ 26 - 2
api/common.js

@@ -137,7 +137,7 @@ export function getDangjianGonghuiList(data = {}) {
 
 export function getDangjianGonghuiInfo(data = {}) {
 	return request({
-		'url': '/common/dangjian/gonghui/info',
+		'url': '/common/dangjian/gonghui/info',
 		headers: {
 			isToken: false
 		},
@@ -441,7 +441,7 @@ export function getJiaoyuXiangmuList(data = {}) {
 // 学生园地
 export function getXueshengGongqingList(data = {}) {
 	return request({
-		'url': '/common/xuesheng/gongqing/list',
+		'url': '/common/xuesheng/gongqing/list',
 		headers: {
 			isToken: false
 		},
@@ -753,4 +753,28 @@ export function getCommonXygkXiaoyuanfengguang(data = {}) {
 		data,
 		timeout: 20000
 	})
+}
+
+export function getCommonJyjxDierketang(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/ketang/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getCommonJyjxDierketangInfo(data = {}) {
+	return request({
+		'url': '/common/jiaoyu/ketang/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
 }

+ 17 - 3
components/MtaNavbar/MtaNavbar.vue

@@ -6,6 +6,7 @@
 	</uni-nav-bar>
 
 	<!-- 菜单面板 -->
+<!--  <scroll-view scroll-y :scroll-top="scrollTop">-->
 	<uni-collapse class="head-collapse-box" ref="collapse" accordion v-model="data.activeMenu" v-show="data.showMenu">
 		<uni-collapse-item class="head-collapse-item" :title="item.title" v-for="item in data.list" :key="item.title"
 			:name="item.url">
@@ -15,14 +16,16 @@
 			</view>
 		</uni-collapse-item>
 	</uni-collapse>
-
+<!--  </scroll-view>-->
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
-	} from "vue"
+		reactive,
+    onMounted,
+    nextTick
+  } from "vue"
 	const showLeft = ref(null)
 	import {
 		onLoad
@@ -249,11 +252,22 @@
 
 	function handleChangeMenu() {
 		data.showMenu = !data.showMenu;
+    // data.showMenu && scrollToElement('.head-item-text.active')
 	}
 
 	function handleBack() {
 		uni.navigateBack()
 	}
+  const scrollTop = ref(0);
+  // 滚动到目标元素
+  const scrollToElement = (selector) => {
+    nextTick(() => {
+      uni.createSelectorQuery().in(this)
+          .select(selector).boundingClientRect(rect => {
+        scrollTop.value = rect.top; // 设置滚动位置
+      }).exec();
+    })
+  };
 </script>
 
 <style>

+ 67 - 5
pages.json

@@ -12,18 +12,18 @@
 			"style": {
 				"navigationStyle": "custom"
 			}
-		},	
-			{
+		},
+		{
 			"path": "pages/demo/richDemo",
 			"style": {
 				"navigationStyle": "custom"
 			}
-		},	
+		},
 		//  首页
 		{
 			"path": "pages/showZhengshu",
 			"style": {
-			"navigationStyle": "custom"
+				"navigationStyle": "custom"
 
 			}
 		},
@@ -162,6 +162,7 @@
 				"navigationStyle": "custom"
 			}
 		},
+		// 学生园地
 		{
 			"path": "pages/xsydDeyuduiwu/xsydDeyuduiwu",
 			"style": {
@@ -271,6 +272,12 @@
 				"navigationStyle": "custom"
 			}
 		},
+		{
+			"path": "pages/jyjxShiziduiwuInfo/jyjxShiziduiwuInfo",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
 		// 招生就业
 		{
 			"path": "pages/zsjyZhaoshengjianzhang/zsjyZhaoshengjianzhang",
@@ -350,7 +357,7 @@
 				"navigationStyle": "custom"
 			}
 		},
-	
+
 		// 下载中心	
 		{
 			"path": "pages/xzzxXiazaizhongxin/xzzxXiazaizhongxin",
@@ -370,7 +377,62 @@
 			"style": {
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/jyjxKeyanhuodongInfo/jyjxKeyanhuodongInfo",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/jyjxKeyandongtaiInfo/jyjxKeyandongtaiInfo",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxJinengjiandingInfo/jyjxJinengjiandingInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxDierketangInfo/jyjxDierketangInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxDasaifengcaiInfo/jyjxDasaifengcaiInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxZhongdianxiangmuInfo/jyjxZhongdianxiangmuInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxXiaoqihezuoInfo/jyjxXiaoqihezuoInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/jyjxGuizhangzhiduInfo/jyjxGuizhangzhiduInfo",
+			"style" : 
+			{
+				"navigationStyle": "custom"
+			}
 		}
+
 	],
 	"tabBar": {
 		"custom": true,

+ 9 - 6
pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</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" />
+							<img class="list-img" :src="item.cover || default1" />
 							<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>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default1 from '@/static/images/common/news-bj1.jpg'
 
 	const data = reactive({
 		list: '',
@@ -78,11 +81,11 @@
 		})
 	}
 
-  function handleGo() {
-    uni.navigateTo({
-      url: '/pages/index/index'
-    })
-  }
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 </script>
 
 <style>

+ 19 - 33
pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo.vue

@@ -3,15 +3,15 @@
 		<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">首页</view>
+					<view class="breadcrumb-text" @click="handleGo('shouye')">首页</view>
 					<icon class="breadcrumb-jt"></icon>
-					<view class="breadcrumb-text">校园动态</view>
+					<view class="breadcrumb-text" @click="handleGo('dangqun')">党群工作</view>
 					<icon class="breadcrumb-jt"></icon>
-					<view class="breadcrumb-active">学院新闻</view>
+					<view class="breadcrumb-active">党建工作</view>
 				</view>
 				<view class="dljt-detail-box">
 					<!-- 标题 -->
@@ -22,12 +22,12 @@
 					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
 					
 					<!-- PDF -->
-					<MtaPDFVue class="dljt-pdf-box" :pdfUrl="pdfUrl"></MtaPDFVue>
+					<!-- <MtaPDFVue class="dljt-pdf-box" :pdfUrl="pdfUrl"></MtaPDFVue> -->
 					
 					<!-- 文件下载 -->
-					<div class="return-footer-box">
+					<!-- <div class="return-footer-box" v-if="">
 						<view class="dljt-down-btn" @click="handleDownFile"></view>
-					</div>
+					</div> -->
 					
 				</view>
 			</view>
@@ -57,7 +57,6 @@
 		info: null,
 		id: null
 	})
-  const isFullscreen = ref(false)
 	const formatDate = computed(() => {
       if (data.info && data.info.createTime) {
 		return formatDateToYearMonthDay(data.info.createTime)
@@ -65,7 +64,6 @@
         return []
     })
 
-	const pdfUrl = "https://kf3.mtavip.com/api/upload/resource/uploadFile60eebb8881e94278bc46bedba12aece6.pdf"
 
 	onLoad(({
 		id
@@ -74,30 +72,18 @@
 		pageInit();
 	})
 
-  onMounted(() => {
-    // 监听全屏变化
-    document.addEventListener('fullscreenchange', handleFullscreenChange)
-    document.addEventListener('webkitfullscreenchange', handleFullscreenChange)
-  })
-
-  onUnmounted(() => {
-    document.removeEventListener('fullscreenchange', handleFullscreenChange)
-    document.removeEventListener('webkitfullscreenchange', handleFullscreenChange)
-  })
-
-  function handleFullscreen(e) {
-    // 处理全屏事件
-    isFullscreen.value = e.detail.fullscreen
-  }
-
-  function handleFullscreenChange() {
-    // 检查当前是否处于全屏状态
-    const fullscreenElement = document.fullscreenElement ||
-        document.webkitFullscreenElement
-    if (!fullscreenElement) {
-      // 如果退出全屏
-      isFullscreen.value = false
-    }
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'dangqun') {
+		  uni.navigateTo({
+		  	url: '/pages/dqgzDangjiangongzuo/dqgzDangjiangongzuo'
+		  })
+	  }
   }
 
 	function handleDownFile() {

+ 5 - 2
pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</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" />
+							<img class="list-img" :src="item.cover||default1" />
 							<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>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default1 from '@/static/images/common/news-bj1.jpg'
 
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/dqgzXueyuanfengcaiInfo/dqgzXueyuanfengcaiInfo?id=${data.id}`
 		})
 	}
 

+ 6 - 3
pages/dqgzGonghuizhijia/dqgzGonghuizhijia.vue

@@ -5,14 +5,16 @@
 			<view class="dljt-page-title">党建工作</view>
 			<view class="dljt-page-content-box">
 				<view class="dljt-breadcrumb-box">
-					<view class="breadcrumb-text" @click="handleGo()">首页</view>
+					<view class="breadcrumb-text" @click="handleGo('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</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" />
+							<img class="list-img" :src="item.cover||default1" />
 							<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>
@@ -48,6 +50,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default1 from '@/static/images/common/news-bj1.jpg'
 
 	const data = reactive({
 		list: '',
@@ -58,7 +61,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/dqgzGongzhuizhijiaInfo/dqgzGongzhuizhijiaInfo?id=${data.id}`
 		})
 	}
 

+ 68 - 9
pages/dqgzGongzhuizhijiaInfo/dqgzGongzhuizhijiaInfo.vue

@@ -1,30 +1,89 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('ghzj')">工会之家</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		info: '',
+		info: null,
 		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
-	
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'ghzj') {
+		  uni.navigateTo({
+		  	url: '/pages/dqgzGonghuizhijia/dqgzGonghuizhijia'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	function pageInit() {
 		httpApi.getDangjianGonghuiInfo({id: data.id}).then(res => {
 			data.info = res.data;

+ 69 - 10
pages/dqgzXueyuanfengcaiInfo/dqgzXueyuanfengcaiInfo.vue

@@ -1,30 +1,89 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党建工作</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('fengcai')">党员风采</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		info: '',
-		id: null,
+		info: null,
+		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
-	
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'fengcai') {
+		  uni.navigateTo({
+		  	url: '/pages/dqgzDangyuanfengcai/dqgzDangyuanfengcai'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	function pageInit() {
 		httpApi.getDangjianFengcaiInfo({id: data.id}).then(res => {
 			data.info = res.data;

+ 7 - 6
pages/index/index.vue

@@ -46,10 +46,10 @@
 			</view>
 		</view>
 
-    <MtaFooter></MtaFooter>
-	
-	<!-- 底部导航 -->
-	<MtaTabBar></MtaTabBar>
+		<MtaFooter></MtaFooter>
+
+		<!-- 底部导航 -->
+		<MtaTabBar></MtaTabBar>
 
 
 	</view>
@@ -67,7 +67,8 @@
 	import MtaNavbar from "@/components/MtaNavbar/MtaNavbar.vue";
 	import listTwoVue from "@/components/MtaCard/listTwo.vue";
 	import MtaTabBar from "@/components/MtaTabBar/MtaTabBar.vue";
-  import MtaFooter from "@/components/MtaFooter.vue"
+	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 
 
 	const banners = ref('');
@@ -85,7 +86,7 @@
 	onLoad(() => {
 		pageInit();
 	})
-	
+
 	function handleClickXinwen() {}
 
 	function getXiaowuGengduo() {}

+ 52 - 11
pages/jyjxDasaifengcai/jyjxDasaifengcai.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">大赛风采</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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: 20,
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		size: 5
 	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/jyjxDasaifengcaiInfo/jyjxDasaifengcaiInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuDasaiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	function pageInit() {
 		httpApi.getJiaoyuDasaiList({page:data.page,size:data.size}).then(res => {
 			data.content = res.data.content;

+ 96 - 0
pages/jyjxDasaifengcaiInfo/jyjxDasaifengcaiInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('dsfc')">大赛风采</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'dsfc') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxDasaifengcai/jyjxDasaifengcai'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuDasaiInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 55 - 13
pages/jyjxDierketang/jyjxDierketang.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">第二课堂</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,21 +38,38 @@
 		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/jyjxDierketangInfo/jyjxDierketangInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getCommonJyjxDierketang(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
-		httpApi.getJiaoyuKetangList({page: data.page,size:data.size}).then(res => {
+		httpApi.getCommonJyjxDierketang({page: data.page,size:data.size}).then(res => {
 			data.list = res.data.data;
 			data.total = res.data.total;
 		})

+ 96 - 0
pages/jyjxDierketangInfo/jyjxDierketangInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('dekt')">第二课堂</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'dekt') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxDierketang/jyjxDierketang'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getCommonJyjxDierketangInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 50 - 9
pages/jyjxGuizhangzhidu/jyjxGuizhangzhidu.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">规章制度</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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({
-		content: '',
+		list: '',
+		total: '',
 		page: 1,
-		size: 5,
-		total: 0
+		size: 5
 	})
 
-	onLoad(() => {
-		pageInit();
-	})
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/jyjxGuizhangzhiduInfo/jyjxGuizhangzhiduInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuZhiduList(data)
+	}
 
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	function pageInit() {
 		httpApi.getJiaoyuZhiduList({
 			page: data.page,

+ 96 - 0
pages/jyjxGuizhangzhiduInfo/jyjxGuizhangzhiduInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('gzzd')">规章制度</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'gzzd') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxGuizhangzhidu/jyjxGuizhangzhidu'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuZhiduInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 54 - 12
pages/jyjxJinengjianding/jyjxJinengjianding.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">技能鉴定</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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/jyjxJinengjiandingInfo/jyjxJinengjiandingInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuJinengList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
 		httpApi.getJiaoyuJinengList({page:data.page,size:data.size}).then(res => {
 			data.content = res.data.content;

+ 96 - 0
pages/jyjxJinengjiandingInfo/jyjxJinengjiandingInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('jnjd')">技能鉴定</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'jnjd') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxJinengjianding/jyjxJinengjianding'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuJinengInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 55 - 13
pages/jyjxKeyandongtai/jyjxKeyandongtai.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">科研活动</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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: [],
-		page:1,
-		size: 5,
-		total: 0
-	})
-	
-	onLoad(() => {
-		pageInit();
+		list: '',
+		total: '',
+		page: 1,
+		size: 5
 	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/jyjxKeyandongtaiInfo/jyjxKeyandongtaiInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuKeyanList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
 		httpApi.getJiaoyuKeyanList({page: 1,size: 5}).then(res => {
 			data.list = res.data.data;

+ 96 - 0
pages/jyjxKeyandongtaiInfo/jyjxKeyandongtaiInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('kedt')">科研动态</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'kedt') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxKeyandongtai/jyjxKeyandongtai'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuKeyanInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 54 - 12
pages/jyjxKeyanhuodong/jyjxKeyanhuodong.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">教研活动</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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/jyjxShiziduiwuInfo/jyjxShiziduiwuInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuShiziList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
+
 	function pageInit() {
 		httpApi.getJiaoyuJiaoyanList({page:data.page,size:data.size}).then(res => {
 			data.list = res.data.data;

+ 96 - 0
pages/jyjxKeyanhuodongInfo/jyjxKeyanhuodongInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('jyhd')">教研活动</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'jyhd') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxKeyanhuodong/jyjxKeyanhuodong'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuJiaoyanInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 3 - 1
pages/jyjxShiziduiwu/jyjxShiziduiwu.vue

@@ -7,6 +7,8 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
 					<view class="breadcrumb-active">师资队伍</view>
 				</view>
 				<MtaScrollViewVue :refreshFn="getList">
@@ -52,7 +54,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/jyjxShiziduiwuInfo/jyjxShiziduiwuInfo?id=${data.id}`
 		})
 	}
 

+ 96 - 0
pages/jyjxShiziduiwuInfo/jyjxShiziduiwuInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('szdw')">师资队伍</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'szdw') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxShiziduiwu/jyjxShiziduiwu'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuShiziInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 53 - 12
pages/jyjxXiaoqihezuo/jyjxXiaoqihezuo.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">校企合作</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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/jyjxXiaoqihezuoInfo/jyjxXiaoqihezuoInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuXiaoqiList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	function pageInit() {
 		httpApi.getJiaoyuXiaoqiList({page: data.page,size:data.size}).then(res => {
 			data.list = res.data.data;

+ 96 - 0
pages/jyjxXiaoqihezuoInfo/jyjxXiaoqihezuoInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('xqhz')">校企合作</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'xqhz') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxXiaoqihezuo/jyjxXiaoqihezuo'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuXiaoqiInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 52 - 11
pages/jyjxZhongdianxiangmu/jyjxZhongdianxiangmu.vue

@@ -1,6 +1,31 @@
 <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-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">重点项目</view>
+				</view>
+				<MtaScrollViewVue :refreshFn="getList">
+					<template v-slot="{ list }">
+						<view class="data-content-item" v-for="item in list" :key="item.id" @click="handleClick(item)">
+							<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-title-box"> {{item.title}} </view>
+						</view>
+					</template>
+				</MtaScrollViewVue>
+			</view>
+			<!-- 底部导航 -->
+			<MtaFooter></MtaFooter>
+		</view>
 	</view>
 </template>
 
@@ -13,19 +38,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: 0,
+		list: '',
+		total: '',
 		page: 1,
 		size: 5
 	})
-	
-	onLoad(() => {
-		pageInit();
-	})
-	
+
+	function handleClick(data) {
+		uni.navigateTo({
+			url: `/pages/jyjxZhongdianxiangmuInfo/jyjxZhongdianxiangmuInfo?id=${data.id}`
+		})
+	}
+
+	function getList(data) {
+		return httpApi.getJiaoyuXiangmuList(data)
+	}
+
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 	function pageInit() {
 		httpApi.getJiaoyuXiangmuList({page:data.page,size:data.size}).then(res => {
 			data.list = res.data.data;

+ 96 - 0
pages/jyjxZhongdianxiangmuInfo/jyjxZhongdianxiangmuInfo.vue

@@ -0,0 +1,96 @@
+<template>
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">教育教学</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('zdxm')">重点项目</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
+	</view>
+</template>
+
+<script setup>
+	import {
+		ref,
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
+	} from "vue";
+	import {
+		onLoad
+	} from "@dcloudio/uni-app"
+	import * as httpApi from "@/api/common.js"
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
+	const data = reactive({
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
+		pageInit();
+	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'zdxm') {
+		  uni.navigateTo({
+		  	url: '/pages/jyjxZhongdianxiangmu/jyjxZhongdianxiangmu'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
+	function pageInit() {
+		httpApi.getJiaoyuXiangmuInfo({id: data.id}).then(res => {
+			data.info = res.data;
+		})
+	}
+</script>
+
+<style>
+
+</style>

+ 12 - 6
pages/xsydDeyuduiwu/xsydDeyuduiwu.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</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" />
+							<img class="list-img" :src="item.cover || default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,7 +49,8 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
-	
+	import default2 from '@/static/images/common/news-bj2.png'
+
 	const data = reactive({
 		list: '',
 		total: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xsydDeyuduiwuInfo/xsydDeyuduiwuInfo?id=${data.id}`
 		})
 	}
 
@@ -70,9 +73,12 @@
 			url: '/pages/index/index'
 		})
 	}
-	
+
 	function pageInit() {
-		httpApi.getXueshengDeyuList({page: data.page,size: data.size}).then(res => {
+		httpApi.getXueshengDeyuList({
+			page: data.page,
+			size: data.size
+		}).then(res => {
 			data.list = res.data.data;
 			data.total = res.data.total;
 		})
@@ -81,4 +87,4 @@
 
 <style>
 
-</style>
+</style>

+ 71 - 10
pages/xsydDeyuduiwuInfo/xsydDeyuduiwuInfo.vue

@@ -1,29 +1,90 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('dyjy')">德育教育</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: '',
-		info: null
+		info: null,
+		id: null
 	})
-	
-	onLoad(({id}) => {
-		pageInit();
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
+		pageInit();
 	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'dyjy') {
+		  uni.navigateTo({
+		  	url: '/pages/xsydDeyuduiwu/xsydDeyuduiwu'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	
 	function pageInit() {
 		httpApi.getXueshengDeyuInfo({id: data.id}).then(res => {

+ 5 - 2
pages/xsydGongqingtuan/xsydGongqingtuan.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</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" />
+							<img class="list-img" :src="item.cover||default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 	
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xsydGongqingtuanInfo/xsydGongqingtuanInfo?id=${data.id}`
 		})
 	}
 

+ 69 - 10
pages/xsydGongqingtuanInfo/xsydGongqingtuanInfo.vue

@@ -1,30 +1,89 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('gqt')">共青团</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: '',
-		info: null
+		info: null,
+		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
-	
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'gqt') {
+		  uni.navigateTo({
+		  	url: '/pages/xsydGongqingtuan/xsydGongqingtuan'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	function pageInit() {
 		httpApi.getXueshengGongqingInfo({id: data.id}).then(res => {
 			data.info = res.data;

+ 5 - 2
pages/xsydXueshenghuodong/xsydXueshenghuodong.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</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" />
+							<img class="list-img" :src="item.cover||default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 	
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xsydXueshenghuodongInfo/xsydXueshenghuodongInfo?id=${data.id}`
 		})
 	}
 

+ 70 - 9
pages/xsydXueshenghuodongInfo/xsydXueshenghuodongInfo.vue

@@ -1,28 +1,89 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('xshd')">学生活动</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: '',
-		info: null
+		info: null,
+		id: null
 	})
-	
-	onLoad(() => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
 		pageInit();
 	})
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'xshd') {
+		  uni.navigateTo({
+		  	url: '/pages/xsydXueshenghuodong/xsydXueshenghuodong'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	
 	function pageInit() {
 		httpApi.getXueshengHuodongInfo({id: data.id}).then(res => {

+ 5 - 2
pages/xsydZizhuguanli/xsydZizhuguanli.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学生园地</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" />
+							<img class="list-img" :src="item.cover||default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xsydZizhuguanliInfo/xsydZizhuguanliInfo?id=${data.id}`
 		})
 	}
 

+ 74 - 8
pages/xsydZizhuguanliInfo/xsydZizhuguanliInfo.vue

@@ -1,30 +1,96 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" >学生园地</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('zzgl')">资助管理</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+					<!-- PDF -->
+					<!-- <MtaPDFVue class="dljt-pdf-box" :pdfUrl="pdfUrl"></MtaPDFVue> -->
+					
+					<!-- 文件下载 -->
+					<!-- <div class="return-footer-box" v-if="">
+						<view class="dljt-down-btn" @click="handleDownFile"></view>
+					</div> -->
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
 		info: null,
 		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
-	
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'zzgl') {
+		  uni.navigateTo({
+		  	url: '/pages/xsydZizhuguanli/xsydZizhuguanli'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
 	function pageInit() {
 		httpApi.getXueshengZizhuInfo({id: data.id}).then(res => {
 			data.info = res.data;

+ 5 - 2
pages/xydtTongzhigonggao/xydtTongzhigonggao.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</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" />
+							<img class="list-img" :src="item.cover || default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 	
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xydtTongzhigonggaoInfo/xydtTongzhigonggaoInfo?id=${data.id}`
 		})
 	}
 

+ 80 - 12
pages/xydtTongzhigonggaoInfo/xydtTongzhigonggaoInfo.vue

@@ -1,31 +1,99 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('tzgg')">通知公告</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content"></MtaMpHtml>
+
+					<!-- PDF -->
+					<!-- <MtaPDFVue class="dljt-pdf-box" :pdfUrl="pdfUrl"></MtaPDFVue> -->
+
+					<!-- 文件下载 -->
+					<!-- <div class="return-footer-box" v-if="">
+						<view class="dljt-down-btn" @click="handleDownFile"></view>
+					</div> -->
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+		onMounted,
+		onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {
+		formatDateToYearMonthDay
+	} from "@/utils/common.js"
+	import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+	import MtaPDFVue from "@/components/MtaPDF.vue";
+	import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: null,
-		info: null
+		info: null,
+		id: null
+	})
+	const formatDate = computed(() => {
+		if (data.info && data.info.createTime) {
+			return formatDateToYearMonthDay(data.info.createTime)
+		}
+		return []
 	})
-	
-	onLoad(() => {
+
+
+	onLoad(({
+		id
+	}) => {
+		data.id = id;
 		pageInit();
 	})
-	
+
+
+	function handleGo(code) {
+		if (code == 'shouye') {
+			uni.navigateTo({
+				url: '/pages/index/index'
+			})
+		}
+		if (code == 'tzgg') {
+			uni.navigateTo({
+				url: '/pages/xydtTongzhigonggao/xydtTongzhigonggao'
+			})
+		}
+	}
+
 	function pageInit() {
-		httpApi.getDongtaiTongzhiGonggaoInfo({id: data.id}).then(res => {
+		httpApi.getDongtaiTongzhiGonggaoInfo({
+			id: data.id
+		}).then(res => {
 			data.info = res.data;
 		})
 	}
@@ -33,4 +101,4 @@
 
 <style>
 
-</style>
+</style>

+ 6 - 2
pages/xydtXiaowugongkai/xydtXiaowugongkai.vue

@@ -7,12 +7,15 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</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" />
+							<img class="list-img" :src="item.cover || default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +50,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 	
 	const data = reactive({
 		list: '',
@@ -57,7 +61,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xydtXiaowugongkaiInfo/xydtXiaowugongkaiInfo?id=${data.id}`
 		})
 	}
 

+ 68 - 10
pages/xydtXiaowugongkaiInfo/xydtXiaowugongkaiInfo.vue

@@ -1,32 +1,90 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('xwgk')">校务公开</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content"></MtaMpHtml>
+
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+		onMounted,
+		onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {
+		formatDateToYearMonthDay
+	} from "@/utils/common.js"
+	import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+	import MtaPDFVue from "@/components/MtaPDF.vue";
+	import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: null,
-		list: []
+		info: null,
+		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+		if (data.info && data.info.createTime) {
+			return formatDateToYearMonthDay(data.info.createTime)
+		}
+		return []
+	})
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
+
+
+	function handleGo(code) {
+		if (code == 'shouye') {
+			uni.navigateTo({
+				url: '/pages/index/index'
+			})
+		}
+		if (code == 'xwgk') {
+			uni.navigateTo({
+				url: '/pages/xydtXiaowugongkai/xydtXiaowugongkai'
+			})
+		}
+	}
+
 	
 	function pageInit() {
-		httpApi.getDongtaiTongzhiGonggaoInfo({id:data.id}).then(res => {
+		httpApi.getDongtaiXiaowuGongkaiInfo({id:data.id}).then(res => {
 			data.info = res.data;
 	
 		})

+ 5 - 2
pages/xydtXueyuanfengcai/xydtXueyuanfengcai.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</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" />
+							<img class="list-img" :src="item.cover || default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,6 +49,7 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
+	import default2 from '@/static/images/common/news-bj2.png'
 	
 	const data = reactive({
 		list: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xydtXueyuanfengcaiInfo/xydtXueyuanfengcaiInfo?id=${data.id}`
 		})
 	}
 

+ 68 - 10
pages/xydtXueyuanfengcaiInfo/xydtXueyuanfengcaiInfo.vue

@@ -1,30 +1,88 @@
 <template>
-	<view>
-		
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" >校园动态</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('xyfc')">学院风采</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		info: '',
-		id: null,
+		info: null,
+		id: null
 	})
-	
-	onLoad(({id}) => {
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
+
+	onLoad(({
+		id
+	}) => {
 		data.id = id;
 		pageInit();
 	})
-	
+
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'xyfc') {
+		  uni.navigateTo({
+		  	url: '/pages/xydtXueyuanfengcai/xydtXueyuanfengcai'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
 	function pageInit() {
 		httpApi.getDongtaiXueyuanFengcaiInfo({id:data.id}).then(res => {
 			data.info = res.data;

+ 12 - 5
pages/xydtXueyuanxingwen/xydtXueyuanxingwen.vue

@@ -7,12 +7,14 @@
 				<view class="dljt-breadcrumb-box">
 					<view class="breadcrumb-text" @click="handleGo()">首页</view>
 					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" >校园动态</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" />
+							<img class="list-img" :src="item.cover || default2" />
 							<view class="list-time-box">
 								<view class="time-data">{{formatDateToYearMonthDay(item.createTime)[1]}}</view>
 								<view class="time-year">{{formatDateToYearMonthDay(item.createTime)[0]}}</view>
@@ -47,7 +49,8 @@
 		getStringByHtml3
 	} from "@/utils/common.js"
 	import MtaFooter from "@/components/MtaFooter.vue"
-	
+	import default2 from '@/static/images/common/news-bj2.png'
+
 	const data = reactive({
 		list: '',
 		total: '',
@@ -57,7 +60,7 @@
 
 	function handleClick(data) {
 		uni.navigateTo({
-			url: `/pages/dqgzDangjiangongzuoInfo/dqgzDangjiangongzuoInfo?id=${data.id}`
+			url: `/pages/xydtXueyuanxinwenInfo/xydtXueyuanxinwenInfo?id=${data.id}`
 		})
 	}
 
@@ -70,8 +73,12 @@
 			url: '/pages/index/index'
 		})
 	}
+
 	function pageInit() {
-		httpApi.getDongtaiYuanxiaoXinwenList({page: data.page,size:data.size}).then(res => {
+		httpApi.getDongtaiYuanxiaoXinwenList({
+			page: data.page,
+			size: data.size
+		}).then(res => {
 			data.list = res.data.data;
 			data.total = res.data.total;
 		})
@@ -80,4 +87,4 @@
 
 <style>
 
-</style>
+</style>

+ 64 - 7
pages/xydtXueyuanxinwenInfo/xydtXueyuanxinwenInfo.vue

@@ -1,24 +1,63 @@
 <template>
-	<view>
-
+	<view class="dljt-page-box" v-if="data.info">
+		<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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">校园动态</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text" @click="handleGo('xyxw')">学院新闻</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">详情</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 标题 -->
+					<view class="detail-title">{{data.info.title}}</view>
+					<!-- 时间 -->
+					<view class="detail-data">{{formatDate.join('-') }}</view>
+					<!-- 富文本 -->
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+					
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
 	import {
 		ref,
-		reactive
+		reactive,
+		computed,
+    onMounted,
+    onUnmounted
 	} from "vue";
 	import {
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-
-
+	import {formatDateToYearMonthDay } from "@/utils/common.js"
+  import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+  import MtaPDFVue from "@/components/MtaPDF.vue";
+  import MtaFooter from "@/components/MtaFooter.vue"
 	const data = reactive({
-		id: null,
-		info: null
+		info: null,
+		id: null
 	})
+	const formatDate = computed(() => {
+      if (data.info && data.info.createTime) {
+		return formatDateToYearMonthDay(data.info.createTime)
+      }
+        return []
+    })
+
 
 	onLoad(({
 		id
@@ -27,6 +66,24 @@
 		pageInit();
 	})
 
+  
+  function handleGo(code) {
+	  if (code == 'shouye') {
+		  uni.navigateTo({
+		  	url: '/pages/index/index'
+		  })
+	  }
+	  if (code == 'xyxw') {
+		  uni.navigateTo({
+		  	url: '/pages/xydtXueyuanxingwen/xydtXueyuanxingwen'
+		  })
+	  }
+  }
+
+	function handleDownFile() {
+		window.location.href = pdfUrl;
+	}
+
 	function pageInit() {
 		httpApi.getDongtaiYuanxiaoXinwenInfo({
 			id: data.id