GoodList.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  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="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">香港交货</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 && item.breakUp" 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. reserve_asc: true,
  182. min_price: '',
  183. max_price: '',
  184. filter: {},
  185. activeTag: 'normal1'
  186. }
  187. },
  188. components: {
  189. Page,
  190. Buy
  191. },
  192. props: ['crname_click_flag'],
  193. filters: {
  194. currency: function (input) {
  195. if (typeof input === 'number') {
  196. if (input <= 0.000001) {
  197. input = 0.000001
  198. } else {
  199. if (input.toString().indexOf('.') === -1) {
  200. input = input + '.00'
  201. } else {
  202. let inputStr = input.toString()
  203. let arr = inputStr.split('.')
  204. let floatNum = arr[1]
  205. if (floatNum.length > 6) {
  206. input = inputStr.substring(0, arr[0].length + 7)
  207. if (Number(floatNum.charAt(6)) > 4) {
  208. input = (Number(input) * 1000000 + 1) / 1000000
  209. }
  210. } else if (floatNum.length === 1) {
  211. input = input + '0'
  212. }
  213. }
  214. }
  215. }
  216. return input
  217. }
  218. },
  219. watch: {
  220. $route: function (val, oldVal) {
  221. this.filter = {}
  222. this.activeTag = 'normal1'
  223. }
  224. },
  225. computed: {
  226. good_lists () {
  227. return this.$store.state.searchData.searchList.lists
  228. },
  229. good_list () {
  230. return this.good_lists.data
  231. },
  232. total_count () {
  233. return Math.min(this.good_list.total, 100 * this.pageSize)
  234. },
  235. buy_info () {
  236. return this.$store.state.user.buy.buyInfo.data
  237. },
  238. car_info () {
  239. return this.$store.state.user.car.addCarInfo.data
  240. }
  241. },
  242. methods: {
  243. listenPage: function (changedPage) {
  244. this.nowPage = changedPage
  245. this.$emit('pageEvent', this.nowPage)
  246. },
  247. sortBy: function (param) {
  248. if (param === 'normal1') {
  249. this.sorting = {}
  250. this.activeTag = 'normal1'
  251. } else if (param === 'normal2') {
  252. if (this.reserve_asc) {
  253. this.sorting = {'RESERVE': 'ASC'}
  254. } else {
  255. this.sorting = {'RESERVE': 'DESC'}
  256. }
  257. this.activeTag = 'normal2'
  258. this.reserve_asc = !this.reserve_asc
  259. } else if (param === 'type') {
  260. this.sorting = {'RESERVE': 'DESC'}
  261. this.activeTag = 'type'
  262. } else if (param === 'price') {
  263. if (this.price_asc) {
  264. this.sorting = {'PRICE': 'ASC'}
  265. } else {
  266. this.sorting = {'PRICE': 'DESC'}
  267. }
  268. this.activeTag = 'price'
  269. this.price_asc = !this.price_asc
  270. }
  271. this.$emit('sortEvent', this.sorting)
  272. this.nowPage = 1
  273. },
  274. filter_price: function () {
  275. if (this.min_price === '' && this.max_price !== '') {
  276. this.filter.goods_maxpricermb = this.max_price
  277. } else if (this.min_price !== '' && this.max_price === '') {
  278. this.filter.goods_minpricermb = this.min_price
  279. } else if (this.min_price !== '' && this.max_price !== '') {
  280. if (this.min_price <= this.max_price) {
  281. this.filter.goods_minpricermb = this.min_price
  282. this.filter.goods_maxpricermb = this.max_price
  283. }
  284. } else {
  285. delete this.filter.goods_minpricermb
  286. delete this.filter.goods_maxpricermb
  287. }
  288. this.$emit('filterPriceEvent', this.filter)
  289. },
  290. clear_price: function () {
  291. this.min_price = ''
  292. this.max_price = ''
  293. this.$emit('filterPriceEvent', this.filter)
  294. },
  295. goUnstandardDetail: function (comp) {
  296. if (!comp.uuid) {
  297. this.$router.push('/store/productDetail/' + comp.batchCode)
  298. }
  299. }
  300. }
  301. }
  302. </script>
  303. <style scoped>
  304. /* .tab-filter {
  305. width: 1190px;
  306. height: 40px;
  307. margin: 0 auto;
  308. line-height: 40px;
  309. margin-top: 20px;
  310. margin-bottom: 10px;
  311. background: #f1efef;
  312. }
  313. .tab-filter .fl {
  314. font-size: 14px;
  315. }
  316. .tab-filter .fl, .tab-filter .fr {
  317. float: left;
  318. }
  319. .tab-filter .fl span {
  320. font-size: 14px;
  321. }
  322. .text-num {
  323. font-style: normal;
  324. font-family: verdana;
  325. }
  326. .tab-filter .fr {
  327. max-width: 1050px;
  328. }
  329. .tab-filter .fr div {
  330. float: left;
  331. margin: 0 5px;
  332. }
  333. .tab-filter .fr a {
  334. display: inline-block;
  335. padding: 1px 10px;
  336. border: #ccc 1px solid;
  337. line-height: 26px;
  338. font-size: 14px;
  339. text-align: center;
  340. color: #333;
  341. max-height: 30px;
  342. background: #fff;
  343. }
  344. .tab-filter .fr .price-filter {
  345. padding-top: 5px;
  346. width: 176px;
  347. margin: 0;
  348. }
  349. .price-filter {
  350. position: relative;
  351. }*/
  352. .price-filter .price-input {
  353. position: relative;
  354. z-index: 10;
  355. margin: 0 10px !important;
  356. width: 180px;
  357. }
  358. .tab-filter .fr .price-filter input, .tab-filter .fr .price-filter span {
  359. float: left;
  360. }
  361. .tab-filter .fr .form-control {
  362. width: 70px;
  363. height: 30px;
  364. border-radius: 0;
  365. padding-left: 5px;
  366. }
  367. .tab-filter .fr .price-filter span {
  368. margin: 0 5px;
  369. line-height: 30px;
  370. }
  371. .price-filter .price-hover {
  372. display: none;
  373. width: 165px;
  374. height: 25px;
  375. padding: 60px 6px 6px;
  376. margin: 0 10px;
  377. border: 1px solid #999;
  378. position: absolute;
  379. background: #fff;
  380. top: 0;
  381. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  382. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  383. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  384. }
  385. .price-filter .price-hover a:first-child {
  386. position: absolute;
  387. top: 37px;
  388. left: 6px;
  389. width: 36px;
  390. height: 25px;
  391. line-height: 25px;
  392. text-align: center;
  393. color: #5078cb;
  394. display: inline-block;
  395. border: none;
  396. padding: 0;
  397. }
  398. .price-filter .price-hover a:last-child {
  399. position: absolute;
  400. top: 37px;
  401. right: 7px;
  402. width: 38px;
  403. height: 25px;
  404. line-height: 24px;
  405. border: 1px solid #ccc;
  406. text-align: center;
  407. background: #f7f7f7;
  408. color: #333;
  409. display: inline-block;
  410. padding: 0;
  411. }
  412. /* .tab-filter .fr .off {
  413. margin-left: 130px;
  414. float: right;
  415. }
  416. .tab-filter .fr .off a {
  417. border: none;
  418. text-align: right;
  419. padding-left: 360px;
  420. background: none;
  421. }
  422. .tab-filter .fr .off a i {
  423. font-size: 16px;
  424. }*/
  425. .product-list{
  426. width: 1190px;
  427. /*margin-bottom: 20px;*/
  428. }
  429. .product-list thead tr{
  430. /*border-top: #6493ff 2px solid;*/
  431. color: #323232;
  432. background: none;
  433. }
  434. /* 物品列表 */
  435. .product-list .brand-code {
  436. font-size: 14px;
  437. text-align: center;
  438. position: relative;
  439. }
  440. .product-list .brand-code .brand{
  441. font-size: 12px;
  442. }
  443. .product-list .brand-code .code {
  444. font-weight: 600;
  445. }
  446. .product-list th {
  447. color: rgb(50,50,50);
  448. font-size: 14px;
  449. font-weight: 600;
  450. background-color: #f7f7f7;
  451. text-align: center;
  452. }
  453. .product-list tbody>tr {
  454. border: 1px solid #e8e8e8;
  455. cursor: pointer ;
  456. position: relative;
  457. }
  458. .product-list tbody>tr:hover{
  459. background: #ecf2fd;
  460. }
  461. .product-list tbody>tr .component-img-box {
  462. width: 80px;
  463. height: 80px;
  464. position: relative;
  465. }
  466. .product-list tbody>tr .brand-code .sellout-flag {
  467. position: absolute;
  468. right: 0;
  469. bottom: 0;
  470. }
  471. .product-list tbody>tr .component-img-box .component-img {
  472. border: 1px solid #e8e8e8;
  473. margin: 10px 0 5px 0;
  474. max-width: 80px;
  475. max-height: 80px;
  476. }
  477. .product-list tbody>tr .contact{
  478. font-size: 14px;
  479. color: #5078cb;
  480. width: 90%;
  481. margin: 0 auto;
  482. display: inline-block;
  483. }
  484. .product-list tbody>tr .contact:hover{
  485. color: #d32526;
  486. }
  487. .product-list td {
  488. font-size: 12px;
  489. color: #333;
  490. text-align: center;
  491. line-height: 20px;
  492. }
  493. /* 物品列表按钮 */
  494. /* .product-list .btn-buy-now {
  495. background-color: #5078CB;
  496. color: #fff;
  497. width: 80px;
  498. height: 30px;
  499. font-size: 12px;
  500. border: 1px solid #5078cb;
  501. padding-top: 8px;
  502. }
  503. .product-list .btn-add-cart {
  504. margin-top: 10px;
  505. color: #214797;
  506. width: 80px;
  507. height: 30px;
  508. font-size: 12px;
  509. background-color: #fff;
  510. border: 1px solid #e8e8e8;
  511. padding-top: 8px;
  512. }
  513. .product-list .btn-buy-now:hover{
  514. background: #214797;
  515. }
  516. .product-list .btn-add-cart:hover{
  517. background-color: #5078CB;
  518. color: #fff;
  519. }*/
  520. .product-list .text-left{
  521. text-align: left;
  522. }
  523. .product-list .text-left div{
  524. margin-left: 30px;
  525. }
  526. .product-list tbody tr td{
  527. padding: 10px 0;
  528. }
  529. .search-record{
  530. width: 100%;
  531. margin: 0 auto;
  532. height: 40px;
  533. font-size: 16px;
  534. line-height: 40px;
  535. margin-top: 20px;
  536. }
  537. .search-record span.red{
  538. color: #ff0909;
  539. }
  540. .tab-filter{
  541. width: 1190px;
  542. height: 40px;
  543. margin: 0 auto;
  544. line-height: 40px;
  545. margin-bottom: 10px;
  546. background: #f1efef;
  547. }
  548. .tab-filter .fl,.tab-filter .fr{
  549. float: left;
  550. }
  551. .tab-filter .fl{
  552. font-size: 14px;
  553. }
  554. .tab-filter .fr{
  555. max-width: 1050px;
  556. }
  557. .tab-filter .fl span{
  558. font-size: 14px;
  559. }
  560. .tab-filter .fr div{
  561. float: left;
  562. margin: 0 5px;
  563. }
  564. .tab-filter .fr div.active a{
  565. border: #5078cb 1px solid;
  566. color: #5078cb;
  567. }
  568. .tab-filter .fr a{
  569. display: inline-block;
  570. padding: 1px 10px;
  571. border: #ccc 1px solid;
  572. line-height: 26px;
  573. font-size: 14px;
  574. text-align: center;
  575. color: #333;
  576. max-height: 30px;
  577. background: #fff;
  578. }
  579. .tab-filter .fr a i{
  580. /*margin-left: 5px;*/
  581. }
  582. .tab-filter .fr a:hover{
  583. border: #5078cb 1px solid;
  584. color: #5078cb;
  585. }
  586. .tab-filter .fr .off{
  587. margin-left : 129px;
  588. float: right;
  589. }
  590. .tab-filter .fr .off a:hover{
  591. border: none;
  592. color: #5078cb;
  593. }
  594. .tab-filter .fr .off a{
  595. border: none;
  596. text-align: right;
  597. padding-left: 360px;
  598. background: none;
  599. }
  600. .tab-filter .fr .off a i{
  601. font-size: 16px;
  602. }
  603. .tab-filter .fr .form-control{
  604. width: 70px;
  605. height: 30px;
  606. border-radius: 0;
  607. padding-left: 5px;
  608. }
  609. .tab-filter .fr .price-filter input,.tab-filter .fr .price-filter span{
  610. float: left;
  611. }
  612. .tab-filter .fr select{
  613. -webkit-appearance: none;
  614. appearance: none;
  615. background: transparent;
  616. -o-appearance: none;
  617. -moz-appearance: none;
  618. -ms-appearance: none;
  619. width: 120px;
  620. }
  621. .tab-filter .fr .price-filter{
  622. padding-top: 5px;
  623. width: 176px;
  624. margin: 0;
  625. }
  626. .tab-filter .fr .price-filter span{
  627. margin: 0 5px;
  628. line-height: 30px;
  629. }
  630. .close{
  631. display: none;
  632. }
  633. .price-filter{
  634. position: relative;
  635. }
  636. .price-filter:hover .price-hover{
  637. display: block;
  638. }
  639. .price-filter .price-hover{
  640. background: transparent;
  641. }
  642. .price-filter .price-input{
  643. position: relative;
  644. z-index: 10;
  645. margin: 0 10px !important;
  646. }
  647. .price-filter .price-hover{
  648. display: none;
  649. width: 165px;
  650. height: 25px;
  651. padding: 60px 6px 6px;
  652. margin: 0 10px;
  653. border: 1px solid #999;
  654. position: absolute;
  655. background: #fff;
  656. top: 0;
  657. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  658. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  659. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  660. }
  661. .price-filter .price-hover a:first-child{
  662. position: absolute;
  663. top: 37px;
  664. left: 6px;
  665. width: 36px;
  666. height: 25px;
  667. line-height: 25px;
  668. text-align: center;
  669. color: #5078cb;
  670. display: inline-block;
  671. border: none;
  672. padding: 0;
  673. }
  674. .price-filter .price-hover a:last-child{
  675. position: absolute;
  676. top: 37px;
  677. right: 7px;
  678. width: 38px;
  679. height: 25px;
  680. line-height: 24px;
  681. border: 1px solid #ccc;
  682. text-align: center;
  683. background: #f7f7f7;
  684. color: #333;
  685. display: inline-block;
  686. padding: 0;
  687. }
  688. .price-filter .price-hover a:last-child:hover{
  689. background: #5078cb;
  690. color: #fff;
  691. }
  692. div.ng-table-pager input.page-number {
  693. vertical-align: inherit;
  694. display: inline-block;
  695. width: 40px;
  696. height: 31px;
  697. padding: 6px 6px;
  698. font-size: 14px;
  699. line-height: 1.42857143;
  700. color: #9B9792;
  701. text-align: center;
  702. background-color: #F6F5F4;
  703. background-image: none;
  704. border: 1px solid #ccc;
  705. border-top-left-radius: 4px;
  706. border-bottom-left-radius: 4px;
  707. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  708. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  709. }
  710. div.ng-table-pager a.page-a{
  711. background: #5078cb !important;
  712. color: #fff;
  713. float: right;
  714. }
  715. tbody a:hover{
  716. color: #f39801;
  717. }
  718. /**/
  719. .product-list tbody>tr .empty{
  720. overflow: hidden;
  721. margin: 0!important;
  722. height:130px;
  723. display:inline-flex;
  724. align-items: center;
  725. }
  726. .product-list tbody>tr .empty .empty-img{
  727. margin:0;
  728. border:0;
  729. min-width:143px;
  730. min-height:72px;
  731. }
  732. .product-list tbody>tr .empty .empty-img img {
  733. margin: 0;
  734. border: 0;
  735. min-width: 143px;
  736. min-height: 72px;
  737. }
  738. .product-list tbody>tr .empty-info{
  739. line-height: 14px;
  740. width: 143px;
  741. }
  742. .product-list tbody>tr .grey{
  743. color: #999;
  744. font-size: 14px;
  745. }
  746. .product-list tbody>tr .empty .empty-info>a{
  747. font-size: 14px;
  748. color: #5078cb;
  749. }
  750. .product-list tbody>tr .empty .empty-info i{
  751. margin-right:5px;
  752. }
  753. </style>