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
e995daf7
Commit
e995daf7
authored
Oct 30, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6666
parent
c6182262
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
SignRuleDes.vue
components/qiandao/SignRuleDes.vue
+9
-2
sharepage.vue
pages/invate/sharepage.vue
+11
-4
No files found.
components/qiandao/SignRuleDes.vue
View file @
e995daf7
...
...
@@ -19,7 +19,7 @@
</
template
>
<
script
setup
>
import
{
defineProps
,
defineEmits
,
ref
}
from
'vue'
;
import
{
defineProps
,
defineEmits
,
ref
,
onMounted
}
from
'vue'
;
import
{
useIntegralStore
}
from
'../../stores/integral'
;
// Props 定义
...
...
@@ -35,13 +35,20 @@ const emit = defineEmits(['close']);
const
integralStore
=
useIntegralStore
();
const
ruleText
=
ref
(
integralStore
.
signinAndTaskInfo
?.
checkInTodo
?.
checkInExtra
?.
rule
);
// 富文本内容字符串
const
ruleContent
=
ref
(
ruleText
.
value
?
ruleText
.
value
:
'<div class="rule_text">2025年4月1日签到规则升级</div><div class="rule_text">1. 当月连签2天后,单日签到奖励升至2分</div><div class="rule_text">2. 当周满签7天,额外再奖励5分</div><div class="rule_text">3. 断签也有机会补,邀请小伙伴帮你助力</div><div class="rule_text">4. 每月1号连签次数清零</div>'
);
// const ruleContent = ref(ruleText.value ? ruleText.value : '
<
div
class
=
"rule_text"
>
2025
年
4
月
1
日签到规则升级
<
/div><div class="rule_text">1. 当月连签2天后,单日签到奖励升至2分</
div
><
div
class
=
"rule_text"
>
2
.
当周满签
7
天
,
额外再奖励
5
分
<
/div><div class="rule_text">3. 断签也有机会补,邀请小伙伴帮你助力</
div
><
div
class
=
"rule_text"
>
4
.
每月
1
号连签次数清零
<
/div>'
)
;
const
ruleContent
=
ref
(
ruleText
.
value
?
ruleText
.
value
:
''
);
// 关闭弹窗
const
handleClose
=
()
=>
{
emit
(
'close'
);
};
onMounted
(()
=>
{
ruleText
.
value
=
integralStore
.
signinAndTaskInfo
?.
checkInTodo
?.
checkInExtra
?.
rule
;
console
.
log
(
'ruleContent='
,
ruleContent
.
value
);
});
</
script
>
<
style
lang=
"less"
scoped
>
...
...
pages/invate/sharepage.vue
View file @
e995daf7
...
...
@@ -158,6 +158,7 @@ const initPage = async () => {
// 如果有邀请码,调用助力接口
if
(
ivtCode
&&
isLogin
.
value
)
{
await
callAssistInvite
(
ivtCode
,
uid
);
hideLoading
();
}
}
...
...
@@ -237,11 +238,17 @@ const callAssistInvite = async (ivtCode,unionId) => {
const
res
=
await
integralStore
.
assistInvite
(
ivtCode
,
unionId
);
if
(
res
.
success
&&
res
.
data
.
newUser
)
{
globalStore
.
invateUseType
=
'new'
;
}
else
{
globalStore
.
invateUseType
=
'old'
;
gotoIntegral
();
// globalStore.invateUseType = 'new';
}
else
{
showSharePopLogin
.
value
=
true
;
}
// if(res.success && res.data.newUser) {
// globalStore.invateUseType = 'new';
// } else {
// globalStore.invateUseType = 'old';
// gotoIntegral();
// }
console
.
log
(
'助力接口返回:'
,
res
);
hideLoading
();
}
catch
(
error
)
{
...
...
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