GoodList.vue 20 KB

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