|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="page">
|
|
|
<view class="noticeTitle" >{{notice.noticeTitle}}</view>
|
|
|
- <view class="flex-row justify-between" style="margin-bottom: 40rpx">
|
|
|
+ <view class="flex-row justify-between" >
|
|
|
<view class="time">
|
|
|
发布人:<text>{{notice.createBy}}</text>
|
|
|
</view>
|
|
|
@@ -9,7 +9,7 @@
|
|
|
<text>{{this.dateFormat(notice.createTime) }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <scroll-view scroll-y="true" class="scroll-y " :style="{'height':height}">
|
|
|
+ <scroll-view scroll-y="true" class="scroll-y " style="display: inline-block" :style="{'height':height}">
|
|
|
<view class="content-box flex-col " :style="{'height':height}">
|
|
|
<!-- <web-view src="http://www.gzqcdj.cn/doc/2.html"></web-view>-->
|
|
|
<rich-text v-html="notice.noticeContent">
|
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
onLoad(option) {
|
|
|
// 判断Openid是否为空
|
|
|
let sysInfo=uni.getSystemInfoSync();
|
|
|
- this.height= sysInfo.windowHeight -50 +'px';
|
|
|
+ this.height= sysInfo.windowHeight - 50 +'px';
|
|
|
console.log("获取到的高度",this.height)
|
|
|
this.getNoticeDetail(option.noticeId);
|
|
|
|