<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()">首页</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
	} from "vue";
	import {
		onLoad
	} from "@dcloudio/uni-app"
	import * as httpApi from "@/api/common.js"

	const data = reactive({
		info: {}
	})

	onLoad(() => {
		pageInit();
	})
	
	function handleGo() {
		uni.navigateTo({
			url: '/pages/index/index'
		})
	}

	function pageInit() {
		httpApi.getCommonGaikuangJianjieInfo().then(res => {
			data.info = res.data;
		})
	}
</script>

<style>

</style>