|
@@ -1,6 +1,8 @@
|
|
|
<template>
|
|
|
<view class="dljt-page-box">
|
|
|
- <MtaNavbar v-if="false"></MtaNavbar>
|
|
|
+ <template v-if="data.show">
|
|
|
+ <MtaNavbar></MtaNavbar>
|
|
|
+ </template>
|
|
|
<view class="dljt-container-box">
|
|
|
<view class="dljt-page-title">机构设置</view>
|
|
|
<view class="dljt-page-content-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>
|
|
|
|
|
@@ -42,13 +44,18 @@
|
|
|
|
|
|
|
|
|
const data = reactive({
|
|
|
- info: {}
|
|
|
+ info: {},
|
|
|
+ show: true
|
|
|
})
|
|
|
|
|
|
onLoad(() => {
|
|
|
pageInit();
|
|
|
})
|
|
|
|
|
|
+ function onShowNav(val) {
|
|
|
+ data.show = val;
|
|
|
+ }
|
|
|
+
|
|
|
function handleError(e) {
|
|
|
uni.showModal({
|
|
|
content: e.target.errMsg,
|