ApplyInfo.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <div class="apply-info">
  3. <div class="apply-info-title">
  4. <p>最新求购信息</p>
  5. <span>海量求购,一网打尽</span>
  6. <div>
  7. <input type="text" class="form-control" v-model="keyWord" @keyup.13="searchList" placeholder="型号/品牌" />
  8. <span @click="searchList">查询</span>
  9. </div>
  10. </div>
  11. <div class="apply-info-list">
  12. <p>
  13. <span>发布时间
  14. <a href="javascript:void(0)" @click="sortListByParam('releaseDate')">
  15. <!--<i class=" fa fa-long-arrow-up" :class="{active: sorting.releaseDate == 'ASC'}"></i>-->
  16. <!--<i class=" fa fa-long-arrow-down" :class="{active: sorting.releaseDate == 'DESC'}"></i>-->
  17. </a>
  18. </span>
  19. <span>买家</span>
  20. <span>型号</span>
  21. <span>品牌</span>
  22. <span>截止时间
  23. <a href="javascript:void(0)" @click="sortListByParam('deadline')">
  24. <!--<i class=" fa fa-long-arrow-up" :class="{active: sorting.deadline == 'ASC'}"></i>-->
  25. <!--<i class=" fa fa-long-arrow-down" :class="{active: sorting.deadline == 'DESC'}"></i>-->
  26. </a>
  27. </span>
  28. <span>已报价
  29. <a href="javascript:void(0)" @click="sortListByParam('offerAmount')">
  30. <!--<i class=" fa fa-long-arrow-up" :class="{active: sorting.offerAmount == 'ASC'}"></i>-->
  31. <!--<i class=" fa fa-long-arrow-down" :class="{active: sorting.offerAmount == 'DESC'}"></i>-->
  32. </a>
  33. </span>
  34. <span>操作</span>
  35. </p>
  36. <ul>
  37. <li v-for="(purchaseMan, index) in purchaseManList.content" :class="{'active': purchaseMan.active}">
  38. <div>{{purchaseMan.date| date}}</div>
  39. <div v-if="purchaseMan.inquiry.enterprise && purchaseMan.inquiry.enterprise.enName">{{purchaseMan.inquiry.enterprise.enName | enterpriseFilter}}</div>
  40. <div v-else>{{purchaseMan.userName | userNameFilter}}</div>
  41. <div :title="purchaseMan.cmpCode">{{purchaseMan.cmpCode || '-'}}</div>
  42. <div :title="purchaseMan.inbrand">{{purchaseMan.inbrand || '-'}}</div>
  43. <div class="date-content">
  44. <div v-if="purchaseMan.remainingTime > 0">
  45. <span>剩余&nbsp;</span>
  46. <span v-if="getDay(purchaseMan.remainingTime) > 0" v-text="getDay(purchaseMan.remainingTime)"></span>
  47. <i v-if="getDay(purchaseMan.remainingTime) > 0">&nbsp;天&nbsp;</i>
  48. <span v-if="getDay(purchaseMan.remainingTime) <= 0" v-text="getHours(purchaseMan.remainingTime)"></span>
  49. <i v-if="getDay(purchaseMan.remainingTime) <= 0" >&nbsp;小时</i>
  50. </div>
  51. <span v-if="!purchaseMan.remainingTime || purchaseMan.remainingTime <= 0">已截止</span>
  52. </div>
  53. <div class="number-content"><img src="/images/applyPurchase/hot-fire.png" alt="" v-if="purchaseMan.offerAmount > 10"><span :style="purchaseMan.offerAmount > 10 ? 'color: #ff9a00': ''">{{purchaseMan.offerAmount || 0}}</span>&nbsp;条</div>
  54. <div class="btn-content">
  55. <!--<a @click="setLinkBoxIndex(index)">联系买家</a>-->
  56. <a v-if="purchaseMan.remainingTime > 0 && (!purchaseMan.quoted || purchaseMan.quoted != 1) && user && user.data.enterprise && (purchaseMan.inquiry.enterprise.uu == user.data.enterprise.uu || purchaseMan.userUU == user.data.userUU)" style="background: #cccbcb;">我要报价</a>
  57. <a v-else @click="sayPrice(purchaseMan, index)">我要报价</a>
  58. <div class="is-say-price" v-if="purchaseMan.remainingTime > 0 && purchaseMan.quoted == 1">已报价 <img src="/images/applyPurchase/green-check.png" alt="">
  59. </div>
  60. </div>
  61. <div class="expand-content">
  62. <div>
  63. 封装:{{purchaseMan.encapsulation || '-'}}
  64. </div>
  65. <div>
  66. 采购数量:<span>{{purchaseMan.needquantity || '-'}}</span><span v-if="purchaseMan.needquantity">个</span>
  67. </div>
  68. <div>
  69. 单价预算:<span>{{purchaseMan.unitPrice ? (purchaseMan.currency == 'RMB' ? '¥' : '$') + purchaseMan.unitPrice : '-'}}</span>
  70. </div>
  71. <div>
  72. 生产日期:{{purchaseMan.produceDate || '-'}}
  73. </div>
  74. </div>
  75. <!--<div class="say-price">
  76. <div>报价</div>
  77. <div>
  78. <i>*</i>单价
  79. <select v-if="!purchaseMan.currency" v-model="sayPriceObj.currency">
  80. <option value="RMB">¥</option>
  81. <option value="USD">$</option>
  82. </select>
  83. <div v-if="purchaseMan.currency" v-text="purchaseMan.currency == 'RMB' ? '¥' : '$'"></div>
  84. <input type="number" v-model="sayPriceObj.unitPrice" class="form-control" @blur="onUnitPriceBlur" @input="onUnitPriceChange">
  85. </div>
  86. <div>
  87. <i>*</i>交期&nbsp;
  88. <input type="number" v-model="sayPriceObj.minDay" @blur="onMinDayInput" @input="onMinDayChange" class="form-control">&nbsp;-&nbsp;<input type="number" v-model="sayPriceObj.maxDay" @blur="onMaxDayInput" @input="onMaxDayChange" class="form-control">&nbsp;天
  89. </div>
  90. <div>
  91. 生产日期&nbsp;<input v-model="sayPriceObj.produceDate" @input="onProduceDateChange" type="text" class="form-control">
  92. </div>
  93. <div>
  94. <span @click="cancelSayPrice(purchaseMan)">取消</span>
  95. <span @click="commitSayPrice(purchaseMan)">提交</span>
  96. </div>
  97. </div>-->
  98. </li>
  99. </ul>
  100. </div>
  101. <say-price :current="currentSayPriceIndex"
  102. :purchase="purchaseManList"
  103. @cancelSayPriceAction="cancelSayPrice"
  104. @resetListAction="resetList"
  105. @sayPriceIndexAction="setIndex(index)"
  106. ></say-price>
  107. <page :total="totalCount" :page-size="pageSize"
  108. :current="nowPage" v-on:childEvent="listenPage"></page>
  109. <div class="com-del-box link-saler-box" v-if="linkBoxIndex > -1">
  110. <div class="title">
  111. <i @click="setLinkBoxIndex(-1)"></i>
  112. </div>
  113. <div class="content">
  114. <p><i class="fa fa-exclamation-circle"></i>抱歉,暂时无法与买家在线沟通!</p>
  115. <p>买家联系电话:<span v-text="purchaseManList.content[linkBoxIndex].userTel"></span></p>
  116. <div>
  117. <a @click="setLinkBoxIndex(-1)">我知道了</a>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </template>
  123. <script>
  124. import Page from '~components/common/page/pageComponent.vue'
  125. import SayPrice from './SayPrice.vue'
  126. export default {
  127. data () {
  128. return {
  129. pageSize: 10,
  130. nowPage: 1,
  131. keyWord: '',
  132. sorting: {},
  133. currentSayPriceIndex: -1,
  134. linkBoxIndex: -1
  135. }
  136. },
  137. components: {
  138. Page,
  139. SayPrice
  140. },
  141. filters: {
  142. date: function (date) {
  143. const d = new Date(Number(date))
  144. const year = d.getFullYear()
  145. const monthTemp = d.getMonth() + 1
  146. const month = monthTemp < 10 ? '0' + monthTemp : '' + monthTemp
  147. const hour = d.getHours() < 10 ? '0' + d.getHours() : '' + d.getHours()
  148. const minutes = d.getMinutes() < 10 ? '0' + d.getMinutes() : '' + d.getMinutes() + ' '
  149. const day = d.getDate() < 10 ? '0' + d.getDate() : '' + d.getDate() + ' '
  150. return year + '-' + month + '-' + day + ' ' + hour + ':' + minutes
  151. },
  152. phone: function (str) {
  153. return str.substring(0, 3) + '****' + str.substring(7, 11)
  154. },
  155. enterpriseFilter (str) {
  156. return str.length > 4 ? str.substring(0, 2) + '**' + str.substring(str.length - 2, str.length) : str
  157. },
  158. userNameFilter (str) {
  159. return str.substring(0, 1) + '**'
  160. }
  161. },
  162. computed: {
  163. purchaseManList () {
  164. return this.$store.state.applyPurchase.purchaseManList.purchaseManList.data
  165. },
  166. totalCount () {
  167. return this.purchaseManList.totalElements
  168. },
  169. user () {
  170. return this.$store.state.option.user
  171. }
  172. },
  173. methods: {
  174. setIndex: function (index) {
  175. this.currentSayPriceIndex = index
  176. },
  177. getDay: function (timeStamp) {
  178. return Math.floor(timeStamp / (1000 * 60 * 60 * 24))
  179. },
  180. getHours: function (timeStamp) {
  181. return Math.floor((timeStamp / (1000 * 60 * 60)) % 24)
  182. },
  183. listenPage: function (page) {
  184. this.nowPage = page
  185. this.resetList()
  186. },
  187. sayPrice: function (purchaseMan, index) {
  188. // let _this = this
  189. // for (let i = 0; i < this.purchaseManList.content.length; i++) {
  190. // _this.purchaseManList.content[i].active = false
  191. // }
  192. if (this.user.logged) {
  193. if (this.user.data.enterprise.uu) {
  194. if (this.user.data.enterprise.isVendor && this.user.data.enterprise.isVendor !== '1690') {
  195. // this.resetSayPrice()
  196. purchaseMan.active = true
  197. this.currentSayPriceIndex = index
  198. } else {
  199. this.$message.error('抱歉,您需开通卖家功能才可报价')
  200. }
  201. } else {
  202. this.$message.error('个人账户不可报价')
  203. }
  204. } else {
  205. this.$router.push('/auth/login?returnUrl=' + window.location.href)
  206. }
  207. },
  208. cancelSayPrice: function () {
  209. this.purchaseManList.content[this.currentSayPriceIndex].active = false
  210. this.currentSayPriceIndex = -1
  211. },
  212. resetList: function () {
  213. this.currentSayPriceIndex = -1
  214. this.$store.dispatch('applyPurchase/loadPurchaseManList', {pageNumber: this.nowPage, pageSize: this.pageSize, keyword: this.keyWord, sorting: !this.sorting || JSON.stringify(this.sorting) === '{}' ? {releaseDate: 'DESC'} : this.sorting, enUU: this.user.data.enterprise ? this.user.data.enterprise.uu : null})
  215. },
  216. searchList: function () {
  217. this.nowPage = 1
  218. this.resetList()
  219. },
  220. sortListByParam: function (param) {
  221. if (this.sorting[param]) {
  222. if (this.sorting[param] === 'ASC') {
  223. this.$set(this.sorting, param, 'DESC')
  224. } else {
  225. this.$delete(this.sorting, param)
  226. }
  227. } else {
  228. this.sorting = {}
  229. this.$set(this.sorting, param, 'ASC')
  230. }
  231. this.nowPage = 1
  232. this.resetList()
  233. },
  234. setLinkBoxIndex: function (index) {
  235. if (!this.user.logged) {
  236. this.$router.push('/auth/login?returnUrl=' + window.location.href)
  237. } else {
  238. this.linkBoxIndex = index
  239. }
  240. }
  241. }
  242. }
  243. </script>
  244. <style lang="scss" scoped>
  245. .apply-info {
  246. width: 1190px;
  247. margin: 0 auto;
  248. .apply-info-title {
  249. border-bottom: 1px solid #3975f4;
  250. >p {
  251. display: inline-block;
  252. width: 156px;
  253. height: 33px;
  254. line-height: 33px;
  255. color: #fff;
  256. background: #3975f4;
  257. font-size: 18px;
  258. text-align: center;
  259. border: {
  260. top-left-radius: 3px;
  261. top-right-radius: 3px;
  262. }
  263. margin: 0;
  264. }
  265. >span {
  266. color: #999;
  267. margin-left: 16px;
  268. }
  269. >div {
  270. float: right;
  271. height: 25px;
  272. line-height: 25px;
  273. >input {
  274. width: 241px;
  275. height: 25px;
  276. line-height: 25px;
  277. font-size: 13px;
  278. border: {
  279. top-right-radius: 0;
  280. bottom-right-radius: 0;
  281. }
  282. }
  283. >span {
  284. display: inline-block;
  285. width: 69px;
  286. color: #fff;
  287. background: #3975f4;
  288. text-align: center;
  289. margin: 0 6px 0 -1px;
  290. border: {
  291. top-right-radius: 3px;
  292. bottom-right-radius: 3px;
  293. }
  294. cursor: pointer;
  295. }
  296. >a {
  297. background: #ffa200;
  298. color: #fff;
  299. width: 79px;
  300. border-radius: 3px;
  301. text-align: center;
  302. display: inline-block;
  303. }
  304. }
  305. }
  306. .apply-info-list {
  307. >p {
  308. background: #ededed;
  309. height: 40px;
  310. line-height: 40px;
  311. margin: 9px 0 0 0;
  312. span {
  313. display: inline-block;
  314. text-align: center;
  315. a {
  316. i {
  317. color: #333;
  318. &.active {
  319. color: #5078cb;
  320. }
  321. }
  322. }
  323. &:nth-child(1) {
  324. width: 186px;
  325. }
  326. &:nth-child(2) {
  327. width: 106px;
  328. }
  329. &:nth-child(3) {
  330. width: 200px;
  331. }
  332. &:nth-child(4) {
  333. width: 174px;
  334. }
  335. &:nth-child(5) {
  336. width: 152px;
  337. }
  338. &:nth-child(6) {
  339. width: 158px;
  340. }
  341. &:nth-child(7) {
  342. width: 180px;
  343. margin-left: 30px;
  344. }
  345. }
  346. }
  347. >ul {
  348. margin-bottom: 29px;
  349. > li {
  350. position: relative;
  351. min-height: 67px;
  352. line-height: 67px;
  353. border: 1px solid #ededed;
  354. >div {
  355. overflow-x: hidden;
  356. text-overflow: ellipsis;
  357. white-space: nowrap;
  358. display: inline-block;
  359. text-align: center;
  360. color: #3c3c3c;
  361. vertical-align: middle;
  362. &:nth-child(1) {
  363. width: 186px;
  364. }
  365. &:nth-child(2) {
  366. width: 106px;
  367. }
  368. &:nth-child(3) {
  369. width: 200px;
  370. }
  371. &:nth-child(4) {
  372. width: 174px;
  373. }
  374. &:nth-child(5) {
  375. width: 152px;
  376. }
  377. &:nth-child(6) {
  378. width: 158px;
  379. }
  380. &:nth-child(7) {
  381. width: 180px;
  382. margin-left: 32px;
  383. float: right;
  384. }
  385. &.date-content {
  386. span {
  387. &:first-child {
  388. font-size: 12px;
  389. color: #666;
  390. }
  391. color: #f71026;
  392. }
  393. i {
  394. font-style: normal;
  395. }
  396. }
  397. &.number-content {
  398. span {
  399. color: #5392f9;
  400. &.active {
  401. color: #ff9a00;
  402. }
  403. }
  404. >img {
  405. margin-bottom: 5px;
  406. margin-right: 2px;
  407. }
  408. }
  409. &.btn-content {
  410. > a {
  411. display: inline-block;
  412. width: 71px;
  413. height: 28px;
  414. line-height: 28px;
  415. color: #fff;
  416. background: #3c7cf5;
  417. border-radius: 3px;
  418. cursor: pointer;
  419. /* &:first-child {
  420. background: #ffa200;
  421. float: left;
  422. margin-top: 19px;
  423. }*/
  424. }
  425. .is-say-price {
  426. display: inline-block;
  427. color: #39ae05;
  428. margin-left: 11px;
  429. img {
  430. margin-bottom: 2px;
  431. }
  432. .say-price-history {
  433. position: absolute;
  434. top: 53px;
  435. right: 11px;
  436. line-height: normal;
  437. width: 198px;
  438. height: 0;
  439. background: #fff;
  440. border: 1px solid #fab89a;
  441. z-index: 1;
  442. overflow: hidden;
  443. transition: height 1s;
  444. -moz-transition: height 1s; /* Firefox 4 */
  445. -webkit-transition: height 1s; /* Safari 和 Chrome */
  446. -o-transition: height 1s; /* Opera */
  447. opacity: 0;
  448. p {
  449. color: #020202;
  450. font-weight: bold;
  451. margin: 0;
  452. &.price-title {
  453. background: #fee6db;
  454. height: 28px;
  455. line-height: 28px;
  456. }
  457. &.price-level {
  458. margin: 6px 0;
  459. text-align: left;
  460. }
  461. }
  462. > div {
  463. padding: 9px 12px;
  464. > div {
  465. display: inline-block;
  466. text-align: left;
  467. &:nth-child(1) {
  468. float: left;
  469. }
  470. &:nth-child(2) {
  471. margin-left: 32px;
  472. }
  473. span {
  474. color: #020202;
  475. margin: 0;
  476. &.red-text {
  477. color: #f62d37;
  478. }
  479. }
  480. &.pre-line {
  481. display: block;
  482. padding: 13px 0;
  483. border-bottom: 1px dashed #fee6db;
  484. }
  485. }
  486. ul {
  487. li {
  488. color: #333;
  489. height: 22px;
  490. line-height: 22px;
  491. padding: 0 6px;
  492. &:nth-child(odd) {
  493. background: #f6f5f4;
  494. }
  495. span {
  496. color: #333;
  497. display: inline-block;
  498. text-align: left;
  499. width: 50%;
  500. margin: 0;
  501. }
  502. &:last-child {
  503. span {
  504. color: #4290f7;
  505. }
  506. }
  507. }
  508. }
  509. }
  510. }
  511. &:hover {
  512. .say-price-history {
  513. opacity: 1;
  514. /* animation: expand 1s infinite;
  515. -webkit-animation: expand 1s infinite; !*Safari and Chrome*!
  516. animation-iteration-count: 1;
  517. -webkit-animation-iteration-count: 1;*/
  518. height: 210px;
  519. }
  520. }
  521. /* @keyframes expand {
  522. from {bottom: 58px}
  523. to {bottom: auto}
  524. }
  525. @-webkit-keyframes expand {
  526. from {bottom: 58px}
  527. to {bottom: auto}
  528. }*/
  529. }
  530. }
  531. }
  532. .expand-content {
  533. display: none;
  534. justify-content: space-between;
  535. padding: 0 236px 0 36px;
  536. background: #fffbf0;
  537. height: 45px;
  538. line-height: 45px;
  539. color: #020202;
  540. div {
  541. display: inline-block;
  542. span {
  543. color: #f71026;
  544. }
  545. }
  546. }
  547. &:hover {
  548. box-shadow: 1.5px 3px 7px 0 rgb( 178, 178, 179 );
  549. .expand-content {
  550. display: flex;
  551. }
  552. }
  553. .say-price {
  554. background-color: #e7eef9;
  555. height: 64px;
  556. line-height: 64px;
  557. display: none;
  558. >div {
  559. display: inline-block;
  560. position: relative;
  561. height: 64px;
  562. line-height: 64px;
  563. input {
  564. border-radius: 3px;
  565. }
  566. &:nth-child(1) {
  567. width: 282px;
  568. background: url('/images/applyPurchase/say-price.png')no-repeat;
  569. text-align: center;
  570. margin-right: 44px;
  571. }
  572. &:nth-child(2) {
  573. margin-right: 39px;
  574. input {
  575. width: 118px;
  576. height: 26px;
  577. border: 1px solid #5392f9;
  578. }
  579. select {
  580. position: absolute;
  581. top: 19px;
  582. width: 32px;
  583. height: 26px;
  584. background: url('/images/applyPurchase/arrow-down.png')no-repeat right center;
  585. -webkit-box-shadow: none;
  586. -moz-box-shadow: none;
  587. box-shadow: none;
  588. border: {
  589. left: none;
  590. top: none;
  591. bottom: none;
  592. right: 1px solid #5392f9;
  593. bottom-left-radius: 4px;
  594. top-left-radius: 4px;
  595. }
  596. color: #5392f9;
  597. font: small-caption;
  598. padding-left: 8px;
  599. & + input {
  600. padding-left: 34px;
  601. }
  602. }
  603. div {
  604. position: absolute;
  605. top: 19px;
  606. left: 38px;
  607. width: 32px;
  608. height: 26px;
  609. line-height: 26px;
  610. text-align: center;
  611. border: {
  612. left: none;
  613. top: none;
  614. bottom: none;
  615. right: 1px solid #5392f9;
  616. bottom-left-radius: 4px;
  617. top-left-radius: 4px;
  618. }
  619. color: #5392f9;
  620. & + input {
  621. padding-left: 34px;
  622. }
  623. }
  624. }
  625. &:nth-child(3) {
  626. margin-right: 37px;
  627. input {
  628. width: 32px;
  629. height: 26px;
  630. padding: 0 0 0 6px;
  631. }
  632. }
  633. &:nth-child(4) {
  634. margin-right: 132px;
  635. input {
  636. width: 118px;
  637. height: 26px;
  638. }
  639. }
  640. &:nth-child(5) {
  641. span {
  642. width: 71px;
  643. height: 28px;
  644. line-height: 28px;
  645. text-align: center;
  646. display: inline-block;
  647. cursor: pointer;
  648. &:first-child {
  649. background: #dedddd;
  650. margin-right: 10px;
  651. }
  652. &:last-child {
  653. background: #fa4701;
  654. color: #fff;
  655. }
  656. }
  657. }
  658. i {
  659. color: #e41515;
  660. position: relative;
  661. top: 2px;
  662. right: 3px;
  663. }
  664. }
  665. }
  666. &.active {
  667. border-color: #f71026;
  668. box-shadow: none;
  669. .expand-content {
  670. display: flex;
  671. -webkit-box-shadow: none;
  672. -moz-box-shadow: none;
  673. box-shadow: none;
  674. }
  675. .say-price {
  676. display: block;
  677. }
  678. }
  679. }
  680. }
  681. }
  682. .page-wrap {
  683. text-align: right;
  684. float: none;
  685. }
  686. .link-saler-box {
  687. width: 289px;
  688. height: auto;
  689. min-height: auto;
  690. border-radius: 2px;
  691. .title {
  692. background-color: #4290f7;
  693. height: 22px;
  694. line-height: 22px;
  695. margin-bottom: 20px;
  696. }
  697. .content {
  698. p {
  699. line-height: 20px;
  700. padding-top: 0;
  701. i {
  702. color: #4290f7;
  703. margin-right: 4px;
  704. }
  705. span {
  706. color: #f62d37;
  707. }
  708. }
  709. div {
  710. a {
  711. width: 78px;
  712. background: #4290f7;
  713. margin: 18px 0 13px 0;
  714. border-radius: 2px;
  715. }
  716. }
  717. }
  718. }
  719. }
  720. </style>