GoodList.vue 23 KB

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