ApplyInfo.vue 23 KB

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