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
03c28fdb
Commit
03c28fdb
authored
Oct 29, 2025
by
王炽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
66666
parent
090f2060
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
46 deletions
+65
-46
InviteGift.vue
components/integralArea/InviteGift.vue
+0
-4
SignRuleDes.less
components/qiandao/SignRuleDes.less
+21
-13
SignRuleDes.vue
components/qiandao/SignRuleDes.vue
+8
-6
TaskCompleteTips.less
components/renwu/TaskCompleteTips.less
+16
-11
TaskCompleteTips.vue
components/renwu/TaskCompleteTips.vue
+2
-2
index.vue
pages/index/index.vue
+0
-2
sharepage.less
pages/invate/sharepage.less
+2
-2
sharepage.vue
pages/invate/sharepage.vue
+1
-1
Integral.vue
views/Integral.vue
+15
-5
No files found.
components/integralArea/InviteGift.vue
View file @
03c28fdb
...
...
@@ -66,10 +66,6 @@ onMounted(() => {
// 去邀请按钮点击事件
const
handleInviteClick
=
()
=>
{
console
.
log
(
'去邀请按钮点击'
);
// jump({
// url: '/pages/invate/sharepage',
// type: JumpType.INNER
// });
emit
(
'invite'
);
};
...
...
components/qiandao/SignRuleDes.less
View file @
03c28fdb
...
...
@@ -36,22 +36,30 @@
}
.rule_list {
width: 100%;
margin-left: 108rpx;
margin-left: 56rpx;
margin-right: 56rpx;
height: 190rpx;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
.rule_date {
font-size: 26rpx;
color: #54390D;
.rule_rich_text {
width: 100%;
display: block;
}
.rule_text {
font-size: 26rpx;
color: #54390D;
// line-height: 1.5;
display: block;
// margin-bottom: 20rpx;
// :deep(.rule_date) {
// font-size: 26rpx;
// color: #54390D;
// // line-height: 1.5;
// // margin-bottom: 12rpx;
// display: block;
// }
:deep(.rule_text) {
font-size: 24rpx;
color: #54390D;
// line-height: 1.8;
display: block;
// margin-bottom: 8rpx;
}
}
}
}
...
...
components/qiandao/SignRuleDes.vue
View file @
03c28fdb
...
...
@@ -6,11 +6,7 @@
<text
class=
"rule_title"
>
任务规则
</text>
<view
class=
"rule_list"
>
<text
class=
"rule_date"
>
2025年4月1日签到规则升级
</text>
<text
class=
"rule_text"
>
1. 当月连签2天后,单日签到奖励升至2分
</text>
<text
class=
"rule_text"
>
2. 当周满签7天,额外再奖励5分
</text>
<text
class=
"rule_text"
>
3. 断签也有机会补,邀请小伙伴帮你助力
</text>
<text
class=
"rule_text"
>
4. 每月1号连签次数清零
</text>
<rich-text
class=
"rule_rich_text"
:nodes=
"ruleContent"
></rich-text>
</view>
</view>
...
...
@@ -23,7 +19,8 @@
</
template
>
<
script
setup
>
import
{
defineProps
,
defineEmits
}
from
'vue'
;
import
{
defineProps
,
defineEmits
,
ref
}
from
'vue'
;
import
{
useIntegralStore
}
from
'../../stores/integral'
;
// Props 定义
const
props
=
defineProps
({
...
...
@@ -35,6 +32,11 @@ const props = defineProps({
// Emits 定义
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
handleClose
=
()
=>
{
...
...
components/renwu/TaskCompleteTips.less
View file @
03c28fdb
...
...
@@ -30,17 +30,22 @@
z-index: 2;
.tips_title {
font-size:
50
rpx;
font-weight:
bold
;
font-size:
64
rpx;
font-weight:
400rpx
;
color: #ffffff;
margin-bottom: 20rpx;
text-align: center;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 560rpx;
}
.points_text {
font-size: 32rpx;
color: #ffffff;
margin-bottom:
8
0rpx;
margin-bottom:
6
0rpx;
text-align: center;
}
...
...
@@ -48,7 +53,7 @@
position: relative;
width: 300rpx;
height: 300rpx;
margin-bottom:
9
0rpx;
margin-bottom:
6
0rpx;
display: flex;
align-items: center;
justify-content: center;
...
...
@@ -56,8 +61,8 @@
.task_complete_icon {
position: absolute;
width:
122
rpx;
height:
12
2rpx;
width:
238
rpx;
height:
23
2rpx;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
...
...
@@ -69,8 +74,8 @@
}
.accept_button {
width: 3
00
rpx;
height:
80
rpx;
width: 3
24
rpx;
height:
78
rpx;
background: #D3A458;
border-radius: 40rpx;
display: flex;
...
...
@@ -81,7 +86,7 @@
.accept_button_text {
font-size: 32rpx;
color: #ffffff;
font-weight:
5
00;
font-weight:
4
00;
}
}
...
...
@@ -92,14 +97,14 @@
display: flex;
align-items: center;
justify-content: center;
background: rgba(
0, 0, 0
, 0.5);
background: rgba(
255, 255, 255
, 0.5);
.close_icon {
margin-top: -7rpx;
margin-left: 2rpx;
font-size: 40rpx;
color: #ffffff;
font-weight: bold;
//
font-weight: bold;
}
}
}
...
...
components/renwu/TaskCompleteTips.vue
View file @
03c28fdb
...
...
@@ -13,7 +13,7 @@
<!-- 第三行:图片 -->
<view
class=
"task_complete_icon_container"
>
<image
class=
"task_complete_icon"
:class=
"
{ 'task_complete_icon_animating': isAnimating }" :src="$baseUrl + `integral/1023/jifenIcon
1
.png`" mode="aspectFit" />
<image
class=
"task_complete_icon"
:class=
"
{ 'task_complete_icon_animating': isAnimating }" :src="$baseUrl + `integral/1023/jifenIcon
_renwu
.png`" mode="aspectFit" />
</view>
<!-- 第四行:开心收下按钮 -->
...
...
@@ -40,7 +40,7 @@ const props = defineProps({
},
points
:
{
type
:
Number
,
default
:
10
0
default
:
0
},
taskTitle
:
{
type
:
String
,
...
...
pages/index/index.vue
View file @
03c28fdb
...
...
@@ -235,8 +235,6 @@ const handleTaskComplete = async (taskIdParam) => {
globalStore
.
taskCompleteTitle
=
res
?.
data
?.
taskName
;
//刷新签到和任务信息
await
integralStore
.
getSigninAndTaskInfo
();
};
onShow
(
async
()
=>
{
...
...
pages/invate/sharepage.less
View file @
03c28fdb
...
...
@@ -9,7 +9,7 @@
top: 0;
left: 0;
width: 100%;
height: 2
462
rpx;
height: 2
800
rpx;
.background_image {
position: absolute;
top: 0;
...
...
@@ -21,7 +21,7 @@
// 一键领取按钮
.claim_button {
position:
absolute
;
position:
fixed
;
bottom: 60rpx;
left: 50%;
transform: translateX(-50%);
...
...
pages/invate/sharepage.vue
View file @
03c28fdb
...
...
@@ -2,7 +2,7 @@
<view
class=
"sharepage_container"
>
<view
class=
"background_image_container"
>
<!-- 背景图片 -->
<image
class=
"background_image"
:src=
"$baseUrl + 'homepage/shareImg_jf
1
.jpg'"
mode=
"aspectFit"
/>
<image
class=
"background_image"
:src=
"$baseUrl + 'homepage/shareImg_jf
2
.jpg'"
mode=
"aspectFit"
/>
<!-- 一键领取按钮 -->
<view
class=
"claim_button"
@
click=
"handleClaim"
>
...
...
views/Integral.vue
View file @
03c28fdb
...
...
@@ -258,7 +258,7 @@
mode="
aspectFit
" />
</view>
<text class="
day_label
" :class="`item-${itemIndex
}
`">{{ (day < todaynum && !signinStatus[day - 1])
? '未签到' :
`第${day
}
天`
}}
</text>
? '未签到' :
getWeekdayLabel(day)
}}
</text>
</view>
</view>
...
...
@@ -381,14 +381,18 @@
<
view
class
=
"title-container1"
>
<
text
class
=
"title-text1"
>
{{
goodItem
?.
goodsName
}}
<
/text
>
<
/view
>
<
text
v
-
if
=
"Number(goodItem?.priceSale) && Number(goodItem?.credits)"
class
=
"num0"
>
低至
{{
<
text
class
=
"price-text"
><
text
class
=
"num"
>
{{
goodItem
?.
credits
}}
<
/text>积分</
text
>
<!--
<
text
v
-
if
=
"Number(goodItem?.priceSale) && Number(goodItem?.credits)"
class
=
"num0"
>
低至
{{
goodItem
?.
credits
}}
<
text
class
=
"price-text0"
>
积分
<
/text><tex
t
class
=
"price-text1"
>+<
/text><text class="price-text0">¥</
text
>
{{
goodItem
?.
priceSale
}}
<
/text
>
<
text
v
-
else
-
if
=
"Number(goodItem?.priceSale)"
class
=
"price-text"
><
text
class
=
"num"
>
¥
{{
goodItem
?.
priceSale
}}
<
/text></
text
>
<
text
v
-
else
-
if
=
"Number(goodItem?.credits)"
class
=
"price-text"
><
text
class
=
"num"
>
{{
goodItem
?.
credits
}}
<
/text>积分</
text
>
goodItem
?.
credits
}}
<
/text>积分</
text
>
-->
<
/view
>
<
/view
>
...
...
@@ -455,10 +459,10 @@
<
/view
>
<!--
查看更多容器
-->
<
view
class
=
"more-container"
v
-
if
=
"goodsDataArr?.length > 0"
@
click
=
"handleMoreClick"
>
<
!--
<
view
class
=
"more-container"
v
-
if
=
"goodsDataArr?.length > 0"
@
click
=
"handleMoreClick"
>
<
text
class
=
"more-text"
>
点击查看更多
<
/text
>
<
image
class
=
"more-arrow"
:
src
=
"$baseUrl + `integral/${tupianBanben
}
/integralArrow.png`"
mode
=
"aspectFit"
/>
<
/view
>
<
/view>
--
>
<!--
测试注册层按钮(开发调试用)
-->
<!--
<
view
class
=
"test-register-btn"
@
click
=
"showRegisterDialog"
v
-
if
=
"!islogin"
>
...
...
@@ -1635,6 +1639,12 @@ const getProgress = (index) => {
}
return
progress
;
}
// 将天数转换为星期标签
const
getWeekdayLabel
=
(
day
)
=>
{
const
weekdays
=
[
''
,
'周一'
,
'周二'
,
'周三'
,
'周四'
,
'周五'
,
'周六'
,
'周日'
];
return
weekdays
[
day
]
||
`第${day
}
天`
;
}
const
getColor
=
(
type
)
=>
{
let
colors
=
''
;
switch
(
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