GoodList.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. <template>
  2. <div>
  3. <div>
  4. <div class="tab-filter" >
  5. <div class="fl">&nbsp;&nbsp;| 产品信息(<span class="text-num"></span><span class="text-num" v-text="good_list.total"></span>)</div>
  6. <div class="fr">
  7. <div @click="sortBy('normal1')" :class="activeTag==='normal1'?'active':''"><a >综合排序</a></div>
  8. <div @click="sortBy('normal2')" :class="activeTag==='normal2'?'active':''"><a >库存<i class="fa fa-long-arrow-down" v-show="reserve_asc"></i><i class="fa fa-long-arrow-up" v-show="!reserve_asc"></i></a></div>
  9. <!--<div @click="sortBy('type')" :class="activeTag==='type'?'active':''"><a >型号精确</a></div>-->
  10. <div style="display:none"><a href="">销量</a></div>
  11. <div style="display:none"><a href="">人气</a></div>
  12. <div style="display:none"><a href="">信用</a></div>
  13. <div @click="sortBy('price')" :class="activeTag==='price'?'active':''"><a>价格<i class="fa fa-long-arrow-down" v-show="price_asc"></i><i class="fa fa-long-arrow-up" v-show="!price_asc"></i></a></div>
  14. <div class="price-filter">
  15. <div class="price-input">
  16. <input type="number" min="0" step="0.01" v-model="min_price" class="form-control" placeholder="¥" onfocus="this.placeholder=''" onblur="this.placeholder='¥'" />
  17. <span>-</span>
  18. <input type="number" :min="min_price === ''?0:min_price" step="0.01" v-model="max_price" class="form-control" placeholder="¥" onfocus="this.placeholder=''" onblur="this.placeholder='¥'" />
  19. </div>
  20. <div class="price-hover">
  21. <a @click="clear_price">清空</a>
  22. <a @click="filter_price">确定</a>
  23. </div>
  24. </div>
  25. <div style="display:none;padding-top: 5px; margin-left: 0;">
  26. <select class="select-adder form-control" style="width: 120px;">
  27. <option value="1">发货地</option>
  28. </select>
  29. </div>
  30. <div class="off">
  31. <a @click="list_open=!list_open">
  32. <span v-text="list_open?'收起':'展开'"></span>
  33. <i class="fa fa-angle-down" v-show="!list_open"></i>
  34. <i class="fa fa-angle-up"v-show="list_open"></i>
  35. </a>
  36. </div>
  37. </div>
  38. </div>
  39. <div v-if="list_open">
  40. <table class="product-list" >
  41. <thead>
  42. <tr style="height: 40px;">
  43. <!--<th width="80"></th>-->
  44. <th width="140">品牌/类目/型号/规格</th>
  45. <th width="100">包装/生产日期</th>
  46. <th width="110">商家名称</th>
  47. <th width="140">库存</th>
  48. <th width="90">梯度/pcs</th>
  49. <th width="90" v-if="!crname_click_flag.rmb_click_flag">香港交货</th>
  50. <th width="110" v-if="!crname_click_flag.usd_click_flag">大陆交货<span style="font-size: 12px;">(含税)</span></th>
  51. <th width="110">交期<span style="font-size: 12px;">(天)</span></th>
  52. <th width="90">规格书</th>
  53. <th width="100">操作</th>
  54. </tr>
  55. </thead>
  56. <tbody id="productList-content">
  57. <tr v-for="item in good_list.components" @click="goUnstandardDetail(item)">
  58. <!--<td>-->
  59. <!--<nuxt-link class="component-img-box" :to="item.batchCode?`/store/${item.storeId}/${item.batchCode}`:`/product/component/${item.uuid}`">-->
  60. <!--&lt;!&ndash; <img :src="item.img?item.img:item.brand&&item.brand.logoUrl?item.brand.logoUrl:'/images/component/default.png'">&ndash;&gt;-->
  61. <!--<img class="component-img" :src="item.batchCode?item.img?item.img:'/images/component/default.png':item.brand&&item.brand.logoUrl?item.brand.logoUrl:'/images/component/default.png'">-->
  62. <!--<img v-if="item.status === 602" class="sellout-flag" src="/images/search/sellout-search.png" alt="">-->
  63. <!--</nuxt-link>-->
  64. <!--</td>-->
  65. <td class="brand-code">
  66. <img v-if="item.status === 602" class="sellout-flag" src="/images/search/sellout-search.png" alt="">
  67. <div class="brand" v-if="item.brand&&item.brand.nameEn"><nuxt-link :to="`/product/brand/${item.brand.uuid}`" class="text-num" v-text="item.brand.nameEn"></nuxt-link></div>
  68. <div class="brand" v-if="!item.brand||!item.brand.nameEn">{{item.brandEn||'—'}}</div>
  69. <div class="brand" v-if="item.kind&&item.kind.nameCn"><nuxt-link :to="`/product/kind/${item.kindid}`" v-text="item.kind.nameCn"></nuxt-link></div>
  70. <div class="brand" v-if="!item.kind||!item.kind.nameCn">{{item.kindName || '—'}}</div>
  71. <div class="code" v-if="item.code">
  72. <nuxt-link v-if="item.uuid" :to="`/product/component/${item.uuid}`" class="f16 text-bold text-num" v-text="item.code"></nuxt-link>
  73. <span v-if="!item.uuid">{{item.code}}</span>
  74. </div>
  75. <div class="brand" v-if="!item.code">—</div>
  76. <div class="brand">{{item.spec || '—'}}</div>
  77. </td>
  78. <td>
  79. <div class="package" v-text="item.packaging"></div>
  80. <div class="date" v-text="item.produceDate"></div>
  81. <div v-if="!item.packaging && !item.produceDate">—</div>
  82. </td>
  83. <td>
  84. <div v-if="item.storeName">
  85. <nuxt-link :to="'/store/' + item.storeId" v-text="item.storeName">
  86. </nuxt-link>
  87. </div>
  88. <div v-if="!item.storeName">—</div>
  89. </td>
  90. <td class="text-left">
  91. <div class="goods" v-if="item.reserve">
  92. 库存:<span v-text="item.reserve"></span>
  93. </div>
  94. <div v-if="!item.reserve" style="text-align: center;margin-left: 0;"><span>—</span></div>
  95. <div class="from" v-if="item.reserve && item.reserve > 0">
  96. 最小起订量:<span v-text="item.minBuyQty" v-if="item.minBuyQty"></span>
  97. </div>
  98. <!-- <div class="multiple" v-if="item.reserve > 0">
  99. 倍数:<span v-text="item.minPackQty"></span>
  100. </div>-->
  101. <div v-if="item.reserve && item.breakUp" v-text="item.breakUp?'可拆卖':'不可拆卖'"></div>
  102. </td>
  103. <td>
  104. <div v-show="!item.prices">
  105. <span>—</span>
  106. </div>
  107. <div v-for="price in item.prices">
  108. <span v-text="price.start"></span> +
  109. </div>
  110. </td>
  111. <td v-if="!crname_click_flag.rmb_click_flag">
  112. <div v-show="!(item.currencyName == 'USD') || !item.prices">
  113. <span>—</span>
  114. </div>
  115. <div v-for="price in item.prices">
  116. <span>{{price.uSDPrice | currency}}</span>
  117. </div>
  118. </td>
  119. <td v-if="!crname_click_flag.usd_click_flag">
  120. <div v-show="!(item.currencyName == 'RMB') || !item.prices">
  121. <span>—</span>
  122. </div>
  123. <div v-for="price in item.prices">
  124. <span>{{price.rMBPrice | currency}}</span>
  125. </div>
  126. </td>
  127. <td>
  128. <div v-show="!item.b2cMinDelivery">
  129. <span>—</span>
  130. </div>
  131. <div v-if="item.b2cMinDelivery">交期:
  132. <!--<span v-text="item.b2cMinDelivery + '-' + item.b2cMaxDelivery"></span>-->
  133. <span v-if="item.b2cMinDelivery != item.b2cMaxDelivery" v-text="item.b2cMinDelivery + '-' + item.b2cMaxDelivery"></span>
  134. <span v-if="item.b2cMinDelivery == item.b2cMaxDelivery" v-text="item.b2cMinDelivery"></span>
  135. </div>
  136. </td>
  137. <td>
  138. <span v-if="item.attach"><a @click="goAttach(item.attach, $event)"><img src="/images/store/common/pdf.png" alt=""/></a></span>
  139. <span v-if="!item.attach">—</span>
  140. </td>
  141. <td>
  142. <div v-show="!item.reserve">
  143. <span>—</span>
  144. </div>
  145. <div v-if="item.reserve > 0">
  146. <buy :item="item" :isStoreStyle="false" :disabledFlag="item.status === 602"></buy>
  147. </div>
  148. </td>
  149. </tr>
  150. <tr v-if="good_list.components.length == 'undefined' ||good_list.components.length == 0">
  151. <td colspan="12">
  152. <div class="empty">
  153. <p class="empty-img">
  154. <img src="/images/brandList/empty-cart.png">
  155. </p>
  156. <div class="empty-info">
  157. <p class="grey"> 暂无产品信息 </p>
  158. <a href="javascript:history.go(-1)"><i class="fa fa-mail-reply fa-xs"></i>返回上一页</a>
  159. </div>
  160. </div>
  161. </td>
  162. </tr>
  163. </tbody>
  164. </table>
  165. </div>
  166. <page :total="total_count" :page-size="pageSize"
  167. :current="nowPage" @childEvent="listenPage"></page>
  168. </div>
  169. </div>
  170. </template>
  171. <script>
  172. import Page from '~components/common/page/pageComponent.vue'
  173. import Buy from '~components/common/buyOrCar/buyComponent.vue'
  174. export default {
  175. data () {
  176. return {
  177. list_open: true,
  178. nowPage: 1,
  179. pageSize: 15,
  180. sorting: {},
  181. price_asc: true,
  182. reserve_asc: true,
  183. min_price: '',
  184. max_price: '',
  185. filter: {},
  186. activeTag: 'normal1'
  187. }
  188. },
  189. components: {
  190. Page,
  191. Buy
  192. },
  193. props: ['crname_click_flag'],
  194. filters: {
  195. currency: function (input) {
  196. if (typeof input === 'number') {
  197. if (input <= 0.000001) {
  198. input = 0.000001
  199. } else {
  200. if (input.toString().indexOf('.') === -1) {
  201. input = input + '.00'
  202. } else {
  203. let inputStr = input.toString()
  204. let arr = inputStr.split('.')
  205. let floatNum = arr[1]
  206. if (floatNum.length > 6) {
  207. input = inputStr.substring(0, arr[0].length + 7)
  208. if (Number(floatNum.charAt(6)) > 4) {
  209. input = (Number(input) * 1000000 + 1) / 1000000
  210. }
  211. } else if (floatNum.length === 1) {
  212. input = input + '0'
  213. }
  214. }
  215. }
  216. }
  217. return input
  218. }
  219. },
  220. watch: {
  221. $route: function (val, oldVal) {
  222. this.filter = {}
  223. this.activeTag = 'normal1'
  224. }
  225. },
  226. computed: {
  227. good_lists () {
  228. return this.$store.state.searchData.searchList.lists
  229. },
  230. good_list () {
  231. return this.good_lists.data
  232. },
  233. total_count () {
  234. return Math.min(this.good_list.total, 100 * this.pageSize)
  235. },
  236. buy_info () {
  237. return this.$store.state.user.buy.buyInfo.data
  238. },
  239. car_info () {
  240. return this.$store.state.user.car.addCarInfo.data
  241. },
  242. user () {
  243. return this.$store.state.option.user
  244. }
  245. },
  246. methods: {
  247. goAttach: function (url, event) {
  248. event.stopPropagation()
  249. if (this.user.logged) {
  250. if (url && url !== '1') {
  251. window.open(url)
  252. } else {
  253. this.$message.error('规格书地址错误')
  254. }
  255. } else {
  256. this.$http.get('/login/page', {params: {returnUrl: window.location.href}}).then(response => {
  257. if (response.data) {
  258. window.location.href = response.data.content + '&baseUrl=' + encodeURIComponent(window.location.protocol + '//' + window.location.host + response.data.baseUrl)
  259. }
  260. })
  261. }
  262. },
  263. listenPage: function (changedPage) {
  264. this.nowPage = changedPage
  265. this.$emit('pageEvent', this.nowPage)
  266. },
  267. sortBy: function (param) {
  268. if (param === 'normal1') {
  269. this.sorting = {}
  270. this.activeTag = 'normal1'
  271. } else if (param === 'normal2') {
  272. if (this.reserve_asc) {
  273. this.sorting = {'RESERVE': 'ASC'}
  274. } else {
  275. this.sorting = {'RESERVE': 'DESC'}
  276. }
  277. this.activeTag = 'normal2'
  278. this.reserve_asc = !this.reserve_asc
  279. } else if (param === 'type') {
  280. this.sorting = {'RESERVE': 'DESC'}
  281. this.activeTag = 'type'
  282. } else if (param === 'price') {
  283. if (this.price_asc) {
  284. this.sorting = {'PRICE': 'ASC'}
  285. } else {
  286. this.sorting = {'PRICE': 'DESC'}
  287. }
  288. this.activeTag = 'price'
  289. this.price_asc = !this.price_asc
  290. }
  291. this.$emit('sortEvent', this.sorting)
  292. this.nowPage = 1
  293. },
  294. filter_price: function () {
  295. if (this.min_price === '' && this.max_price !== '') {
  296. this.filter.goods_maxpricermb = this.max_price
  297. } else if (this.min_price !== '' && this.max_price === '') {
  298. this.filter.goods_minpricermb = this.min_price
  299. } else if (this.min_price !== '' && this.max_price !== '') {
  300. if (this.min_price <= this.max_price) {
  301. this.filter.goods_minpricermb = this.min_price
  302. this.filter.goods_maxpricermb = this.max_price
  303. }
  304. } else {
  305. delete this.filter.goods_minpricermb
  306. delete this.filter.goods_maxpricermb
  307. }
  308. this.$emit('filterPriceEvent', this.filter)
  309. },
  310. clear_price: function () {
  311. this.min_price = ''
  312. this.max_price = ''
  313. this.$emit('filterPriceEvent', this.filter)
  314. },
  315. goUnstandardDetail: function (comp) {
  316. if (comp.batchCode) {
  317. this.$router.push('/store/productDetail/' + comp.batchCode)
  318. }
  319. }
  320. }
  321. }
  322. </script>
  323. <style scoped>
  324. /* .tab-filter {
  325. width: 1190px;
  326. height: 40px;
  327. margin: 0 auto;
  328. line-height: 40px;
  329. margin-top: 20px;
  330. margin-bottom: 10px;
  331. background: #f1efef;
  332. }
  333. .tab-filter .fl {
  334. font-size: 14px;
  335. }
  336. .tab-filter .fl, .tab-filter .fr {
  337. float: left;
  338. }
  339. .tab-filter .fl span {
  340. font-size: 14px;
  341. }
  342. .text-num {
  343. font-style: normal;
  344. font-family: verdana;
  345. }
  346. .tab-filter .fr {
  347. max-width: 1050px;
  348. }
  349. .tab-filter .fr div {
  350. float: left;
  351. margin: 0 5px;
  352. }
  353. .tab-filter .fr a {
  354. display: inline-block;
  355. padding: 1px 10px;
  356. border: #ccc 1px solid;
  357. line-height: 26px;
  358. font-size: 14px;
  359. text-align: center;
  360. color: #333;
  361. max-height: 30px;
  362. background: #fff;
  363. }
  364. .tab-filter .fr .price-filter {
  365. padding-top: 5px;
  366. width: 176px;
  367. margin: 0;
  368. }
  369. .price-filter {
  370. position: relative;
  371. }*/
  372. .price-filter .price-input {
  373. position: relative;
  374. z-index: 10;
  375. margin: 0 10px !important;
  376. width: 180px;
  377. }
  378. .tab-filter .fr .price-filter input, .tab-filter .fr .price-filter span {
  379. float: left;
  380. }
  381. .tab-filter .fr .form-control {
  382. width: 70px;
  383. height: 30px;
  384. border-radius: 0;
  385. padding-left: 5px;
  386. }
  387. .tab-filter .fr .price-filter span {
  388. margin: 0 5px;
  389. line-height: 30px;
  390. }
  391. .price-filter .price-hover {
  392. display: none;
  393. width: 165px;
  394. height: 25px;
  395. padding: 60px 6px 6px;
  396. margin: 0 10px;
  397. border: 1px solid #999;
  398. position: absolute;
  399. background: #fff;
  400. top: 0;
  401. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  402. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  403. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  404. }
  405. .price-filter .price-hover a:first-child {
  406. position: absolute;
  407. top: 37px;
  408. left: 6px;
  409. width: 36px;
  410. height: 25px;
  411. line-height: 25px;
  412. text-align: center;
  413. color: #5078cb;
  414. display: inline-block;
  415. border: none;
  416. padding: 0;
  417. }
  418. .price-filter .price-hover a:last-child {
  419. position: absolute;
  420. top: 37px;
  421. right: 7px;
  422. width: 38px;
  423. height: 25px;
  424. line-height: 24px;
  425. border: 1px solid #ccc;
  426. text-align: center;
  427. background: #f7f7f7;
  428. color: #333;
  429. display: inline-block;
  430. padding: 0;
  431. }
  432. /* .tab-filter .fr .off {
  433. margin-left: 130px;
  434. float: right;
  435. }
  436. .tab-filter .fr .off a {
  437. border: none;
  438. text-align: right;
  439. padding-left: 360px;
  440. background: none;
  441. }
  442. .tab-filter .fr .off a i {
  443. font-size: 16px;
  444. }*/
  445. .product-list{
  446. width: 1190px;
  447. /*margin-bottom: 20px;*/
  448. }
  449. .product-list thead tr{
  450. /*border-top: #6493ff 2px solid;*/
  451. color: #323232;
  452. background: none;
  453. }
  454. /* 物品列表 */
  455. .product-list .brand-code {
  456. font-size: 14px;
  457. text-align: center;
  458. position: relative;
  459. }
  460. .product-list .brand-code .brand{
  461. font-size: 12px;
  462. }
  463. .product-list .brand-code .code {
  464. font-weight: 600;
  465. }
  466. .product-list th {
  467. color: rgb(50,50,50);
  468. font-size: 14px;
  469. font-weight: 600;
  470. background-color: #f7f7f7;
  471. text-align: center;
  472. }
  473. .product-list tbody>tr {
  474. border: 1px solid #e8e8e8;
  475. cursor: pointer ;
  476. position: relative;
  477. }
  478. .product-list tbody>tr:hover{
  479. background: #ecf2fd;
  480. }
  481. .product-list tbody>tr .component-img-box {
  482. width: 80px;
  483. height: 80px;
  484. position: relative;
  485. }
  486. .product-list tbody>tr .brand-code .sellout-flag {
  487. position: absolute;
  488. right: 0;
  489. bottom: 0;
  490. }
  491. .product-list tbody>tr .component-img-box .component-img {
  492. border: 1px solid #e8e8e8;
  493. margin: 10px 0 5px 0;
  494. max-width: 80px;
  495. max-height: 80px;
  496. }
  497. .product-list tbody>tr .contact{
  498. font-size: 14px;
  499. color: #5078cb;
  500. width: 90%;
  501. margin: 0 auto;
  502. display: inline-block;
  503. }
  504. .product-list tbody>tr .contact:hover{
  505. color: #d32526;
  506. }
  507. .product-list td {
  508. font-size: 12px;
  509. color: #333;
  510. text-align: center;
  511. line-height: 20px;
  512. }
  513. /* 物品列表按钮 */
  514. /* .product-list .btn-buy-now {
  515. background-color: #5078CB;
  516. color: #fff;
  517. width: 80px;
  518. height: 30px;
  519. font-size: 12px;
  520. border: 1px solid #5078cb;
  521. padding-top: 8px;
  522. }
  523. .product-list .btn-add-cart {
  524. margin-top: 10px;
  525. color: #214797;
  526. width: 80px;
  527. height: 30px;
  528. font-size: 12px;
  529. background-color: #fff;
  530. border: 1px solid #e8e8e8;
  531. padding-top: 8px;
  532. }
  533. .product-list .btn-buy-now:hover{
  534. background: #214797;
  535. }
  536. .product-list .btn-add-cart:hover{
  537. background-color: #5078CB;
  538. color: #fff;
  539. }*/
  540. .product-list .text-left{
  541. text-align: left;
  542. }
  543. .product-list .text-left div{
  544. margin-left: 30px;
  545. }
  546. .product-list tbody tr td{
  547. padding: 10px 0;
  548. }
  549. .search-record{
  550. width: 100%;
  551. margin: 0 auto;
  552. height: 40px;
  553. font-size: 16px;
  554. line-height: 40px;
  555. margin-top: 20px;
  556. }
  557. .search-record span.red{
  558. color: #ff0909;
  559. }
  560. .tab-filter{
  561. width: 1190px;
  562. height: 40px;
  563. margin: 0 auto;
  564. line-height: 40px;
  565. margin-bottom: 10px;
  566. background: #f1efef;
  567. }
  568. .tab-filter .fl,.tab-filter .fr{
  569. float: left;
  570. }
  571. .tab-filter .fl{
  572. font-size: 14px;
  573. }
  574. .tab-filter .fr{
  575. max-width: 1050px;
  576. }
  577. .tab-filter .fl span{
  578. font-size: 14px;
  579. }
  580. .tab-filter .fr div{
  581. float: left;
  582. margin: 0 5px;
  583. }
  584. .tab-filter .fr div.active a{
  585. border: #5078cb 1px solid;
  586. color: #5078cb;
  587. }
  588. .tab-filter .fr a{
  589. display: inline-block;
  590. padding: 1px 10px;
  591. border: #ccc 1px solid;
  592. line-height: 26px;
  593. font-size: 14px;
  594. text-align: center;
  595. color: #333;
  596. max-height: 30px;
  597. background: #fff;
  598. }
  599. .tab-filter .fr a i{
  600. /*margin-left: 5px;*/
  601. }
  602. .tab-filter .fr a:hover{
  603. border: #5078cb 1px solid;
  604. color: #5078cb;
  605. }
  606. .tab-filter .fr .off{
  607. margin-left : 129px;
  608. float: right;
  609. }
  610. .tab-filter .fr .off a:hover{
  611. border: none;
  612. color: #5078cb;
  613. }
  614. .tab-filter .fr .off a{
  615. border: none;
  616. text-align: right;
  617. padding-left: 360px;
  618. background: none;
  619. }
  620. .tab-filter .fr .off a i{
  621. font-size: 16px;
  622. }
  623. .tab-filter .fr .form-control{
  624. width: 70px;
  625. height: 30px;
  626. border-radius: 0;
  627. padding-left: 5px;
  628. }
  629. .tab-filter .fr .price-filter input,.tab-filter .fr .price-filter span{
  630. float: left;
  631. }
  632. .tab-filter .fr select{
  633. -webkit-appearance: none;
  634. appearance: none;
  635. background: transparent;
  636. -o-appearance: none;
  637. -moz-appearance: none;
  638. -ms-appearance: none;
  639. width: 120px;
  640. }
  641. .tab-filter .fr .price-filter{
  642. padding-top: 5px;
  643. width: 176px;
  644. margin: 0;
  645. }
  646. .tab-filter .fr .price-filter span{
  647. margin: 0 5px;
  648. line-height: 30px;
  649. }
  650. .close{
  651. display: none;
  652. }
  653. .price-filter{
  654. position: relative;
  655. }
  656. .price-filter:hover .price-hover{
  657. display: block;
  658. }
  659. .price-filter .price-hover{
  660. background: transparent;
  661. }
  662. .price-filter .price-input{
  663. position: relative;
  664. z-index: 10;
  665. margin: 0 10px !important;
  666. }
  667. .price-filter .price-hover{
  668. display: none;
  669. width: 165px;
  670. height: 25px;
  671. padding: 60px 6px 6px;
  672. margin: 0 10px;
  673. border: 1px solid #999;
  674. position: absolute;
  675. background: #fff;
  676. top: 0;
  677. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  678. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  679. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  680. }
  681. .price-filter .price-hover a:first-child{
  682. position: absolute;
  683. top: 37px;
  684. left: 6px;
  685. width: 36px;
  686. height: 25px;
  687. line-height: 25px;
  688. text-align: center;
  689. color: #5078cb;
  690. display: inline-block;
  691. border: none;
  692. padding: 0;
  693. }
  694. .price-filter .price-hover a:last-child{
  695. position: absolute;
  696. top: 37px;
  697. right: 7px;
  698. width: 38px;
  699. height: 25px;
  700. line-height: 24px;
  701. border: 1px solid #ccc;
  702. text-align: center;
  703. background: #f7f7f7;
  704. color: #333;
  705. display: inline-block;
  706. padding: 0;
  707. }
  708. .price-filter .price-hover a:last-child:hover{
  709. background: #5078cb;
  710. color: #fff;
  711. }
  712. div.ng-table-pager input.page-number {
  713. vertical-align: inherit;
  714. display: inline-block;
  715. width: 40px;
  716. height: 31px;
  717. padding: 6px 6px;
  718. font-size: 14px;
  719. line-height: 1.42857143;
  720. color: #9B9792;
  721. text-align: center;
  722. background-color: #F6F5F4;
  723. background-image: none;
  724. border: 1px solid #ccc;
  725. border-top-left-radius: 4px;
  726. border-bottom-left-radius: 4px;
  727. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  728. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  729. }
  730. div.ng-table-pager a.page-a{
  731. background: #5078cb !important;
  732. color: #fff;
  733. float: right;
  734. }
  735. tbody a:hover{
  736. color: #f39801;
  737. }
  738. /**/
  739. .product-list tbody>tr .empty{
  740. overflow: hidden;
  741. margin: 0!important;
  742. height:130px;
  743. display:inline-flex;
  744. align-items: center;
  745. }
  746. .product-list tbody>tr .empty .empty-img{
  747. margin:0;
  748. border:0;
  749. min-width:143px;
  750. min-height:72px;
  751. }
  752. .product-list tbody>tr .empty .empty-img img {
  753. margin: 0;
  754. border: 0;
  755. min-width: 143px;
  756. min-height: 72px;
  757. }
  758. .product-list tbody>tr .empty-info{
  759. line-height: 14px;
  760. width: 143px;
  761. }
  762. .product-list tbody>tr .grey{
  763. color: #999;
  764. font-size: 14px;
  765. }
  766. .product-list tbody>tr .empty .empty-info>a{
  767. font-size: 14px;
  768. color: #5078cb;
  769. }
  770. .product-list tbody>tr .empty .empty-info i{
  771. margin-right:5px;
  772. }
  773. </style>