GoodList.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  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">梯度/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. min_price: '',
  172. max_price: '',
  173. filter: {},
  174. activeTag: 'normal1'
  175. }
  176. },
  177. components: {
  178. Page,
  179. Buy
  180. },
  181. props: ['crname_click_flag'],
  182. filters: {
  183. currency: function (input) {
  184. if (typeof input === 'number') {
  185. if (input <= 0.000001) {
  186. input = 0.000001
  187. } else {
  188. if (input.toString().indexOf('.') === -1) {
  189. input = input + '.00'
  190. } else {
  191. let inputStr = input.toString()
  192. let arr = inputStr.split('.')
  193. let floatNum = arr[1]
  194. if (floatNum.length > 6) {
  195. input = inputStr.substring(0, arr[0].length + 7)
  196. if (Number(floatNum.charAt(6)) > 4) {
  197. input = (Number(input) * 1000000 + 1) / 1000000
  198. }
  199. } else if (floatNum.length === 1) {
  200. input = input + '0'
  201. }
  202. }
  203. }
  204. }
  205. return input
  206. }
  207. },
  208. computed: {
  209. good_lists () {
  210. return this.$store.state.searchData.searchList.lists
  211. },
  212. good_list () {
  213. return this.good_lists.data
  214. },
  215. total_count () {
  216. return Math.min(this.good_list.total, 100 * this.pageSize)
  217. },
  218. buy_info () {
  219. return this.$store.state.user.buy.buyInfo.data
  220. },
  221. car_info () {
  222. return this.$store.state.user.car.addCarInfo.data
  223. }
  224. },
  225. methods: {
  226. listenPage: function (changedPage) {
  227. this.nowPage = changedPage
  228. this.$emit('pageEvent', this.nowPage)
  229. },
  230. sortBy: function (param) {
  231. if (param === 'normal1') {
  232. this.sorting = {'GO_SEARCH': 'DESC', 'GO_RESERVE': 'DESC'}
  233. this.activeTag = 'normal1'
  234. } else if (param === 'normal2') {
  235. this.sorting = {'GO_RESERVE': 'DESC', 'GO_SEARCH': 'DESC'}
  236. this.activeTag = 'normal2'
  237. } else if (param === 'type') {
  238. this.sorting = {'GO_SEARCH': 'DESC', 'GO_RESERVE': 'DESC'}
  239. this.activeTag = 'type'
  240. } else if (param === 'price') {
  241. if (this.price_asc) {
  242. this.sorting = {'GO_MINPRICERMB': 'ASC', 'GO_RESERVE': 'DESC', 'GO_SEARCH': 'DESC'}
  243. } else {
  244. this.sorting = {'GO_MINPRICERMB': 'DESC', 'GO_RESERVE': 'DESC', 'GO_SEARCH': 'DESC'}
  245. }
  246. this.activeTag = 'price'
  247. this.price_asc = !this.price_asc
  248. }
  249. this.$emit('sortEvent', this.sorting)
  250. },
  251. filter_price: function () {
  252. if (this.min_price === '' && this.max_price !== '') {
  253. this.filter.goods_maxpricermb = this.max_price
  254. } else if (this.min_price !== '' && this.max_price === '') {
  255. this.filter.goods_minpricermb = this.min_price
  256. } else if (this.min_price !== '' && this.max_price !== '') {
  257. if (this.min_price <= this.max_price) {
  258. this.filter.goods_minpricermb = this.min_price
  259. this.filter.goods_maxpricermb = this.max_price
  260. }
  261. } else {
  262. delete this.filter.goods_minpricermb
  263. delete this.filter.goods_maxpricermb
  264. }
  265. this.$emit('filterPriceEvent', this.filter)
  266. },
  267. clear_price: function () {
  268. this.min_price = ''
  269. this.max_price = ''
  270. this.$emit('filterPriceEvent', this.filter)
  271. }
  272. }
  273. }
  274. </script>
  275. <style scoped>
  276. /* .tab-filter {
  277. width: 1190px;
  278. height: 40px;
  279. margin: 0 auto;
  280. line-height: 40px;
  281. margin-top: 20px;
  282. margin-bottom: 10px;
  283. background: #f1efef;
  284. }
  285. .tab-filter .fl {
  286. font-size: 14px;
  287. }
  288. .tab-filter .fl, .tab-filter .fr {
  289. float: left;
  290. }
  291. .tab-filter .fl span {
  292. font-size: 14px;
  293. }
  294. .text-num {
  295. font-style: normal;
  296. font-family: verdana;
  297. }
  298. .tab-filter .fr {
  299. max-width: 1050px;
  300. }
  301. .tab-filter .fr div {
  302. float: left;
  303. margin: 0 5px;
  304. }
  305. .tab-filter .fr a {
  306. display: inline-block;
  307. padding: 1px 10px;
  308. border: #ccc 1px solid;
  309. line-height: 26px;
  310. font-size: 14px;
  311. text-align: center;
  312. color: #333;
  313. max-height: 30px;
  314. background: #fff;
  315. }
  316. .tab-filter .fr .price-filter {
  317. padding-top: 5px;
  318. width: 176px;
  319. margin: 0;
  320. }
  321. .price-filter {
  322. position: relative;
  323. }*/
  324. .price-filter .price-input {
  325. position: relative;
  326. z-index: 10;
  327. margin: 0 10px !important;
  328. width: 180px;
  329. }
  330. .tab-filter .fr .price-filter input, .tab-filter .fr .price-filter span {
  331. float: left;
  332. }
  333. .tab-filter .fr .form-control {
  334. width: 70px;
  335. height: 30px;
  336. border-radius: 0;
  337. padding-left: 5px;
  338. }
  339. .tab-filter .fr .price-filter span {
  340. margin: 0 5px;
  341. line-height: 30px;
  342. }
  343. .price-filter .price-hover {
  344. display: none;
  345. width: 165px;
  346. height: 25px;
  347. padding: 60px 6px 6px;
  348. margin: 0 10px;
  349. border: 1px solid #999;
  350. position: absolute;
  351. background: #fff;
  352. top: 0;
  353. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  354. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  355. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  356. }
  357. .price-filter .price-hover a:first-child {
  358. position: absolute;
  359. top: 37px;
  360. left: 6px;
  361. width: 36px;
  362. height: 25px;
  363. line-height: 25px;
  364. text-align: center;
  365. color: #5078cb;
  366. display: inline-block;
  367. border: none;
  368. padding: 0;
  369. }
  370. .price-filter .price-hover a:last-child {
  371. position: absolute;
  372. top: 37px;
  373. right: 7px;
  374. width: 38px;
  375. height: 25px;
  376. line-height: 24px;
  377. border: 1px solid #ccc;
  378. text-align: center;
  379. background: #f7f7f7;
  380. color: #333;
  381. display: inline-block;
  382. padding: 0;
  383. }
  384. /* .tab-filter .fr .off {
  385. margin-left: 130px;
  386. float: right;
  387. }
  388. .tab-filter .fr .off a {
  389. border: none;
  390. text-align: right;
  391. padding-left: 360px;
  392. background: none;
  393. }
  394. .tab-filter .fr .off a i {
  395. font-size: 16px;
  396. }*/
  397. .product-list{
  398. width: 1190px;
  399. /*margin-bottom: 20px;*/
  400. }
  401. .product-list thead tr{
  402. /*border-top: #6493ff 2px solid;*/
  403. color: #323232;
  404. background: none;
  405. }
  406. /* 物品列表 */
  407. .product-list .brand-code {
  408. font-size: 14px;
  409. text-align: center;
  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. }
  427. .product-list tbody>tr .component-img-box {
  428. width: 80px;
  429. height: 80px;
  430. }
  431. .product-list tbody>tr img {
  432. border: 1px solid #e8e8e8;
  433. margin: 10px 0 5px 0;
  434. max-width: 80px;
  435. max-height: 80px;
  436. }
  437. .product-list tbody>tr .contact{
  438. font-size: 14px;
  439. color: #5078cb;
  440. width: 90%;
  441. margin: 0 auto;
  442. display: inline-block;
  443. }
  444. .product-list tbody>tr .contact:hover{
  445. color: #d32526;
  446. }
  447. .product-list td {
  448. font-size: 12px;
  449. color: #333;
  450. text-align: center;
  451. line-height: 20px;
  452. }
  453. /* 物品列表按钮 */
  454. /* .product-list .btn-buy-now {
  455. background-color: #5078CB;
  456. color: #fff;
  457. width: 80px;
  458. height: 30px;
  459. font-size: 12px;
  460. border: 1px solid #5078cb;
  461. padding-top: 8px;
  462. }
  463. .product-list .btn-add-cart {
  464. margin-top: 10px;
  465. color: #214797;
  466. width: 80px;
  467. height: 30px;
  468. font-size: 12px;
  469. background-color: #fff;
  470. border: 1px solid #e8e8e8;
  471. padding-top: 8px;
  472. }
  473. .product-list .btn-buy-now:hover{
  474. background: #214797;
  475. }
  476. .product-list .btn-add-cart:hover{
  477. background-color: #5078CB;
  478. color: #fff;
  479. }*/
  480. .product-list .text-left{
  481. text-align: left;
  482. }
  483. .product-list .text-left div{
  484. margin-left: 30px;
  485. }
  486. .product-list tbody tr td{
  487. padding: 10px 0;
  488. }
  489. .search-record{
  490. width: 100%;
  491. margin: 0 auto;
  492. height: 40px;
  493. font-size: 16px;
  494. line-height: 40px;
  495. margin-top: 20px;
  496. }
  497. .search-record span.red{
  498. color: #ff0909;
  499. }
  500. .tab-filter{
  501. width: 1190px;
  502. height: 40px;
  503. margin: 0 auto;
  504. line-height: 40px;
  505. margin-bottom: 10px;
  506. background: #f1efef;
  507. }
  508. .tab-filter .fl,.tab-filter .fr{
  509. float: left;
  510. }
  511. .tab-filter .fl{
  512. font-size: 14px;
  513. }
  514. .tab-filter .fr{
  515. max-width: 1050px;
  516. }
  517. .tab-filter .fl span{
  518. font-size: 14px;
  519. }
  520. .tab-filter .fr div{
  521. float: left;
  522. margin: 0 5px;
  523. }
  524. .tab-filter .fr div.active a{
  525. border: #5078cb 1px solid;
  526. color: #5078cb;
  527. }
  528. .tab-filter .fr a{
  529. display: inline-block;
  530. padding: 1px 10px;
  531. border: #ccc 1px solid;
  532. line-height: 26px;
  533. font-size: 14px;
  534. text-align: center;
  535. color: #333;
  536. max-height: 30px;
  537. background: #fff;
  538. }
  539. .tab-filter .fr a i{
  540. /*margin-left: 5px;*/
  541. }
  542. .tab-filter .fr a:hover{
  543. border: #5078cb 1px solid;
  544. color: #5078cb;
  545. }
  546. .tab-filter .fr .off{
  547. margin-left : 129px;
  548. float: right;
  549. }
  550. .tab-filter .fr .off a:hover{
  551. border: none;
  552. color: #5078cb;
  553. }
  554. .tab-filter .fr .off a{
  555. border: none;
  556. text-align: right;
  557. padding-left: 360px;
  558. background: none;
  559. }
  560. .tab-filter .fr .off a i{
  561. font-size: 16px;
  562. }
  563. .tab-filter .fr .form-control{
  564. width: 70px;
  565. height: 30px;
  566. border-radius: 0;
  567. padding-left: 5px;
  568. }
  569. .tab-filter .fr .price-filter input,.tab-filter .fr .price-filter span{
  570. float: left;
  571. }
  572. .tab-filter .fr select{
  573. -webkit-appearance: none;
  574. appearance: none;
  575. background: transparent;
  576. -o-appearance: none;
  577. -moz-appearance: none;
  578. -ms-appearance: none;
  579. width: 120px;
  580. }
  581. .tab-filter .fr .price-filter{
  582. padding-top: 5px;
  583. width: 176px;
  584. margin: 0;
  585. }
  586. .tab-filter .fr .price-filter span{
  587. margin: 0 5px;
  588. line-height: 30px;
  589. }
  590. .close{
  591. display: none;
  592. }
  593. .price-filter{
  594. position: relative;
  595. }
  596. .price-filter:hover .price-hover{
  597. display: block;
  598. }
  599. .price-filter .price-hover{
  600. background: transparent;
  601. }
  602. .price-filter .price-input{
  603. position: relative;
  604. z-index: 10;
  605. margin: 0 10px !important;
  606. }
  607. .price-filter .price-hover{
  608. display: none;
  609. width: 165px;
  610. height: 25px;
  611. padding: 60px 6px 6px;
  612. margin: 0 10px;
  613. border: 1px solid #999;
  614. position: absolute;
  615. background: #fff;
  616. top: 0;
  617. -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  618. -moz-box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  619. box-shadow: 1px 1px 2px rgba(0,0,0,.2);
  620. }
  621. .price-filter .price-hover a:first-child{
  622. position: absolute;
  623. top: 37px;
  624. left: 6px;
  625. width: 36px;
  626. height: 25px;
  627. line-height: 25px;
  628. text-align: center;
  629. color: #5078cb;
  630. display: inline-block;
  631. border: none;
  632. padding: 0;
  633. }
  634. .price-filter .price-hover a:last-child{
  635. position: absolute;
  636. top: 37px;
  637. right: 7px;
  638. width: 38px;
  639. height: 25px;
  640. line-height: 24px;
  641. border: 1px solid #ccc;
  642. text-align: center;
  643. background: #f7f7f7;
  644. color: #333;
  645. display: inline-block;
  646. padding: 0;
  647. }
  648. .price-filter .price-hover a:last-child:hover{
  649. background: #5078cb;
  650. color: #fff;
  651. }
  652. div.ng-table-pager input.page-number {
  653. vertical-align: inherit;
  654. display: inline-block;
  655. width: 40px;
  656. height: 31px;
  657. padding: 6px 6px;
  658. font-size: 14px;
  659. line-height: 1.42857143;
  660. color: #9B9792;
  661. text-align: center;
  662. background-color: #F6F5F4;
  663. background-image: none;
  664. border: 1px solid #ccc;
  665. border-top-left-radius: 4px;
  666. border-bottom-left-radius: 4px;
  667. box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  668. transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
  669. }
  670. div.ng-table-pager a.page-a{
  671. background: #5078cb !important;
  672. color: #fff;
  673. float: right;
  674. }
  675. tbody a:hover{
  676. color: #f39801;
  677. }
  678. /**/
  679. .product-list tbody>tr .empty{
  680. overflow: hidden;
  681. margin: 0!important;
  682. height:130px;
  683. display:inline-flex;
  684. align-items: center;
  685. }
  686. .product-list tbody>tr .empty .empty-img{
  687. margin:0;
  688. border:0;
  689. min-width:143px;
  690. min-height:72px;
  691. }
  692. .product-list tbody>tr .empty .empty-img img {
  693. margin: 0;
  694. border: 0;
  695. min-width: 143px;
  696. min-height: 72px;
  697. }
  698. .product-list tbody>tr .empty-info{
  699. line-height: 14px;
  700. width: 143px;
  701. }
  702. .product-list tbody>tr .grey{
  703. color: #999;
  704. font-size: 14px;
  705. }
  706. .product-list tbody>tr .empty .empty-info>a{
  707. font-size: 14px;
  708. color: #5078cb;
  709. }
  710. .product-list tbody>tr .empty .empty-info i{
  711. margin-right:5px;
  712. }
  713. </style>