Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Commits
b39d8821
Commit
b39d8821
authored
Mar 23, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:等级页面资源图
parent
89ee4688
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
21 deletions
+22
-21
group_rank.go
cv/group_power_cv/group_rank.go
+22
-21
No files found.
cv/group_power_cv/group_rank.go
View file @
b39d8821
...
@@ -61,6 +61,7 @@ type CvResGrade struct {
...
@@ -61,6 +61,7 @@ type CvResGrade struct {
type
CvPrivilege
struct
{
type
CvPrivilege
struct
{
Type
groupPower_e
.
GroupPowerPrivilege
`json:"type"`
// 特权id 1:成员数 2:管理员数 3:家族铭牌 4:家族徽章装饰 5:编辑铭牌 6:家族头饰
Type
groupPower_e
.
GroupPowerPrivilege
`json:"type"`
// 特权id 1:成员数 2:管理员数 3:家族铭牌 4:家族徽章装饰 5:编辑铭牌 6:家族头饰
Num
int
`json:"num"`
// 数目
Num
int
`json:"num"`
// 数目
Icon
string
`json:"icon"`
// 图标
}
}
// 家族等级页
// 家族等级页
...
@@ -81,32 +82,32 @@ var CvResGradeList = []CvResGrade{
...
@@ -81,32 +82,32 @@ var CvResGradeList = []CvResGrade{
var
GroupPowerGradePrivilegeNum
=
map
[
groupPower_e
.
GroupPowerGrade
][]
CvPrivilege
{
var
GroupPowerGradePrivilegeNum
=
map
[
groupPower_e
.
GroupPowerGrade
][]
CvPrivilege
{
groupPower_e
.
GroupPowerGrade0
:
{
groupPower_e
.
GroupPowerGrade0
:
{
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
300
},
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
300
,
"https://image.whoisamy.shop/hilo/resource/family/users.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
10
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
10
,
"https://image.whoisamy.shop/hilo/resource/family/gl_user.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/nameplate_black.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/privilege_black.png"
},
},
},
groupPower_e
.
GroupPowerGrade1
:
{
groupPower_e
.
GroupPowerGrade1
:
{
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
500
},
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
500
,
"https://image.whoisamy.shop/hilo/resource/family/users.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
15
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
15
,
"https://image.whoisamy.shop/hilo/resource/family/gl_user.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/nameplate_cyan.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/privilege_cyan.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/edit_cyan.png"
},
},
},
groupPower_e
.
GroupPowerGrade2
:
{
groupPower_e
.
GroupPowerGrade2
:
{
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
800
},
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
800
,
"https://image.whoisamy.shop/hilo/resource/family/users.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
20
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
20
,
"https://image.whoisamy.shop/hilo/resource/family/gl_user.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/nameplate_white.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/privilege_white.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/edit_white.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateHeadwear
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateHeadwear
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/headwear_white.png"
},
},
},
groupPower_e
.
GroupPowerGrade3
:
{
groupPower_e
.
GroupPowerGrade3
:
{
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
1200
},
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
1200
,
"https://image.whoisamy.shop/hilo/resource/family/users.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
25
},
{
groupPower_e
.
GroupPowerPrivilegeMgrNum
,
25
,
"https://image.whoisamy.shop/hilo/resource/family/gl_user.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplate
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/nameplate_yellow.png"
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeMedal
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/privilege_yellow.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateEdit
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/edit_yellow.png"
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateHeadwear
,
1
},
{
groupPower_e
.
GroupPowerPrivilegeNameplateHeadwear
,
1
,
"https://image.whoisamy.shop/hilo/resource/family/headwear_yellow.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