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
acd3e56d
Commit
acd3e56d
authored
Oct 24, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
666666
parent
a1579daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
SeckillSection.vue
components/SeckillSection.vue
+5
-5
Integral.vue
views/Integral.vue
+7
-4
No files found.
components/SeckillSection.vue
View file @
acd3e56d
...
@@ -209,11 +209,11 @@ const shouldShowSection = computed(() => {
...
@@ -209,11 +209,11 @@ const shouldShowSection = computed(() => {
// 检查是否有有效的秒杀数据
// 检查是否有有效的秒杀数据
const
hasSessions
=
creditsSaleData
.
value
&&
creditsSaleData
.
value
.
sessions
&&
creditsSaleData
.
value
.
sessions
.
length
>
0
;
const
hasSessions
=
creditsSaleData
.
value
&&
creditsSaleData
.
value
.
sessions
&&
creditsSaleData
.
value
.
sessions
.
length
>
0
;
console
.
log
(
'shouldShowSection 检查:'
,
{
//
console.log('shouldShowSection 检查:', {
hasSessions
,
//
hasSessions,
sessionsLength
:
creditsSaleData
.
value
?.
sessions
?.
length
||
0
,
//
sessionsLength: creditsSaleData.value?.sessions?.length || 0,
creditsSaleData
:
creditsSaleData
.
value
//
creditsSaleData: creditsSaleData.value
});
//
});
return
hasSessions
;
return
hasSessions
;
});
});
...
...
views/Integral.vue
View file @
acd3e56d
...
@@ -1792,10 +1792,15 @@ onBeforeMount(async () => {
...
@@ -1792,10 +1792,15 @@ onBeforeMount(async () => {
}
)
}
)
onShow
(
async
()
=>
{
onShow
(
async
()
=>
{
console
.
log
(
'onShow'
);
if
(
needReinit
.
value
)
{
if
(
needReinit
.
value
)
{
needReinit
.
value
=
false
needReinit
.
value
=
false
initNetData
()
initNetData
()
}
}
const
res
=
await
taskCompleteJSON
(
data
.
task
.
id
,
isdebug
.
value
);
console
.
log
(
'taskCompleteJSON res:'
,
res
);
}
)
}
)
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
...
@@ -1870,7 +1875,7 @@ onMounted(async () => {
...
@@ -1870,7 +1875,7 @@ onMounted(async () => {
await
userStore
.
loadMemberInfo
();
await
userStore
.
loadMemberInfo
();
await
integralStore
.
getSigninAndTaskInfo
(
isdebug
.
value
);
await
integralStore
.
getSigninAndTaskInfo
(
isdebug
.
value
);
await
integralStore
.
getPointsBenefitCoupon
(
true
);
//
isdebug.value);
await
integralStore
.
getPointsBenefitCoupon
(
isdebug
.
value
);
//初始化签掉数据
//初始化签掉数据
...
@@ -2693,7 +2698,7 @@ const handleSigninClick = async () => {
...
@@ -2693,7 +2698,7 @@ const handleSigninClick = async () => {
console
.
log
(
'签到按钮点击'
);
console
.
log
(
'签到按钮点击'
);
if
(
!
islogin
.
value
)
{
if
(
!
islogin
.
value
)
{
needReinit
.
value
=
true
needReinit
.
value
=
true
;
jump
({
jump
({
type
:
JumpType
.
INNER
,
type
:
JumpType
.
INNER
,
url
:
"/pages/activity/register"
,
url
:
"/pages/activity/register"
,
...
@@ -2916,8 +2921,6 @@ const handleTaskClick = async (data) => {
...
@@ -2916,8 +2921,6 @@ const handleTaskClick = async (data) => {
break
;
break
;
case
'BROWSE_PAGE'
:
//浏览商城
case
'BROWSE_PAGE'
:
//浏览商城
showTaskPop
.
value
=
false
;
showTaskPop
.
value
=
false
;
const
res
=
await
integralStore
.
claimReward
(
data
.
task
.
id
,
isdebug
.
value
);
console
.
log
(
'claimReward res:'
,
res
);
jump
({
jump
({
type
:
JumpType
.
H5
,
type
:
JumpType
.
H5
,
...
...
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