From 9aa23af4ed3fc5e0d35b8547ba58ae325bc2b0f8 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 20 Jun 2023 14:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=8F=E6=84=9F=E8=AF=8D=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppConversation/conversationRecord.vue | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/src/project/pidu/AppConversation/conversationRecord.vue b/src/project/pidu/AppConversation/conversationRecord.vue index 6d38245d..eaefbb32 100644 --- a/src/project/pidu/AppConversation/conversationRecord.vue +++ b/src/project/pidu/AppConversation/conversationRecord.vue @@ -15,7 +15,7 @@ -
+
@@ -28,7 +28,7 @@
-

{{item.content}}

+

{{item.content}}

@@ -54,7 +54,7 @@
对方同意会话存档内容,你可以继续提供服务
-
+

{{item.cardCorpName}}

@@ -71,7 +71,7 @@ -
+

{{item.title}}

@@ -106,11 +106,11 @@
- +
- +
@@ -352,19 +352,35 @@ export default { }, ...mapActions(['previewFile']), prevFile(file) { + var fileInfo = {url: file.sdkFileUrl, name: file.sdkFileName, size: file.fileSizeStr} this.$loading() - this.previewFile({ ...file }).then(()=>{ + this.previewFile({ ...fileInfo }).then(()=>{ this.$hideLoading() }) }, openLink(row) { window.open(row.linkUrl); }, - openApp(row) { + openApp(row) { uni.navigateToMiniProgram({ // appId: row.goodsJdAppid, // path: row.goodsJdUrl }) + }, + openUser(type, userid) { //缺少名片人员区分内部还是外部 + console.log(row) + // userid && this.injectJWeixin('openUserProfile').then(() => { + // this.wxInvoke(['openUserProfile', {type, userid}, () => 0]) + // }) + }, + openMap(row) { + wx.openLocation({ + latitude: row.lat, // 纬度,浮点数,范围为90 ~ -90 + longitude: row.lng, // 经度,浮点数,范围为180 ~ -180。 + name: row.title, // 位置名 + address: row.address, // 地址详情说明 + scale: row.zoom, // 地图缩放级别,整形值,范围从1~28。默认为16 + }); } }, onReachBottom() {