Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education-web
提交
88dd2d22
R
roncoo-education-web
项目概览
roncoo
/
roncoo-education-web
9 个月 前同步成功
通知
98
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education-web
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
88dd2d22
编写于
3月 25, 2019
作者:
L
liumj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹窗问题
上级
7a5cb18b
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
10 deletion
+10
-10
components/ActivityPayModal.vue
components/ActivityPayModal.vue
+4
-4
components/PayModal.vue
components/PayModal.vue
+1
-1
components/course/Syllabus.vue
components/course/Syllabus.vue
+1
-1
components/course/VideoModal.vue
components/course/VideoModal.vue
+1
-1
components/course/WatchVideo.vue
components/course/WatchVideo.vue
+3
-3
未找到文件。
components/ActivityPayModal.vue
浏览文件 @
88dd2d22
...
...
@@ -157,7 +157,7 @@
that
.
getOrderInfo
(
res
.
data
.
orderNo
)
}
else
{
if
(
res
.
code
>=
300
&&
res
.
code
<
400
)
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
res
.
msg
,
isShowCancelBtn
:
false
}).
then
(()
=>
{
...
...
@@ -166,7 +166,7 @@
this
.
$router
.
push
({
name
:
'
login
'
})
}).
catch
(()
=>
{})
}
else
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
res
.
msg
,
isShowCancelBtn
:
false
}).
then
(()
=>
{
...
...
@@ -177,7 +177,7 @@
}
}
}).
catch
(()
=>
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
提交失败,请重试
'
,
isShowCancelBtn
:
false
})
...
...
@@ -223,7 +223,7 @@
}
console
.
log
(
this
.
money
)
if
(
this
.
money
<=
0
)
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
活动异常,请联系客服
'
,
isShowCancelBtn
:
false
}).
then
(()
=>
{
...
...
components/PayModal.vue
浏览文件 @
88dd2d22
...
...
@@ -212,7 +212,7 @@
}
else
if
(
res
.
data
.
orderStatus
===
2
)
{
if
(
that
.
order
.
courseType
===
3
)
{
this
.
close
();
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
购买成功
'
,
isShowCancelBtn
:
false
}).
then
(
res
=>
{
...
...
components/course/Syllabus.vue
浏览文件 @
88dd2d22
...
...
@@ -51,7 +51,7 @@ export default {
return
false
;
}
if
(
!
item
.
isFree
)
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
购买后才可以下载
'
,
isShowCancelBtn
:
false
}).
then
(()
=>
{
...
...
components/course/VideoModal.vue
浏览文件 @
88dd2d22
...
...
@@ -49,7 +49,7 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
play
(
Object
.
assign
({
vid
:
vid
},
res
.
data
));
}
else
if
(
res
.
code
===
402
)
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
购买后才可以观看
'
,
isShowCancelBtn
:
false
})
...
...
components/course/WatchVideo.vue
浏览文件 @
88dd2d22
...
...
@@ -44,8 +44,8 @@
<dl
v-for=
"(one, index) in courseInfo.chapterList"
:key=
"index"
>
<dt>
第
{{
index
+
1
}}
章:
{{
one
.
chapterName
}}
</dt>
<dd
v-for=
"(two, num) in one.periodList"
:key=
"num"
:class=
"
{on : nowNo == two.id}" @click="videoPlay(two)">
<i
class=
"iconfont"
>

</i><span>
第
{{
num
+
1
}}
讲:
</span>
{{
two
.
periodName
}}
<span
class=
"no_video2"
v-if=
"!two.
periodVideoDTOList || !two.periodVideoDTOList.length
"
>
(未更新)
</span>
<span
class=
"c_blue"
v-if=
"
courseInfo.isFree ||
two.isFree"
>
(免费)
</span>
<span
class=
"no_video2"
v-if=
"!two.
videoVid
"
>
(未更新)
</span>
<span
class=
"c_blue"
v-if=
"two.isFree"
>
(免费)
</span>
</dd>
</dl>
</div>
...
...
@@ -107,7 +107,7 @@ export default {
return
false
;
}
if
(
!
item
.
isFree
)
{
this
.
$msgBox
.
showMsgBox
({
this
.
$msgBox
({
content
:
'
购买后才可以下载
'
,
isShowCancelBtn
:
false
}).
then
(()
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录