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 4b436e2a
authored
Dec 23, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
埋点、页面跳转添加
1 parent
913b05cf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
packagesList/pages/activityApply/activityApply.js
packagesList/pages/activityApply/activityApply.wxml
packagesList/pages/activityApply/activityApply.js
View file @
4b436e2
...
@@ -3,6 +3,7 @@ import {
...
@@ -3,6 +3,7 @@ import {
entmicroApi
entmicroApi
}
from
"../../../api/api"
;
}
from
"../../../api/api"
;
import
util
from
"../../../utils/util"
import
util
from
"../../../utils/util"
import
{
trackData
}
from
"../../../utils/data"
;
Page
({
Page
({
/**
/**
...
@@ -47,6 +48,10 @@ Page({
...
@@ -47,6 +48,10 @@ Page({
});
});
},
},
toCesuan
()
{
wx
.
$router
.
go
(
"measure"
);
},
/**
/**
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
...
@@ -76,7 +81,17 @@ Page({
...
@@ -76,7 +81,17 @@ Page({
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
*/
*/
onShow
()
{
onShow
()
{
const
options
=
wx
.
getEnterOptionsSync
()
if
(
options
.
query
.
cardId
)
{
wx
.
$trackData
=
options
.
query
}
getApp
()
.
login
()
.
then
(({
data
})
=>
{
if
(
!
wx
.
$trackData
.
detailShare
)
{
wx
.
$Track
.
sendTrack
(
trackData
.
ACTIVITYAPPLICATION
);
}
});
},
},
/**
/**
...
...
packagesList/pages/activityApply/activityApply.wxml
View file @
4b436e2
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</view>
</view>
<button class="submit-btn" bindtap="submitApply">提交申请</button>
<button class="submit-btn" bindtap="submitApply">提交申请</button>
<!-- 展业测算 -->
<!-- 展业测算 -->
<view class="caculate-box" wx:if="{{isStaff}}">
<view class="caculate-box" wx:if="{{isStaff}}"
bindtap="toCesuan"
>
<image class="caculate-img" mode="widthFix" webp src="{{IMGURL}}application/caculate_icon.png?v={{img_version}}"></image>
<image class="caculate-img" mode="widthFix" webp src="{{IMGURL}}application/caculate_icon.png?v={{img_version}}"></image>
<text class="caculate-text">展业测算</text>
<text class="caculate-text">展业测算</text>
</view>
</view>
...
...
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