GoodList.vue 22 KB

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