app-spike.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. <!--秒杀-->
  2. <template>
  3. <view class="app-spike">
  4. <view class="app-list-mode" v-if="listStyle === -1">
  5. <view class="app-item dir-left-nowrap main-between cross-center" :class="{'app-border': goodsStyle === 2}" v-for="(item, index) in list" :key="index">
  6. <app-jump-button form>
  7. <image class="app-icon" lazy-load="true" v-if="showGoodsTag" :src="goodsTagPicUrl"></image>
  8. <image class="app-image" lazy-load="true" :src="item.cover_pic" :mode="fill === 1 ? 'scaleToFill' : fill === 0 ? 'aspectFit' : ''"></image>
  9. <view class="app-content" :class="{'app-name-padding': !showGoodsName}">
  10. <text class="app-name" v-if="showGoodsName" :class="{'app-icon-margin' : !beforeStarting(item.start_time, item.end_time)}">
  11. <text class="app-spike-name">秒杀</text>
  12. {{item.name}}
  13. </text>
  14. <view class="app-icon-v dir-left-nowrap main-left cross-center" v-if="beforeStarting(item.start_time, item.end_time)">
  15. <icon class="app-icon-time"></icon>
  16. <template v-if="startOrEnd(item.start_time, item.end_time) === 's'">
  17. <text class="app-text">距开始</text>
  18. <app-timer color="#ff4544" fontSize="24" :startTime="item.start_time"></app-timer>
  19. </template>
  20. <template v-if="startOrEnd(item.start_time, item.end_time) === 'e'">
  21. <text class="app-text">距结束</text>
  22. <app-timer color="#ff4544" fontSize="24" :startTime="item.end_time"></app-timer>
  23. </template>
  24. </view>
  25. <view class="app-price-button dir-left-nowrap main-between cross-center">
  26. <view class="app-price dir-top-nowrap">
  27. <text class="app-new-price">¥{{item.price}}</text>
  28. <text class="app-original-price">¥{{item.original_price}}</text>
  29. </view>
  30. <button v-if="showBuyBtn" class="app-button"
  31. :style="{
  32. color: buyBtnStyle === 2 || buyBtnStyle === 4 ? buttonColor : 'white',
  33. borderColor: buttonColor,
  34. backgroundColor: buyBtnStyle === 1 || buyBtnStyle === 3 ? buttonColor : 'white',
  35. }"
  36. :class="{
  37. 'app-filling': buyBtnStyle === 1,
  38. 'app-line': buyBtnStyle === 2,
  39. 'app-fillet-fill': buyBtnStyle === 3,
  40. 'app-rounded-line': buyBtnStyle === 4
  41. }"
  42. >{{buyBtnText}}</button>
  43. </view>
  44. </view>
  45. </app-jump-button>
  46. </view>
  47. </view>
  48. <view class="app-one-per-line" v-if="listStyle === 1">
  49. <view class="app-item dir-top-nowrap"
  50. :class="{'app-border': goodsStyle === 2 || goodsStyle === 4}"
  51. v-for="(item, index) in list"
  52. :key="index"
  53. >
  54. <app-jump-button form arrangement="column">
  55. <image class="app-icon"
  56. lazy-load="true"
  57. v-if="showGoodsTag"
  58. :src="goodsTagPicUrl"
  59. ></image>
  60. <image class="app-image"
  61. :class="{'app-image-square' : goodsCoverProportion === '1-1', 'app-image-rectangle': goodsCoverProportion === '3-2'}"
  62. lazy-load="true"
  63. :src="item.cover_pic"
  64. :mode="fill === 1 ? 'scaleToFill' : fill === 0 ? 'aspectFit' : ''"
  65. ></image>
  66. <view class="app-spike-view dir-left-nowrap main-between cross-center" v-if="beforeStarting(item.start_time, item.end_time)"
  67. :class="{'app-view-square': goodsCoverProportion === '1-1', 'app-view-rectangle': goodsCoverProportion === '3-2'}"
  68. >
  69. <text class="app-spike-name">秒杀</text>
  70. <view class="app-right-spike">
  71. <template v-if="startOrEnd(item.start_time, item.end_time) === 's'">
  72. <text class="app-text">距开始</text>
  73. <app-timer color="white" fontSize="24" :startTime="item.start_time"></app-timer>
  74. </template>
  75. <template v-if="startOrEnd(item.start_time, item.end_time) === 'e'">
  76. <text class="app-text">距结束</text>
  77. <app-timer color="white" fontSize="24" :startTime="item.end_time"></app-timer>
  78. </template>
  79. </view>
  80. </view>
  81. <text class="app-name"
  82. v-if="showGoodsName"
  83. :class="{'app-text-align': goodsStyle === 3 || goodsStyle === 4 }"
  84. >{{item.name}}</text>
  85. <view class="app-price-button dir-left-nowrap cross-center"
  86. :class="{'main-between': goodsStyle === 1 || goodsStyle === 2, 'main-center': goodsStyle === 3 || goodsStyle === 4, 'app-margin-no-name': !showGoodsName}"
  87. >
  88. <view class="app-group-price dir-top-nowrap">
  89. <text class="app-new-price">¥{{item.price}}</text>
  90. <text class="app-original-price">¥{{item.original_price}}</text>
  91. </view>
  92. <button class="app-button"
  93. :style="{
  94. color: buyBtnStyle === 2 || buyBtnStyle === 4 ? buttonColor : 'white',
  95. borderColor: buttonColor,
  96. backgroundColor: buyBtnStyle === 1 || buyBtnStyle === 3 ? buttonColor : 'white',
  97. }"
  98. :class="{
  99. 'app-filling': buyBtnStyle === 1,
  100. 'app-line': buyBtnStyle === 2,
  101. 'app-fillet-fill': buyBtnStyle === 3,
  102. 'app-rounded-line': buyBtnStyle === 4
  103. }"
  104. v-if="showBuyBtn && goodsStyle !== 3 && goodsStyle !== 4"
  105. >{{buyBtnText}}</button>
  106. </view>
  107. </app-jump-button>
  108. </view>
  109. </view>
  110. <view class="app-two-per-line dir-left-wrap" v-if="listStyle === 2">
  111. <view v-for="(item, index) in list"
  112. :key="index"
  113. class="app-item dir-top-nowrap"
  114. :class="{'app-border': goodsStyle === 2 || goodsStyle === 4, 'app-item-margin': index%2 === 0}"
  115. >
  116. <app-jump-button form arrangement="column">
  117. <image class="app-icon"
  118. lazy-load="true"
  119. v-if="showGoodsTag"
  120. :src="goodsTagPicUrl"
  121. ></image>
  122. <image class="app-image"
  123. lazy-load="true"
  124. :src="item.cover_pic"
  125. :mode="fill === 1 ? 'scaleToFill' : fill === 0 ? 'aspectFit' : ''"
  126. ></image>
  127. <view class="app-spike-view dir-left-nowrap main-center cross-center" v-if="beforeStarting(item.start_time, item.end_time)">
  128. <template v-if="startOrEnd(item.start_time, item.end_time) === 's'">
  129. <text class="app-text">距开始</text>
  130. <app-timer color="white" fontSize="24" :startTime="item.start_time"></app-timer>
  131. </template>
  132. <template v-if="startOrEnd(item.start_time, item.end_time) === 'e'">
  133. <text class="app-text">距结束</text>
  134. <app-timer color="white" fontSize="24" :startTime="item.end_time"></app-timer>
  135. </template>
  136. </view>
  137. <text class="app-name"
  138. v-if="showGoodsName"
  139. :class="{'app-text-align': goodsStyle === 3 || goodsStyle === 4 }"
  140. >
  141. <text class="app-spike-name">秒杀</text>
  142. {{item.name}}
  143. </text>
  144. <view class="app-group-price-button dir-left-nowrap" :class="{'main-center': goodsStyle === 3 || goodsStyle === 4}">
  145. <view class="app-group-price dir-top-nowrap">
  146. <text class="app-new-price">¥{{item.price}}</text>
  147. <text class="app-original-price">¥{{item.original_price}}</text>
  148. </view>
  149. <button class="app-button"
  150. :style="{
  151. color: buyBtnStyle === 2 || buyBtnStyle === 4 ? buttonColor : 'white',
  152. borderColor: buttonColor,
  153. backgroundColor: buyBtnStyle === 1 || buyBtnStyle === 3 ? buttonColor : 'white',
  154. }"
  155. :class="{
  156. 'app-filling': buyBtnStyle === 1,
  157. 'app-line': buyBtnStyle === 2,
  158. 'app-fillet-fill': buyBtnStyle === 3,
  159. 'app-rounded-line': buyBtnStyle === 4
  160. }"
  161. v-if="showBuyBtn && goodsStyle !== 3 && goodsStyle !== 4">
  162. {{buyBtnText}}
  163. </button>
  164. </view>
  165. </app-jump-button>
  166. </view>
  167. </view>
  168. <app-load-text v-if="!request"></app-load-text>
  169. </view>
  170. </template>
  171. <script>
  172. import appTimer from '../../basic-component/app-timer/app-timer.vue';
  173. import { mapState } from 'vuex';
  174. export default {
  175. name: 'app-group-goods',
  176. components: {
  177. 'app-timer': appTimer
  178. },
  179. computed: {
  180. ...mapState({
  181. height : state=>state.gConfig.systemInfo.windowHeight
  182. })
  183. },
  184. props: {
  185. buttonColor: {
  186. type: String,
  187. default: function() {
  188. return "blue";
  189. }
  190. },
  191. buyBtnStyle: {
  192. type: Number,
  193. default: function() {
  194. return 3;
  195. }
  196. },
  197. buyBtnText: {
  198. type: String,
  199. default: function() {
  200. return "马上秒";
  201. }
  202. },
  203. customizeGoodsTag: {
  204. type: Boolean,
  205. default: function() {
  206. return false;
  207. }
  208. },
  209. fill: {
  210. type: Number,
  211. default: function() {
  212. return 1;
  213. }
  214. },
  215. goodsCoverProportion: {
  216. type: String,
  217. default: function() {
  218. return "3-2";
  219. }
  220. },
  221. goodsStyle: {
  222. type: Number,
  223. default: function() {
  224. return 2;
  225. }
  226. },
  227. goodsTagPicUrl: {
  228. type: String,
  229. default: function() {
  230. return "http://v4test2.zjhejiang.com/plugins/diy/assets/images/goods-tag-xp.png";
  231. }
  232. },
  233. list: {
  234. type: Array,
  235. default: function() {
  236. return [
  237. ];
  238. }
  239. },
  240. listStyle: {
  241. type: Number,
  242. default: function() {
  243. return 1;
  244. }
  245. },
  246. showBuyBtn: {
  247. type: Boolean,
  248. default: function() {
  249. return true;
  250. }
  251. },
  252. showGoodsName: {
  253. type: Boolean,
  254. default: function() {
  255. return true;
  256. }
  257. },
  258. showGoodsTag: {
  259. type: Boolean,
  260. default: function() {
  261. return true;
  262. }
  263. },
  264. scrollTop: {
  265. type: Number,
  266. default: function() {
  267. return 0;
  268. }
  269. },
  270. value: {
  271. type: Boolean,
  272. default: function() {
  273. return true;
  274. }
  275. }
  276. },
  277. data() {
  278. return {
  279. request: this.value,
  280. }
  281. },
  282. methods: {
  283. autoEnd() {
  284. this.$lazyLoadingData('app-spike').then(response => {
  285. if (response[0].height +response[0].top < this.height) {
  286. this.request = false;
  287. this.$emit('input', this.request);
  288. }
  289. });
  290. },
  291. beforeStarting(start, end) {
  292. let now = new Date();
  293. let s = new Date(start.replace(/-/g, '/'));
  294. let e = new Date(end.replace(/-/g, '/'));
  295. if (now > s) {
  296. if (now < e) {
  297. return true;
  298. } else {
  299. return false
  300. }
  301. } else {
  302. return true;
  303. }
  304. },
  305. startOrEnd(start, end) {
  306. let now = new Date();
  307. let s = new Date(start.replace(/-/g, '/'));
  308. let e = new Date(end.replace(/-/g, '/'));
  309. if (now > s) {
  310. if (now < e) {
  311. return 'e';
  312. }
  313. } else {
  314. return 's';
  315. }
  316. }
  317. },
  318. watch: {
  319. scrollTop: {
  320. handler: function(n,o) {
  321. if (n > o && this.request) this.autoEnd();
  322. }
  323. }
  324. }
  325. }
  326. </script>
  327. <style scoped lang="scss">
  328. .app-spike {
  329. width: $screen-width;
  330. overflow: hidden;
  331. background-color: white;
  332. }
  333. .app-border {
  334. border-color: #e2e2e2 !important;
  335. }
  336. .app-list-mode {
  337. width: $screen-width;
  338. .app-item {
  339. margin-top: #{15rpx};
  340. width: #{702rpx};
  341. margin-left: #{24rpx};
  342. margin-right: #{24rpx};
  343. height: #{200rpx};
  344. border-bottom-right-radius: #{20rpx};
  345. border-top-right-radius: #{20rpx};
  346. position: relative;
  347. padding-right: #{24rpx};
  348. border: #{1rpx} solid transparent;
  349. .app-icon {
  350. position: absolute;
  351. top: 0;
  352. left: 0;
  353. width: #{65rpx};
  354. height: #{55rpx};
  355. }
  356. .app-image {
  357. width: #{199rpx};
  358. height: #{199rpx};
  359. margin-right: #{33rpx};
  360. }
  361. .app-name-padding {
  362. padding-top: #{81rpx};
  363. }
  364. .app-content {
  365. width: #{446rpx};
  366. height: #{200rpx};
  367. border-bottom-right-radius: #{20rpx};
  368. border-top-right-radius: #{20rpx};
  369. .app-name {
  370. word-break: break-all;
  371. text-overflow: ellipsis;
  372. display: -webkit-box;
  373. -webkit-box-orient: vertical;
  374. -webkit-line-clamp: 2;
  375. overflow: hidden;
  376. font-size: #{28rpx};
  377. color: #353535;
  378. /* #ifndef MP-WEIXIN */
  379. line-height: #{30rpx};
  380. /* #endif */
  381. /* #ifdef MP-WEIXIN */
  382. line-height: #{28rpx};
  383. /* #endif */
  384. height: #{58rpx};
  385. width: #{702-199-33rpx};
  386. margin-top: #{23rpx};
  387. .app-spike-name {
  388. display: inline-block;
  389. font-size: #{22rpx};
  390. width: #{64rpx};
  391. height: #{28rpx};
  392. line-height: #{28rpx};
  393. margin-right: #{8rpx};
  394. color: #ff4544;
  395. background-color: #feeeee;
  396. border-radius: #{14rpx};
  397. }
  398. }
  399. .app-icon-margin {
  400. margin-bottom: #{51rpx};
  401. }
  402. .app-icon-v {
  403. width: #{446rpx};
  404. height: #{35rpx};
  405. line-height: #{35rpx};
  406. margin-top: #{16rpx};
  407. .app-icon-time {
  408. width: #{24rpx};
  409. height: #{24rpx};
  410. background-size: 100% 100%;
  411. background-repeat: no-repeat;
  412. background-image: url("../../../static/image/icon/time.png");
  413. margin-right: #{12rpx};
  414. }
  415. .app-text {
  416. font-size: #{24rpx};
  417. color: #999999;
  418. margin-right: #{12rpx};
  419. }
  420. }
  421. .app-price-button {
  422. margin-top: #{3rpx};
  423. width: #{446rpx};
  424. height: #{48rpx};
  425. .app-price {
  426. height: #{68rpx};
  427. padding-top: #{10rpx};
  428. .app-original-price {
  429. text-decoration: line-through;
  430. font-size: #{22rpx};
  431. color: #999999;
  432. }
  433. .app-new-price {
  434. font-size: #{28rpx};
  435. color: #ff4544;
  436. }
  437. }
  438. .app-button {
  439. display: inline-block;
  440. height: #{48rpx};
  441. line-height: #{48rpx};
  442. padding: 0 #{20rpx};
  443. font-size: #{28rpx};
  444. margin: 0;
  445. border: #{1rpx} solid #ff4544;
  446. }
  447. .app-button:after {
  448. display: none;
  449. }
  450. .app-filling {
  451. background-color: #ff4544;
  452. color: white;
  453. }
  454. .app-line {
  455. background-color: white;
  456. color: #ff4544;
  457. }
  458. .app-fillet-fill {
  459. background-color: #ff4544;
  460. color: white;
  461. border-radius: #{20rpx};
  462. }
  463. .app-rounded-line {
  464. background-color: white;
  465. color: #ff4544;
  466. border-radius: #{20rpx};
  467. }
  468. }
  469. }
  470. }
  471. }
  472. .app-one-per-line {
  473. width: #{750rpx};
  474. padding: #{2rpx} #{24rpx};
  475. .app-item {
  476. width: #{702rpx};
  477. position: relative;
  478. border: #{1rpx} solid transparent;
  479. margin-top: #{24rpx};
  480. border-bottom-right-radius: #{10rpx};
  481. border-bottom-left-radius: #{10rpx};
  482. overflow: hidden;
  483. .app-icon {
  484. position: absolute;
  485. top: 0;
  486. left: 0;
  487. width: #{65rpx};
  488. height: #{55rpx};
  489. }
  490. .app-image {
  491. width: #{702rpx};
  492. }
  493. .app-spike-view {
  494. height: #{80rpx};
  495. width: #{702rpx};
  496. position: absolute;
  497. left: 50%;
  498. transform: translate(-50%, -100%);
  499. background: linear-gradient(left, #ff4544, #ff8b8b);
  500. color: white;
  501. padding: 0 #{24rpx};
  502. .app-spike-name {
  503. font-size: #{32rpx};
  504. }
  505. .app-right-spike {
  506. line-height: #{32rpx};
  507. .app-text {
  508. font-size: #{24rpx};
  509. margin-right: #{12rpx};
  510. }
  511. }
  512. }
  513. .app-view-square {
  514. top: #{702rpx};
  515. }
  516. .app-view-rectangle {
  517. top: #{280.8rpx};
  518. }
  519. .app-image-square {
  520. height: #{702rpx};
  521. }
  522. .app-image-rectangle {
  523. height: #{280.8rpx};
  524. }
  525. .app-name {
  526. word-break: break-all;
  527. text-overflow: ellipsis;
  528. display: -webkit-box;
  529. -webkit-box-orient: vertical;
  530. -webkit-line-clamp: 1;
  531. overflow: hidden;
  532. width: #{702rpx};
  533. padding: 0 #{24rpx};
  534. margin-top: #{28rpx};
  535. font-size: #{26rpx};
  536. color: #353535;
  537. }
  538. .app-text-align {
  539. text-align: center;
  540. }
  541. .app-price-button {
  542. width: #{702rpx};
  543. padding: 0 #{24rpx};
  544. height: #{48rpx};
  545. margin-top: #{36rpx};
  546. margin-bottom: #{24rpx};
  547. .app-group-price {
  548. .app-new-price {
  549. font-size: #{24rpx};
  550. color: #ff4544;
  551. }
  552. .app-original-price {
  553. font-size: #{22rpx};
  554. color: #999999;
  555. text-decoration: line-through;
  556. }
  557. }
  558. .app-margin-no-name {
  559. margin-top: #{92rpx};
  560. }
  561. .app-button {
  562. height: #{48rpx};
  563. padding: 0 #{20rpx};
  564. font-size: #{26rpx};
  565. line-height: #{48rpx};
  566. margin: 0;
  567. border-radius: 0;
  568. border: #{1rpx} solid #ff4544;
  569. }
  570. .app-button:after {
  571. display: none;
  572. }
  573. .app-filling {
  574. background-color: #ff4544;
  575. color: white;
  576. }
  577. .app-line {
  578. background-color: white;
  579. color: #ff4544;
  580. }
  581. .app-fillet-fill {
  582. background-color: #ff4544;
  583. color: white;
  584. border-radius: #{20rpx};
  585. }
  586. .app-rounded-line {
  587. background-color: white;
  588. color: #ff4544;
  589. border-radius: #{20rpx};
  590. }
  591. }
  592. }
  593. }
  594. .app-two-per-line {
  595. width: #{750rpx};
  596. padding: #{2rpx} #{24rpx};
  597. .app-item {
  598. width: #{346rpx};
  599. height: #{534rpx};
  600. border-bottom-left-radius: #{10rpx};
  601. border-bottom-right-radius: #{10rpx};
  602. border: #{1rpx} solid transparent;
  603. overflow: hidden;
  604. position: relative;
  605. margin-top: #{24rpx};
  606. margin-bottom: #{24rpx};
  607. padding-bottom: #{24rpx};
  608. .app-icon {
  609. position: absolute;
  610. top: 0;
  611. left: 0;
  612. width: #{65rpx};
  613. height: #{55rpx};
  614. }
  615. .app-image {
  616. width: #{346rpx};
  617. height: #{346rpx};
  618. }
  619. .app-spike-view {
  620. width: #{346rpx};
  621. height: #{44rpx};
  622. position: absolute;
  623. top: #{346rpx};
  624. left: 50%;
  625. transform: translate(-50%, -100%);
  626. background: linear-gradient(left, #ff4544, #ff8b8b);
  627. .app-text {
  628. font-size: #{24rpx};
  629. margin-right: #{6rpx};
  630. color: white;
  631. }
  632. /deep/ text {
  633. line-height: #{47rpx};
  634. }
  635. }
  636. .app-name {
  637. word-break: break-all;
  638. text-overflow: ellipsis;
  639. display: -webkit-box;
  640. -webkit-box-orient: vertical;
  641. -webkit-line-clamp: 2;
  642. overflow: hidden;
  643. margin-top: #{24rpx};
  644. padding: 0 #{24rpx};
  645. font-size: #{25rpx};
  646. width: #{346rpx};
  647. height: #{49rpx};
  648. line-height: #{25rpx};
  649. color: #353535;
  650. .app-spike-name {
  651. display: inline-block;
  652. color: #ff4544;
  653. font-size: #{20rpx};
  654. height: #{26rpx};
  655. line-height: #{26rpx};
  656. width: #{64rpx};
  657. text-align: center;
  658. background-color: #feeeee;
  659. margin-right: #{12rpx};
  660. }
  661. }
  662. .app-text-align {
  663. text-align: center;
  664. }
  665. .app-group-price-button {
  666. width: #{346rpx};
  667. padding: 0 #{24rpx};
  668. height: #{36+48rpx};
  669. position: relative;
  670. .app-group-price {
  671. height: #{36+48rpx};
  672. padding-top: #{36rpx};
  673. .app-new-price {
  674. font-size: #{22rpx};
  675. color: #ff4544;
  676. }
  677. .app-original-price {
  678. font-size: #{18rpx};
  679. color: #999999;
  680. text-decoration: line-through;
  681. }
  682. }
  683. .app-button {
  684. display: inline-block;
  685. margin: #{36rpx} 0 0 0;
  686. padding: 0 #{10rpx};
  687. min-width: #{120rpx};
  688. height: #{48rpx};
  689. font-size: #{26rpx};
  690. line-height: #{48rpx};
  691. border-radius: 0;
  692. border: #{1rpx} solid #ff4544;
  693. position: absolute;
  694. right: #{24rpx};
  695. }
  696. .app-button:after {
  697. display: none;
  698. }
  699. .app-filling {
  700. background-color: #ff4544;
  701. color: white;
  702. }
  703. .app-line {
  704. background-color: white;
  705. color: #ff4544;
  706. }
  707. .app-fillet-fill {
  708. background-color: #ff4544;
  709. color: white;
  710. border-radius: #{20rpx};
  711. }
  712. .app-rounded-line {
  713. background-color: white;
  714. color: #ff4544;
  715. border-radius: #{20rpx};
  716. }
  717. }
  718. }
  719. .app-item-margin {
  720. margin-right: #{10rpx};
  721. }
  722. }
  723. </style>