Commit 594a260f by 胡悦

提交

1 parent cc86ae95
...@@ -64,6 +64,7 @@ App({ ...@@ -64,6 +64,7 @@ App({
if (wx.$trackData.scene) { if (wx.$trackData.scene) {
_this.getScene(wx.$trackData.scene).then(res => { _this.getScene(wx.$trackData.scene).then(res => {
wx.$trackData.merchant = res.merchantId wx.$trackData.merchant = res.merchantId
wx.$trackData.cardId = res.cardId
const systemInfo = wx.getStorageSync('srcm_shopmall_system_info') const systemInfo = wx.getStorageSync('srcm_shopmall_system_info')
wx.$trackData.type = systemInfo.environment ? 2 : 1 wx.$trackData.type = systemInfo.environment ? 2 : 1
wx.$Track.sendTrack(trackData.COMPANY) wx.$Track.sendTrack(trackData.COMPANY)
......
...@@ -11,11 +11,11 @@ ...@@ -11,11 +11,11 @@
<view class="position">{{cardInfo.operation || ''}}</view> <view class="position">{{cardInfo.operation || ''}}</view>
</view> </view>
<view class="user-phone"> <view class="user-phone">
<image class="user-icon" webp src="{{IMGURL}}home/icon-phone.png"></image> <image class="user-icon" webp src="{{IMGURL}}share/icon-phone.png"></image>
<view>{{cardInfo.staffPhone || ''}}</view> <view>{{cardInfo.staffPhone || ''}}</view>
</view> </view>
<view class="user-address"> <view class="user-address">
<image class="user-icon" webp src="{{IMGURL}}home/icon-address.png"></image> <image class="user-icon" webp src="{{IMGURL}}share/icon-address.png"></image>
<view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view> <view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
</view> </view>
<image class="user-avatar" src="{{cardInfo.image}}" lazy-load></image> <image class="user-avatar" src="{{cardInfo.image}}" lazy-load></image>
......
...@@ -143,11 +143,11 @@ Page({ ...@@ -143,11 +143,11 @@ Page({
*/ */
onShareAppMessage() { onShareAppMessage() {
return { return {
title: `您好,我向你推荐了广联数科的${"你的名字"}的智能名片~`, title: `您好,我向你推荐了广联数科的${this.data.cardInfo.staffName}的智能名片~`,
imageUrl: this.data.shareImg, imageUrl: this.data.shareImg,
}; };
}, },
setShareInfo(data) { setShareInfo(data = {}) {
const canvasWidth = 208, const canvasWidth = 208,
canvasHeight = 166, canvasHeight = 166,
textBaseline = "top"; textBaseline = "top";
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
{ {
"name": "", "name": "",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D2972&cardId=88", "query": "scene=sceneId%3D2976",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!