瀏覽代碼

Merge remote-tracking branch 'origin/大连交通技师学院' into 大连交通技师学院

wangxy 2 月之前
父節點
當前提交
5cf26b8853
共有 1 個文件被更改,包括 31 次插入2 次删除
  1. 31 2
      pages/xygkJigoushezhi/xygkJigoushezhi.vue

+ 31 - 2
pages/xygkJigoushezhi/xygkJigoushezhi.vue

@@ -1,6 +1,26 @@
 <template>
-	<view>
-		{{data.content}}
+	<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,6 +44,14 @@
 		pageInit();
 	})
 	
+	function handleGo(code) {
+		  if (code == 'shouye') {
+			  uni.navigateTo({
+			  	url: '/pages/index/index'
+			  })
+		  }
+	}
+	
 	function pageInit() {
 		httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
 			data.content = res.data.pic;