GoodList.vue 23 KB

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