Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
cecbef8b
Commit
cecbef8b
authored
Jun 14, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式
parent
44454e39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
src/components/search/search-result.js
+1
-2
src/components/search/search-result.scss
+2
-8
No files found.
src/components/search/search-result.js
View file @
cecbef8b
...
...
@@ -3,7 +3,6 @@ import SearchHeader from './searchHead'
import
VList
from
'@/common/VList'
import
{
http
,
api
,
getParam
}
from
'@/utils'
import
'./search-result.scss'
import
classnames
from
'classnames'
import
Recommendation
from
'./recommendation'
const
Bottom
=
({
item
})
=>
{
...
...
@@ -83,7 +82,7 @@ class SearchResult extends PureComponent {
const
status
=
(
(
item
[
'bargain_num'
]
||
item
[
'groupon_num'
])
?
<
div
className
=
{
classnames
(
'status'
,
[
item
[
'bargain_num'
]
?
'bargain'
:
'group'
])}
>
className
=
'status'
>
{
item
[
'bargain_num'
]
===
0
?
`砍价减
${
item
[
'groupon_num'
]}
元`
:
`拼团减
${
item
[
'bargain_num'
]}
元`
}
...
...
src/components/search/search-result.scss
View file @
cecbef8b
...
...
@@ -63,13 +63,6 @@
line-height
:
24px
;
font-size
:
13px
;
color
:
$white
;
&
.group
{
background-color
:
rgba
(
224
,
46
,
36
,
0
.6
);
}
&
.bargain
{
background-color
:
rgba
(
224
,
46
,
36
,
0
.6
);
}
background-color
:
rgba
(
224
,
46
,
36
,
0
.6
);
}
}
\ No newline at end of file
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