CommodityList.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674
  1. <template>
  2. <div id="goods-list-fragment">
  3. <div class="container" style="width: 1190px; padding: 0;">
  4. <div class="title-area">
  5. <div class="category-title">
  6. <span style="line-height: 34px;">产品分类</span>
  7. </div>
  8. <div class="category-content">
  9. <el-tree :data="kinds" :props="defaultProps" :default-expanded-keys="[0]" node-key="level" accordion :highlight-current="true" @node-expand="handlerCurrentNode" @node-collapse="onNodeCollapse"></el-tree>
  10. </div>
  11. </div>
  12. <!-- 产品列表 -->
  13. <div class="goods-area">
  14. <div class="row" style="margin: 0;width: 970px;">
  15. <div class="col-md-3 btn-group btn-group-sm" style="padding: 0;">
  16. <a type="button" class="btn btn-default btn-line btn-info">产品列表</a>
  17. </div>
  18. <div class="col-md-4 col-md-offset-5" style="padding: 0;">
  19. <div class="input-group">
  20. <input type="search" class="form-control" id="search_input" title="code" placeholder="请输入要筛选的原厂型号"
  21. v-model="searchCode" @search="goodsSearch(searchCode)"/>
  22. <span class="input-group-btn">
  23. <button type="button" class="btn" id="search_btn" @click="goodsSearch(searchCode)">&nbsp;筛&nbsp;选&nbsp;</button>
  24. </span>
  25. </div>
  26. </div>
  27. </div>
  28. <!-- 列表展示 -->
  29. <table class="goodslist" style="width: 970px">
  30. <thead>
  31. <tr style="height: 40px;">
  32. <!--<th width="90"></th>-->
  33. <th width="150">品牌/型号</th>
  34. <th width="100">包装/生产日期</th>
  35. <th width="90">库存</th>
  36. <th width="90">梯度/pcs</th>
  37. <!--<th width="90">香港交货<span style="font-size: 12px;">($)</span></th>-->
  38. <!--<th width="100">大陆交货<span style="font-size: 12px;">(¥)</span></th>-->
  39. <th width="100">单价</th>
  40. <th width="100">交期(天)</th>
  41. <th width="100">规格书</th>
  42. <th width="100">操作</th>
  43. </tr>
  44. </thead>
  45. <tbody id="goodslist-content">
  46. <tr v-for="commodity in commodities.content" @click="goBatchDetail(storeInfo.uuid, commodity.batchCode)">
  47. <td class="brand-code">
  48. <img class="sellout-store-commodity" v-if="commodity.status === 602" src="/images/search/sellout-search.png" alt="">
  49. <div class="brand" v-if="commodity.brandNameEn || commodity.brandEn">
  50. <a v-if="commodity.brandNameEn && commodity.branduuid" @click="goBrandDetail('/product/brand/' + commodity.branduuid, $event)" v-text="commodity.brandNameEn"></a>
  51. <span v-if="commodity.brandNameEn && !commodity.branduuid" v-text="commodity.brandNameEn"></span>
  52. <span v-if="commodity.brandEn">{{commodity.brandEn}}</span>
  53. </div>
  54. <div class="brand" v-if="!commodity.brandNameEn && !commodity.brandEn">—</div>
  55. <div class="code" v-if="commodity.code" v-text="commodity.code"></div>
  56. <div class="code" v-if="!commodity.code">—</div>
  57. </td>
  58. <td>
  59. <div class="package" v-if="commodity.packaging" v-text="commodity.packaging"></div>
  60. <div class="package" v-if="!commodity.packaging && !commodity.produceDate">—</div>
  61. <div class="date" v-if='commodity.produceDate' v-text="commodity.produceDate">2016-12-01</div>
  62. </td>
  63. <td style="text-align: left;vertical-align: middle;">
  64. <div class="goods" v-if="commodity.reserve || commodity.status === 602">
  65. 库存:<span v-text="commodity.reserve"></span>
  66. </div>
  67. <div v-if="!commodity.reserve && commodity.status !== 602" style="text-align: center;margin-left: 0;"><span>—</span></div>
  68. <div class="from" v-if="commodity.reserve && commodity.reserve>0 || commodity.status === 602">
  69. 起订:<span v-if="commodity.minBuyQty" v-text="commodity.minBuyQty">300</span>
  70. </div>
  71. <!--<div class="multiple">
  72. 倍数:<span>1</span>
  73. </div>-->
  74. <div class="can-div-sell" v-if="commodity.reserve || commodity.status === 602" v-text="commodity.breakUp?'可拆卖':'不可拆卖'"></div>
  75. </td>
  76. <td>
  77. <div v-for="price in commodity.prices" v-text="price.start + '+'"></div>
  78. </td>
  79. <!--<td>-->
  80. <!--<div v-show="commodity.currencyName.indexOf('USD')==-1 || !commodity.prices">-->
  81. <!--<span>—</span>-->
  82. <!--</div>-->
  83. <!--<div v-for="price in commodity.prices">{{price.uSDPrice | currency}}</div>-->
  84. <!--</td>-->
  85. <!--<td>-->
  86. <!--<div v-show="commodity.currencyName.indexOf('RMB')==-1 || !commodity.prices">-->
  87. <!--<span>—</span>-->
  88. <!--</div>-->
  89. <!--<div v-for="price in commodity.prices" >{{price.rMBPrice | currency}}</div>-->
  90. <!--</td>-->
  91. <td>
  92. <div v-for="price in commodity.prices">{{commodity.currencyName.indexOf('USD')!=-1?'$':'¥'}}{{commodity.currencyName.indexOf('USD')!=-1?price.uSDPrice:price.rMBPrice | currency}}</div>
  93. <div v-if="commodity.currencyName.indexOf('RMB')==-1 || !commodity.prices && commodity.currencyName.indexOf('USD')==-1 || !commodity.prices"></div>
  94. </td>
  95. <td>
  96. <div v-if="commodity.b2cMinDelivery">
  97. <!--{{commodity.b2cMinDelivery || 0}}-{{commodity.b2cMaxDelivery || 0}}天-->
  98. <span v-if="commodity.b2cMinDelivery != commodity.b2cMaxDelivery" v-text="commodity.b2cMinDelivery + '-' + commodity.b2cMaxDelivery"></span>
  99. <span v-if="commodity.b2cMinDelivery == commodity.b2cMaxDelivery" v-text="commodity.b2cMinDelivery"></span>
  100. </div>
  101. <div v-if="!commodity.b2cMinDelivery"><span>—</span></div>
  102. </td>
  103. <td>
  104. <div v-if="commodity.attach">
  105. <a :href="commodity.attach && commodity.attach !== '1'" target="_blank"><img src="/images/store/common/pdf.png" alt=""/></a>
  106. </div>
  107. <div v-show="!commodity.attach || commodity.attach == '1'">—</div>
  108. </td>
  109. <td>
  110. <buy :item="commodity" :disabledFlag="commodity.status === 602"></buy>
  111. </td>
  112. </tr>
  113. <tr v-if="!commodities.content || commodities.content.length == 0">
  114. <td colspan="10">
  115. <div class="text-center">
  116. <div class="col-xs-offset-3 col-xs-2">
  117. <img src="/images/all/empty-cart.png">
  118. </div>
  119. <div class="col-xs-4 txt-info">
  120. <p class="grey f16">暂无器件信息</p>
  121. <a href="/">马上去逛一逛</a>
  122. </div>
  123. </div>
  124. </td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. <div class="remind-area">
  129. <img src="/images/store/store-remind.png" alt="">
  130. 所有报价、库存信息的真实性及准确性均由店铺负责,如有疑问请点击
  131. <a @click="goWebChat()" class="link-seller">联系卖家</a>
  132. </div>
  133. <page :total="commodities.totalElements" :page-size="pageParams.count"
  134. :current="pageParams.page" @childEvent="handleCurrentChange"></page>
  135. </div>
  136. </div>
  137. </div>
  138. </template>
  139. <script>
  140. function getAllLeafIds (kind) {
  141. if (!kind) {
  142. return null
  143. }
  144. if (kind.isLeaf === 1) {
  145. if (kind.nameCn === '其他') {
  146. return '其他'
  147. }
  148. return kind.id
  149. } else {
  150. if (!kind.children || kind.children.length === 0) {
  151. return null
  152. }
  153. let ids = []
  154. for (let i = 0; i < kind.children.length; i++) {
  155. ids.push(getAllLeafIds(kind.children[i]))
  156. }
  157. return ids.join(',')
  158. }
  159. }
  160. import Buy from '~components/common/buyOrCar/buyComponent.vue'
  161. import Page from '~components/common/page/pageComponent.vue'
  162. export default {
  163. name: 'commodity-list',
  164. props: ['kinds'],
  165. components: {
  166. Buy,
  167. Page
  168. },
  169. data () {
  170. return {
  171. defaultProps: {
  172. children: 'children',
  173. label: 'nameCn'
  174. },
  175. pageParams: {
  176. page: 1,
  177. count: 6
  178. },
  179. searchCode: '',
  180. parentKindId: 0,
  181. ids: null
  182. }
  183. },
  184. filters: {
  185. currency: function (num) {
  186. if (typeof num === 'number') {
  187. if (num <= 0.000001) {
  188. num = 0.000001
  189. } else {
  190. if (num.toString().indexOf('.') === -1) {
  191. num += '.00'
  192. } else {
  193. let inputStr = num.toString()
  194. let arr = inputStr.split('.')
  195. let floatNum = arr[1]
  196. if (floatNum.length > 6) {
  197. num = inputStr.substring(0, arr[0].length + 7)
  198. if (Number(floatNum.charAt(6)) > 4) {
  199. num = (Number(num) * 1000000 + 1) / 1000000
  200. }
  201. } else if (floatNum.length === 1) {
  202. num = num + '0'
  203. }
  204. }
  205. }
  206. }
  207. return num
  208. }
  209. },
  210. computed: {
  211. commodities () {
  212. return this.$store.state.shop.storeInfo.storeCommodity.data
  213. },
  214. storeInfo () {
  215. return this.$store.state.shop.storeInfo.store.data
  216. },
  217. user () {
  218. return this.$store.state.option.user
  219. },
  220. tab () {
  221. return this.$store.state.chat.tab.tab.data
  222. }
  223. },
  224. methods: {
  225. handlerCurrentNode (data, node) {
  226. this.searchCode = ''
  227. if (this.parentKindId === data.id) {
  228. this.parentKindId = 0
  229. this.ids = null
  230. } else {
  231. if (data.level === 1) {
  232. this.parentKindId = data.id
  233. }
  234. this.ids = getAllLeafIds(data)
  235. }
  236. this.pageParams.page = 1
  237. this.pageCommodity(this.pageParams, this.ids)
  238. },
  239. onNodeCollapse () {
  240. this.parentKindId = ''
  241. },
  242. goodsSearch (keyword) {
  243. this.pageParams.page = 1
  244. this.pageCommodity(this.pageParams, this.ids, keyword)
  245. },
  246. async pageCommodity (pageParams, kindId, keyword) {
  247. // pageCommodity (pageParams, kindId, keyword) {
  248. let params = { storeid: this.$route.params.uuid, origin: 'store', kindUuid: kindId, code: keyword }
  249. params.page = pageParams.page
  250. params.count = pageParams.count
  251. try {
  252. let { data } = await this.$http.get('/api/commodity/commodities', { params })
  253. this.$store.commit('shop/storeInfo/GET_STORE_COMMODITY_SUCCESS', data)
  254. } catch (err) {
  255. this.$store.commit('shop/storeInfo/GET_STORE_COMMODITY_FAILURE', err)
  256. }
  257. // this.$http.get('/api/commodity/commodities', { params }).then(response => {
  258. // this.$store.commit('shop/storeInfo/GET_STORE_COMMODITY_SUCCESS', response)
  259. // }, err => {
  260. // this.$store.commit('shop/storeInfo/GET_STORE_COMMODITY_FAILURE', err)
  261. // })
  262. },
  263. handleCurrentChange (page) {
  264. this.pageParams.page = page
  265. this.pageCommodity(this.pageParams, this.ids, this.searchCode)
  266. },
  267. goBatchDetail (storeId, batchCode) {
  268. window.open('/store/' + storeId + '/' + batchCode)
  269. },
  270. goBrandDetail (url, event) {
  271. event.stopPropagation()
  272. window.open(url)
  273. },
  274. goWebChat: function () {
  275. if (!this.user.logged) {
  276. this.$http.get('/login/page').then(response => {
  277. if (response.data) {
  278. this.$router.push('/auth/login')
  279. }
  280. })
  281. } else {
  282. // 获得窗口的垂直位置
  283. let iTop = (window.screen.availHeight - 30 - 780) / 2
  284. // 获得窗口的水平位置
  285. let iLeft = (window.screen.availWidth - 10 - 1030) / 2
  286. if (this.tab.close) {
  287. this.tab.close()
  288. }
  289. let newTab = window.open('', '即时对话框', 'height=750, width=1000, top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no')
  290. newTab.close()
  291. newTab = window.open('', '即时对话框', 'height=750, width=1000, top=' + iTop + ', left=' + iLeft + ', toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no')
  292. this.$store.dispatch('chat/setChatTab', {tab: newTab})
  293. this.$http.get('/basic/enterprise/' + this.storeInfo.enUU + '/info')
  294. .then(response => {
  295. let obj = {}
  296. obj.userPhone = this.user.data.userTel
  297. obj.userType = 'ENTERPRISE'
  298. this.user.data.enterprises.forEach(function (item, index) {
  299. if (item.current) {
  300. obj.enUU = item.uu
  301. obj.enterprise = {enUU: item.uu, name: item.enName}
  302. }
  303. })
  304. obj.otherEnUU = response.data.uu
  305. obj.otherUserType = 'STORE'
  306. obj.otherEnterprise = {enUU: response.data.uu, name: response.data.enName}
  307. obj.type = 'CHAT'
  308. if (!(/^1\d{10}$/).test(response.data.enTel)) {
  309. this.$http.get('/basic/enterprise/' + response.data.uu + '/admin').then(response => {
  310. console.log(response)
  311. obj.toPhone = response.data.userTel
  312. console.log(obj)
  313. this.openWebChat(newTab, obj)
  314. }, err => {
  315. console.log(err)
  316. this.$message.error('暂无卖家管理员手机号!')
  317. })
  318. } else {
  319. obj.toPhone = response.data.enTel
  320. console.log(obj)
  321. this.openWebChat(newTab, obj)
  322. }
  323. }, err => {
  324. console.log(err)
  325. })
  326. }
  327. },
  328. openWebChat: function (newTab, obj) {
  329. this.$http.post('https://im.ubtob.com/api/chat/infos?condition=chat_info', obj)
  330. .then(response => {
  331. if (response.data.success) {
  332. newTab.location.href = 'https://im.ubtob.com/chat/visit?gid=' + response.data.content
  333. }
  334. })
  335. }
  336. // goBack () {
  337. // this.$router.back(-1)
  338. // }
  339. }
  340. }
  341. </script>
  342. <style>
  343. /* 产品分类调整*/
  344. .category-content .el-tree{
  345. border: none;
  346. }
  347. .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.el-tree-node:hover{
  348. background: none !important;
  349. }
  350. .el-tree-node__content:hover{
  351. background: none !important;
  352. }
  353. .el-tree-node__content:hover span{
  354. color: #5078cb;
  355. }
  356. .el-pagination .el-pager li.active{
  357. background-color: #5078cb;
  358. border-color: #337ab7;
  359. }
  360. .el-tree-node__expand-icon{
  361. font-family: "iconfont" !important;
  362. font-size: 14px;
  363. font-style: normal;
  364. -webkit-font-smoothing: antialiased;
  365. width: inherit;
  366. height: inherit;
  367. border: inherit;
  368. font-weight: bold;
  369. text-shadow: -1px 0px 0 #333;
  370. margin-right: 3px !important;
  371. }
  372. .el-tree-node__content{
  373. line-height: 30px;
  374. height: 30px;
  375. }
  376. .el-tree-node__expand-icon.is-leaf{
  377. visibility: hidden;
  378. }
  379. .el-tree-node__expand-icon:before{
  380. content: "\E621";
  381. }
  382. #goods-list-fragment .category-title {
  383. height: 34px;
  384. background-color: #5078cb;
  385. font-size: 14px;
  386. color: rgb(255,255,255);
  387. font-weight: 600;
  388. text-align: center;
  389. }
  390. #goods-list-fragment .category-content li {
  391. line-height: 33px;
  392. font-size: 14px;
  393. color: #333;
  394. float: left;
  395. width: 100%;
  396. padding-left: 10px;
  397. }
  398. #goods-list-fragment .category-content li a {
  399. display: block;
  400. padding-left: 15px;
  401. text-decoration: none;
  402. color: #333;
  403. /* background:url("static/img/store/default/openblackR.png") no-repeat left; */
  404. }
  405. #goods-list-fragment .category-content li a:hover{
  406. color: #5078cb;
  407. cursor: pointer;
  408. }
  409. #goods-list-fragment .category-content ul.list-body {
  410. display: none;
  411. color: #666;
  412. }
  413. #goods-list-fragment .category-content ul.list-body.active {
  414. display: block;
  415. }
  416. #goods-list-fragment .category-content ul.list-body li {
  417. float: none;
  418. background-image: none;
  419. min-height: 26px;
  420. line-height: 26px;
  421. font-size: 12px;
  422. }
  423. #goods-list-fragment .category-content ul.list-body li a {
  424. padding-left: 15px;
  425. display: block;
  426. color: rgb(50,50,50);
  427. background: none;
  428. }
  429. #goods-list-fragment .category-content ul.list-body li a:hover {
  430. color: #5078cb;
  431. cursor: pointer;
  432. }
  433. #goods-list-fragment .category-content ul.list-body li a.cur {
  434. text-decoration: none;
  435. font-size: 14px;
  436. /* background:url("static/img/store/default/openblackR.png") no-repeat left; */
  437. }
  438. #goods-list-fragment .title-area {
  439. margin-bottom: 30px;
  440. width: 200px;
  441. float: left;
  442. }
  443. #goods-list-fragment .category-content{
  444. border: 1px solid #e8e8e8;
  445. }
  446. /* goods-area */
  447. #goods-list-fragment .goods-area {
  448. margin-left: 20px;
  449. float: left;
  450. margin-bottom: 30px;
  451. }
  452. #goods-list-fragment .goods-area .btn-line {
  453. border-radius: 0;
  454. }
  455. #goods-list-fragment .btn-info.btn-line {
  456. background-color: #5078CB;
  457. color: #fff;
  458. font-weight: 600;
  459. }
  460. #goods-list-fragment .btn-line {
  461. height: 34px;
  462. width: 150px;
  463. border: 1px solid #5078cb;
  464. background-color: #fff;
  465. color: rgb(80,120,203);
  466. font-weight: 600;
  467. }
  468. #goods-list-fragment .btn-line:hover {
  469. background-color: #5078CB;
  470. color: #fff;
  471. }
  472. /* 物品列表 */
  473. #goods-list-fragment .goodslist .brand-code {
  474. font-size: 14px;
  475. text-align: center;
  476. position: relative;
  477. }
  478. #goods-list-fragment #search_btn {
  479. background: #5078CB;
  480. color: #FFFFFF;
  481. }
  482. #goods-list-fragment #search_input {
  483. font-size: 14px;
  484. }
  485. #goods-list-fragment .brand-code .code {
  486. font-weight: 600;
  487. }
  488. #goods-list-fragment .brand-code .brand a:hover {
  489. color: #f39801;
  490. }
  491. #goods-list-fragment .goodslist th {
  492. color: rgb(50,50,50);
  493. font-size: 14px;
  494. font-weight: 600;
  495. background-color: #f7f7f7;
  496. text-align: center;
  497. }
  498. #goods-list-fragment .category-content a.selected-node,
  499. #goods-list-fragment .category-content ul.list-body li a.selected-node {
  500. color: #5078cb;
  501. }
  502. #goods-list-fragment .category-content a.selected-parent-node,
  503. #goods-list-fragment .category-content ul.list-body li a.selected-parent-node {
  504. /* background:url("static/img/store/default/openblack.png") no-repeat left; */
  505. }
  506. #goods-list-fragment .goodslist tbody>tr {
  507. border: 1px solid #e8e8e8;
  508. cursor: pointer;
  509. }
  510. #goods-list-fragment .goodslist tbody>tr:hover{
  511. background: #ecf2fd;
  512. }
  513. #goods-list-fragment .goodslist tbody>tr td.commodity-icon {
  514. position: relative;
  515. }
  516. #goods-list-fragment .goodslist tbody>tr td.commodity-icon .img{
  517. border: 1px solid #e8e8e8;
  518. margin: 10px;
  519. width: 80px;
  520. height: 80px;
  521. overflow: hidden;
  522. line-height: 75px;
  523. }
  524. #goods-list-fragment .goodslist tbody>tr td.commodity-icon .img>img {
  525. width: 80px;
  526. height: 80px;
  527. }
  528. #goods-list-fragment .goodslist tbody>tr td.brand-code .sellout-store-commodity {
  529. position: absolute;
  530. right: 0;
  531. bottom: 0;
  532. }
  533. #goods-list-fragment .goodslist td {
  534. font-size: 12px;
  535. color: #333;
  536. text-align: center;
  537. line-height: 20px;
  538. }
  539. #goods-list-fragment .goodslist tbody>tr td .can-div-sell {
  540. color: #333;
  541. }
  542. /* 物品列表按钮 */
  543. #goods-list-fragment .btn-buy-now {
  544. margin: 5px 0;
  545. background-color: #5078CB;
  546. color: #fff;
  547. width: 80px;
  548. height: 30px;
  549. font-size: 12px;
  550. border: 1px solid #5078cb;
  551. }
  552. #goods-list-fragment .btn-add-cart {
  553. margin: 10px 0 5px 0;
  554. color: #214797;
  555. width: 80px;
  556. height: 30px;
  557. font-size: 12px;
  558. background-color: #fff;
  559. border: 1px solid #e8e8e8;
  560. }
  561. #goods-list-fragment .btn-buy-now:hover{
  562. background: #214797;
  563. }
  564. #goods-list-fragment .btn-add-cart:hover{
  565. background-color: #5078CB;
  566. color: #fff;
  567. }
  568. .category-content{
  569. /*min-height: 243px;*/
  570. }
  571. .no-record{
  572. font-size: 14px;
  573. color: #999;
  574. text-align: center;
  575. line-height: 200px;
  576. }
  577. .no-record i{
  578. margin-right: 5px;
  579. }
  580. .text-center{
  581. text-align: center;
  582. margin-top: 30px;
  583. }
  584. .text-center .col-xs-2 img{
  585. margin: 50px 0 50px 95px;
  586. vertical-align: middle;
  587. }
  588. .text-center .txt-info{
  589. font-size: 14px;
  590. margin-top: 70px;
  591. }
  592. .text-center .col-xs-4 p{
  593. color: #999;
  594. margin-top: 3px;
  595. margin-bottom: 2px;
  596. }
  597. .text-center .txt-info a{
  598. font-size: 14px;
  599. display: block;
  600. color: #5078cb;
  601. background: url('/images/all/icon_nianxian.jpg')no-repeat 105px center;
  602. padding-left: 50px;
  603. }
  604. .text-center .col-xs-4 i{
  605. color: #5078cb;
  606. font-size: 14px;
  607. }
  608. .goodslist{
  609. margin-bottom: 11px;
  610. }
  611. @font-face {
  612. font-family: 'iconfont'; /* project id 357960 */
  613. src: url('//at.alicdn.com/t/font_27kjyd082ezpk3xr.eot');
  614. src: url('//at.alicdn.com/t/font_27kjyd082ezpk3xr.eot?#iefix') format('embedded-opentype'),
  615. url('//at.alicdn.com/t/font_27kjyd082ezpk3xr.woff') format('woff'),
  616. url('//at.alicdn.com/t/font_27kjyd082ezpk3xr.ttf') format('truetype'),
  617. url('//at.alicdn.com/t/font_27kjyd082ezpk3xr.svg#iconfont') format('svg');
  618. }
  619. <!-- 分页 -->
  620. #goods-list-fragment .el-pagination .el-pager li.active {
  621. border-color: #5078cb !important;
  622. background-color: #5078cb !important;
  623. }
  624. .remind-area {
  625. font-size: 13px;
  626. color: #666;
  627. }
  628. .remind-area img {
  629. margin-right: 12px;
  630. }
  631. .remind-area .link-seller {
  632. font-size: 12px;
  633. color: #fff;
  634. line-height: 20px;
  635. height: 20px;
  636. padding: 0 7px;
  637. background: #ef7f03;
  638. border-radius: 2px;
  639. }
  640. #goods-list-fragment .goods-area .page-wrap {
  641. margin-top: 18px;
  642. }
  643. </style>