Commit 594a260f by 胡悦

提交

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