GoodList.vue 20 KB

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