tanxue 2 місяців тому
батько
коміт
26f65fff2f

+ 9 - 0
common/styles/global/pages.scss

@@ -1,4 +1,5 @@
 /***** 这里存放通用页面样式 *****/
+iframe{z-index: 3;}
 // 首页
 .dljt-index-page{
 }
@@ -82,4 +83,12 @@
 		uni-image{width:200rpx;height: 200rpx;}
 		.code-text-box{box-sizing: border-box;padding:0 24rpx;word-break: break-all;}
 	}
+}
+
+
+.pdf-page{
+	.dljt-pdf-box{}
+	
+	.dljt-detail-box{height:unset;margin-bottom: 24rpx;}
+	// .dljt-detail-box{height: calc(100vh - 834rpx);}
 }

+ 4 - 3
pages/zsjyWangnianluqufenshu/zsjyWangnianluqufenshu.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="dljt-page-box">
+	<view class="dljt-page-box pdf-page">
 		<MtaNavbar></MtaNavbar>
 		<view class="dljt-container-box">
 			<view class="dljt-page-title">机构设置</view>
@@ -15,10 +15,11 @@
 				<view class="dljt-detail-box">
 					<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>
+						
 					</view>
 				</view>
+				<!-- pdf -->
+				<MtaPDFVue v-if="data.info.pdfUrl" :pdfUrl="data.info.pdfUrl"></MtaPDFVue>
 			</view>
 		</view>
 		<!-- 底部导航 -->