Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-exam-show
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-exam-show
Commits
fcb5720a
提交
fcb5720a
authored
10月 28, 2020
作者:
高一
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹出层完成
上级
5e3bb247
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
89 行增加
和
3 行删除
+89
-3
out-btn.png
src/assets/images/out-btn.png
+0
-0
dialogComponent.vue
src/components/exam/dialogComponent.vue
+89
-1
main.js
src/main.js
+0
-2
没有找到文件。
src/assets/images/out-btn.png
0 → 100644
浏览文件 @
fcb5720a
474 Bytes
src/components/exam/dialogComponent.vue
浏览文件 @
fcb5720a
<
template
>
<div>
<div
class=
"main"
>
<p>
<slot
name=
"title"
></slot>
</p>
<div
class=
"prompt"
>
<slot
name=
"prompt"
></slot>
</div>
<div
class=
"button"
>
<div>
<slot
name=
"button"
></slot>
</div>
</div>
<div
class=
"out"
></div>
</div>
</
template
>
<
script
>
...
...
@@ -7,4 +19,80 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.main
{
position
:
relative
;
width
:
342px
;
height
:
220px
;
background-color
:
#fff
;
border-radius
:
15px
;
p
{
position
:
absolute
;
top
:
-10px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
font-size
:
18px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#222222
;
}
.prompt
{
position
:
absolute
;
left
:
50%
;
top
:
50px
;
transform
:
translateX
(
-50%
);
width
:
280px
;
height
:
auto
;
text-align
:
center
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#222222
;
}
.button
{
display
:flex
;
justify-content
:
center
;
width
:
100%
;
position
:
absolute
;
height
:
40px
;
bottom
:
20px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
button
{
// display:inline-block;
float
:
left
;
border
:
1px
solid
#eee
;
background-color
:
#fff
;
width
:
120px
;
height
:
40px
;
margin-right
:
22px
;
line-height
:
40px
;
text-align
:
center
;
font-size
:
14px
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#666666
;
outline
:
none
;
border-radius
:
5px
;
}
button
:focus
{
border
:
0
.5px
solid
lightblue
;
}
button
:hover
{
cursor
:
pointer
;
}
button
:nth-child
(
2
)
{
margin-right
:
0px
;
}
}
.out
{
position
:
absolute
;
right
:
-30px
;
width
:
23px
;
height
:
23px
;
background-image
:
url(../../assets/images/out-btn.png)
;
}
.out
:hover
{
cursor
:
pointer
;
}
}
</
style
>
src/main.js
浏览文件 @
fcb5720a
...
...
@@ -11,12 +11,10 @@ import Element from 'element-ui'
import
modules
from
'./modules'
import
createBefore
from
'./components/beforeEnter'
Vue
.
use
(
VueRouter
)
const
router
=
createRouter
()
Vue
.
use
(
VueI18n
)
const
i18n
=
createI18n
()
Vue
.
use
(
MetaInfo
)
Vue
.
use
(
Element
,
{
i18n
:
(
key
,
value
)
=>
i18n
.
t
(
key
,
value
)
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论