Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-annual-summary
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-annual-summary
提交
b63d399b
提交
b63d399b
编写于
12月 17, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加简介中的组件
上级
b4f32f81
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
235 行增加
和
20 行删除
+235
-20
item-intro.vue
src/components/cme/item-intro.vue
+82
-0
item-leader.vue
src/components/cme/item-leader.vue
+120
-0
learn-know.vue
src/components/cme/learn-know.vue
+2
-2
down.png
src/images/down.png
+0
-0
up.png
src/images/up.png
+0
-0
merge-detail.vue
src/views/merge-detail.vue
+31
-18
未找到文件。
src/components/cme/item-intro.vue
0 → 100644
浏览文件 @
b63d399b
<
template
>
<div
class=
"item-intro-container"
>
<div
class=
"basic-title"
>
项目介绍
</div>
<div
class=
"content"
>
<div
class=
"text"
>
{{
newText
}}
</div>
<div
class=
"desc"
@
click=
"allText"
>
<span>
{{
btnText
}}
</span>
<img
v-if=
"!allTextFlag"
src=
"../../images/down.png"
/>
<img
v-if=
"allTextFlag"
src=
"../../images/up.png"
/>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
textContent
:
'《健康中国2030规划纲要》提出“以全科医生为重点,加强基层人才队伍建设”。基层全科医生囿于传统固有的书本型以及经验型思维模式,习惯接受临床上习惯接受临床上习惯接受临床上。'
,
newText
:
''
,
btnText
:
'详情'
,
allTextFlag
:
false
}
},
created
()
{
},
mounted
()
{
if
(
this
.
textContent
.
length
>
69
)
{
this
.
newText
=
this
.
textContent
.
slice
(
0
,
69
)
+
"..."
;
}
},
methods
:
{
allText
()
{
if
(
!
this
.
allTextFlag
)
{
this
.
newText
=
this
.
textContent
;
this
.
btnText
=
'收起'
;
this
.
allTextFlag
=
true
;
}
else
{
this
.
newText
=
this
.
textContent
.
slice
(
0
,
69
)
+
"..."
;;
this
.
btnText
=
'详情'
;
this
.
allTextFlag
=
false
;
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.item-intro-container
{
padding-bottom
:
px2rem
(
20px
);
margin
:
px2rem
(
30px
)
px2rem
(
15px
)
0px
;
border-bottom
:
px2rem
(
1px
)
solid
#E7E8E9
;
.basic-title
{
font-size
:
px2rem
(
18px
);
line-height
:
px2rem
(
18px
);
color
:
#373839
;
font-weight
:
700
;
}
.content
{
position
:
relative
;
margin-top
:
px2rem
(
16px
);
.text
{
font-size
:
px2rem
(
14px
);
color
:
#676869
;
}
.desc
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
background
:
#fff
;
z-index
:
99
;
span
{
font-size
:
px2rem
(
14px
);
color
:
#449284
;
}
img
{
width
:
px2rem
(
12px
);
}
}
}
}
</
style
>
\ No newline at end of file
src/components/cme/item-leader.vue
0 → 100644
浏览文件 @
b63d399b
<
template
>
<div
class=
"item-leader-container"
>
<div
class=
"basic-title"
>
项目负责人
</div>
<div
class=
"leader-info"
>
<img
src=
"../../images/video-cover.png"
/>
<div
class=
"leader-text"
>
<span>
王荣英
</span>
<span>
主任医师 教授 硕士生导师
</span>
<div
class=
"address"
>
河北医科大学第二医院
</div>
</div>
</div>
<div
class=
"content"
>
<div
class=
"text"
>
{{
newText
}}
</div>
<div
class=
"desc"
@
click=
"allText"
>
<span>
{{
btnText
}}
</span>
<img
v-if=
"!allTextFlag"
src=
"../../images/down.png"
/>
<img
v-if=
"allTextFlag"
src=
"../../images/up.png"
/>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
textContent
:
'全科医疗科主任,主任医师,教授,博士学位,硕士生导师,河北省医学会全科医学分会委员。主要专业特长:常见病、多发病的诊治、预防、康复常见病、多发病的诊治、预防'
,
newText
:
''
,
btnText
:
'详情'
,
allTextFlag
:
false
}
},
created
()
{
},
mounted
()
{
if
(
this
.
textContent
.
length
>
66
)
{
this
.
newText
=
this
.
textContent
.
slice
(
0
,
66
)
+
"..."
;
}
else
{
this
.
newText
=
this
.
textContent
;
}
},
methods
:
{
allText
()
{
if
(
!
this
.
allTextFlag
)
{
this
.
newText
=
this
.
textContent
;
this
.
btnText
=
'收起'
;
this
.
allTextFlag
=
true
;
}
else
{
this
.
newText
=
this
.
textContent
.
slice
(
0
,
66
)
+
"..."
;;
this
.
btnText
=
'详情'
;
this
.
allTextFlag
=
false
;
}
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.item-leader-container
{
padding-bottom
:
px2rem
(
20px
);
margin
:
px2rem
(
30px
)
px2rem
(
15px
)
0px
;
border-bottom
:
px2rem
(
1px
)
solid
#E7E8E9
;
.basic-title
{
font-size
:
px2rem
(
18px
);
line-height
:
px2rem
(
18px
);
color
:
#373839
;
font-weight
:
700
;
}
.leader-info
{
display
:
flex
;
flex-direction
:
row
;
margin-top
:
px2rem
(
16px
);
img
{
display
:
inline-block
;
width
:
px2rem
(
44px
);
height
:
px2rem
(
44px
);
border-radius
:
50%
;
}
.leader-text
{
margin-left
:
px2rem
(
16px
);
span
{
font-size
:
px2rem
(
16px
);
color
:
#676869
;
}
span
:first-child
{
font-size
:
px2rem
(
16px
);
color
:
#373839
;
font-weight
:
700
;
}
.address
{
margin-top
:
px2rem
(
5px
);
font-size
:
px2rem
(
13px
);
color
:
#979899
;
}
}
}
.content
{
position
:
relative
;
margin-top
:
px2rem
(
16px
);
.text
{
font-size
:
px2rem
(
14px
);
color
:
#676869
;
}
.desc
{
position
:
absolute
;
right
:
0
;
bottom
:
0
;
background
:
#fff
;
z-index
:
99
;
span
{
font-size
:
px2rem
(
14px
);
color
:
#449284
;
}
img
{
width
:
px2rem
(
12px
);
}
}
}
}
</
style
>
\ No newline at end of file
src/components/cme/learn-know.vue
浏览文件 @
b63d399b
<
template
>
<div
class=
"
basic
-container"
>
<div
class=
"
learn-know
-container"
>
<div
class=
"basic-title"
>
学习须知
</div>
<div
class=
"content"
>
<span>
1、必须在该项目页内学完所有课程,平台其它栏目课程进度不计入本项目;
</span>
...
...
@@ -14,7 +14,7 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.
basic
-container
{
.
learn-know
-container
{
margin
:
px2rem
(
30px
)
px2rem
(
15px
)
px2rem
(
20px
);
.basic-title
{
font-size
:
px2rem
(
18px
);
...
...
src/images/down.png
0 → 100644
浏览文件 @
b63d399b
248 字节
src/images/up.png
0 → 100644
浏览文件 @
b63d399b
248 字节
src/views/merge-detail.vue
浏览文件 @
b63d399b
...
...
@@ -33,15 +33,24 @@
<div
class=
"intro-content"
>
<BasicInfo></BasicInfo>
<LearnKnow></LearnKnow>
<CommonSpliteLine></CommonSpliteLine>
<ItemIntro></ItemIntro>
<ItemLeader></ItemLeader>
</div>
<div
class=
"catalogue-content"
>
<CellListDetail
v-if=
"visibleFlag == 1"
:projectComponent=
"projectComponentDTOS"
:paramData=
"contentList"
:moduleName=
"moduleName"
:actionList=
"actionList"
:detailNum=
"detailNum"
:courseRequire=
"courseRequire"
/>
</div>
</div>
<CommonSpliteLine></CommonSpliteLine>
<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>
<!--
<CertShow
v-if=
"projectStatus === 2"
></CertShow>
-->
<!--
<NoPermContent
v-if=
"visibleFlag == 2"
></NoPermContent>
-->
</div>
<Loading
v-show=
"showLoading"
/>
...
...
@@ -51,21 +60,23 @@
import
CommonNavbar
from
"@/components/common/common-navbar"
;
import
CommonDescription
from
"@/components/common/common-description"
;
import
CommonSpliteLine
from
"@/components/common/common-splite-line"
;
import
CommonTitle
from
"@/components/common/common-title"
;
import
CertShow
from
"@/components/business/cert-show"
;
//
import CommonTitle from "@/components/common/common-title";
//
import CertShow from "@/components/business/cert-show";
// import CellListItem from "@/components/business/cell-list-item";
import
CellListDetail
from
"@/components/business/cell-list-detail"
;
import
NoPermContent
from
"@/components/business/no-perm-content"
;
import
CommonBannerVideo
from
"@/components/common/common-banner-video"
;
//
import NoPermContent from "@/components/business/no-perm-content";
//
import CommonBannerVideo from "@/components/common/common-banner-video";
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
CmeStep
from
"@/components/cme/cme-step"
;
import
BasicInfo
from
"@/components/cme/basic-info"
;
import
LearnKnow
from
"@/components/cme/learn-know"
;
import
ItemIntro
from
"@/components/cme/item-intro"
;
import
ItemLeader
from
"@/components/cme/item-leader"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
import
vueFilters
from
'@/utils/filter'
;
export
default
{
data
()
{
...
...
@@ -125,17 +136,19 @@ export default {
CommonNavbar
,
CommonDescription
,
CommonSpliteLine
,
CommonTitle
,
CertShow
,
//
CommonTitle,
//
CertShow,
// CellListItem,
CellListDetail
,
NoPermContent
,
CommonBannerVideo
,
//
NoPermContent,
//
CommonBannerVideo,
Loading
,
CommonTcPlayer
,
CmeStep
,
BasicInfo
,
LearnKnow
LearnKnow
,
ItemIntro
,
ItemLeader
},
computed
:
{
...
mapGetters
([
"userInfo"
])
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录