Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
cbdb76d5
提交
cbdb76d5
authored
11月 06, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
9e5a54e4
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
19 行增加
和
1 行删除
+19
-1
MyQuestionList.vue
src/components/MyQuestionList.vue
+15
-0
MyQuestionListItem.vue
src/components/MyQuestionListItem.vue
+4
-1
没有找到文件。
src/components/MyQuestionList.vue
浏览文件 @
cbdb76d5
...
@@ -164,12 +164,27 @@ export default {
...
@@ -164,12 +164,27 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
padding-bottom
:
8px
;
padding-bottom
:
8px
;
font-size
:
18px
;
border-bottom
:
1px
solid
#ccc
;
border-bottom
:
1px
solid
#ccc
;
::v-deep
.el-radio
{
font-size
:
18px
;
}
::v-deep
.el-radio__label
{
font-size
:
18px
;
font-weight
:
400
;
}
::v-deep
.el-radio__inner
{
width
:
18px
;
height
:
18px
;
}
}
}
.my-question-list-ft
{
.my-question-list-ft
{
padding-top
:
20px
;
padding-top
:
20px
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
::v-deep
.el-button
{
width
:
100px
;
}
}
}
</
style
>
</
style
>
src/components/MyQuestionListItem.vue
浏览文件 @
cbdb76d5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"my-question-list-item"
>
<div
class=
"my-question-list-item"
>
<el-checkbox
v-model=
"data.checked"
></el-checkbox>
<el-checkbox
v-model=
"data.checked"
></el-checkbox>
<div
class=
"badge"
:class=
"`questiont-type_$
{data.question_type}`">
{{
questionTypeName
}}
</div>
<div
class=
"badge"
:class=
"`questiont-type_$
{data.question_type}`">
{{
questionTypeName
}}
</div>
<div
class=
"name"
>
{{
data
.
question_content
}}
</div>
<div
class=
"name"
v-html=
"data.question_content"
>
</div>
<div
class=
"tools"
>
<div
class=
"tools"
>
<i
class=
"el-icon-delete"
@
click=
"$emit('on-remove', data)"
></i>
<i
class=
"el-icon-delete"
@
click=
"$emit('on-remove', data)"
></i>
<i
<i
...
@@ -43,6 +43,7 @@ export default {
...
@@ -43,6 +43,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.my-question-list-item
{
.my-question-list-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
padding
:
22px
0
;
padding
:
22px
0
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
&
:hover
{
&
:hover
{
...
@@ -76,8 +77,10 @@ export default {
...
@@ -76,8 +77,10 @@ export default {
.name
{
.name
{
flex
:
1
;
flex
:
1
;
padding
:
0
10px
;
padding
:
0
10px
;
font-size
:
18px
;
}
}
.tools
{
.tools
{
padding-left
:
20px
;
display
:
flex
;
display
:
flex
;
font-size
:
18px
;
font-size
:
18px
;
color
:
#d4d4d4
;
color
:
#d4d4d4
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论