@@ -311,6 +311,21 @@
console.log(e)
},
seekDoc(it){
+ //#ifdef APP-PLUS
+ uni.downloadFile({
+ url: it.attachmentAddress,
+ success: function (res) {
+ var filePath = res.tempFilePath;
+ uni.openDocument({
+ filePath: filePath,
+ showMenu: true,
+ console.log('打开文档成功');
+ }
+ });
+ //#endif
uni.navigateTo({
url: '/pages/index/webView?url=' + it.attachmentAddress+'&title='+it.attachmentName
});
@@ -420,10 +435,11 @@
}
.fileName{
color: #222;
+ font-size: 32rpx;
.filedesc{
margin-top: 10rpx;
- font-size: 20rpx;
+ font-size: 24rpx;
.c-flex-center{
align-self: center;