GoodList.vue 21 KB

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