lion 2 years ago
parent 1644eb886c
commit 4553d52cc9

@ -215,19 +215,40 @@
keyName="label"></u-picker>
<u-popup :show="showInfo" mode="bottom" @close="closeInfo" :round="10" closeable>
<!-- <u-popup :show="showInfo" mode="bottom" @close="closeInfo" :round="10" closeable>
<view class="mpopup">
<view class="mpopup-title">
{{currentNotice.title}}
</view>
<view class="mpopup-content" style="margin-top: 60rpx;">
<rich-text :nodes="currentNotice.content"></rich-text>
<view @click="downLoad" style="color:#cf995a ;" v-if="currentNotice.isTemplate"></view>
v-if="currentNotice.isTemplate"
<view @click="downLoad" style="color:#cf995a ;" >下载模</view>
<view style="margin-top: 80px;"></view>
<u-button type="primary" @click="closeInfo"></u-button>
</view>
</view>
</u-popup> -->
<u-popup :show="showInfo" mode="bottom" @close="closeInfo" :round="10" closeable>
<view class="mpopup" :style="[{height:maxheight}]">
<view class="mpopup-title">
{{currentNotice.title}}
</view>
<view class="mpopup-content" style="margin-top: 60rpx;">
<scroll-view scroll-y="true" :style="[{height:scrollheight}]">
<!-- <rich-text :nodes="currentNotice.content"></rich-text> -->
<view class="htmls" style="line-height: 50rpx;text-indent: 2em;" v-html="currentNotice.content">
</view>
<view @click="downLoad" style="color:#cf995a ;">下载模版</view>
</scroll-view>
<view style="margin-top: 40rpx;"></view>
<u-button type="primary" @click="closeInfo"></u-button>
</view>
</view>
</u-popup>
<u-popup :show="showAuthorization" closeable mode="bottom" @close="closePhone" :round="10">
@ -351,7 +372,6 @@
this.form.type = (options.type == 'user' ? 2 : 1);
this.form.activity_id = parseInt(options.activity_id);
this.form.activity_number_id = parseInt(options.activity_number_id);
},
onShow(){
var that = this;
@ -402,7 +422,7 @@
downLoad() {
const downloadTask = uni.downloadFile({
url: 'https://leyitest.ali251.langye.net/Template.xlsx', //
url: 'https://gbyuyue.szgmbwg.org.cn/Template.xlsx', //
success: (res) => {
var filePath = res.tempFilePath
if (res.statusCode === 200) {

Loading…
Cancel
Save