CommodityList.vue 21 KB

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