Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
442cdc95
Commit
442cdc95
authored
Jun 09, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去积分商城绑定
parent
7042c04a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
9 deletions
+39
-9
manifest.json
manifest.json
+3
-0
points.vue
pages/user-center/points.vue
+36
-9
No files found.
manifest.json
View file @
442cdc95
...
...
@@ -70,6 +70,9 @@
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wxcf0727a7c78b501e"
,
"navigateToMiniProgramAppIdList"
:
[
"wxacd9f8cc3480d29e"
],
"setting"
:
{
"urlCheck"
:
true
,
"minified"
:
false
...
...
pages/user-center/points.vue
View file @
442cdc95
...
...
@@ -38,7 +38,12 @@
{{
mall_UserInfo
.
Name
}}
</text>
<!-- v-if="CustomerIntegral&&CustomerIntegral.saleList&&CustomerIntegral.saleList.length>0" -->
<text
class=
"userHeadPicR_text"
@
click=
"goTisp"
>
<view
class=
"row"
>
<div
class=
"userHeadPicR_text flex-1 row col"
@
click=
"goExchange"
>
<text>
积分商场
</text>
<u-icon
name=
"arrow"
:size=
"26"
color=
"#61462E"
style=
""
></u-icon>
</div>
<text
class=
"userHeadPicR_text"
@
click=
"goTisp"
style=
"color: #a4bb7a;"
>
积分规则
<!-- #ifdef MP-DI -->
<!-- 销售:
{{
b2b_user_info
.
salesBaseInfo
.
emName
}}
-->
...
...
@@ -49,6 +54,7 @@
</text>
</view>
</view>
</view>
<view
class=
"userHeadPasBox"
>
<view
class=
"userHeadPNumBox row-sb-n"
>
<view
class=
"userHeadPNum"
>
...
...
@@ -224,6 +230,27 @@
},
methods
:
{
goExchange
(){
console
.
log
(
uni
.
getStorageSync
(
'mall_UserInfo'
).
OpenId
,
'积分商场'
)
uni
.
navigateToMiniProgram
({
appId
:
'wxacd9f8cc3480d29e'
,
path
:
`pages/index/index?jzTravelOpenId=
${
uni
.
getStorageSync
(
'mall_UserInfo'
).
OpenId
}
`
,
// 目标页面路径(可选)
extraData
:
{
// 传递给目标小程序的数据(可选)
},
envVersion
:
'rel ease'
,
// 目标版本(可选,默认 release;可选值:develop/trial/release)
success
(
res
)
{
console
.
log
(
'跳转成功'
,
res
);
},
fail
(
err
)
{
console
.
error
(
'跳转失败'
,
err
);
// 常见错误:-4(appId未声明)、-5(参数错误)、-100(用户拒绝)
},
complete
()
{
console
.
log
(
'跳转流程结束'
);
}
});
},
goTisp
(){
this
.
showTisp
=
true
this
.
scrollTop
=
500
...
...
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