GoodList.vue 21 KB

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