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
b7cd1a3d
Commit
b7cd1a3d
authored
May 15, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ca0b07d6
36a4c9a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
addons/theme/stv1/_static_w3g/css/common.css
+29
-0
apps/home/Tpl/default/User/recharge_w3g.html
+20
-0
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
b7cd1a3d
...
@@ -69,6 +69,12 @@ div::-webkit-scrollbar {
...
@@ -69,6 +69,12 @@ div::-webkit-scrollbar {
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.layout_h_round
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-around
;
}
.weight_full
{
.weight_full
{
width
:
0
;
width
:
0
;
flex-grow
:
1
;
flex-grow
:
1
;
...
@@ -171,6 +177,14 @@ div::-webkit-scrollbar {
...
@@ -171,6 +177,14 @@ div::-webkit-scrollbar {
color
:
rgba
(
51
,
51
,
51
,
1
);
color
:
rgba
(
51
,
51
,
51
,
1
);
}
}
.element_bg
{
position
:
absolute
;
top
:
0
;
right
:
0
;
bottom
:
0
;
left
:
0
;
}
.class_item
{
.class_item
{
padding
:
0.75rem
;
padding
:
0.75rem
;
}
}
...
@@ -800,3 +814,17 @@ div::-webkit-scrollbar {
...
@@ -800,3 +814,17 @@ div::-webkit-scrollbar {
padding-right
:
0.5rem
;
padding-right
:
0.5rem
;
width
:
2.4375rem
;
width
:
2.4375rem
;
}
}
.vip_buy_price_frame
{
position
:
relative
;
height
:
56px
;
border-radius
:
8px
;
border
:
1px
solid
rgba
(
204
,
204
,
204
,
1
);
}
.vip_buy_price_frame_none
{
position
:
relative
;
height
:
58px
;
border-radius
:
8px
;
border
:
none
;
}
\ No newline at end of file
apps/home/Tpl/default/User/recharge_w3g.html
View file @
b7cd1a3d
...
@@ -29,6 +29,17 @@
...
@@ -29,6 +29,17 @@
<span
class=
"text_16_600 color_333333 self_center"
style=
"margin-left: 0.5rem;"
>
选择时长
</span>
<span
class=
"text_16_600 color_333333 self_center"
style=
"margin-left: 0.5rem;"
>
选择时长
</span>
</div>
</div>
</div>
</div>
<div
class=
"home_list_part layout_h_b"
style=
"margin-top: 0.75rem;"
>
<div
@
click=
"isYear = false"
:class=
"monthFrame"
class=
"layout_center"
>
<van-image
height=
"100%"
width=
"100%"
v-if=
"!isYear"
class=
"element_bg"
src=
"__THEME__/img/KK@3x.png"
></van-image>
<span
class=
"text_16_600"
:class=
"isYear ? 'color_999999' : 'color_primary'"
>
{{monthPrice}}
</span>
</div>
<div
@
click=
"isYear = true"
:class=
"yearFrame"
class=
"layout_center"
>
<van-image
height=
"100%"
width=
"100%"
v-if=
"!isYear"
class=
"element_bg"
src=
"__THEME__/img/KK@3x.png"
></van-image>
<span
class=
"text_16_600"
:class=
"isYear ? 'color_primary' : 'color_999999'"
>
{{yearPrice}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -156,9 +167,18 @@
...
@@ -156,9 +167,18 @@
data
:
function
()
{
data
:
function
()
{
return
{
return
{
type
:
1
,
type
:
1
,
isYear
:
false
,
vips
:
[]
vips
:
[]
}
}
},
},
computed
:
{
monthFrame
:
function
()
{
return
!
this
.
isYear
?
'vip_buy_price_frame_none'
:
'vip_buy_price_frame'
},
yearFrame
:
function
()
{
return
this
.
isYear
?
'vip_buy_price_frame_none'
:
'vip_buy_price_frame'
}
},
created
:
function
(){
created
:
function
(){
this
.
vips
=
{:
json_encode
(
$user_vip
)};
this
.
vips
=
{:
json_encode
(
$user_vip
)};
this
.
vips
.
forEach
(
r
=>
{
this
.
vips
.
forEach
(
r
=>
{
...
...
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