Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
a1644ead
Commit
a1644ead
authored
Aug 26, 2025
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序内点击H5咨询客服
parent
4f295149
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
App.vue
+0
-6
pages/personalCenter/personalCenter.vue
+13
-2
No files found.
App.vue
View file @
a1644ead
...
...
@@ -66,12 +66,6 @@
console
.
log
(
'App Show'
,
options
);
// 每次进应用显示时检查用户状态
this
.
checkUserStatus
();
// if(options.query.mpCffp){
// uni.setStorageSync('mpCffp',options.query.mpCffp)
// }else{
// uni.removeStorageSync('mpCffp')
// }
// App平台从options获取参数
// #ifdef APP-PLUS
if
(
options
&&
options
.
query
)
{
...
...
pages/personalCenter/personalCenter.vue
View file @
a1644ead
...
...
@@ -446,6 +446,7 @@
if
(
item
.
kefu
){
// 现在还没转化成小程序,暂时放在这
// #ifdef MP-WEIXIN
console
.
log
(
'MP-WEIXIN===='
)
dataHandling
.
pocessTracking
(
'咨询客服'
,
`用户咨询客服`
,
...
...
@@ -465,7 +466,8 @@
//sendMessageImg: cardItem.value['list'][0]['itemImg']
});
// #endif
// #ifndef MP-WEIXIN
// #ifdef H5
console
.
log
(
'H5===='
)
dataHandling
.
pocessTracking
(
'咨询客服'
,
`用户咨询客服`
,
...
...
@@ -474,7 +476,16 @@
'我的'
,
'pages/personalCenter/personalCenter'
)
window
.
open
(
'https://work.weixin.qq.com/kfid/kfc08c55f4170e7fc9e'
)
if
(
typeof
wx
.
miniProgram
===
'object'
&&
wx
.
miniProgram
){
let
d
=
{
corpId
:
'ww43cac1cf9dd6a3d0'
,
//企业微信ID
url
:
'https://work.weixin.qq.com/kfid/kfc08c55f4170e7fc9e'
,
//企业微信客户接入链接
}
let
p
=
Object
.
keys
(
d
).
reduce
((
p
,
k
,
i
)
=>
p
+
`
${
i
?
'&'
:
'?'
}${
k
}
=
${
d
[
k
]}
`
,
''
);
wx
.
miniProgram
.
reLaunch
({
url
:
`/pages/index/homePage
${
p
}
`
});
//触发小程序刷新页面获取appId
}
else
{
window
.
open
(
'https://work.weixin.qq.com/kfid/kfc08c55f4170e7fc9e'
)
}
// #endif
return
}
...
...
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