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
436dc694
Commit
436dc694
authored
May 22, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`试卷`
parent
4e7aff54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
99 additions
and
72 deletions
+99
-72
apps/home/Tpl/default/User/account/index_w3g.html
+99
-72
No files found.
apps/home/Tpl/default/User/account/index_w3g.html
View file @
436dc694
<include
file=
"__THEME__/public_header_w3g"
/>
<include
file=
"__THEME__/public_header_w3g"
/>
<style
type=
"text/css"
>
.content_container
{
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0.75rem
;
padding
:
0.75rem
0.75rem
1.5625rem
0.75rem
;
}
.content_container
{
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0.75rem
;
padding
:
0.75rem
0.75rem
1.5625rem
0.75rem
;
}
.input_container
{
margin-top
:
0.5rem
;
}
.input_container
{
margin-top
:
0.5rem
;
}
.input_bottom
{
margin-top
:
0.5rem
;
justify-content
:
space-between
;
}
.input_bottom
{
margin-top
:
0.5rem
;
justify-content
:
space-between
;
}
.withdraw_hint
{
margin-top
:
0.375rem
;
margin-left
:
1rem
;
}
.withdraw_hint
{
margin-top
:
0.375rem
;
margin-left
:
1rem
;
}
>>>
.van-field__control
{
font-size
:
1.25rem
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
}
>>>
.van-field__control
{
font-size
:
1.25rem
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
}
</style>
<div
id=
"app"
>
<div
class=
"layout_v"
>
<div
class=
"content_container layout_v"
>
<div
class=
"layout_v"
>
<div
class=
"content_container layout_v"
>
<div
class=
"input_container layout_h"
>
<div
class=
"layout_v"
>
<div
class=
"text_14_400 color_333333"
>
提现金额
</div>
<div
class=
"layout_h"
>
<div
class=
"color_333333 text_26_600 self_center"
>
¥
</div>
<van-field
:placeholder=
"minWithdraw"
v-model=
"value"
input-align=
"left"
type=
"number"
></van-field>
</div>
</div>
<div
class=
"self_center layout_h_r weight_full"
>
<div
@
click=
"onAll"
class=
"text_14_400 color_primary self_center"
>
全部提现
</div>
</div>
</div>
<div
class=
"divider"
></div>
<div
class=
"input_bottom layout_h"
>
<div>
<span
class=
"text_14_400 color_333333"
>
当前余额:¥
<span
class=
"text_14_400 color_EF4339"
>
{{current}}
</span>
,最大可提现:¥
<span
class=
"text_14_400 color_EF4339"
>
{{max}}
</span></span>
</div>
</div>
</div>
<div
@
click=
"onWithdraw"
class=
"confirm_button layout_h_c"
>
<span
class=
"text_14_600 self_center color_white"
>
确认提现
</span>
</div>
</div>
<div
class=
"input_container layout_h"
>
<div
class=
"layout_v"
>
<div
class=
"text_14_400 color_333333"
>
提现金额
</div>
<div
class=
"layout_h"
>
<div
class=
"color_333333 text_26_600 self_center"
>
¥
</div>
<van-field
:placeholder=
"minWithdraw"
v-model=
"value"
input-align=
"left"
type=
"number"
></van-field>
</div>
</div>
<div
class=
"self_center layout_h_r weight_full"
>
<div
@
click=
"onAll"
class=
"text_14_400 color_primary self_center"
>
全部提现
</div>
</div>
</div>
<div
class=
"divider"
></div>
<div
class=
"input_bottom layout_h"
>
<div>
<span
class=
"text_14_400 color_333333"
>
当前余额:¥
<span
class=
"text_14_400 color_EF4339"
>
{{current}}
</span>
,最大可提现:¥
<span
class=
"text_14_400 color_EF4339"
>
{{max}}
</span></span>
</div>
</div>
</div>
<div
@
click=
"onWithdraw"
class=
"confirm_button layout_h_c"
>
<span
class=
"text_14_600 self_center color_white"
>
确认提现
</span>
</div>
</div>
</div>
<script>
new
Vue
({
el
:
"#app"
,
data
:
function
()
{
return
{
value
:
""
,
min
:
1
,
current
:
"{$balance}"
,
max
:
5000
}
},
computed
:
{
minWithdraw
:
function
()
{
return
'最低满'
+
this
.
min
+
'可提现'
}
},
methods
:
{
onWithdraw
:
function
()
{
},
onAll
:
function
()
{
this
.
value
=
this
.
max
}
}
})
new
Vue
({
el
:
"#app"
,
data
:
function
()
{
return
{
value
:
""
,
min
:
1
,
current
:
"{$balance}"
,
max
:
5000
}
},
computed
:
{
minWithdraw
:
function
()
{
return
'最低满'
+
this
.
min
+
'可提现'
}
},
methods
:
{
onWithdraw
:
function
()
{
let
_this
=
this
;
$
.
ajax
({
type
:
"POST"
,
url
:
"{:U('home/User/applySpiltWithdraw')}"
,
data
:
"tw_type='wxpay'&exchange_balance="
+
_this
.
value
+
"&card_id="
,
dataType
:
"json"
,
success
:
function
(
res
)
{
if
(
typeof
(
res
)
!=
'object'
)
{
try
{
res
=
JSON
.
parse
(
res
);
}
catch
(
e
)
{
ui
.
error
(
"处理异常,请稍后再试"
);
return
;
}
}
if
(
res
.
status
==
1
)
{
ui
.
success
(
res
.
info
);
setTimeout
(
function
()
{
location
.
reload
();
},
1000
);
}
else
{
ui
.
error
(
res
.
info
);
}
}
});
},
onAll
:
function
()
{
this
.
value
=
this
.
current
}
}
})
</script>
<include
file=
"__THEME__/public_footer_w3g"
/>
<include
file=
"__THEME__/public_footer_w3g"
/>
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