Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
185945fb
Commit
185945fb
authored
May 15, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
dbac775e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
apps/home/Tpl/default/User/recharge_w3g.html
+14
-8
No files found.
apps/home/Tpl/default/User/recharge_w3g.html
View file @
185945fb
...
...
@@ -13,14 +13,12 @@
</div>
</div>
<div
class=
"home_list_part layout_h_b"
>
<volist
name=
"user_vip"
id=
"vo"
>
<div
class=
"layout_h_v_c"
>
<van-icon
@
click=
"type = {$vo.id}"
:name=
"type == {$vo.id} ? '__THEME__/img/picker_y@3x.png' : '__THEME__/img/picker_n@3x.png'"
style=
"margin-right: 0.4375rem;"
size=
"18"
></van-icon>
<div
class=
"vip_buy_type layout_h_c"
>
<span
class=
"text_12_400 color_white self_center"
>
{$vo.title}
</span>
</div>
<div
v-for=
"(item, index) in vips"
:key=
"index"
class=
"layout_h_v_c"
>
<van-icon
@
click=
"type = item.id"
:name=
"type == item.id ? '__THEME__/img/picker_y@3x.png' : '__THEME__/img/picker_n@3x.png'"
style=
"margin-right: 0.4375rem;"
size=
"18"
></van-icon>
<div
class=
"vip_buy_type layout_h_c"
:style=
"item.color"
>
<span
class=
"text_12_400 color_white self_center"
>
{{item.title}}
</span>
</div>
</
volist
>
</
div
>
</div>
</div>
</div>
...
...
@@ -154,7 +152,15 @@
},
created
:
function
(){
this
.
vips
=
{:
json_encode
(
$user_vip
)};
console
.
log
(
this
.
vips
)
this
.
vips
.
forEach
(
r
=>
{
if
(
r
.
title
==
"乡试"
)
{
r
.
color
=
{
color
:
"#65C000"
}
}
else
if
(
r
.
title
==
"会试"
)
{
r
.
color
=
{
color
:
"#32C5FF"
}
}
else
if
(
r
.
title
==
"殿试"
)
{
r
.
color
=
{
color
:
"#F5A623"
}
}
})
}
})
...
...
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