Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 594a260f
authored
Sep 09, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
cc86ae95
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
app.js
components/UserInfo/UserInfo.wxml
pages/tab/index/index.js
project.private.config.json
app.js
View file @
594a260
...
...
@@ -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
)
...
...
components/UserInfo/UserInfo.wxml
View file @
594a260
...
...
@@ -11,11 +11,11 @@
<view class="position">{{cardInfo.operation || ''}}</view>
</view>
<view class="user-phone">
<image class="user-icon" webp src="{{IMGURL}}
hom
e/icon-phone.png"></image>
<image class="user-icon" webp src="{{IMGURL}}
shar
e/icon-phone.png"></image>
<view>{{cardInfo.staffPhone || ''}}</view>
</view>
<view class="user-address">
<image class="user-icon" webp src="{{IMGURL}}
hom
e/icon-address.png"></image>
<image class="user-icon" webp src="{{IMGURL}}
shar
e/icon-address.png"></image>
<view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
</view>
<image class="user-avatar" src="{{cardInfo.image}}" lazy-load></image>
...
...
pages/tab/index/index.js
View file @
594a260
...
...
@@ -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"
;
...
...
project.private.config.json
View file @
594a260
...
...
@@ -43,7 +43,7 @@
{
"name"
:
""
,
"pathName"
:
"pages/tab/index/index"
,
"query"
:
"scene=sceneId%3D297
2&cardId=88
"
,
"query"
:
"scene=sceneId%3D297
6
"
,
"launchMode"
:
"default"
,
"scene"
:
null
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment