Browse Source

页面更新

wangxy 2 tháng trước cách đây
mục cha
commit
ae4516b8cb

+ 37 - 0
api/common.js

@@ -850,4 +850,41 @@ export function getCommonZypxTongzhiInfo(data = {}) {
 		data,
 		timeout: 20000
 	})
+}
+
+
+export function getCommonZsjyJianzhang(data = {}) {
+	return request({
+		'url': '/common/zhaosheng/jianzhang/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getCommonZsjyZhuanyeList(data = {}) {
+	return request({
+		'url': '/common/zhaosheng/zhuanye/list',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
+}
+
+export function getCommonZsjyZhuanyeInfo(data = {}) {
+	return request({
+		'url': '/common/zhaosheng/zhuanye/info',
+		headers: {
+			isToken: false
+		},
+		method: 'post',
+		data,
+		timeout: 20000
+	})
 }

+ 32 - 3
pages/dqgzDangzuzhijiagou/dqgzDangzuzhijiagou.vue

@@ -1,6 +1,26 @@
 <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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">党组织架构</view>
+				</view>
+				<view class="dljt-detail-box">
+					<view class="dljt-editor-box">
+						<img :src="data.content" alt="" class="img-center-top">
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
@@ -13,6 +33,7 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	
 	const data = reactive({
@@ -23,9 +44,17 @@
 		pageInit();
 	})
 	
+	function handleGo(code) {
+		  if (code == 'shouye') {
+			  uni.navigateTo({
+			  	url: '/pages/index/index'
+			  })
+		  }
+	}
+	
 	function pageInit() {
 		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
-			data.content = res.data.content;
+			data.content = res.data.pic;
 		})
 	}
 </script>

+ 32 - 3
pages/dqgzGonghuizuzhijiagou/dqgzGonghuizuzhijiagou.vue

@@ -1,6 +1,26 @@
 <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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">党群工作</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">工会组织架构</view>
+				</view>
+				<view class="dljt-detail-box">
+					<view class="dljt-editor-box">
+						<img :src="data.content" alt="" class="img-center-top">
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
@@ -13,6 +33,7 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	
 	const data = reactive({
@@ -23,9 +44,17 @@
 		pageInit();
 	})
 	
+	function handleGo(code) {
+		  if (code == 'shouye') {
+			  uni.navigateTo({
+			  	url: '/pages/index/index'
+			  })
+		  }
+	}
+	
 	function pageInit() {
 		httpApi.getDangjianZuzhiGonghuiInfo().then(res => {
-			data.content = res.data.content;
+			data.content = res.data.pic;
 		})
 	}
 </script>

+ 46 - 6
pages/xygkLianxifangshi/xygkLianxifangshi.vue

@@ -1,10 +1,50 @@
 <template>
-	<view>
-		{{data.info}}
+	<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()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学院概况</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">联系方式</view>
+				</view>
+				<view class="dljt-detail-box">
+					<!-- 图 -->
+					<view>办公室电话:{{data.info.bangongshi}}</view>
+
+					<view>职业培训电话:{{data.info.zhiyepeixun}}</view>
+
+					<view>招生电话:{{data.info.zhaosheng}}</view>
+					
+					<view>
+						<image :src="data.info.douyinPic"></image>
+						<view>{{data.info.douyin}}</view>
+					</view>
+					<view>
+						<image :src="data.info.gongzhonghaoPic"></image>
+						<view>{{data.info.gongzhonghao}}</view>
+					</view>
+					<view>
+						<image :src="data.info.shipinhaoPic"></image>
+						<view>{{data.info.shipinhao}}</view>
+					</view>
+				</view>
+				
+			
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
+	import MtaFooter from "@/components/MtaFooter.vue"
 	import {
 		ref,
 		reactive
@@ -13,15 +53,15 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
+
 	const data = reactive({
 		info: ''
 	})
-	
+
 	onLoad(() => {
 		pageInit();
 	})
-	
+
 	function pageInit() {
 		httpApi.getCommonGaikuangDizhiInfo().then(res => {
 			data.info = res.data;
@@ -31,4 +71,4 @@
 
 <style>
 
-</style>
+</style>

+ 32 - 4
pages/xygkXueyuanjianjie/xygkXueyuanjianjie.vue

@@ -1,10 +1,32 @@
 <template>
-	<view>
-		{{data.content}}
+	<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()">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">学院概况</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">学院简介</view>
+				</view>
+				<view class="dljt-detail-box">
+					<MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
 <script setup>
+	import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+	import MtaPDFVue from "@/components/MtaPDF.vue";
+	import MtaFooter from "@/components/MtaFooter.vue"
 	import {
 		ref,
 		reactive
@@ -15,16 +37,22 @@
 	import * as httpApi from "@/api/common.js"
 
 	const data = reactive({
-		content: ''
+		info: {}
 	})
 
 	onLoad(() => {
 		pageInit();
 	})
+	
+	function handleGo() {
+		uni.navigateTo({
+			url: '/pages/index/index'
+		})
+	}
 
 	function pageInit() {
 		httpApi.getCommonGaikuangJianjieInfo().then(res => {
-			data.content = res.data.content;
+			data.info = res.data;
 		})
 	}
 </script>

+ 43 - 9
pages/zsjyShengxue/zsjyShengxue.vue

@@ -1,6 +1,28 @@
 <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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">招生就业</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">升学</view>
+				</view>
+				<view class="dljt-detail-box">
+					<view class="dljt-editor-box">
+						<view v-for="item in data.list.data" :key="item.title" @click="handleSelect(item.title)">{{item.title}}</view>
+						<!-- 富文本 -->
+						<MtaMpHtml class="dljt-editor-box" v-show="item.title == data.activeTitle" v-for="item in data.list.data" :content="item.content" ></MtaMpHtml>
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
@@ -13,18 +35,30 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import MtaFooter from "@/components/MtaFooter.vue"
+	import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+
 	const data = reactive({
-		page: 1,
-		size: 5,
-		total: 0,
-		list: []
+		list: null,
+		activeTitle: ''
 	})
-	
+
 	onLoad(() => {
 		pageInit();
 	})
+
+	function handleGo(code) {
+		if (code == 'shouye') {
+			uni.navigateTo({
+				url: '/pages/index/index'
+			})
+		}
+	}
+
+	function handleSelect(title) {
+		data.activeTitle = title;
+	}
+
 	
 	function pageInit() {
 		httpApi.getCommonZSJYShengxueList({page:data.page,size:data.size}).then(res => {

+ 32 - 3
pages/zsjyZhaoshengjianzhang/zsjyZhaoshengjianzhang.vue

@@ -1,6 +1,26 @@
 <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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">招生就业</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">招生简章</view>
+				</view>
+				<view class="dljt-detail-box">
+					<view class="dljt-editor-box">
+						<img :src="data.content" alt="" class="img-center-top">
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
@@ -13,6 +33,7 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
+	import MtaFooter from "@/components/MtaFooter.vue"
 	
 	
 	const data = reactive({
@@ -23,8 +44,16 @@
 		pageInit();
 	})
 	
+	function handleGo(code) {
+		  if (code == 'shouye') {
+			  uni.navigateTo({
+			  	url: '/pages/index/index'
+			  })
+		  }
+	}
+	
 	function pageInit() {
-		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
+		httpApi.getCommonZsjyJianzhang().then(res => {
 			data.content = res.data.content;
 		})
 	}

+ 47 - 10
pages/zsjyZhuanyejieshao/zsjyZhuanyejieshao.vue

@@ -1,6 +1,28 @@
 <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('shouye')">首页</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-text">招生就业</view>
+					<icon class="breadcrumb-jt"></icon>
+					<view class="breadcrumb-active">专业介绍</view>
+				</view>
+				<view class="dljt-detail-box">
+					<view class="dljt-editor-box">
+						<view v-for="item in data.list.data" :key="item.title" @click="handleSelect(item.title)">{{item.title}}</view>
+						<!-- 富文本 -->
+						<MtaMpHtml class="dljt-editor-box" v-show="item.title == data.activeTitle" v-for="item in data.list.data" :content="item.content" ></MtaMpHtml>
+					</view>
+				</view>
+			</view>
+		</view>
+		<!-- 底部导航 -->
+		<MtaFooter></MtaFooter>
 	</view>
 </template>
 
@@ -13,23 +35,38 @@
 		onLoad
 	} from "@dcloudio/uni-app"
 	import * as httpApi from "@/api/common.js"
-	
-	
+	import MtaFooter from "@/components/MtaFooter.vue"
+	import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
+
 	const data = reactive({
-		content: ''
+		list: null,
+		activeTitle: ''
 	})
-	
+
 	onLoad(() => {
 		pageInit();
 	})
-	
+
+	function handleGo(code) {
+		if (code == 'shouye') {
+			uni.navigateTo({
+				url: '/pages/index/index'
+			})
+		}
+	}
+
+	function handleSelect(title) {
+		data.activeTitle = title;
+	}
+
 	function pageInit() {
-		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
-			data.content = res.data.content;
+		httpApi.getCommonZsjyZhuanyeList({size: 1000}).then(res => {
+			data.list = res.data;
+			data.activeTitle = data.list.data[0].title
 		})
 	}
 </script>
 
 <style>
 
-</style>
+</style>