GoodList.vue 23 KB

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