Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
57008938
Commit
57008938
authored
Jul 21, 2021
by
高铭波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*): 关键事件埋点,调整页面样式
parent
18060078
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
121 additions
and
93 deletions
+121
-93
.env.js
.env.js
+2
-2
detail.vue
src/components/order/detail.vue
+2
-2
index.vue
src/components/order/index.vue
+90
-83
index.vue
src/components/select-parts/index.vue
+3
-5
learn.vue
src/pages/index/learn.vue
+8
-1
index.vue
src/pages/mine/contract/index.vue
+1
-0
detail.vue
src/pages/order/detail.vue
+10
-0
feedback.vue
src/pages/order/feedback.vue
+4
-0
application.vue
src/pages/parts/application.vue
+1
-0
No files found.
.env.js
View file @
57008938
(
function
()
{
let
NODE_ENV
=
'
test
'
;
// dev:开发环境 | test:测试环境 | prod:生产环境
let
NODE_ENV
=
'
prod
'
;
// dev:开发环境 | test:测试环境 | prod:生产环境
let
ENV_VAR
=
null
;
let
VERSION_NUMBER
=
'1.3.1
3
'
;
//版本号
let
VERSION_NUMBER
=
'1.3.1
5
'
;
//版本号
//小程序是否审核通过,参数配置在ucenter库version表,对应版本号的is_audit设置为1,将显示学习视频
if
(
process
.
env
.
NODE_ENV
===
"development"
)
{
if
(
NODE_ENV
===
'dev'
)
{
...
...
src/components/order/detail.vue
View file @
57008938
src/components/order/index.vue
View file @
57008938
...
...
@@ -281,9 +281,15 @@
}
},
methods
:
{
handleExceptions
()
{
if
(
this
.
isException
)
{
getApp
().
track
(
"order_handleExceptions"
,
{})
}
},
// title:标题,showCountTime:是否显示倒计时。详情页面情况太多,提前传值可以避免页面晃动
handleClick
()
{
var
func
=
'click'
this
.
handleExceptions
()
if
(
this
.
isWaitFinish
||
this
.
isException
)
{
// 不是待完工、不是异常单点按钮算点cell
func
=
'action'
}
...
...
@@ -291,6 +297,7 @@
},
handleClickCell
()
{
var
func
=
'click'
this
.
handleExceptions
()
if
(
this
.
isException
)
{
// 异常单点cell算点按钮
func
=
'action'
}
...
...
src/components/select-parts/index.vue
View file @
57008938
...
...
@@ -8,8 +8,8 @@
<u-image
:src=
"partsImage(info.images)"
width=
"200rpx"
height=
"200rpx"
/>
</view>
<view
class=
"u-flex right-content"
>
<view
class=
"right-content-name"
>
{{
info
.
name
}}
</view>
<view
class=
"right-content-desc"
>
{{
info
.
remark
}}
</view>
<view
class=
"right-content-name
u-line-2
"
>
{{
info
.
name
}}
</view>
<view
class=
"right-content-desc
u-line-2
"
>
{{
info
.
remark
}}
</view>
<view
class=
"u-flex right-content-opera"
>
<view
class=
"no"
v-if=
"info.stock"
>
可用
{{
info
.
stock
}}
件
...
...
@@ -81,6 +81,7 @@
overflow
:
hidden
;
.right-img
{
padding-right
:
20rpx
;
align-self
:
baseline
;
}
.right-content
{
flex
:
1
;
...
...
@@ -91,9 +92,6 @@
font-size
:
32rpx
;
color
:
#333
;
font-weight
:
bold
;
height
:
48rpx
;
// overflow: hidden;
word-break
:
hyphenate
;
}
.right-content-desc
{
font-size
:
24rpx
;
...
...
src/pages/index/learn.vue
View file @
57008938
...
...
@@ -749,6 +749,7 @@ export default {
},
// 安装文件
goToDocument
()
{
getApp
().
track
(
"learn_goToDocument"
,
{})
this
.
$u
.
route
({
url
:
'pages/order/document'
,
})
...
...
@@ -826,6 +827,11 @@ export default {
},
//跳转到播放
goPlay
(
info
)
{
viewcounts
getApp
().
track
(
"learn_allPlayCounts"
,
{
courseId
:
info
.
id
})
if
(
info
.
title
===
"小程序使用指南"
)
{
getApp
().
track
(
"learn_guidePlayCounts"
,
{
courseId
:
info
.
id
})
}
uni
.
navigateTo
({
url
:
"/pages/learn/section?section_id="
+
...
...
@@ -834,13 +840,14 @@ export default {
info
.
id
,
});
},
//跳转到
//跳转到
消息详情页
bbb
(
e
)
{
var
news
=
{
body
:
e
.
body
,
title
:
e
.
title
,
create_at
:
e
.
create_at
,
};
getApp
().
track
(
"learn_goToMessage"
,
{})
let
that
=
this
;
wx
.
navigateTo
({
url
:
"/pages/learn/news-details"
,
...
...
src/pages/mine/contract/index.vue
View file @
57008938
...
...
@@ -77,6 +77,7 @@ export default {
});
},
goBaidu
(
a
)
{
getApp
().
track
(
"mine_lookContract"
,
{
url
:
a
})
getApp
().
globalData
.
contractUrl
=
a
;
wx
.
navigateTo
({
url
:
"./out"
,
...
...
src/pages/order/detail.vue
View file @
57008938
...
...
@@ -642,9 +642,11 @@
this
.
clickFeedback
()
break
case
2
:
getApp
().
track
(
"order_errorSign"
,
{
orderId
:
this
.
orderId
})
this
.
take
()
break
case
3
:
getApp
().
track
(
"order_scenePhotoClick"
,
{
orderId
:
this
.
orderId
})
this
.
scenePhotoClick
()
break
case
4
:
...
...
@@ -763,6 +765,10 @@
},
// 去业务材料页面
handleClickFile
()
{
getApp
().
track
(
"order_click_view_files"
,
{
brandId
:
this
.
order
.
lianbaoBrandId
,
partnerCompanyId
:
this
.
order
.
partnerCompanyId
})
this
.
$u
.
route
({
url
:
'pages/order/document'
+
'?partnerCompanyId='
+
this
.
order
.
partnerCompanyId
+
'&brandId='
+
this
.
order
.
lianbaoBrandId
})
},
trackOrder
()
{
...
...
@@ -788,6 +794,10 @@
this
.
centerBtnDisabled
=
true
},
clickFeedback
(){
getApp
().
track
(
"order_clickFeedback"
,
{
orderId
:
this
.
order
.
orderId
,
categoryId
:
this
.
order
.
categoryId
})
// 过程反馈
uni
.
navigateTo
({
url
:
'pages/order/feedback?orderId='
+
this
.
order
.
orderId
+
'&categoryId='
+
this
.
order
.
categoryId
+
'&showGY='
+
(
this
.
bottomButtonText
!=
'预约'
?
'1'
:
'0'
)
...
...
src/pages/order/feedback.vue
View file @
57008938
...
...
@@ -357,6 +357,10 @@ export default {
}
self
.
submiting
=
true
;
getApp
().
track
(
"order_feedback_submitForm"
,
{
reasonType
:
self
.
trace
.
reasonType
,
traceDate
:
self
.
traceDate
})
let
params
=
this
.
$u
.
deepClone
(
self
.
trace
);
if
(
self
.
trace
.
reasonType
!=
'改约'
)
{
if
(
self
.
timeItem
&&
self
.
timeItem
.
pkey
&&
self
.
traceDate
){
...
...
src/pages/parts/application.vue
View file @
57008938
...
...
@@ -224,6 +224,7 @@ export default {
if
(
!
this
.
validateForm
())
{
return
false
}
getApp
().
track
(
"parts_application_submitParts"
,
{})
const
address
=
this
.
addressInfo
let
params
=
{
applyType
:
'1'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment