Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
飞
飞鹤小程序
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
FH
飞鹤小程序
Commits
11d6fa3f
Commit
11d6fa3f
authored
Sep 28, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的页面积分修改
parent
a7c09cdf
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1285 additions
and
1155 deletions
+1285
-1155
brand.json
mock/brand.json
+572
-557
home.json
mock/home.json
+695
-596
Integral.vue
views/Integral.vue
+1
-1
My.vue
views/My.vue
+17
-1
No files found.
mock/brand.json
View file @
11d6fa3f
This diff is collapsed.
Click to expand it.
mock/home.json
View file @
11d6fa3f
This diff is collapsed.
Click to expand it.
views/Integral.vue
View file @
11d6fa3f
...
...
@@ -2238,7 +2238,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
// jump(
{
// type: JumpType.H5,
// url: "https://fh0926-activity.dexfu.cn/customShare/share?id=Did1NjI1
MzU
"
// url: "https://fh0926-activity.dexfu.cn/customShare/share?id=Did1NjI1
NTE
"
//
}
)
// return;
...
...
views/My.vue
View file @
11d6fa3f
...
...
@@ -67,7 +67,7 @@
src=
"https://course.feihe.com/momclub-picture/my/integralBg.png"
mode=
"aspectFit"
/>
<text
class=
"integralText0"
>
{{
babyInfo
.
points
||
"0"
}}
</text>
<text
class=
"integralText0"
>
{{
points
||
"0"
}}
</text>
<text
class=
"integralText1"
>
积分
</text>
</view>
</view>
...
...
@@ -160,6 +160,7 @@ import { jump, JumpType } from "@/utils";
import
{
getHealthField
}
from
"@/api/common"
;
import
{
hideLoading
,
showLoading
}
from
"../utils"
;
import
md
from
"../md.js"
;
import
{
onShow
}
from
'@dcloudio/uni-app'
;
const
{
proxy
}
=
getCurrentInstance
();
const
$baseUrl
=
proxy
.
$baseUrl
;
...
...
@@ -182,6 +183,8 @@ const babyInfo = computed(() => userStore?.babyInfo || {});
const
showRegisterLayer
=
ref
(
false
);
const
showBabySwitcher
=
ref
(
false
);
const
points
=
ref
(
0
);
const
babyId
=
ref
(
0
);
const
handleHot
=
(
e
)
=>
{
...
...
@@ -382,6 +385,14 @@ const initExposure = () => {
}
// onShow(async () => {
// console.log('onShow')
// await userStore.loadMemberInfo();
// points.value = userStore.memberInfo?.points;
// console.log('userStore.memberInfo=', userStore.memberInfo)
// })
// 获取用户信息
const
initData
=
async
()
=>
{
if
(
...
...
@@ -583,6 +594,11 @@ watch([() => userStore.userInfo, () => userStore.babyInfo], () => {
)?.
id
;
});
watch
(()
=>
userStore
.
memberInfo
,
()
=>
{
console
.
log
(
'userStore.memberInfo变化'
,
userStore
.
memberInfo
)
points
.
value
=
userStore
.
memberInfo
?.
points
;
})
//会员活动点击事件
const
handleVipActiveClick
=
(
index
,
item
)
=>
{
let
buttonName
=
''
;
...
...
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