Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
cce95516
提交
cce95516
编写于
12月 16, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加项目详情页步骤组件
上级
43c1583e
变更
6
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
275 行增加
和
50 行删除
+275
-50
package-lock.json
package-lock.json
+75
-26
cme-step.vue
src/components/cme/cme-step.vue
+172
-0
common-description.vue
src/components/common/common-description.vue
+3
-3
env-config.js
src/utils/env-config.js
+6
-6
index.vue
src/views/index.vue
+1
-1
merge-detail.vue
src/views/merge-detail.vue
+18
-14
未找到文件。
package-lock.json
浏览文件 @
cce95516
此差异已折叠。
点击以展开。
src/components/cme/cme-step.vue
0 → 100644
浏览文件 @
cce95516
<
template
>
<div
class=
"step-content"
>
<p
class=
"step-text step1-text"
v-if=
"step1"
>
学习进度10%
</p>
<div
class=
"step-item"
>
<span
:class=
"
{'actived': step1 || step2 || step3 || step4}">1
</span>
<p
:class=
"
{'actived': step1 || step2 || step3 || step4}">项目学习
</p>
</div>
<div
class=
"step-line step-one-line"
:class=
"
{'actived': step2 || step3 || step4}">
</div>
<p
class=
"step-text step2-text"
v-if=
"step2"
@
click=
"applyFor"
>
立即申请>
</p>
<div
class=
"step-item"
>
<span
:class=
"
{'actived': step2 || step3 || step4}">2
</span>
<p
:class=
"
{'actived': step2 || step3 || step4}">申请学分
</p>
</div>
<div
class=
"step-line step-two-line"
:class=
"
{'actived': step3 || step4}">
</div>
<p
class=
"step-text step3-text"
v-if=
"step3"
@
click=
"verifyResult"
>
审核中>
</p>
<div
class=
"step-item"
>
<span
:class=
"
{'actived': step3 || step4}">3
</span>
<p
:class=
"
{'actived': step3 || step4}">学分审核
</p>
</div>
<div
class=
"step-line step-three-line"
:class=
"
{'actived': step4}">
</div>
<p
class=
"step-text step4-text"
v-if=
"step4"
>
获得3学分>
</p>
<div
class=
"step-item"
>
<span
:class=
"
{'actived': step4}">4
</span>
<p
:class=
"
{'actived': step4}">申请成功
</p>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
step1
:
false
,
step2
:
false
,
step3
:
true
,
step4
:
false
}
},
methods
:
{
// 立即申请
applyFor
()
{
},
verifyResult
()
{
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.step-content
{
position
:
relative
;
height
:
px2rem
(
110px
);
background
:rgba
(
248
,
249
,
250
,
1
)
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
flex-start
;
align-items
:
center
;
.step-item
{
flex-grow
:
1
;
text-align
:
center
;
padding-top
:
px2rem
(
30px
);
span
{
display
:
inline-block
;
width
:
px2rem
(
20px
);
height
:
px2rem
(
20px
);
line-height
:
px2rem
(
17px
);
border-radius
:
50%
;
background
:
#676869
;
border
:
2px
solid
rgba
(
255
,
255
,
255
,
1
);
color
:
#fff
;
font-size
:
px2rem
(
12px
);
font-weight
:
700
;
}
span
.actived
{
background
:
#449284
;
}
p
{
font-size
:
px2rem
(
13px
);
color
:
#373839
;
}
p
.actived
{
color
:
#449284
;
}
}
.step-line
{
position
:
absolute
;
top
:
px2rem
(
60px
);
width
:
px2rem
(
75px
);
height
:
px2rem
(
3px
);
background
:
#DADDE1
;
}
.step-one-line
{
left
:
px2rem
(
56px
);
}
.step-two-line
{
left
:
px2rem
(
150px
);
}
.step-three-line
{
right
:
px2rem
(
56px
);
}
.step-one-line.actived
,
.step-two-line.actived
,
.step-three-line.actived
{
background
:
#449284
;
}
.step-text
{
position
:
absolute
;
top
:
px2rem
(
25px
);
padding
:
px2rem
(
4px
)
px2rem
(
6px
);
background
:
#449284
;
border-radius
:
px2rem
(
10px
);
font-size
:
px2rem
(
12px
);
line-height
:
px2rem
(
12px
);
color
:
#fff
;
}
.step1-text
{
left
:
px2rem
(
20px
);
}
.step1-text
:after
{
content
:
""
;
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
border-top
:
px2rem
(
6px
)
solid
#449284
;
border-left
:
px2rem
(
6px
)
solid
transparent
;
border-right
:
px2rem
(
5px
)
solid
transparent
;
position
:
absolute
;
top
:
px2rem
(
20px
);
left
:
px2rem
(
20px
);
}
.step2-text
{
left
:
px2rem
(
106px
);
}
.step2-text
:after
,
.step3-text
:after
{
content
:
""
;
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
border-top
:
px2rem
(
6px
)
solid
#449284
;
border-left
:
px2rem
(
6px
)
solid
transparent
;
border-right
:
px2rem
(
5px
)
solid
transparent
;
position
:
absolute
;
top
:
px2rem
(
20px
);
left
:
px2rem
(
30px
);
}
.step3-text
{
left
:
px2rem
(
207px
);
}
.step3-text
:after
{
content
:
""
;
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
border-top
:
px2rem
(
6px
)
solid
#449284
;
border-left
:
px2rem
(
6px
)
solid
transparent
;
border-right
:
px2rem
(
5px
)
solid
transparent
;
position
:
absolute
;
top
:
px2rem
(
20px
);
left
:
px2rem
(
20px
);
}
.step4-text
{
right
:
px2rem
(
20px
);
}
.step4-text
:after
{
content
:
""
;
width
:
px2rem
(
0px
);
height
:
px2rem
(
0px
);
border-top
:
px2rem
(
6px
)
solid
#449284
;
border-left
:
px2rem
(
6px
)
solid
transparent
;
border-right
:
px2rem
(
5px
)
solid
transparent
;
position
:
absolute
;
top
:
px2rem
(
20px
);
right
:
px2rem
(
20px
);
}
}
</
style
>
\ No newline at end of file
src/components/common/common-description.vue
浏览文件 @
cce95516
...
...
@@ -6,11 +6,11 @@
<div
class=
"desc-detail"
>
<span
class=
"desc_text"
v-html=
"message"
></span>
<!--
<CommonSpliteLine></CommonSpliteLine>
-->
<
div
class=
"split-line"
></div
>
<div
class=
"desc_text_tp"
@
click=
"showDesc()"
>
<
!--
<div
class=
"split-line"
></div>
--
>
<
!--
<
div
class=
"desc_text_tp"
@
click=
"showDesc()"
>
<span
v-show=
"!isShowFlag"
>
显示全部
</span>
<span
v-show=
"isShowFlag"
>
收起
</span>
</div>
</div>
-->
</div>
</div>
</
template
>
...
...
src/utils/env-config.js
浏览文件 @
cce95516
...
...
@@ -7,17 +7,17 @@ export const envConfig = {
// baseUrl: 'https://dev-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.180:10202/',
// baseUrl: 'http://192.168.140.14:10201/',
//
apiUrl: 'https://dev-api.yunqueyi.com/',
//
webPageUrl: 'https://dev-phome.yunqueyi.com/',
//
baseUrl: 'https://dev-sc.yunqueyi.com/',
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// apiUrl: 'https://test1-api.yunqueyi.com/',
// webPageUrl: 'https://test1-phome.yunqueyi.com/'
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
webPageUrl
:
'https://uat-phome.yunqueyi.com/'
//
baseUrl: 'https://uat-sc.yunqueyi.com/',
//
apiUrl: 'https://uat-api.yunqueyi.com/',
//
webPageUrl: 'https://uat-phome.yunqueyi.com/'
// baseUrl: 'https://sc.yunqueyi.com/',
// apiUrl: 'https://api.yunqueyi.com/',
...
...
src/views/index.vue
浏览文件 @
cce95516
...
...
@@ -58,7 +58,7 @@ export default {
showLoading
:
false
,
bgColor
:
"#fff"
,
isShow
:
false
,
navTitle
:
"
专项合作
"
,
navTitle
:
"
CME项目
"
,
compTitle
:
"组件名称"
,
isShowNavbar
:
true
,
isFixNavbar
:
false
,
...
...
src/views/merge-detail.vue
浏览文件 @
cce95516
...
...
@@ -12,30 +12,34 @@
:backMethod=
"from"
></CommonNavbar>
<div
class=
"page-content list-container"
>
<!--
<img
v-if=
"bannerType == 1"
class=
"banner-img"
src=
"https://files.yunqueyi.com/image/jpeg/common/20190214153449966.jpg"
>
-->
<!--
<div
v-if=
"bannerType == 1"
class=
"page-content-img-container"
>
-->
<!-- banner图片 -->
<div
v-if=
"bannerType == 1"
class=
"page-content-img-container"
>
<img
class=
"banner-img"
:src=
"attachmentUrl"
>
<img
v-show=
"pStatus == 1"
class=
"banner-img-1"
src=
"../images/status-join.png"
>
<img
v-show=
"pStatus == 5"
class=
"banner-img-5"
src=
"../images/status-keep-on.png"
>
<img
v-show=
"pStatus == 10"
class=
"banner-img-10"
src=
"../images/status-end.png"
>
</div>
<!--
<CommonBannerVideo
v-if=
"bannerType == 1"
:videoOptions=
"videoOptions"
></CommonBannerVideo>
-->
<CommonTcPlayer
v-if=
"bannerType == 2"
style=
"flex"
:options=
"videoOptions"
></CommonTcPlayer>
<
NoticeItem
:clientType=
"clientType"
v-show=
"isShowNoticeItem"
:content=
"noticeData.noticeTitle"
@
clickNoticeItem=
"clickNoticeItem"
></NoticeItem
>
<
!-- 项目标题 --
>
<CommonDescription
:descTitle=
"projectName"
:value=
"projectIntro"
></CommonDescription>
<!-- 步骤条 -->
<CmeStep></CmeStep>
<!-- 简介和目录 -->
<van-tabs
v-model=
"active"
>
<van-tab
title=
"简介"
>
</van-tab>
<van-tab
title=
"目录"
>
</van-tab>
</van-tabs>
<CommonSpliteLine></CommonSpliteLine>
<!--
<CellListItem
:paramData=
"contentList"
:moduleName=
"moduleName"
></CellListItem>
-->
<CertShow
v-if=
"projectStatus === 2"
></CertShow>
<CellListDetail
v-if=
"visibleFlag == 1"
:projectComponent=
"projectComponentDTOS"
:paramData=
"contentList"
:moduleName=
"moduleName"
:actionList=
"actionList"
:detailNum=
"detailNum"
:courseRequire=
"courseRequire"
></CellListDetail>
<NoPermContent
v-if=
"visibleFlag == 2"
></NoPermContent>
</div>
<Loading
v-show=
"showLoading"
/>
<PopNotice
v-show=
"isShowNotice"
@
clickNotice=
"clickNotice"
:noticeData=
"noticeData"
></PopNotice>
</div>
</
template
>
<
script
>
...
...
@@ -52,8 +56,9 @@ import CommonTcPlayer from "@/components/common/common-tcplayer";
import
Loading
from
"@/components/common/common-loading"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
vueFilters
from
'@/utils/filter'
;
import
PopNotice
from
"@/components/business/pop-notice"
;
import
NoticeItem
from
"@/components/business/notice-item"
;
// import PopNotice from "@/components/business/pop-notice";
// import NoticeItem from "@/components/business/notice-item";
import
CmeStep
from
"@/components/cme/cme-step"
;
export
default
{
data
()
{
...
...
@@ -121,8 +126,7 @@ export default {
CommonBannerVideo
,
Loading
,
CommonTcPlayer
,
PopNotice
,
NoticeItem
CmeStep
},
computed
:
{
...
mapGetters
([
"userInfo"
])
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录