Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
db895317
提交
db895317
authored
8月 28, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
购买页面修改
上级
97aab631
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
56 行增加
和
6 行删除
+56
-6
bottom-btn-ios.png
src/assets/images/pay/bottom-btn-ios.png
+0
-0
top-bj-ios.png
src/assets/images/pay/top-bj-ios.png
+0
-0
top-btn-ios.png
src/assets/images/pay/top-btn-ios.png
+0
-0
index.vue
src/pages/pay/index.vue
+28
-3
payPage.vue
src/pages/pay/payPage.vue
+28
-3
没有找到文件。
src/assets/images/pay/bottom-btn-ios.png
0 → 100644
浏览文件 @
db895317
12.3 KB
src/assets/images/pay/top-bj-ios.png
0 → 100644
浏览文件 @
db895317
81.0 KB
src/assets/images/pay/top-btn-ios.png
0 → 100644
浏览文件 @
db895317
12.6 KB
src/pages/pay/index.vue
浏览文件 @
db895317
<
template
>
<div
class=
"pay-bg2"
>
<div
class=
"top-view"
>
<img
src=
"../../assets/images/pay/top-bj.png"
alt=
""
class=
"bj"
>
<img
src=
"../../assets/images/pay/top-btn.png"
alt=
""
class=
"btn"
@
click=
"goPay"
>
<img
src=
"../../assets/images/pay/top-bj.png"
alt=
""
class=
"bj"
v-if=
"!isSystem"
>
<img
src=
"../../assets/images/pay/top-bj-ios.png"
alt=
""
class=
"bj"
v-if=
"isSystem"
>
<img
src=
"../../assets/images/pay/top-btn.png"
alt=
""
class=
"btn"
@
click=
"goPay"
v-if=
"!isSystem"
>
<img
src=
"../../assets/images/pay/top-btn-ios.png"
alt=
""
class=
"btn"
@
click=
"goPayIos"
v-if=
"isSystem"
>
<img
src=
"../../assets/images/pay/c1.png"
alt=
""
class=
"content"
>
</div>
<div
class=
"main-cen"
>
...
...
@@ -11,7 +13,7 @@
<img
src=
"../../assets/images/pay/c4.png"
alt=
""
class=
"c4"
>
<img
src=
"../../assets/images/pay/c5.png"
alt=
""
class=
"c5"
>
</div>
<div
class=
"btn-box"
>
<div
class=
"btn-box"
v-if=
"!isSystem"
>
<div
class=
"text"
>
<div
class=
"fle"
>
<div
class=
"l"
>
特惠价
</div>
...
...
@@ -26,6 +28,7 @@
<div
class=
"btn"
v-if=
"orderStatus === -1"
@
click=
"goMyOrder"
>
待支付
</div>
<div
class=
"btn"
@
click=
"goPay"
v-if=
"orderStatus === 0"
>
续费
</div>
</div>
<img
@
click=
"goPayIos"
src=
"../../assets/images/pay/bottom-btn-ios.png"
alt=
""
class=
"b-b-i"
v-if=
"isSystem"
>
<!--
<img
src=
"../../assets/images/pay1.png"
alt
/>
<img
src=
"../../assets/images/pay2.png"
alt
/>
<div
class=
"img-con"
>
...
...
@@ -72,6 +75,7 @@ export default {
?
'6684359515615264768'
:
'6682927830365372416'
return
{
isSystem
:
1
,
isPopShow
:
false
,
expireDay
:
0
,
userId
:
''
,
...
...
@@ -86,6 +90,9 @@ export default {
orderStatus
:
100
}
},
created
()
{
this
.
appSource
()
},
mounted
()
{
api
.
getOrderStatus
().
then
(
res
=>
{
this
.
expireDay
=
res
.
expire_day
...
...
@@ -93,6 +100,18 @@ export default {
})
},
methods
:
{
goPayIos
()
{},
appSource
()
{
const
u
=
navigator
.
userAgent
const
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
if
(
isiOS
)
{
// this.$utils.msgshow('ios')
this
.
isSystem
=
1
}
else
{
// this.$utils.msgshow('安卓')
this
.
isSystem
=
0
}
},
imagePreview
()
{
ImagePreview
([
'https://zws-imgs-pub.ezijing.com/static/public/dcef7bc62237a077b10d7e49c44a1e51.jpg'
])
},
...
...
@@ -304,4 +323,10 @@ export default {
}
}
}
.b-b-i
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
}
</
style
>
src/pages/pay/payPage.vue
浏览文件 @
db895317
<
template
>
<div
class=
"pay-bg2"
>
<div
class=
"top-view"
>
<img
src=
"../../assets/images/pay/top-bj.png"
alt=
""
class=
"bj"
>
<img
src=
"../../assets/images/pay/top-btn.png"
alt=
""
class=
"btn"
@
click=
"goPay"
>
<img
src=
"../../assets/images/pay/top-bj.png"
alt=
""
class=
"bj"
v-if=
"!isSystem"
>
<img
src=
"../../assets/images/pay/top-bj-ios.png"
alt=
""
class=
"bj"
v-if=
"isSystem"
>
<img
src=
"../../assets/images/pay/top-btn.png"
alt=
""
class=
"btn"
@
click=
"goPay"
v-if=
"!isSystem"
>
<img
src=
"../../assets/images/pay/top-btn-ios.png"
alt=
""
class=
"btn"
@
click=
"goPayIos"
v-if=
"isSystem"
>
<img
src=
"../../assets/images/pay/c1.png"
alt=
""
class=
"content"
>
</div>
<div
class=
"main-cen"
>
...
...
@@ -11,7 +13,7 @@
<img
src=
"../../assets/images/pay/c4.png"
alt=
""
class=
"c4"
>
<img
src=
"../../assets/images/pay/c5.png"
alt=
""
class=
"c5"
>
</div>
<div
class=
"btn-box"
>
<div
class=
"btn-box"
v-if=
"!isSystem"
>
<div
class=
"text"
>
<div
class=
"fle"
>
<div
class=
"l"
>
特惠价
</div>
...
...
@@ -26,6 +28,7 @@
<div
class=
"btn"
v-if=
"orderStatus === -1"
@
click=
"goMyOrder"
>
待支付
</div>
<div
class=
"btn"
@
click=
"goPay"
v-if=
"orderStatus === 0"
>
续费
</div>
</div>
<img
@
click=
"goPayIos"
src=
"../../assets/images/pay/bottom-btn-ios.png"
alt=
""
class=
"b-b-i"
v-if=
"isSystem"
>
<!--
<img
src=
"../../assets/images/pay1.png"
alt
/>
<img
src=
"../../assets/images/pay2.png"
alt
/>
<div
class=
"img-con"
>
...
...
@@ -72,6 +75,7 @@ export default {
?
'6684359515615264768'
:
'6682927830365372416'
return
{
isSystem
:
1
,
isPopShow
:
false
,
expireDay
:
0
,
userId
:
''
,
...
...
@@ -86,6 +90,9 @@ export default {
orderStatus
:
100
}
},
created
()
{
this
.
appSource
()
},
mounted
()
{
api
.
getOrderStatus
().
then
(
res
=>
{
this
.
expireDay
=
res
.
expire_day
...
...
@@ -93,6 +100,18 @@ export default {
})
},
methods
:
{
goPayIos
()
{},
appSource
()
{
const
u
=
navigator
.
userAgent
const
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
if
(
isiOS
)
{
// this.$utils.msgshow('ios')
this
.
isSystem
=
1
}
else
{
// this.$utils.msgshow('安卓')
this
.
isSystem
=
0
}
},
imagePreview
()
{
ImagePreview
([
'https://zws-imgs-pub.ezijing.com/static/public/dcef7bc62237a077b10d7e49c44a1e51.jpg'
])
},
...
...
@@ -304,4 +323,10 @@ export default {
}
}
}
.b-b-i
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
width
:
100%
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论