Commit cecbef8b by zhanghaozhe

样式

parent 44454e39
......@@ -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']}元`
}
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment