Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
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
lanbaoming
jiedao-app-customer-new-master
Commits
ec3226b8
Commit
ec3226b8
authored
Dec 25, 2024
by
Smile
Committed by
wux
Jan 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app客户端会员等级背景图片添加
parent
fd59ea61
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
integral.vue
src/pages/integral/integral.vue
+15
-2
integral.css
src/static/css/integral.css
+5
-1
backgroup.png
src/static/img/backgroup.png
+0
-0
No files found.
src/pages/integral/integral.vue
View file @
ec3226b8
...
...
@@ -9,7 +9,7 @@
<view
class=
"content"
>
<view
class=
"content-title"
>
{{
$lang
.
lang
.
integral
.
headerTitle
}}{{
levelInfo
.
levelName
}}
</view
}}{{
formattedLevelData
(
levelInfo
.
level
)
}}
</view
>
<view
class=
"content-text"
>
<view
class=
"text"
...
...
@@ -23,7 +23,7 @@
<view
class=
"divider"
>
<view
class=
"divider-active"
:style=
"
{ width: `${score}%` }">
</view>
<view
class=
"divider-unm"
>
{{
levelInfo
.
totalScore
}}
</view>
<view
class=
"divider-level"
>
{{
levelInfo
.
levelName
}}
</view>
<view
class=
"divider-level"
>
{{
formattedLevelData
(
levelInfo
.
level
)
}}
</view>
</view>
</view>
<view
class=
"classification"
>
...
...
@@ -84,6 +84,7 @@ export default {
// 会员图标
levelIcon
:
""
,
userInfo
:
{},
levelData
:[]
};
},
computed
:
{
...
...
@@ -101,8 +102,20 @@ export default {
},
created
()
{
this
.
getUserInfo
();
this
.
getLevels
();
},
methods
:
{
formattedLevelData
(
value
)
{
const
item
=
this
.
levelData
.
filter
(
item
=>
value
==
item
.
value
)[
0
]
return
item
[
this
.
$lang
.
label
];
},
getLevels
()
{
this
.
$request
.
getConfig
(
'
membership_levels
'
).
then
(
res
=>
{
if
(
res
.
code
==
0
&&
res
.
data
&&
res
.
data
.
list
&&
res
.
data
.
list
.
length
>
0
){
this
.
levelData
=
res
.
data
.
list
}
})
},
toLog
(
val
)
{
let
url
=
""
;
switch
(
val
)
{
...
...
src/static/css/integral.css
View file @
ec3226b8
...
...
@@ -20,9 +20,13 @@ page {
height
:
inherit
;
flex-direction
:
column
;
box-sizing
:
border-box
;
background-color
:
#C3C8D3
;
background
:
url(@/static/img/backgroup.png)
no-repeat
;
background-size
:
cover
;
background-position
:
center
center
;
border-top-left-radius
:
12
upx
;
border-top-right-radius
:
12
upx
;
border-bottom-right-radius
:
12
upx
;
border-bottom-left-radius
:
12
upx
;
}
.header
{
...
...
src/static/img/backgroup.png
0 → 100644
View file @
ec3226b8
545 KB
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