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
91f7c05c
Commit
91f7c05c
authored
Oct 13, 2025
by
劳琪峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 合并master
parent
0e071a4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
12 deletions
+38
-12
Integral.vue
views/Integral.vue
+27
-6
My.vue
views/My.vue
+11
-6
No files found.
views/Integral.vue
View file @
91f7c05c
...
@@ -636,6 +636,7 @@
...
@@ -636,6 +636,7 @@
import MonthGift from '../components/pointRightsCom/monthGift.vue';
import MonthGift from '../components/pointRightsCom/monthGift.vue';
import YearGift from '../components/pointRightsCom/yearGift.vue';
import YearGift from '../components/pointRightsCom/yearGift.vue';
import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
import {onShow
}
from "
@
dcloudio
/uni-app"
;
// 进度条图片加载错误处理
// 进度条图片加载错误处理
const
onProgressBarError
=
(
e
)
=>
{
const
onProgressBarError
=
(
e
)
=>
{
...
@@ -1464,6 +1465,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -1464,6 +1465,7 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
points
:
0
points
:
0
}
);
}
);
const
needReinit
=
ref
(
false
)
const
willExpiredPoints
=
ref
(
0
);
//即将过期积分
const
willExpiredPoints
=
ref
(
0
);
//即将过期积分
...
@@ -1708,6 +1710,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -1708,6 +1710,13 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}
)
}
)
onShow
(
async
()
=>
{
if
(
needReinit
.
value
)
{
needReinit
.
value
=
false
initNetData
()
}
}
)
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
showLoading
();
showLoading
();
...
@@ -2233,8 +2242,16 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -2233,8 +2242,16 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}
)
}
)
}
}
//会员权益点击跳转
//会员权益点击跳转
const
handlePrivilegeClick
=
(
item
,
index
)
=>
{
const
handlePrivilegeClick
=
(
item
,
index
)
=>
{
if
(
!
islogin
.
value
)
{
needReinit
.
value
=
true
jump
({
type
:
JumpType
.
INNER
,
url
:
"/pages/activity/register"
,
}
)
return
;
}
// jump(
{
// jump(
{
// type: JumpType.H5,
// type: JumpType.H5,
...
@@ -2473,10 +2490,14 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
...
@@ -2473,10 +2490,14 @@ import ShengriliTipPanel from '../components/quanyi/shengriliTipPanel.vue';
}
;
}
;
const
handleVipClick
=
()
=>
{
const
handleVipClick
=
()
=>
{
if
(
!
islogin
.
value
)
{
if
(
!
islogin
.
value
){
needReinit
.
value
=
true
return
;
jump
({
}
type
:
JumpType
.
INNER
,
url
:
"/pages/activity/register"
,
}
)
return
;
}
vipCardMd
(
vipLevel
.
value
,
false
);
vipCardMd
(
vipLevel
.
value
,
false
);
const
item
=
vipIntegral
.
value
.
vipCardInfo
;
const
item
=
vipIntegral
.
value
.
vipCardInfo
;
...
...
views/My.vue
View file @
91f7c05c
...
@@ -16,8 +16,7 @@
...
@@ -16,8 +16,7 @@
<image
class=
"banner_cover"
:src=
"$baseUrl + 'my/cover_white.png'"
mode=
"aspectFill"
/>
<image
class=
"banner_cover"
:src=
"$baseUrl + 'my/cover_white.png'"
mode=
"aspectFill"
/>
</view>
</view>
<button
v-if=
"!cfgStatus.isRegister"
type=
"primary"
class=
"phone-button"
open-type=
"getPhoneNumber"
<button
v-if=
"!cfgStatus.isRegister"
type=
"primary"
class=
"phone-button"
@
click=
"clickRegisterShield"
/>
@
getphonenumber=
"getRealtimePhoneNumber"
/>
<!-- 用户信息区域 -->
<!-- 用户信息区域 -->
<view
class=
"user-info"
:style=
"
{ 'min-height': cfgStatus.showDetail ? '343rpx' : '180rpx' }">
<view
class=
"user-info"
:style=
"
{ 'min-height': cfgStatus.showDetail ? '343rpx' : '180rpx' }">
...
@@ -206,6 +205,12 @@ const handleHot = (e) => {
...
@@ -206,6 +205,12 @@ const handleHot = (e) => {
}
}
};
};
function
clickRegisterShield
(){
jump
({
type
:
JumpType
.
INNER
,
url
:
"/pages/activity/register"
,
})
}
// 页面跳转
// 页面跳转
const
navigateTo
=
(
url
)
=>
{
const
navigateTo
=
(
url
)
=>
{
...
@@ -306,12 +311,12 @@ const handleEditProfile = (e) => {
...
@@ -306,12 +311,12 @@ const handleEditProfile = (e) => {
componentContent
:
"资料编辑"
componentContent
:
"资料编辑"
})
})
const
type
=
userStore
.
babyInfo
?.
allBabyBaseInfo
?.
length
==
0
?
"add"
:
"edit"
;
const
type
=
userStore
.
babyInfo
?.
allBabyBaseInfo
?.
length
?
"edit"
:
"add"
;
babyId
.
value
=
userStore
.
babyInfo
?.
allBabyBaseInfo
.
find
(
(
item
)
=>
item
.
selected
)?.
id
;
if
(
type
===
"edit"
)
{
if
(
type
===
"edit"
)
{
babyId
.
value
=
userStore
.
babyInfo
?.
allBabyBaseInfo
.
find
(
(
item
)
=>
item
.
selected
)?.
id
;
navigateTo
(
`/pages/person/person?type=
${
type
}
&id=
${
babyId
.
value
}
`
);
navigateTo
(
`/pages/person/person?type=
${
type
}
&id=
${
babyId
.
value
}
`
);
}
else
{
}
else
{
navigateTo
(
`/pages/person/person?type=
${
type
}
`
);
navigateTo
(
`/pages/person/person?type=
${
type
}
`
);
...
...
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