Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
dccd8039
Commit
dccd8039
authored
Feb 16, 2020
by
yanju
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题卡片细节
parent
a0257d0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
6 deletions
+52
-6
components/pc/answerCard.vue
+50
-6
components/pc/projectCard.vue
+2
-0
No files found.
components/pc/answerCard.vue
View file @
dccd8039
...
...
@@ -12,7 +12,12 @@
<span>
已解决
</span>
</div>
<div
class=
"answer-card__right"
>
<div
class=
"title"
>
{{
questionTitle
}}
</div>
<div
class=
"title"
>
<p
class=
"title1"
>
{{
questionTitle
}}
</p>
<div
class=
"label-box"
>
<p
v-if=
"isMy&&status===-1"
class=
"label-box__zero"
>
被锁定
</p>
</div>
</div>
<p
class=
"content"
>
{{
questionAbstract
}}
</p>
...
...
@@ -32,8 +37,6 @@
</div>
<div
class=
"label-box"
>
<p
v-for=
"(val,index) in tags"
:key=
"val.tagId"
>
{{
val
.
tagName
}}
</p>
<p
v-if=
"isMy&&status===0"
class=
"label-box__pass"
>
正常
</p>
<p
v-if=
"isMy&&status===-1"
class=
"label-box__zero"
>
被锁定
</p>
</div>
</div>
</div>
...
...
@@ -269,8 +272,45 @@
@extend
%flex-column-spb;
align-items
:
start
;
>
.title{
@extend
%animate-transition;
@include
fontStyle(18,25,500,#222,left);
@extend
%flex-row-center;
justify-content
:
flex-start
;
.title1{
@extend
%animate-transition;
@include
fontStyle(18,25,500,#222,left);
height
:
auto
;
}
>
.label-box
{
margin-top
:
8
*$
length
;
margin-bottom
:
8
*$
length
;
margin-left
:
32
*$
length
;
.label-box__err{
color
:
#fff
;
background-color
:
#f11818
;
}
.label-box__zero
{
color
:
#fff
;
background-color
:
#ff780091
;
}
.label-box__pass
{
color
:
#fff
;
background-color
:
#11ef1f
b0
;
}
>
p
{
display
:
inline-block
;
margin-right
:
10
*$
length
;
padding
:
2
*$
length
8
*$
length
;
background-color
:
#F4F8FA
;
@include
border-radius(2*$length);
@include
fontStyle(12,16,500,#999,center);
@extend
%animate-transition;
@extend
%cursorPointer;
&:hover{
background-color
:
rgba
(
0
,
170
,
230
,
.2
);
color
:
rgba
(
0
,
170
,
230
,
1
);
}
}
}
}
>
.content
{
padding
:
11
*$
length
0
15
*$
length
0
;
...
...
@@ -300,6 +340,8 @@
}
}
>
.label-box
{
margin-top
:
8
*$
length
;
margin-bottom
:
8
*$
length
;
margin-left
:
32
*$
length
;
.label-box__err{
color
:
#fff
;
...
...
@@ -332,7 +374,9 @@
}
&
:hover
{
>
.title{
color
:
#00AAE6
;
.title1{
color
:
#00AAE6
;
}
}
}
}
...
...
components/pc/projectCard.vue
View file @
dccd8039
...
...
@@ -325,6 +325,7 @@
>
p{
margin-top
:
8
*$
length
;
margin-bottom
:
8
*$
length
;
margin-right
:
10
*$
length
;
padding
:
2
*$
length
8
*$
length
;
...
...
@@ -403,6 +404,7 @@
justify-content
:
flex-start
;
>
p{
margin-top
:
8
*$
length
;
margin-bottom
:
8
*$
length
;
margin-right
:
10
*$
length
;
padding
:
2
*$
length
8
*$
length
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment