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
9d012045
Commit
9d012045
authored
Jun 02, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
4b1d0d35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
225 deletions
+75
-225
apps/course/Tpl/default/PayVideo/index_w3g.html
+75
-225
No files found.
apps/course/Tpl/default/PayVideo/index_w3g.html
View file @
9d012045
<include
file=
"__THEME__/public_header_w3g"
/>
<include
file=
"__THEME__/public_header_w3g"
/>
<link
href=
"__APP__/css/pay_video_3g.css"
rel=
"stylesheet"
>
<link
href=
"__APP__/css/pay_video_3g.css"
rel=
"stylesheet"
>
<style>
<style>
...
@@ -6,276 +6,126 @@
...
@@ -6,276 +6,126 @@
</style>
</style>
<div
className=
"body"
>
<div
class=
"body"
>
<div
className=
"wrap"
>
<div
class=
"wrap"
>
<div
className=
"min-height-wrap"
>
<div
class=
"min-height-wrap"
>
<div
className=
"class_order_tit"
>
核对订单信息
</div>
<div
class=
"class_order_tit"
>
核对订单信息
</div>
<!--商品信息-->
<!--商品信息-->
<dl
className=
"df_course-info"
>
<dl
class=
"df_course-info"
>
<dt><h3>
商品信息
<dt><h3>
商品信息
</h3></dt>
</h3></dt>
<dd>
<dd>
<if
<if
condition=
"$pay_video_type eq 'zy_video'"
>
condition=
"$pay_video_type eq 'zy_video'"
>
<a
href=
"{:U('course/Video/view',['id'=>$id])}"
>
<a
href=
"{:U('course/Video/view',['id'=>$id])}"
>
<
<elseif
condition=
"$pay_video_type eq 'zy_live'"
/>
elseif
condition=
"$pay_video_type eq 'zy_ive'"
/>
<a
href=
"{:U('live/Index/view',['id'=>$id])}"
>
<a
href=
"{:U('live/Index/view',['id'=>$id])}"
>
<elseif
condition=
"$pay_video_type eq 'zy_a
bum'"
/>
<elseif
condition=
"$pay_video_type eq 'zy_al
bum'"
/>
<a
href=
"{:U('course/Album/view',['id'=>$id])}"
>
<a
href=
"{:U('course/Album/view',['id'=>$id])}"
>
<elseif
condition=
"$pay_video_type eq 'zy_line_co
rse'"
/>
<elseif
condition=
"$pay_video_type eq 'zy_line_cou
rse'"
/>
<a
href=
"{:U('course/Album/view',['id'=>$id])}"
>
<a
href=
"{:U('course/Album/view',['id'=>$id])}"
>
<elseif
condition=
"$pay_video_type eq 'zy_cla
ses'"
/>
<elseif
condition=
"$pay_video_type eq 'zy_clas
ses'"
/>
<a
href=
"{:U('course/Classes/view',['id'=>$id])}"
>
<a
href=
"{:U('course/Classes/view',['id'=>$id])}"
>
</if>
</if>
<span>
<span>
<img
src=
"{:getCover($cover,220,130)}"
width=
"120"
height=
"70"
alt=
"{$video_title}"
>
<img
src=
"{:getCover($cover,220,130)}"
width=
"120"
height=
"70"
alt=
"{$video_title}"
>
</span>
</span>
<h3>
<h3>
{$video_title|mS
{$video_title|mStr=20}
<if
condition=
"$course_hour_info"
>
- {$course_hour_info['title']|mStr=20}
</if>
tr=20}
<if
condition=
"$course_hour_info"
>
- {$course_hour_info['title']|mStr=20}
</if>
<p>
¥
<if
condition=
"$course_hour_info"
>
{$course_hour_info['course_hour_price']}
<else/>
<p>
¥
<if
condition=
"$course_hour_info"
>
{$course_hour_info['course_hour_pr
<if
condition=
"$is_event"
>
{$moner_data['selPrice']}
<else/>
{$moner_data['oriPrice']}
</if>
ice']}
<else/>
<if
condition=
"$is_event"
>
{$moner_data['selPr
ice']}
<
else/>
{$moner_data['oriPr
ice']}
</if>
</if></p>
</if></p>
</h3>
</h3>
</a
</a>
>
</dd>
</dd>
</dl>
<!--支付方式-->
</dl>
<dl
className=
"df
style"
>
<dt><h3>
支付方式
</
h3></dt>
<php>
if($is_wx){unset($payWay['支付宝支付']);}$firstPayWay = curren
yWay);
</php>
<if
condition=
"in_array('alipay',$payConfig['pay']) and ($
eq false)"
>
<dd
value=
"alipay"
className=
"paytype"
><a
className=
"icon icon-zhi
ubao1"
></a><span
className=
"name"
>
支付宝
</span><if
condition=
"$firstPayWay eq alipay"
><i
className=
"icon icon-
xuanze"
></
i></if
></dd>
</if>
<if
condition=
"in_array(
<!--支付方式-->
',$payConfig['pay'])"
>
<dl
class=
"df_pay-style"
>
<dd
value=
"wxpay"
className=
"paytype"
><a
className=
"icon
<dt><h3>
支付方式
</h3></dt>
con-weixinzhifu1"
></a><span
cl
<php>
if($is_wx){unset($payWay['支付宝支付']);}$firstPayWay = current($payWay);
</php>
ssName=
"name"
>
微信支付
</span><i
className=
"<if condition='$is_wx or $firstPayWay eq wx
<if
condition=
"in_array('alipay',$payConfig['pay']) and ($is_wx eq false)"
>
ay '>icon icon-xuanze</if>"
style=
"border: 1px solid rgb(237
<dd
value=
"alipay"
class=
"paytype"
><a
class=
"icon icon-zhifubao1"
></a><span
class=
"name"
>
支付宝
</span><if
condition=
"$firstPayWay eq alipay"
><i
class=
"icon icon-xuanze"
></i></if></dd>
, 237, 237);"
></i></dd>
</if>
</if>
<if
condition=
"in_arra
<if
condition=
"in_array('wxpay',$payConfig['pay'])"
>
onpay',$payConfig['pay'])"
>
<dd
value=
"wxpay"
class=
"paytype"
><a
class=
"icon icon-weixinzhifu1"
></a><span
class=
"name"
>
微信支付
</span><i
class=
"<if condition='$is_wx or $firstPayWay eq wxpay '>icon icon-xuanze</if>"
style=
"border: 1px solid rgb(237, 237, 237);"
></i></dd>
<!--<s
al="u
y">银联支付</span>-->
</if>
</if>
<if
condition=
"in_ar
<if
condition=
"in_array('unionpay',$payConfig['pay'])"
>
cnpay',$payConfig['pay'])"
>
<!--<span val="unionpay">银联支付</span>-->
<dd
value=
"lcnpay"
className=
"paytype"
><a
className=
"icon icon-qianbao"
></a><span
className=
"name"
>
<!-- <img style="width: 24px;position: relative;top: -4px;left: -1%" src="__APP__/icon/yue.png" alt="图标"/> -->
余
</if>
支付(¥{$account_balance})
</span><i
className=
"<if condition='($firstPayWay eq lcnpay)'
icon
nze</if>"
>
</i></dd>
<if
condition=
"in_array('lcnpay',$payConfig['pay'])"
>
<dd
value=
"lcnpay"
class=
"paytype"
><a
class=
"icon icon-qianbao"
></a><span
class=
"name"
>
<!-- <img style="width: 24px;position: relative;top: -4px;left: -1%" src="__APP__/icon/yue.png" alt="图标"/> -->
余额支付(¥{$account_balance})
</span><i
class=
"<if condition='($firstPayWay eq lcnpay)'>icon icon-xuanze</if>"
></i></dd>
</if>
</if>
</dl>
</dl>
<!--优惠券-->
<!--优惠券-->
<if
condition=
"$is_asb OR ($pay_order AND $used_coupon)"
<if
condition=
"$is_asb OR ($pay_order AND $used_coupon)"
>
<!-- 拼团无优惠券 --><!-- 砍价成功无优惠券 -->
>
<!-- 拼团无优惠券 --><!-- 砍价成功无优惠券 -->
<elseif
condition=
"$show_coupon eq 1 and $course_hour_info eq null"
/>
<elseif
condition=
"$showco
<dl
class=
"df_pay-coupon"
>
eq 1 and $course_hour_info eq null"
<a
href=
"{:U('course/PayVideo/coupon',['id'=>$id, 'vst'=>$coupon_vst, 'asb'=>$_GET['asb']])}"
>
/>
<dl
className=
"df_pay-coupon"
>
<a
href=
"{:U('course/PayVideo/coupon',['id'=>$
t'=>$coupon_vst, 'asb
T['a
sb'
]])}"
>
<dt><h3>
优惠券
</h3></dt>
<dt><h3>
优惠券
</h3></dt>
<dd><p><if
condit
<dd><p><if
condition=
"$videoCoupon or $discount or $courseCard"
>
有
<else/>
无
</if>
可用优惠券
<i
class=
"icon icon-youjiantou"
></i></p></dd>
ion=
"$v
i
deoCo
upon or $discount or $courseCard"
>
有
<else/>
无
</if>
可
用优惠券
<i
cla
e=
"ic
con-y
ntou"
></i></p>
</dd>
</a>
</a>
</dl>
</dl>
</
</if>
if>
<!--实付金额-->
<!--实付金额-->
<dl
clas
<dl
class=
"df_pay-price"
>
sName=
"df_pay-price"
>
<dd><h3>
实付金额
</h3><p
id=
"pay_money"
>
¥
<if
condition=
"$course_hour_info"
>
{$course_hour_info['course_hour_price']}
<else/>
{$moner_data['price']}
</if></p></dt>
<dd><h3>
实付金额
</h3><p
id=
"pay_money"
>
¥
<if
conditio
<if
condition=
"in_array($pay_video_type, ['zy_video','zy_live','zy_classes']) and $chd eq 0"
>
n=
"$cou
<dd><h3>
优惠折扣
</h3><p
id=
"cod_money1"
>
-¥
<if
condition=
"$is_event"
>
{$moner_data['selPrice'] - $moner_data['price']}
<else/>
{$moner_data['oriPrice']- $moner_data['price']}
</if></p></dd>
rse_hour_info"
>
{$cours
e_hou
r_in
fo['c
_hour_price']}
<else/>
{$moner_data['price']}
</if></p></dt>
<if
condition=
"in_array($pay_vi
pe, ['zy_video','
zy_live','zy_classes'
]) and $chd eq 0"
>
<dd><h3>
优惠折扣
</h3><p
id=
"cod_money1"
>
-¥
<if
condition
=
"$is_e
vent"
>
{$moner_data['selPrice'] - $moner_data['
price
']}
<
else/>
{$mo
data[
rice']- $mo
data['price']}
</if></p></dd>
</if>
</if>
</dl>
</dl>
<!--购买协议-->
<!--购买协议-->
<div
className=
"df_pay-proto
<div
class=
"df_pay-protocol"
>
ol"
>
<p><i
class=
"icon icon-xuanze"
attr=
"1"
></i>
我已阅读并同意
<a
href=
"{:U('basic/Single/info',array('id'=>'buy'))}"
>
《{$site['site_keyword']}购买协议》
</a></p>
<p><i
className=
"icon icon-xuanze"
attr=
"1"
></i>
我已阅读并同意
<a
href=
"{:U('basic/Singl
fo',ar
id'=>'buy'))}"
>
《{$site['site_keyword']}购买协议》
</a></p>
</div>
</div>
<!--提交订单-->
<!--提交订单-->
<div
className=
"df_pay-buy"
>
<div
class=
"df_pay-buy"
>
<h3>
合计:
<strong
id=
"pay_money2"
<h3>
合计:
<strong
id=
"pay_money2"
>
¥
<if
condition=
"$course_hour_info"
>
{$course_hour_info['course_hour_price']}
<else/>
{$moner_data['price']}
</if></strong></h3>
>
¥
<if
c
<a
href=
"javascript:;"
onclick=
"buyOperat(this,{$id},'video');"
type=
"submit"
>
提交
</a>
ondition=
"$course_hour
_info
"
>
{$course_hou
o['course_hour_price']}
<else/>
{$moner_data['price']}
</if></strong></h3>
<a
href=
"
javas
t:;"
onClick=
"buyOperat(this,{$id},'video');"
type=
"submit"
>
提交
</a>
</div>
</div>
<form
<form
action=
"{:U('course/PayVideo/payLibrary')}"
method=
"POST"
id=
"pay_video_form"
>
action=
"{:U('course/PayVideo/payLibrary')}"
method=
"
<input
type=
"hidden"
value=
"{$id}"
name=
"vid"
/>
POST"
id=
"pay_video_form"
>
<input
type=
"hidden"
value=
"1"
name=
"discount_type"
/>
<input
type=
"hiden"
<input
type=
"hidden"
value=
"{$coupon_use_id}"
name=
"coupon_id"
id=
"coupon_id"
/>
value=
"{$id}"
name=
"vid"
/>
<input
type=
"hidden"
value=
"{$_SESSION['mid']}"
name=
"mid"
/>
<input
type=
"hidden"
value=
"1"
name=
"discout_type"
/>
<input
type=
"hidden"
name=
"mount_mhm_id"
value=
"{$mount_mhm_id}"
/>
<input
type=
"hidden"
value=
"{$coupon_use_id}"
name=
"
<input
type=
"hidden"
value=
"{$agent_mhm_id}"
name=
"agent_mhm_id"
/>
coupon_id"
id=
"coupon_id"
/>
<input
type=
"hidden"
name=
"asb"
value=
"{$asb}"
>
<input
type=
"hidden"
value=
"{$_ES
<input
type=
"hidden"
name=
"event"
value=
"{$event_id}"
>
'mid']}"
name=
"mid"
/>
<input
type=
"hidden"
value=
"{$pay_video_type}"
name=
"check_type"
/>
<input
type=
"hidden"
name=
"mount_mhm_d"
<input
type=
"hidden"
value=
"{$video_title}"
name=
"title"
/>
value=
"{$mount_mhm_id}"
/>
<if
condition=
"in_array($pay_video_type,['zy_video','zy_live','zy_classes'])"
>
<input
type=
"hidden"
<input
type=
"hidden"
value=
"{$course_hour_info['id']}"
name=
"course_hour_id"
/>
value=
"{$agent_mhm_id}"
name=
"agent_mhm_id"
/>
<
input
type=
"hidden"
name=
"asb"
value=
"{$asb}"
>
<input
type=
"
hidden"
name=
"event"
value=
"{$event_id}"
>
<input
type=
"
hidden"
value=
"{$pay_video_type}"
name=
"check_type"
/>
<input
type=
"hidden"
value=
"{$video_title}"
name=
"title"
/>
<if
condition=
"in_array($pay_vieo
,['zy
o','zy_live','zy_classes'])"
>
<input
type=
"hidden"
value=
"{$course_hur
_info['id']}"
name=
"course_hour_id"
/>
</if>
</if>
<php>
if($_GET['order']){
</php><input
type=
"hidden"
<php>
if($_GET['order']){
</php><input
type=
"hidden"
value=
"1"
name=
"order"
/><php>
}
</php>
<input
type=
"hidden"
id=
"pay_money_val"
value=
"{$moner_data['price']}"
name=
"money"
/>
value=
"1"
name=
"order"
/><php>
}
</php>
<input
type=
"hidden"
<if
condition=
"$is_wx and in_array('wxpay',$payConfig['pay'])"
>
id=
"pay_money_val"
value=
"{$moner_data['pice']}"
<input
type=
"hidden"
value=
"wxpay"
name=
"pay"
/>
name=
"
money"
/>
<if
condition=
"$is_wx and in_arra
y',$payConfig['pay'])"
>
<input
type=
"hiden"
value=
"wxpay"
name=
"pay
"
/>
<else/>
<else/>
<volist
name=
"payWay"
id=
"vo"
<volist
name=
"payWay"
id=
"vo"
offset=
"0"
length=
"1"
>
offset=
"0
<input
type=
"hidden"
value=
"{$vo}"
name=
"pay"
/>
"
l
</volist>
gth=
"1"
>
<input
type=
"hidden"
value=
"{$vo}"
name=
"pay
"
/>
</vol
ist
>
</if>
</if>
<input
type=
"hidden"
val
<input
type=
"hidden"
value=
"{$_GET['vst']}"
name=
"vst"
/>
ue=
"{$_GET['vst
']}"
name=
"vst"
/>
</form>
</form>
</d
iv
>
</div>
</div>
</
</div>
div>
</
div>
<if
condition=
"$is_wx eq false"
>
<if
condition=
"$is_wx eq false"
>
<style>
<style>
#_ts_box_h5
{
width
:
290px
;
height
:
180px
;
text-align
:
center
;
colo
#_ts_box_h5
{
width
:
290px
;
height
:
180px
;
text-align
:
center
;
color
:
#535353
;
border-radius
:
5px
;
position
:
fixed
;
background
:
#fff
;
-webkit-box-shadow
:
0
2px
5px
#dddddd
;
-moz-box-shadow
:
0
2px
5px
#dddddd
;
-khtml-box-shadow
:
0
2px
5px
#dddddd
;
-ms-box-shadow
:
0
0
15px
#888888
;
box-shadow
:
0
0
15px
#888888
;
z-index
:
997
;
left
:
5%
;
top
:
35%
;
margin
:
0
auto
;
background
:
#fff
;}
r
:
#535353
;
border-radius
:
5px
;
pos
._hide_box_h5
{
z-index
:
996
;
filter
:
alpha
(
opacity
=
50
);
background
:
#666
;
opacity
:
0.5
;
-moz-opacity
:
0.5
;
left
:
0
;
top
:
0
;
height
:
99%
;
width
:
100%
;
position
:
fixed
;}
ition
:
fixed
;
background
:
#fff
;
-webkit-box-
#_ts_box_h5
._box_hd
{
padding
:
20px
0px
;
color
:
black
;
font-size
:
16px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.16
);}
shadow
:
0
2px
5px
#dddddd
;
-moz-box
#_layer-content
{
padding
:
15px
0px
;
color
:
rgba
(
255
,
35
,
0
,
0.69
);
font-size
:
16px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);}
-shadow
:
0
2px
5
p
._layer-wt
{
padding
:
15px
0px
;
color
:
#908d8d
;
font-size
:
16px
;}
x
#dddddd
;
-khtm
l
</style>
-box-sha
dow
:
0
2px
5px
#dddddd
;
-ms-box
-shadow
:
0
0
15px
#888888
;
box-
shadow
:
0
0
15px
#
88888
8
;
z-in
de
x
:
997
;
left
:
5%
;
t
op
:
3
5%
;
margin
:
0
au
to
;
background
:
#fff
;}
._hide_box_h5
{
z-
index
:
996
;
fil
ter
:
alpha
(
opacit
y
=
50
);
background
:
#666
;
opacity
:
0.5
;
-moz-opaci
ty
:
0.5
;
left
:
0
;
to
p
:
0
;
height
:
99%
;
widt
h
:
100%
;
position
:
fixed
;}
#_ts
_box_h5
._box_hd
{
padding
:
20px
0px
;
color
:
black
;
font-size
:
1
6px
;
border-
b
ottom
:
1px
solid
r
gba
(
0
,
0
,
0
,
0
.
16
);}
#_layer-
c
tent
{
pad
ng
:
15px
0px
;
color
:
rgba
(
255
,
35
,
0
,
0.69
);
font-size
:
16px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.1
);}
._layer-wt
{
pdding
:
15px
0px
;
color
:
#908d8d
;
font-size
:
16px
;}
</style
>
<div
class=
"_hide_box_h5"
style=
"display: none;"
></div>
<div
class=
"_hide_box_h5"
style=
"display: none;"
></div>
<div
id=
"_ts_box_h5"
style=
"display: none;"
>
<div
id=
"_ts_box_h5"
style=
"display: none;"
>
<div
class=
"_box_hd"
>
请确认微信支付是否完成
</div>
<div
class=
"_box_hd"
>
请确认微信支付是否完成
</div>
...
...
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