goods.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <template>
  2. <app-layout>
  3. <view v-if="!goods" class="u-goods-detail"></view>
  4. <template v-if="goods">
  5. <!--商品轮播图-->
  6. <!-- <app-goods-banner
  7. :pic-list="goods.pic_url"
  8. :share="goods.share"
  9. :goods_id="id"
  10. sign="mch"
  11. :video-url="goods.banner_video"
  12. type="video"
  13. ></app-goods-banner> -->
  14. <view style="position:relative;overflow:hidden;">
  15. <view style="width:100%;display:flex;justify-content: flex-start;">
  16. <view style="width:100%;" v-if="type=='video'">
  17. <app-goods-banner :type="type" v-bind:pic-list="goods.pic_url" v-bind:share="goods.share" v-bind:video-url="goods.banner_video"
  18. v-bind:goods_id="id"></app-goods-banner>
  19. </view>
  20. <view style="width:100%;" v-if="type=='picture'">
  21. <app-goods-banner :type="type" v-bind:pic-list="goods.pic_url" v-bind:share="goods.share" v-bind:video-url="goods.banner_video"
  22. v-bind:goods_id="id"></app-goods-banner>
  23. </view>
  24. </view>
  25. <view style="position:absolute;left:50%;transform:translate(-50%,0);bottom:20px;display:flex;flex-wrap:nowrap;background:#fff;border-radius:28px;">
  26. <view class="banner_btn" v-if="goods.banner_video&&goods.banner_video.length>0" :class="{active:type=='video'}"
  27. @click="type='video'">视频({{goods.banner_video.length}})</view>
  28. <view class="banner_btn" :class="{active:type=='picture'}" @click="type='picture'">图片({{goods.pic_url.length}})</view>
  29. </view>
  30. </view>
  31. <bd-info
  32. :theme="themeObject"
  33. :name="goods.name"
  34. :subtitle="goods.subtitle"
  35. :level-show="goods.level_show"
  36. :flash-sale="flash_sale"
  37. :price="goods.price"
  38. :original-price="goods.original_price"
  39. :price-max="goods.price_max"
  40. :price-min="goods.price_min"
  41. :price-member-max="goods.price_member_max"
  42. :price-member-min="goods.price_member_min"
  43. :sales="goods.sales"
  44. :unit="goods.unit"
  45. :is-sales="goods.is_sales"
  46. :goods-id="goods.id"
  47. :extra-quick-share="goods.extra_quick_share"
  48. :app-share-pic="goods.app_share_pic"
  49. :app-share-title="goods.app_share_title"
  50. :poster-config="poster_config + `&goods_id=` + goods.id + `&mch_id=` + goods.mch_id"
  51. :poster-generate="poster_generate + `&goods_id=` + goods.id + `&mch_id=` + goods.mch_id"
  52. :has-poster-nav="true"
  53. :share-url="poster + `&goods_id=` + goods.id + `&mch_id=` + goods.mch_id"
  54. :signid="selectAttr?selectAttr.sign_id :''"
  55. :attrid="selectAttr?selectAttr.id :''"
  56. :checkprice="selectAttr?selectAttr.price :''"
  57. v-bind:goods="goods"
  58. @gotoOpenPic="openPic"
  59. ></bd-info>
  60. <template v-if="mch_store">
  61. <view class="shop-info dir-left-nowrap cross-center" :clas="mch_store.distance ? 'shop-info-2' : 'shop-info-1'">
  62. <image @click="navShop" class="box-grow-0" :src="mch_store.store.cover_url"></image>
  63. <view @click="navShop" class="dir-top-nowrap box-grow-1">
  64. <view class="store-name t-omit">{{mch_store.store.name}}</view>
  65. <view class="dir-left-nowrap">
  66. <view class="store-num">商品数量: {{mch_store.goods_count}}</view>
  67. <view>已售: {{mch_store.order_goods_count}}</view>
  68. </view>
  69. </view>
  70. <view class="box-grow-0">
  71. <view @click="navService" v-if="mch_setting.is_web_service"
  72. class="contain main-center cross-center dir-top-nowrap">
  73. <image class="store-icon-contain"
  74. :src="mch_setting.web_service_pic ? mch_setting.web_service_pic : `../image/goods-contact.png`"></image>
  75. <view class="store-contain">客服</view>
  76. </view>
  77. <view v-else class="main-center store-btn">
  78. <view class="shop-btn" @click="navShop">进店逛逛</view>
  79. </view>
  80. </view>
  81. </view>
  82. <view v-if="mch_store.distance" class="shop-address dir-left-nowrap cross-top">
  83. <view class="dir-top-nowrap box-grow-1">
  84. <view class="address">{{mch_store.store.address}}</view>
  85. <view class="km">距离{{mch_store.distance}}</view>
  86. </view>
  87. <view @click="navMap" class="box-grow-0 icon-address main-center">
  88. <image src="../image/summary-address.png"></image>
  89. </view>
  90. </view>
  91. </template>
  92. <!-- <bd-coupon @change="setCoupon" :theme="themeObject" :coupons="goods.goods_coupon_center"></bd-coupon>-->
  93. <bd-xbc
  94. :coAttr="is_open"
  95. :attr-list="selectAttr.attr_list"
  96. :type="goods.type"
  97. :guarantee-title="goods.guarantee_title"
  98. :guarantee-pic="goods.guarantee_pic"
  99. :param_content="goods.param_content"
  100. :param_name="goods.param_name"
  101. :services="goods.services"
  102. :attr-groups="goods.attr_groups"
  103. :goods-stock="goods.goods_stock"
  104. @openAttr="clickAttr()"
  105. ></bd-xbc>
  106. <bd-hc
  107. :integral="goods.goods_marketing_award.integral"
  108. :coupon="goods.goods_marketing_award.coupon"
  109. :card="goods.goods_marketing_award.card"
  110. :balance="goods.goods_marketing_award.balance"
  111. :theme="themeObject"
  112. ></bd-hc>
  113. <bd-kb
  114. :limit="goods.goods_marketing.limit"
  115. :express="goods.express"
  116. :shipping="goods.goods_marketing.shipping"
  117. :pickup="goods.goods_marketing.pickup"
  118. ></bd-kb>
  119. <bd-comments :goods-id="goods.id"></bd-comments>
  120. <bd-detail :detail="goods.detail" :after_detail="goods.after_detail" :goodsId="goods.id" :showTab="true"></bd-detail>
  121. <!--相关推荐-->
  122. <view class="recommend">
  123. <view class="recommend-title dir-left-nowrap main-center">
  124. <view class="dir-left-nowrap cross-center">
  125. <view class="border"></view>
  126. <image src="../../../static/image/icon/icon-favorite.png"></image>
  127. <view style="color: #353535;">您或许喜欢</view>
  128. <view class="border"></view>
  129. </view>
  130. </view>
  131. <view class="recommend-list">
  132. <u-ordinary-list :theme-object="themeObject" :isShowAttr="true" :list="recommend_list" :theme="getTheme" :list-style="2"></u-ordinary-list>
  133. </view>
  134. </view>
  135. <!-- 底部空格 -->
  136. <view class="safe-area-inset-bottom">
  137. <view class="u-bottom-height" :class="full_reduce ? 'u-bottom-height-1' : 'u-bottom-height-0'"></view>
  138. </view>
  139. <!-- 底部按钮 -->
  140. <view v-if="is_open == 1" class="safe-area-inset-bottom u-bottom-fixed">
  141. <view v-if="full_reduce">
  142. <app-goods-full-reduce
  143. :theme="getTheme"
  144. :full_reduce="full_reduce"
  145. >
  146. </app-goods-full-reduce>
  147. </view>
  148. <view class="app-bottom dir-left-nowrap" >
  149. <view class="dir-top-nowrap main-center cross-center little box-grow-0" @click="navShop">
  150. <image src="../../../static/image/icon/icon-mch.png"></image>
  151. <view>店铺</view>
  152. </view>
  153. <view class="dir-top-nowrap main-center cross-center little box-grow-0" @click="back">
  154. <image src="../../../static/image/icon/index.png"></image>
  155. <view>首页</view>
  156. </view>
  157. <view class="dir-top-nowrap main-center cross-center little box-grow-0" @click="favorite">
  158. <image :src="goods.favorite ? '../../../static/image/icon/icon-favorite-active.png' : '../../../static/image/icon/icon-favorite.png'"></image>
  159. <view>收藏</view>
  160. </view>
  161. <view class="box-grow-1 ">
  162. <view class="dir-left-nowrap" style="height: 100%;" v-if="goods.goods_stock > 0">
  163. <view class="main-center cross-center button"
  164. :class="getTheme === 'a' || getTheme === 'b' || getTheme === 'f' ? getTheme + '-s-back ' + 'text ' + getTheme : getTheme + '-s-back ' + getTheme + '-m-text ' + getTheme"
  165. @click="clickAttr">
  166. 加入购物车
  167. </view>
  168. <view class="main-center cross-center button"
  169. style="color: #ffffff;"
  170. :class="getTheme + '-m-back ' + getTheme"
  171. @click="clickAttr"
  172. >立即购买
  173. </view>
  174. </view>
  175. <view class="dir-left-nowrap" style="height: 100%;" v-else>
  176. <view style="width: 100%;background-color: #CDCDCD;color: #fff;" class="main-center cross-center button">已售罄</view>
  177. </view>
  178. </view>
  179. </view>
  180. </view>
  181. <u-attr
  182. v-model="attrShow"
  183. :goods="goods"
  184. :themeObject="themeObject"
  185. :checked="selectAttr"
  186. @check="onAttr"
  187. >
  188. </u-attr>
  189. </template>
  190. <app-close v-if="showClose" :mch_id="mch_id" :modal="false" @update="getMall"></app-close>
  191. </app-layout>
  192. </template>
  193. <script>
  194. import {mapGetters, mapState} from "vuex";
  195. import appGoodsBanner from "@/components/page-component/goods/app-goods-banner.vue";
  196. import appGoodsFullReduce from "@/components/page-component/goods/app-goods-full-reduce";
  197. import uOrdinaryList from '@/components/page-component/u-goods-list/u-ordinary-list.vue';
  198. import uAttr from '@/components/page-component/goods/u-attr.vue';
  199. import bdInfo from '@/components/page-component/goods/bd-info';
  200. // import bdCoupon from '@/components/page-component/goods/bd-coupon.vue';
  201. import bdXbc from '@/components/page-component/goods/bd-xbc.vue';
  202. import bdKb from '@/components/page-component/goods/bd-kb.vue';
  203. import bdHc from '@/components/page-component/goods/bd-hc.vue';
  204. import bdDetail from '@/components/page-component/goods/bd-detail.vue';
  205. import bdComments from '@/components/page-component/goods/bd-comments.vue';
  206. import appClose from '@/components/basic-component/app-close/app-close.vue';
  207. export default {
  208. name: "goods",
  209. components: {
  210. appGoodsBanner,
  211. uOrdinaryList,
  212. uAttr,
  213. appGoodsFullReduce,
  214. bdInfo,
  215. // bdCoupon,
  216. bdXbc,
  217. bdKb,
  218. bdHc,
  219. bdDetail,
  220. bdComments,
  221. appClose
  222. },
  223. data() {
  224. return {
  225. showClose: false,
  226. is_open: 0,
  227. goods: null,
  228. full_reduce: null,
  229. selectAttr: null,
  230. recommend_list: null,
  231. attrShow: false,
  232. id: 0,
  233. mch_id: 0,
  234. mch_store: null,
  235. mch_setting: null,
  236. poster: this.$api.mch.poster,
  237. poster_config: this.$api.mch.poster_config,
  238. poster_generate: this.$api.mch.poster_generate,
  239. type:'video'
  240. };
  241. },
  242. computed: {
  243. ...mapState({
  244. mall: state => state.mallConfig.mall
  245. }),
  246. ...mapState('gConfig', {
  247. iphone: (data) => {
  248. return data.iphone;
  249. },
  250. iphoneHeight: (state) => {
  251. return state.iphoneHeight;
  252. },
  253. }),
  254. ...mapGetters('mallConfig', {
  255. getTheme: 'getTheme',
  256. }),
  257. themeObject:function() {
  258. return {
  259. back: this.getTheme + '-m-back ' + this.getTheme,
  260. theme: this.getTheme,
  261. color: this.getTheme + '-m-text ' + this.getTheme,
  262. sBack: this.getTheme + '-s-back ' + this.getTheme
  263. }
  264. },
  265. },
  266. onLoad(options) {
  267. [this.mch_id, this.id] = [options.mch_id, options.id];
  268. this.getAddress();
  269. this.loadRecommend();
  270. // #ifdef MP-WEIXIN
  271. wx.showShareMenu({
  272. withShareTicket: true,
  273. menus: ['shareAppMessage', 'shareTimeline']
  274. })
  275. // #endif
  276. },
  277. onShow() {
  278. this.showClose = false;
  279. setTimeout(()=>{
  280. this.showClose = true;
  281. })
  282. },
  283. // #ifdef MP-WEIXIN
  284. onShareTimeline() {
  285. return this.$shareTimeline({
  286. title: this.goods.app_share_title ? this.goods.app_share_title : this.goods.name,
  287. query: {
  288. id: this.id,
  289. mch_id: this.mch_id,
  290. }
  291. });
  292. },
  293. // #endif
  294. onShareAppMessage() {
  295. return this.$shareAppMessage({
  296. title: this.goods.app_share_title ? this.goods.app_share_title : this.goods.name,
  297. imageUrl: this.goods.app_share_pic ? this.goods.app_share_pic : '',
  298. path: '/plugins/mch/goods/goods',
  299. params: {
  300. id: this.id,
  301. mch_id: this.mch_id,
  302. }
  303. });
  304. },
  305. methods: {
  306. openPic() {
  307. console.log(this.goods)
  308. if (!this.goods.open_pic || typeof this.goods.open_pic != "object" || this.goods.open_pic.length == 0) {
  309. uni.showToast({
  310. title: "主人还没有上传开箱图片",
  311. icon: "none"
  312. })
  313. return;
  314. }
  315. // this.showOpenPic=true;
  316. uni.navigateTo({
  317. url: "/pages/goods/openPic?id=" + this.goods.id
  318. })
  319. },
  320. getMall(e) {
  321. this.is_open = e.is_open;
  322. },
  323. // setCoupon(index) {
  324. // this.$set(this.goods.goods_coupon_center[index], 'is_receive', 1);
  325. // },
  326. getAddress() {
  327. const self = this;
  328. uni.getLocation({
  329. type: 'wgs84',
  330. success(res) {
  331. self.getMch(res.latitude, res.longitude);
  332. },
  333. fail(e) {
  334. self.getMch(0, 0);
  335. }
  336. });
  337. },
  338. getMch(latitude, longitude) {
  339. const self = this;
  340. self.$showLoading();
  341. self.$request({
  342. url: self.$api.mch.detail,
  343. data: {
  344. id: self.mch_id,
  345. latitude: latitude,
  346. longitude: longitude,
  347. }
  348. }).then(info => {
  349. self.$hideLoading();
  350. if (info.code === 0) {
  351. [self.mch_store, self.mch_setting] = [info.data.detail, info.data.mchSetting];
  352. self.getDetail();
  353. } else {
  354. uni.showModal({
  355. title: '提示',
  356. content: info.msg,
  357. showCancel: false,
  358. success: function (e) {
  359. if (e.confirm) {
  360. uni.navigateBack({delta: 1});
  361. }
  362. }
  363. });
  364. }
  365. }).catch(() => {
  366. self.$hideLoading();
  367. })
  368. },
  369. getDetail() {
  370. this.$showLoading();
  371. this.$request({
  372. url: this.$api.mch.goods_detail,
  373. data: {
  374. id: this.id,
  375. mch_id: this.mch_id
  376. }
  377. }).then(e => {
  378. this.$hideLoading();
  379. if (e.code === 0) {
  380. let { goods_activity } = e.data.detail;
  381. this.goods = e.data.detail;
  382. if (goods_activity) {
  383. this.full_reduce = goods_activity.full_reduce;
  384. }
  385. } else {
  386. uni.showModal({
  387. title: '提示',
  388. content: e.msg,
  389. showCancel: false
  390. });
  391. }
  392. }).catch(() => {
  393. this.$hideLoading();
  394. });
  395. },
  396. loadRecommend() {
  397. const self = this;
  398. self.$request({
  399. url: self.$api.goods.new_recommend,
  400. data: {
  401. goods_id: self.id,
  402. },
  403. method: 'get'
  404. }).then(info => {
  405. if (info.code === 0) {
  406. this.recommend_list = info.data.list;
  407. }
  408. });
  409. },
  410. navMap() {
  411. uni.openLocation({
  412. latitude: parseFloat(this.mch_store.store.latitude),
  413. longitude: parseFloat(this.mch_store.store.longitude),
  414. name: this.mch_store.store.name,
  415. address: this.mch_store.store.address,
  416. })
  417. },
  418. onAttr(data) {
  419. this.selectAttr = data;
  420. },
  421. navService() {
  422. uni.navigateTo({url: `/pages/web/web?url=` + this.mch_setting.web_service_url});
  423. },
  424. navShop() {
  425. uni.redirectTo({url: `/plugins/mch/shop/shop?mch_id=` + this.mch_id});
  426. },
  427. back() {
  428. uni.redirectTo({
  429. url: '/pages/index/index'
  430. });
  431. },
  432. favorite() {
  433. this.goods.favorite ? this.goods.favorite = false : this.goods.favorite = true;
  434. this.$request({
  435. url: !this.goods.favorite ? this.$api.user.favorite_remove : this.$api.user.favorite_add,
  436. data: {
  437. goods_id: this.goods.id,
  438. }
  439. }).then(e => {
  440. if (e.code !== 0) {
  441. uni.showModal({
  442. title: '提示',
  443. content: e.msg,
  444. showCancel: false
  445. });
  446. }
  447. });
  448. },
  449. clickAttr() {
  450. if (this.goods.type === 'ecard') {
  451. uni.showToast({
  452. title: '虚拟商品不允许加入购物车',
  453. icon: 'none'
  454. });
  455. return;
  456. }
  457. this.attrShow = true;
  458. }
  459. },
  460. }
  461. </script>
  462. <style scoped lang="scss">
  463. .goods-name {
  464. padding: #{24rpx};
  465. background-color: #ffffff;
  466. color: $uni-important-color-black;
  467. }
  468. .goods-subtitle {
  469. padding: #{24rpx};
  470. padding-top: 0;
  471. font-size: 24rpx;
  472. background-color: #ffffff;
  473. color: #999999;
  474. }
  475. .attr {
  476. padding: #{24rpx} 0;
  477. background-color: #f7f7f7;
  478. }
  479. .recommend {
  480. .recommend-title {
  481. margin: #{40rpx} 0 #{32rpx} 0;
  482. font-size: $uni-font-size-weak-one;
  483. color: $uni-general-color-two;
  484. .border {
  485. border-top: #{1rpx} solid #bbbbbb;
  486. height: 0;
  487. width: #{40rpx};
  488. margin: 0 #{24rpx};
  489. }
  490. image {
  491. width: #{24rpx};
  492. height: #{24rpx};
  493. display: block;
  494. margin-right: #{12rpx};
  495. }
  496. }
  497. }
  498. .shop-btn {
  499. height: #{64rpx};
  500. border: #{1px} solid #cdcdcd;
  501. color: #666666;
  502. background: #FFFFFF;
  503. width: #{146rpx};
  504. line-height: #{64rpx};
  505. border-radius: #{32rpx};
  506. text-align: center;
  507. }
  508. .app-bottom {
  509. width: 100%;
  510. height: #{110rpx};
  511. font-size: $uni-font-size-general-one;
  512. .little:nth-child(3) {
  513. border-style: none;
  514. }
  515. .little {
  516. width: #{110rpx};
  517. height: 100%;
  518. background-color: #ffffff;
  519. font-size: #{20rpx};
  520. color: $uni-general-color-two;
  521. border-right: #{1rpx} solid #e2e2e2;
  522. image {
  523. width: #{40rpx};
  524. height: #{40rpx};
  525. display: block;
  526. margin-bottom: #{10rpx};
  527. }
  528. }
  529. .button {
  530. width: #{265rpx};
  531. }
  532. .service {
  533. background-color: #446dfd;
  534. color: #ffffff;
  535. }
  536. .contact-tel {
  537. background-color: #f39800;
  538. color: #ffffff;
  539. }
  540. .contact {
  541. background-color: #4cbf2a;
  542. color: #ffffff;
  543. }
  544. }
  545. .comments {
  546. margin-bottom: #{20rpx};
  547. background-color: #ffffff;
  548. }
  549. .detail {
  550. background-color: #ffffff;
  551. image {
  552. width: 100%;
  553. height: #{80rpx};
  554. display: block;
  555. }
  556. }
  557. .shop-info-1 {
  558. border-radius: 15upx;
  559. }
  560. .shop-info-2 {
  561. border-radius: 15upx 15upx 0 0;
  562. }
  563. .shop-info {
  564. height: #{124rpx};
  565. color: #999999;
  566. font-size: #{24rpx};
  567. background: #FFFFFF;
  568. width: 702upx;
  569. margin: 24upx 24upx 0 24upx;
  570. > image {
  571. border-radius: #{8rpx};
  572. margin: 0 #{20rpx};
  573. height: #{80rpx};
  574. width: #{80rpx}
  575. }
  576. .store-name {
  577. font-size: #{32rpx};
  578. color: #353535;
  579. margin-bottom: #{16rpx};
  580. }
  581. .store-num {
  582. margin-right: #{32rpx};
  583. }
  584. .contain {
  585. width: #{152rpx};
  586. height: 100%;
  587. image {
  588. height: #{40rpx};
  589. width: #{40rpx};
  590. display: block;
  591. }
  592. view {
  593. margin-top: #{8rpx};
  594. }
  595. }
  596. .store-btn {
  597. margin: 0 #{20rpx};
  598. }
  599. }
  600. .shop-address {
  601. width: 702rpx;
  602. margin: 0 24upx 24upx 24upx;
  603. padding: 20upx;
  604. font-size: #{24rpx};
  605. background: #FFFFFF;
  606. border-radius: 0 0 15upx 15upx;
  607. .address {
  608. color: #666666;
  609. max-height: #{560rpx};
  610. }
  611. .km {
  612. color: #999999;
  613. margin-top:#{10rpx};
  614. }
  615. .icon-address {
  616. width: #{120rpx};
  617. border-left: 1px solid #e2e2e2;
  618. }
  619. image {
  620. height: #{32rpx};
  621. width: #{32rpx};
  622. display: block;
  623. }
  624. }
  625. .text {
  626. color: #ffffff;
  627. }
  628. .goods-margin {
  629. margin-top: 20upx;
  630. }
  631. .u-bottom-height-0 {
  632. height: 110upx;
  633. }
  634. .u-bottom-height-1 {
  635. height: 190upx;
  636. }
  637. .u-bottom-fixed {
  638. position: fixed;
  639. bottom: 0;
  640. left: 0;
  641. width: 100%;
  642. z-index: 1602;
  643. background-color: #ffffff;
  644. }
  645. .banner_btn {
  646. width: 64px;
  647. height: 22px;
  648. line-height: 20px;
  649. background: #fff;
  650. border-radius: 28px;
  651. text-align: center;
  652. font-size: 14px;
  653. }
  654. .active {
  655. color: #fff;
  656. background: linear-gradient(#ff6404, #f21c1c);
  657. }
  658. </style>