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
5b9c1786
Commit
5b9c1786
authored
Sep 17, 2025
by
chenkai@duiba.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2123
parent
8fefda80
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
.DS_Store
.DS_Store
+0
-0
monthGift.vue
components/pointRightsCom/monthGift.vue
+2
-2
monthGiftImages.js
components/pointRightsCom/monthGiftImages.js
+9
-6
No files found.
.DS_Store
View file @
5b9c1786
No preview for this file type
components/pointRightsCom/monthGift.vue
View file @
5b9c1786
...
@@ -821,9 +821,9 @@ const getBuyButtonText = (level) => {
...
@@ -821,9 +821,9 @@ const getBuyButtonText = (level) => {
const
userLevelIndex
=
levelOrder
.
indexOf
(
props
.
userLevel
*
1
)
const
userLevelIndex
=
levelOrder
.
indexOf
(
props
.
userLevel
*
1
)
const
diamondIndex
=
levelOrder
.
indexOf
(
2
)
// Diamond level is 2
const
diamondIndex
=
levelOrder
.
indexOf
(
2
)
// Diamond level is 2
// 如果用户等级不够,显示"
去升级
"(优先级最高)
// 如果用户等级不够,显示"
待解锁
"(优先级最高)
if
(
userLevelIndex
<
diamondIndex
)
{
if
(
userLevelIndex
<
diamondIndex
)
{
return
'
去升级
'
return
'
待解锁
'
}
}
// 检查倒计时状态(其次)
// 检查倒计时状态(其次)
...
...
components/pointRightsCom/monthGiftImages.js
View file @
5b9c1786
...
@@ -41,7 +41,7 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -41,7 +41,7 @@ export const MONTH_GIFT_IMAGES = {
STATUS
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComTime4Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComTime4Status.png`
},
},
GOODS
:
{
GOODS
:
{
BG
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsBg.png`
,
BG
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsBg
_1
.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsLockBtn.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsLockBtn.png`
,
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsNowBtn.png`
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/diamond1BuyComGoodsNowBtn.png`
}
}
...
@@ -87,7 +87,7 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -87,7 +87,7 @@ export const MONTH_GIFT_IMAGES = {
STATUS
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComTime4Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComTime4Status.png`
},
},
GOODS
:
{
GOODS
:
{
BG
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsBg.png`
,
BG
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsBg
_1
.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsLockBtn.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsLockBtn.png`
,
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsNowBtn.png`
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/starshine1BuyComGoodsNowBtn.png`
}
}
...
@@ -133,7 +133,7 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -133,7 +133,7 @@ export const MONTH_GIFT_IMAGES = {
STATUS
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComTime4Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComTime4Status.png`
},
},
GOODS
:
{
GOODS
:
{
BG
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsBg.png`
,
BG
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsBg
_1
.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsLockBtn.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsLockBtn.png`
,
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsNowBtn.png`
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/startlight1BuyComGoodsNowBtn.png`
}
}
...
@@ -165,7 +165,10 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -165,7 +165,10 @@ export const MONTH_GIFT_IMAGES = {
SEL4
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComSel4.png`
,
SEL4
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComSel4.png`
,
TIME1
:
{
TIME1
:
{
TEXT
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime1Text.png`
,
TEXT
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime1Text.png`
,
STATUS
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime1Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime1Status.png`
,
// STATUS1: `pointRights/MonthGift/${version}/gold1BuyComTime1Status1.png`,
// STATUS2: `pointRights/MonthGift/${version}/gold1BuyComTime1Status2.png`,
// STATUS3: `pointRights/MonthGift/${version}/gold1BuyComTime1Status3.png`
},
},
TIME2
:
{
TIME2
:
{
TEXT
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime2Text.png`
,
TEXT
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime2Text.png`
,
...
@@ -180,7 +183,7 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -180,7 +183,7 @@ export const MONTH_GIFT_IMAGES = {
STATUS
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime4Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComTime4Status.png`
},
},
GOODS
:
{
GOODS
:
{
BG
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsBg.png`
,
BG
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsBg
_1
.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsLockBtn.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsLockBtn.png`
,
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsNowBtn.png`
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/gold1BuyComGoodsNowBtn.png`
}
}
...
@@ -227,7 +230,7 @@ export const MONTH_GIFT_IMAGES = {
...
@@ -227,7 +230,7 @@ export const MONTH_GIFT_IMAGES = {
STATUS
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComTime4Status.png`
STATUS
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComTime4Status.png`
},
},
GOODS
:
{
GOODS
:
{
BG
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsBg.png`
,
BG
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsBg
_1
.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsLockBtn.png`
,
LOCK_BTN
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsLockBtn.png`
,
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsNowBtn.png`
NOW_BTN
:
`pointRights/MonthGift/
${
version
}
/platinum1BuyComGoodsNowBtn.png`
}
}
...
...
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