Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
87bd8014
提交
87bd8014
编写于
5月 14, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹框、按钮逻辑等
上级
6d323227
变更
12
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
1512 行增加
和
53 行删除
+1512
-53
coop-list-item copy.vue
src/components/business/coop-list-item copy.vue
+407
-0
coop-list-item.vue
src/components/business/coop-list-item.vue
+13
-0
basic-info.vue
src/components/cme/basic-info.vue
+1
-1
common-button.vue
src/components/cme/common-button.vue
+1
-1
exjumper-button.vue
src/components/cme/exjumper-button.vue
+67
-0
exjumper-dialog.vue
src/components/cme/exjumper-dialog.vue
+167
-0
item-leader.vue
src/components/cme/item-leader.vue
+1
-1
env-config.js
src/utils/env-config.js
+1
-1
fetch.js
src/utils/fetch.js
+1
-1
mixins.js
src/utils/mixins.js
+1
-1
merge-detail copy.vue
src/views/merge-detail copy.vue
+698
-0
merge-detail.vue
src/views/merge-detail.vue
+154
-47
未找到文件。
src/components/business/coop-list-item copy.vue
0 → 100644
浏览文件 @
87bd8014
此差异已折叠。
点击以展开。
src/components/business/coop-list-item.vue
浏览文件 @
87bd8014
...
...
@@ -123,6 +123,19 @@ export default {
}
}
,
coopDetails
(
item
)
{
// 临时添加
if
(
window
.
__isWeb
)
{
this
.
$router
.
push
({
path
:
"/coop"
,
query
:
{
id
:
item
.
id
,
coopType
:
this
.
coopType
,
courseRequire
:
item
.
courseRequire
}
}
);
return
;
}
if
(
this
.
userMobile
)
{
let
paramList
=
[
{
...
...
src/components/cme/basic-info.vue
浏览文件 @
87bd8014
<
template
>
<div
class=
"basic-container"
>
<div
class=
"basic-title"
>
基本信息
</div>
<div
class=
"content"
>
<div
v-if=
"projectNo"
class=
"content"
>
<span>
项目编号
</span>
<span>
{{
projectNo
}}
</span>
</div>
...
...
src/components/cme/common-button.vue
浏览文件 @
87bd8014
...
...
@@ -40,7 +40,7 @@ export default {
line-height
:
px2rem
(
50px
);
width
:
100%
;
border-radius
:
px2rem
(
25px
);
font-size
:
17px
;
font-size
:
px2rem
(
17px
)
;
font-weight
:
700
;
color
:
#FFFFFF
;
background
:
#449284
;
...
...
src/components/cme/exjumper-button.vue
0 → 100644
浏览文件 @
87bd8014
<
template
>
<div
class=
"exjumper-button-wrapper button-default"
:class=
"type"
@
click=
"btnClick"
>
<span>
{{
btnText
}}
</span>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
btnText
:
{
type
:
String
,
default
:
'确定'
},
type
:
{
type
:
String
,
default
:
'primary'
}
},
data
()
{
return
{
}
},
methods
:
{
btnClick
()
{
if
(
this
.
type
==
'disabled'
)
return
;
this
.
$emit
(
'btnClick'
);
}
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.exjumper-button-wrapper
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
right
:
0
;
font-size
:
px2rem
(
14px
);
margin
:
px2rem
(
20px
)
px2rem
(
15px
);
text-align
:
center
;
&
.button-default
{
span
{
display
:
block
;
height
:
px2rem
(
50px
);
line-height
:
px2rem
(
50px
);
width
:
100%
;
border-radius
:
px2rem
(
25px
);
font-size
:
px2rem
(
17px
);
font-weight
:
700
;
color
:
#FFFFFF
;
background
:
#449284
;
}
}
&
.primary
{
span
{
color
:
#FFFFFF
;
background
:
#449284
;
}
}
&
.disabled
{
span
{
color
:
rgba
(
255
,
255
,
255
,
0
.95
);
background
:
#C7C8C9
;
}
}
}
</
style
>
\ No newline at end of file
src/components/cme/exjumper-dialog.vue
0 → 100644
浏览文件 @
87bd8014
<
template
>
<div
class=
"exjumper-dialog-wrraper"
v-if=
"isShowDialog"
>
<div
class=
"dialog-mask"
></div>
<div
class=
"dialog-container"
>
<div
class=
"title"
v-html=
"title"
></div>
<div
class=
"dialog-content"
>
{{
content
}}
</div>
<div
v-show=
"needSubContent"
class=
"dialog-sub-content"
v-html=
"subContent"
></div>
<div
class=
"dialog-footer v-hairline-top"
>
<span
:class=
"
{'single-btn': isSingle}" @click.stop.prevent="handlerAction(1)">
{{
cancleBtnText
}}
</span>
<span
v-show=
"!isSingle"
class=
"confirm-btn v-hairline-left"
@
click
.
stop
.
prevent=
"handlerAction(2)"
>
{{
confirmBtnText
}}
</span>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
"common-dialog"
,
data
()
{
return
{
};
},
props
:
{
title
:
{
type
:
String
,
default
:
'即将打开<br/>“中华医学教育在线”平台'
},
content
:
{
type
:
String
,
default
:
''
},
needSubContent
:
{
type
:
Boolean
,
default
:
false
},
subContent
:
{
type
:
String
,
default
:
''
},
cancleBtnText
:
{
type
:
String
,
default
:
'取消'
},
confirmBtnText
:
{
type
:
String
,
default
:
'确定'
},
isShowDialog
:
{
type
:
Boolean
,
default
:
false
},
isSingle
:
{
type
:
Boolean
,
default
:
false
},
},
methods
:
{
handlerAction
(
type
)
{
this
.
$emit
(
"handlerAction"
,
type
);
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../../style/mixin"
;
.exjumper-dialog-wrraper
{
position
:
fixed
;
top
:
0
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
2019
;
.dialog-mask
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.5
);
z-index
:
2020
;
}
.dialog-container
{
z-index
:
2021
;
position
:
absolute
;
top
:
50%
;
left
:
50%
;
overflow
:
hidden
;
width
:
px2rem
(
300px
);
font-size
:
px2rem
(
18px
);
-webkit-transition
:
0
.3s
;
transition
:
0
.3s
;
border-radius
:
px2rem
(
4px
);
background-color
:
#fff
;
-webkit-transform
:
translate3d
(
-50%
,
-50%
,
0
);
transform
:
translate3d
(
-50%
,
-50%
,
0
);
-webkit-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
.title
{
margin-top
:
px2rem
(
30px
);
text-align
:
center
;
font-size
:
px2rem
(
18px
);
font-weight
:
700
;
color
:
#373839
;
}
.dialog-content
{
// margin: px2rem(30px) px2rem(22px);
margin
:
px2rem
(
20px
)
px2rem
(
30px
)
px2rem
(
30px
);
text-align
:
left
;
font-size
:
px2rem
(
14px
);
font-weight
:
400
;
color
:
#373839
;
}
.dialog-sub-content
{
margin
:
px2rem
(
-16px
)
px2rem
(
30px
)
px2rem
(
20px
);
// margin: px2rem(-16px) px2rem(22px) px2rem(30px);
text-align
:
left
;
font-size
:
px2rem
(
14px
);
line-height
:
px2rem
(
24px
);
font-weight
:
400
;
color
:
#979899
;
}
.dialog-footer
{
height
:
px2rem
(
50px
);
display
:
flex
;
align-items
:
center
;
&.
v-hairline-top
:
:
after
{
border-top-width
:
1px
;
}
span
{
display
:
inline-block
;
// width: 50%;
flex
:
1
;
height
:
px2rem
(
50px
);
line-height
:
px2rem
(
50px
);
font-size
:
px2rem
(
17px
);
text-align
:
center
;
color
:
#979899
;
&.
v-hairline-left
:
:
after
{
border-left-width
:
1px
;
}
&
.confirm-btn
{
color
:
#449284
;
}
&
.single-btn
{
color
:
#449284
;
}
}
}
}
[
class
*=
"v-hairline"
]
{
position
:
relative
;
&
:
:
after
{
content
:
" "
;
position
:
absolute
;
pointer-events
:
none
;
box-sizing
:
border-box
;
top
:
-50%
;
left
:
-50%
;
right
:
-50%
;
bottom
:
-50%
;
-webkit-transform
:
scale
(
0
.5
);
transform
:
scale
(
0
.5
);
border
:
0
solid
#f0f1f2
;
}
}
}
</
style
>
src/components/cme/item-leader.vue
浏览文件 @
87bd8014
...
...
@@ -12,7 +12,7 @@
</div>
</div>
<div
class=
"content"
>
<div
class=
"text"
>
{{
leaderText
}}
</div>
<div
class=
"text"
v-html=
"leaderText"
>
</div>
<div
v-if=
"leaderText.length > 70"
class=
"desc"
@
click=
"allText"
>
<span>
{{
btnText
}}
</span>
<img
v-if=
"!allTextFlag"
src=
"../../images/down.png"
/>
...
...
src/utils/env-config.js
浏览文件 @
87bd8014
...
...
@@ -9,7 +9,7 @@ export const envConfig = {
// baseUrl: 'http://192.168.140.14:10201/',
apiUrl
:
'https://dev-api.yunqueyi.com/'
,
webPageUrl
:
'https://dev-phome.yunqueyi.com/'
,
baseUrl
:
'https://
test1
-sc.yunqueyi.com/'
,
baseUrl
:
'https://
dev
-sc.yunqueyi.com/'
,
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// apiUrl: 'https://test1-api.yunqueyi.com/',
...
...
src/utils/fetch.js
浏览文件 @
87bd8014
...
...
@@ -17,7 +17,7 @@ service.interceptors.request.use(config => {
if
(
config
.
data
.
token
){
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'0F32D60C3D7042158BCF1FB574E482BE'
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
DA2A4E43343E47DEB4C4B708288D02D4'
||
'F5CE3BAEC4934864B1022C1C4D39EB40
'
;
config
.
headers
[
'token'
]
=
config
.
data
.
token
||
'
7A15D95AC2AF4C7C8FEEE23E7FF6EF34
'
;
}
// delete config.data.token;
}
...
...
src/utils/mixins.js
浏览文件 @
87bd8014
...
...
@@ -13,7 +13,7 @@ module.exports = {
query
=
this
.
$route
.
query
}
// alert('this.token' + this.token)
this
.
token
=
this
.
getUrlKey
(
'token'
)
||
(
query
&&
query
.
token
)
||
'9
B62E5874DA94979A54DB3E9DFC1443F
'
this
.
token
=
this
.
getUrlKey
(
'token'
)
||
(
query
&&
query
.
token
)
||
'9
22F166A53074EE4834AED6A762A430C
'
},
mounted
()
{
...
...
src/views/merge-detail copy.vue
0 → 100644
浏览文件 @
87bd8014
此差异已折叠。
点击以展开。
src/views/merge-detail.vue
浏览文件 @
87bd8014
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录