Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-old
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-old
Commits
98fa0f4d
提交
98fa0f4d
authored
5月 21, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改师资培训报名相关文字和报名表单
上级
adbb0730
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
51 行增加
和
18 行删除
+51
-18
screenTabs.vue
src/components/tabs/screenTabs.vue
+7
-2
item.vue
src/pages/train/components/item.vue
+9
-4
payPop.vue
src/pages/train/components/payPop.vue
+1
-1
detail.vue
src/pages/train/detail.vue
+2
-2
form.vue
src/pages/train/form.vue
+0
-0
index.vue
src/pages/train/index.vue
+32
-9
没有找到文件。
src/components/tabs/screenTabs.vue
浏览文件 @
98fa0f4d
<
template
>
<div
class=
"tabs-box"
>
<div
class=
"name"
>
{{
data
.
nam
e
}}
</div>
<div
class=
"name"
>
{{
data
.
titl
e
}}
</div>
<ul>
<template
v-for=
"(item, index) in data.options"
>
<li
...
...
@@ -18,18 +18,23 @@ export default {
data
:
{
type
:
Object
,
default
:
{}
},
activeIndex
:
{
type
:
Number
,
default
:
0
}
},
components
:
{
},
data
()
{
return
{
tabsIndex
:
0
tabsIndex
:
this
.
activeIndex
}
},
methods
:
{
tabs
(
n
)
{
this
.
tabsIndex
=
n
this
.
$emit
(
'update:activeIndex'
,
n
)
}
}
}
...
...
src/pages/train/components/item.vue
浏览文件 @
98fa0f4d
<
template
>
<div
class=
"item-box"
>
<img
:src=
"data.
cover_pc_url
"
alt=
""
>
<img
:src=
"data.
imgUri
"
alt=
""
>
<div
class=
"right-content"
>
<div
class=
"title"
>
{{
data
.
title
}}
</div>
<!-- v-html="data.additional" -->
<div
class=
"des-box"
>
<!--
<p
class=
"ind"
>
计划时间:3.24-3.26
</p>
-->
<p>
计划时间:
4月23日-4月25日
</p>
<p>
计划时间:
{{
data
.
time
}}
</p>
<!--
<p
class=
"ind"
>
ISBN:基础数据维护及档案管理
</p>
-->
<p>
计划人数:
100
</p>
<p>
计划人数:
{{
data
.
count
}}
</p>
</div>
<router-link
:to=
"`/train/detail?id=
$
{data.id}`
">
<router-link
:to=
"`/train/detail?id=
69`"
v-if=
"data.activeIndex === 1
"
>
<div
class=
"detail-btn"
>
在线报名
</div>
</router-link>
<div
class=
"detail-btn"
v-if=
"data.activeIndex === 2"
>
敬请期待
</div>
<div
class=
"detail-btn finished"
v-if=
"data.activeIndex === 3"
>
圆满结束
</div>
</div>
<!--
<div
class=
"right-time"
>
<div
class=
"week"
>
{{
setDate
(
'w'
)
}}
</div>
...
...
@@ -91,6 +93,9 @@ export default {
border-radius
:
4px
;
margin-top
:
16px
;
}
.finished
{
background
:
#a9a3a9
;
}
}
}
.right-time
{
...
...
src/pages/train/components/payPop.vue
浏览文件 @
98fa0f4d
...
...
@@ -8,7 +8,7 @@
</div>
<div
class=
"tips-cen mar-t-20"
>
<div
class=
"name"
>
费
用:
</div>
<div
class=
"money"
>
178
0
<span>
元
</span></div>
<div
class=
"money"
>
296
0
<span>
元
</span></div>
</div>
<div
class=
"tips-top"
>
<div
class=
"name"
>
支付方式:
</div>
...
...
src/pages/train/detail.vue
浏览文件 @
98fa0f4d
...
...
@@ -11,8 +11,8 @@
<div
class=
"des-box"
>
<p>
活动类型:师资培训
</p>
<p>
培训形式:线下培训
</p>
<p>
培训地点:
汇丰大厦浙江
金苑培训中心(浙江金融职业学院培训中心)
</p>
<p>
培训时间:
4月23日-4月25
日
</p>
<p>
培训地点:
河南郑州
金苑培训中心(浙江金融职业学院培训中心)
</p>
<p>
培训时间:
6月15日-6月19
日
</p>
</div>
<router-link
to=
"/train/form"
>
<div
class=
"detail-btn"
>
立即报名
</div>
...
...
src/pages/train/form.vue
浏览文件 @
98fa0f4d
差异被折叠。
点击展开。
src/pages/train/index.vue
浏览文件 @
98fa0f4d
<
template
>
<div
class=
"content-max-width"
>
<!--
<breadcrumb
class=
"content-max-width crumb"
:data=
"crumbData"
/>
-->
<!--
<btn-tabs
class=
"btn-tabs-box"
@
tabsChange=
"tabsChange"
:data=
"btnTabsData"
></btn-tabs>
-->
<template
v-if=
"!tabsIndex"
>
<template>
<div
class=
"new-tits"
>
师资培训报名
</div>
<screen-tabs
class=
"screen-tabs-box"
:
data=
"screenTabsData
"
></screen-tabs>
<screen-tabs
class=
"screen-tabs-box"
:
activeIndex
.
sync=
"tabsIndex"
:data=
"screenTabsData"
@
tabChange=
"HandleTabChange
"
></screen-tabs>
<div
class=
"train-mian"
>
<ul>
<template
v-for=
"(item, index) in
l
ist"
>
<li
:key=
"index"
>
<template
v-for=
"(item, index) in
tabsContentL
ist"
>
<li
:key=
"index"
v-if=
"tabsIndex === 0 || tabsIndex === item.activeIndex"
>
<item
:data=
"item"
></item>
</li>
</
template
>
...
...
@@ -28,7 +27,7 @@
</el-pagination>
</div>
</template>
<
template
v-
else
>
<
template
v-
if=
"false"
>
<search
/>
<noData/>
</
template
>
...
...
@@ -55,7 +54,30 @@ export default {
return
{
articleClassify
:
this
.
$store
.
state
.
classify
,
list
:
[],
tabsIndex
:
0
,
tabsIndex
:
1
,
tabsContentList
:
[
{
imgUri
:
'http://vocational-store.oss-cn-beijing.aliyuncs.com/files/20210225/9e74559a240db3b39b824418353ec3a3.jpg'
,
title
:
'2021年第2期“1+X金融产品数字化营销职业技能等级证书(中级)”师资培训班'
,
time
:
'6月15日-6月19日'
,
count
:
100
,
activeIndex
:
1
},
{
imgUri
:
'http://vocational-store.oss-cn-beijing.aliyuncs.com/files/20210225/9e74559a240db3b39b824418353ec3a3.jpg'
,
title
:
'2021年第3期“1+X金融产品数字化营销职业技能等级证书(中级)”师资培训班'
,
time
:
'待定'
,
count
:
'待定'
,
activeIndex
:
2
},
{
imgUri
:
'http://vocational-store.oss-cn-beijing.aliyuncs.com/files/20210225/9e74559a240db3b39b824418353ec3a3.jpg'
,
title
:
'2021年第1期“1+X金融产品数字化营销职业技能等级证书(中级)”师资培训班'
,
time
:
'4月23日-4月25日'
,
count
:
100
,
activeIndex
:
3
}
],
value3
:
''
,
btnTabsData
:
{
options
:
[
'会议报名'
,
'核心专家'
]
...
...
@@ -80,8 +102,9 @@ export default {
this
.
newsList
()
},
methods
:
{
tabsChange
(
i
)
{
this
.
tabsIndex
=
i
HandleTabChange
(
index
)
{
console
.
log
(
index
)
this
.
tabsIndex
=
index
},
newsList
()
{
const
loading
=
this
.
$loading
({
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论