소스 검색

页面更新

wangxy 1 개월 전
부모
커밋
e4d66541b2
1개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 12 4
      pages/zsjyZhaopinxinxi/zsjyZhaopinxinxi.vue

+ 12 - 4
pages/zsjyZhaopinxinxi/zsjyZhaopinxinxi.vue

@@ -1,8 +1,10 @@
 <template>
 	<view class="dljt-page-box">
-		<MtaNavbar></MtaNavbar>
+		<template v-if="data.show">
+			<MtaNavbar></MtaNavbar>
+		</template>
 		<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">
@@ -16,7 +18,7 @@
 					<view class="dljt-editor-box">
 						<MtaMpHtml class="dljt-editor-box" :content="data.info.content"></MtaMpHtml>
 						<!-- pdf -->
-						<MtaPDFVue v-if="data.info.pdfUrl" :pdfUrl="data.info.pdfUrl"></MtaPDFVue>
+						<MtaPDFVue v-if="data.info.pdfUrl" :pdfUrl="data.info.pdfUrl" @showNav="onShowNav"></MtaPDFVue>
 					</view>
 				</view>
 			</view>
@@ -41,9 +43,15 @@
 
 
 	const data = reactive({
-		info: {}
+		info: {},
+		show: true
 	})
 
+	  function onShowNav(val) {
+		data.show = val;
+	  }
+
+
 	onLoad(() => {
 		pageInit();
 	})