GoodList.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  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. <!-- <img :src="item.img?item.img:item.brand&&item.brand.logoUrl?item.brand.logoUrl:'/images/component/default.png'">-->
  61. <!--<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. <!--</nuxt-link>-->
  63. <!--</td>-->
  64. <td class="brand-code">
  65. <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>
  66. <div class="brand" v-if="!item.brand.nameEn">—</div>
  67. <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>
  68. <div class="brand" v-if="!item.code">—</div>
  69. <div class="brand" v-if="item.kind.nameCn"><nuxt-link :to="`/product/kind/${item.kindid}`" v-text="item.kind.nameCn"></nuxt-link></div>
  70. <div class="brand" v-if="!item.kind.nameCn">—</div>
  71. </td>
  72. <td>
  73. <div class="package" v-text="item.packaging"></div>
  74. <div class="date" v-text="item.produceDate"></div>
  75. <div v-if="!item.packaging && !item.produceDate">—</div>
  76. </td>
  77. <td>
  78. <div v-if="item.storeName">
  79. <nuxt-link :to="'/store/' + item.storeId" v-text="item.storeName">
  80. </nuxt-link>
  81. </div>
  82. <div v-if="!item.storeName">—</div>
  83. </td>
  84. <td class="text-left">
  85. <div class="goods" v-if="item.reserve">
  86. 库存:<span v-text="item.reserve"></span>
  87. </div>
  88. <div v-if="!item.reserve" style="text-align: center;margin-left: 0;"><span>—</span></div>
  89. <div class="from" v-if="item.reserve && item.reserve > 0">
  90. 起拍:<span v-text="item.minBuyQty" v-if="item.minBuyQty"></span>
  91. </div>
  92. <!-- <div class="multiple" v-if="item.reserve > 0">
  93. 倍数:<span v-text="item.minPackQty"></span>
  94. </div>-->
  95. <div v-if="item.reserve" v-text="item.breakUp?'可拆卖':'不可拆卖'"></div>
  96. </td>
  97. <td>
  98. <div v-show="!item.prices">
  99. <span>—</span>
  100. </div>
  101. <div v-for="price in item.prices">
  102. <span v-text="price.start"></span> +
  103. </div>
  104. </td>
  105. <td v-if="!crname_click_flag.rmb_click_flag">
  106. <div v-show="!(item.currencyName == 'USD') || !item.prices">
  107. <span>—</span>
  108. </div>
  109. <div v-for="price in item.prices">
  110. <span>{{price.uSDPrice | currency}}</span>
  111. </div>
  112. </td>
  113. <td v-if="!crname_click_flag.usd_click_flag">
  114. <div v-show="!(item.currencyName == 'RMB') || !item.prices">
  115. <span>—</span>
  116. </div>
  117. <div v-for="price in item.prices">
  118. <span>{{price.rMBPrice | currency}}</span>
  119. </div>
  120. </td>
  121. <td>
  122. <div v-show="!item.b2cMinDelivery">
  123. <span>—</span>
  124. </div>
  125. <div v-if="item.b2cMinDelivery">交期:
  126. <!--<span v-text="item.b2cMinDelivery + '-' + item.b2cMaxDelivery"></span>-->
  127. <span v-if="item.b2cMinDelivery != item.b2cMaxDelivery" v-text="item.b2cMinDelivery + '-' + item.b2cMaxDelivery"></span>
  128. <span v-if="item.b2cMinDelivery == item.b2cMaxDelivery" v-text="item.b2cMinDelivery"></span>
  129. </div>
  130. </td>
  131. <td>
  132. <span v-if="item.attach && item.attach !==1"><a :href="item.attach" target="_blank"><img src="/images/store/common/pdf.png" alt=""/></a></span>
  133. <span v-show="!item.attach">—</span>
  134. </td>
  135. <td>
  136. <div v-show="!item.reserve">
  137. <span>—</span>
  138. </div>
  139. <div v-if="item.reserve > 0">
  140. <buy :item="item" :isStoreStyle="false"></buy>
  141. </div>
  142. </td>
  143. </tr>
  144. <tr v-if="good_list.components.length == 'undefined' ||good_list.components.length == 0">
  145. <td colspan="10" class="text-center" style="line-height: 40px; font-size: 20px;">
  146. <i class="fa fa-smile-o fa-lg"></i> 暂无产品信息
  147. </td>
  148. </tr>
  149. </tbody>
  150. </table>
  151. </div>
  152. <page :total="total_count" :page-size="pageSize"
  153. :current="nowPage" @childEvent="listenPage"></page>
  154. </div>
  155. </div>
  156. </template>
  157. <script>
  158. import Page from '~components/common/page/pageComponent.vue'
  159. import Buy from '~components/common/buyOrCar/buyComponent.vue'
  160. export default {
  161. data () {
  162. return {
  163. list_open: true,
  164. nowPage: 1,
  165. pageSize: 15,
  166. sorting: {},
  167. price_asc: true,
  168. min_price: '',
  169. max_price: '',
  170. filter: {},
  171. activeTag: 'normal1'
  172. }
  173. },
  174. components: {
  175. Page,
  176. Buy
  177. },
  178. props: ['crname_click_flag'],
  179. filters: {
  180. currency: function (input) {
  181. if (typeof input === 'number') {
  182. if (input <= 0.000001) {
  183. input = 0.000001
  184. } else {
  185. if (input.toString().indexOf('.') === -1) {
  186. input = input + '.00'
  187. } else {
  188. let inputStr = input.toString()
  189. let arr = inputStr.split('.')
  190. let floatNum = arr[1]
  191. if (floatNum.length > 6) {
  192. input = inputStr.substring(0, arr[0].length + 7)
  193. if (Number(floatNum.charAt(6)) > 4) {
  194. input = (Number(input) * 1000000 + 1) / 1000000
  195. }
  196. } else if (floatNum.length === 1) {
  197. input = input + '0'
  198. }
  199. }
  200. }
  201. }
  202. return input
  203. }
  204. },
  205. computed: {
  206. good_lists () {
  207. return this.$store.state.searchData.searchList.lists
  208. },
  209. good_list () {
  210. // console.log(this.good_lists)
  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. }
  433. .product-list tbody>tr img {
  434. border: 1px solid #e8e8e8;
  435. margin: 10px 0 5px 0;
  436. max-width: 80px;
  437. max-height: 80px;
  438. }
  439. .product-list tbody>tr .contact{
  440. font-size: 14px;
  441. color: #5078cb;
  442. width: 90%;
  443. margin: 0 auto;
  444. display: inline-block;
  445. }
  446. .product-list tbody>tr .contact:hover{
  447. color: #d32526;
  448. }
  449. .product-list td {
  450. font-size: 12px;
  451. color: #333;
  452. text-align: center;
  453. line-height: 20px;
  454. }
  455. /* 物品列表按钮 */
  456. /* .product-list .btn-buy-now {
  457. background-color: #5078CB;
  458. color: #fff;
  459. width: 80px;
  460. height: 30px;
  461. font-size: 12px;
  462. border: 1px solid #5078cb;
  463. padding-top: 8px;
  464. }
  465. .product-list .btn-add-cart {
  466. margin-top: 10px;
  467. color: #214797;
  468. width: 80px;
  469. height: 30px;
  470. font-size: 12px;
  471. background-color: #fff;
  472. border: 1px solid #e8e8e8;
  473. padding-top: 8px;
  474. }
  475. .product-list .btn-buy-now:hover{
  476. background: #214797;
  477. }
  478. .product-list .btn-add-cart:hover{
  479. background-color: #5078CB;
  480. color: #fff;
  481. }*/
  482. .product-list .text-left{
  483. text-align: left;
  484. }
  485. .product-list .text-left div{
  486. margin-left: 30px;
  487. }
  488. .product-list tbody tr td{
  489. padding: 10px 0;
  490. }
  491. .search-record{
  492. width: 100%;
  493. margin: 0 auto;
  494. height: 40px;
  495. font-size: 16px;
  496. line-height: 40px;
  497. margin-top: 20px;
  498. }
  499. .search-record span.red{
  500. color: #ff0909;
  501. }
  502. .tab-filter{
  503. width: 1190px;
  504. height: 40px;
  505. margin: 0 auto;
  506. line-height: 40px;
  507. margin-bottom: 10px;
  508. background: #f1efef;
  509. }
  510. .tab-filter .fl,.tab-filter .fr{
  511. float: left;
  512. }
  513. .tab-filter .fl{
  514. font-size: 14px;
  515. }
  516. .tab-filter .fr{
  517. max-width: 1050px;
  518. }
  519. .tab-filter .fl span{
  520. font-size: 14px;
  521. }
  522. .tab-filter .fr div{
  523. float: left;
  524. margin: 0 5px;
  525. }
  526. .tab-filter .fr div.active a{
  527. border: #5078cb 1px solid;
  528. color: #5078cb;
  529. }
  530. .tab-filter .fr a{
  531. display: inline-block;
  532. padding: 1px 10px;
  533. border: #ccc 1px solid;
  534. line-height: 26px;
  535. font-size: 14px;
  536. text-align: center;
  537. color: #333;
  538. max-height: 30px;
  539. background: #fff;
  540. }
  541. .tab-filter .fr a i{
  542. /*margin-left: 5px;*/
  543. }
  544. .tab-filter .fr a:hover{
  545. border: #5078cb 1px solid;
  546. color: #5078cb;
  547. }
  548. .tab-filter .fr .off{
  549. margin-left : 129px;
  550. float: right;
  551. }
  552. .tab-filter .fr .off a:hover{
  553. border: none;
  554. color: #5078cb;
  555. }
  556. .tab-filter .fr .off a{
  557. border: none;
  558. text-align: right;
  559. padding-left: 360px;
  560. background: none;
  561. }
  562. .tab-filter .fr .off a i{
  563. font-size: 16px;
  564. }
  565. .tab-filter .fr .form-control{
  566. width: 70px;
  567. height: 30px;
  568. border-radius: 0;
  569. padding-left: 5px;
  570. }
  571. .tab-filter .fr .price-filter input,.tab-filter .fr .price-filter span{
  572. float: left;
  573. }
  574. .tab-filter .fr select{
  575. -webkit-appearance: none;
  576. appearance: none;
  577. background: transparent;
  578. -o-appearance: none;
  579. -moz-appearance: none;
  580. -ms-appearance: none;
  581. width: 120px;
  582. }
  583. .tab-filter .fr .price-filter{
  584. padding-top: 5px;
  585. width: 176px;
  586. margin: 0;
  587. }
  588. .tab-filter .fr .price-filter span{
  589. margin: 0 5px;
  590. line-height: 30px;
  591. }
  592. .close{
  593. display: none;
  594. }
  595. .price-filter{
  596. position: relative;
  597. }
  598. .price-filter:hover .price-hover{
  599. display: block;
  600. }
  601. .price-filter .price-hover{
  602. background: transparent;
  603. }
  604. .price-filter .price-input{
  605. position: relative;
  606. z-index: 10;
  607. margin: 0 10px !important;
  608. }
  609. .price-filter .price-hover{
  610. display: none;
  611. width: 165px;
  612. height: 25px;
  613. padding: 60px 6px 6px;
  614. margin: 0 10px;
  615. border: 1px solid #999;
  616. position: absolute;
  617. background: #fff;
  618. top: 0;
  619. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  620. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  621. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  622. }
  623. .price-filter .price-hover a:first-child{
  624. position: absolute;
  625. top: 37px;
  626. left: 6px;
  627. width: 36px;
  628. height: 25px;
  629. line-height: 25px;
  630. text-align: center;
  631. color: #5078cb;
  632. display: inline-block;
  633. border: none;
  634. padding: 0;
  635. }
  636. .price-filter .price-hover a:last-child{
  637. position: absolute;
  638. top: 37px;
  639. right: 7px;
  640. width: 38px;
  641. height: 25px;
  642. line-height: 24px;
  643. border: 1px solid #ccc;
  644. text-align: center;
  645. background: #f7f7f7;
  646. color: #333;
  647. display: inline-block;
  648. padding: 0;
  649. }
  650. .price-filter .price-hover a:last-child:hover{
  651. background: #5078cb;
  652. color: #fff;
  653. }
  654. div.ng-table-pager input.page-number {
  655. vertical-align: inherit;
  656. display: inline-block;
  657. width: 40px;
  658. height: 31px;
  659. padding: 6px 6px;
  660. font-size: 14px;
  661. line-height: 1.42857143;
  662. color: #9B9792;
  663. text-align: center;
  664. background-color: #F6F5F4;
  665. background-image: none;
  666. border: 1px solid #ccc;
  667. border-top-left-radius: 4px;
  668. border-bottom-left-radius: 4px;
  669. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  670. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  671. }
  672. div.ng-table-pager a.page-a{
  673. background: #5078cb !important;
  674. color: #fff;
  675. float: right;
  676. }
  677. tbody a:hover{
  678. color: #f39801;
  679. }
  680. </style>