|
@@ -1,8 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<view class="phone-tongzhi-page">
|
|
<view class="phone-tongzhi-page">
|
|
- <view class="icon-title-navBar-box">
|
|
|
|
|
|
+ <view class="phone-navBar-box">
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
<view @click="goUpPage" class="nav-bar-icon"></view>
|
|
<text class="nav-bar-title">{{tzData.name}}</text>
|
|
<text class="nav-bar-title">{{tzData.name}}</text>
|
|
|
|
+ <icon class="tongzhi-down-icon" @click="downBtn"></icon>
|
|
</view>
|
|
</view>
|
|
<view class="tongzhi-body-box">
|
|
<view class="tongzhi-body-box">
|
|
<!-- <view class="tongzhi-name">{{tzData.name}}</view> -->
|
|
<!-- <view class="tongzhi-name">{{tzData.name}}</view> -->
|
|
@@ -20,6 +21,7 @@
|
|
name: '',
|
|
name: '',
|
|
time: '',
|
|
time: '',
|
|
content: '',
|
|
content: '',
|
|
|
|
+ downUrl: '',
|
|
})
|
|
})
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
initPage(options);
|
|
initPage(options);
|
|
@@ -29,6 +31,10 @@
|
|
url: '/pages/admin/tongzhi/list'
|
|
url: '/pages/admin/tongzhi/list'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ // 下载
|
|
|
|
+ function downBtn(){
|
|
|
|
+ //downUrl
|
|
|
|
+ }
|
|
function initPage(options) {
|
|
function initPage(options) {
|
|
const opt = {
|
|
const opt = {
|
|
noticeId: options.noticeId,
|
|
noticeId: options.noticeId,
|
|
@@ -37,6 +43,7 @@
|
|
tzData.name = res.data.name;
|
|
tzData.name = res.data.name;
|
|
tzData.time = res.data.createTime;
|
|
tzData.time = res.data.createTime;
|
|
tzData.content = res.data.content;
|
|
tzData.content = res.data.content;
|
|
|
|
+ tzData.downUrl = res.data.content;
|
|
})
|
|
})
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|