create-order.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651
  1. <template>
  2. <view class="container order clearfix" :style="{paddingBottom :isIphoneX ? '170rpx' : '134rpx'}">
  3. <!-- 透明模态层 -->
  4. <modal-layer v-if='modallayer'></modal-layer>
  5. <!-- 地址选择 -->
  6. <choice-address ref="choiceAddress" v-if="isAddress" :addressData="addressData"></choice-address>
  7. <!-- 商品 -->
  8. <seller-goodsList ref='goods' v-if="isRequest" :goodsData="goodsData" @handleGoodList="handChangeInputGoodsList"></seller-goodsList>
  9. <!-- 发票信息 -->
  10. <seller-invoice ref="invoice"
  11. v-if="isRequest && isDepositFlg"
  12. :invoiceDatas="invoiceData"
  13. @handleChoiceaInvoice="handleChoiceaInvoiceData">
  14. </seller-invoice>
  15. <!-- 运费 -->
  16. <seller-freight ref="freight"
  17. v-if="isFreight && isDepositFlg"
  18. :freightDatas="freightData"
  19. @handleChoiceaFreight="handleChoiceaFreightData"
  20. @showFreightAlert="handFreightAlertShow">
  21. </seller-freight>
  22. <freight-alert v-if="isfreightTip" ref="csPhone"></freight-alert>
  23. <!-- 余额抵扣 -->
  24. <view class="invoice-balance" v-if="!rechargeGoods">
  25. <view class="balabce-t">
  26. <view class="balabce-t-le">余额抵扣</view>
  27. <view class="balabce-t-ri">
  28. <view class="money">
  29. <text>可用余额:</text>
  30. <text>¥{{ userMoney | NumFormat }}</text>
  31. </view>
  32. <view class="checkbox-box">
  33. <button class="checkbox iconfont"
  34. hover-class="btn-hover"
  35. v-if="userMoney!=0"
  36. @click.stop="checkedBalabce"
  37. :class="[ischecked ?'icon-gouxuanl':'icon-weigouxuan']"
  38. >
  39. </button>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="balabce-b" :class="{'balabce-b--hide':!ischecked}">
  44. <view class="balabce-b-text animation" :style="{'transform':ischecked?'translateY(0)':'translateY(-50%)','-webkit-transform':ischecked?'translateY(0)':'translateY(-50%)'}">
  45. <text>当前使用:¥{{deductMoney | NumFormat}},剩余:¥{{ surplusMoney | NumFormat }}</text>
  46. </view>
  47. </view>
  48. </view>
  49. <!-- 售后条例 -->
  50. <seller-regulations ref="regulations"
  51. v-if="isRequest && isDepositFlg&&seconDepositFlg"
  52. :regulaDatas="regulationsData"
  53. @handleData="claData">
  54. </seller-regulations>
  55. <regula-alert v-if="isregulaTip" ref="csPhone"></regula-alert>
  56. <!-- 返佣订单 -->
  57. <view class="Rebate" @click="RebateChang" v-if="productsList.length==1">
  58. <text class="rebate-title">返佣订单</text>
  59. <text class="iconfont" :class="rebatecheck?'icon-yixuanze':'icon-weixuanze'" ></text>
  60. </view>
  61. <!-- 底部 -->
  62. <view class="footer" :style="{paddingBottom :isIphoneX ? '68rpx' : '0rpx'}">
  63. <view class="footer-le">
  64. <view class="footer-count">
  65. <text>共{{allCount}}件商品</text>
  66. </view>
  67. <view class="footer-price">
  68. <view class="sum-none" v-if="reducedPrice > 0">
  69. <text class="money-sign">¥</text>
  70. <text class="money">{{ totalOriginalPrice | NumFormat }}</text>
  71. <text class="money-reduced">减<text>¥{{ reducedPrice | NumFormat}}</text></text>
  72. </view>
  73. <view class="sum" :class="reducedPrice == 0 ? 'none' : ''">总价:<text class="price">¥{{payAllPrice | NumFormat}}</text></view>
  74. </view>
  75. </view>
  76. <view class="footer-submit" @click.stop="orderSubmitMit">提交订单</view>
  77. </view>
  78. </view>
  79. </template>
  80. <script>
  81. import choiceAddress from '@/components/cm-module/creatOrder/sellerAddress'
  82. import sellerGoodsList from '@/components/cm-module/creatOrder/sellerGoodsList'
  83. import sellerInvoice from '@/components/cm-module/creatOrder/sellerInvoice'
  84. import sellerFreight from '@/components/cm-module/creatOrder/sellerFreight'
  85. import freightAlert from '@/components/cm-module/modelAlert/freightAlert.vue'
  86. import sellerRegulations from '@/components/cm-module/creatOrder/sellerRegulations.vue'
  87. import modalLayer from "@/components/modal-layer"
  88. export default {
  89. components:{
  90. choiceAddress,
  91. sellerGoodsList,
  92. sellerInvoice,
  93. sellerFreight,
  94. freightAlert,
  95. modalLayer,
  96. sellerRegulations
  97. },
  98. data() {
  99. return {
  100. modallayer:false,
  101. orderID:0,
  102. clubID:'',
  103. productIds:'', //获取上一级页面商品信息
  104. productCount:'', //获取上一级页面商品数量
  105. classifyIDS:'', //获取上一级页面商品分类
  106. serviceProviderId:'', //协销ID
  107. cartType:3, //购买类型(1购物车提交,2直接购买提交,3协销下单)
  108. submitState:'', //提交状态
  109. balanceDeductionFlag:2, //勾选余额的状态(1使用,2不使用)
  110. allCount:1, //订单提交总数量
  111. totalOriginalPrice:0, //订单总原价(划线部分)
  112. reducedPrice:0, //满减金额
  113. payAllPrice:0.00, //订单提交总金额
  114. allPrice:0.00, //订单总金额
  115. surplusMoney:0.00, //显示勾选后的剩余抵扣
  116. userMoney:0.00, //显示可使用余额
  117. deductMoney:0.00, //显示已使用的余额
  118. addressID:'', //地址ID
  119. townID:'', //区ID
  120. isRequest:false, //是否加载完成渲染子组件
  121. isFreight:false, //是否加载完成渲染子组件
  122. isAddress:false, //是否加载完成地址
  123. isfreightTip:false, //控制邮费弹窗
  124. ischecked:false, //是否勾选余额
  125. addressData:{}, //初始化地址信息
  126. goodsData:[], //初始化商品信息
  127. invoiceData:{type:0}, //初始化发票信息
  128. freightData:{}, //邮费数据
  129. orderInfo:[], //提交的商品信息
  130. payInfo:{}, //订单信息
  131. rechargeGoods:false,
  132. isDepositFlg:true,
  133. depositIds : [6060,6061,6062,6063,6064,6065,6066,6067,6068,6069],//定金&充值余额商品ID
  134. isIphoneX:this.$store.state.isIphoneX,
  135. regulationsData:[],
  136. clauseId:0,
  137. seconDepositFlg:true,
  138. rebateFlag:0,
  139. rebatecheck:false,
  140. productsList:[]
  141. }
  142. },
  143. onLoad(option){//商品数据
  144. let data = JSON.parse(option.data);
  145. this.allPrice = data.data.allPrice;
  146. this.allCount = data.data.allCount;
  147. this.payAllPrice = this.allPrice;
  148. this.clubId = data.data.clubId
  149. this.productCount = data.data.productCount
  150. this.productIds = data.data.productID
  151. if(option.type =='prodcut'){
  152. this.getInitProdcutCrearOrder();
  153. }else{
  154. this.getInitCrearOrder();
  155. }
  156. this.$api.getComStorage('orderUserInfo').then((resolve) =>{
  157. this.clubUserId = resolve.userID
  158. })
  159. },
  160. filters:{
  161. NumFormat(value) {//处理金额
  162. return Number(value).toFixed(2);
  163. },
  164. },
  165. methods: {
  166. RebateChang(){
  167. this.rebatecheck = !this.rebatecheck;
  168. if(this.rebatecheck){
  169. this.rebateFlag=1;
  170. }else{
  171. this.rebateFlag=0;
  172. }
  173. console.log(this.rebateFlag)
  174. },
  175. getInitProdcutCrearOrder(option){//二手下单初始化查询
  176. this.$api.getStorage().then((resolve) =>{
  177. this.seconDepositFlg = false;
  178. this.serviceProviderId = resolve.serviceProviderID
  179. let params ={clubId:this.clubId,serviceProviderId:this.serviceProviderId,productCount:this.productCount,productId:this.productIds}
  180. this.SellerService.GetSettlementBySencondProduct(params).then(response =>{
  181. let resData = response.data
  182. this.isRequest = true
  183. this.goodsData = resData.shopList
  184. this.userMoney = resData.userMoney
  185. }).catch(error =>{
  186. this.$util.msg(error.msg,2000)
  187. })
  188. })
  189. },
  190. getInitCrearOrder(option){//协销购物车跳转确认订单初始化信息
  191. this.$api.getStorage().then((resolve) =>{
  192. this.serviceProviderId = resolve.serviceProviderID
  193. let params ={clubId:this.clubId,serviceProviderId:this.serviceProviderId,count:this.productCount,productIds:this.productIds}
  194. this.SellerService.SellerSettlement(params).then(response =>{
  195. let data = response.data
  196. let productIds = []
  197. this.isRequest = true
  198. this.goodsData = data.shopList
  199. this.userMoney = data.userMoney
  200. this.reducedPrice = data.reducedPrice
  201. this.totalOriginalPrice = data.reducedPrice + data.totalAmount
  202. this.rechargeGoods = data.rechargeGoods
  203. this.allPrice = this.payAllPrice = data.totalAmount
  204. this.regulationsData = data.clauseList
  205. this.goodsData.forEach(item =>{
  206. this.productsList = item.productsList
  207. item.productsList.forEach(pros =>{
  208. if(this.depositIds.indexOf(pros.productID)>=0){
  209. this.isDepositFlg = false
  210. }
  211. })
  212. })
  213. console.log(this.isDepositFlg)
  214. }).catch(error =>{
  215. this.$util.msg(error.msg,2000)
  216. })
  217. })
  218. },
  219. getFreightData(){//获取邮费信息
  220. this.$api.getComStorage('orderUserInfo').then((resolve) =>{
  221. let params ={
  222. userId:resolve.userID,
  223. productIds:this.productIds,
  224. totalPrice:this.allPrice,
  225. townId:this.addressData.townID
  226. }
  227. this.OrderService.GetOrderPostage(params).then(response =>{
  228. this.isFreight = true
  229. this.freightData = response.data
  230. if(response.data.freePostFlag== 1){
  231. this.payAllPrice = this.allPrice+response.data.freight
  232. }else{
  233. this.payAllPrice = this.allPrice
  234. }
  235. })
  236. })
  237. },
  238. getAddressData(){//获取地址信息
  239. this.$api.getComStorage('orderUserInfo').then((resolve) =>{
  240. this.UserService.QueryAddressList({pageNum:1,pageSize:1,userID:resolve.userID}).then(response =>{
  241. this.isAddress = true
  242. this.addressData = {}
  243. if(response.data.results != ''){
  244. this.addressID = response.data.results[0].addressID;
  245. this.townID = response.data.results[0].townID;
  246. this.addressData = response.data.results[0];
  247. this.getFreightData()
  248. }else{
  249. this.addressData = this.addressData;
  250. }
  251. })
  252. })
  253. },
  254. handChangeInputGoodsList(data){//对应供应商的留言信息
  255. this.goodsData = data;
  256. },
  257. handleChoiceaInvoiceData(data){//获取发票信息
  258. this.invoiceData = data
  259. },
  260. handleChoiceaFreightData(data){//获取运费信息
  261. if(data.freePostFlag == '1'){
  262. this.freightData = data
  263. this.payAllPrice = this.allPrice+parseInt(data.freight)
  264. this.attributePallPrice()
  265. }else{
  266. this.freightData = data
  267. this.payAllPrice = this.allPrice
  268. this.attributePallPrice()
  269. }
  270. },
  271. claData(id){
  272. this.clauseId = id;
  273. },
  274. checkedBalabce(){//勾选使用余额
  275. if(this.userMoney > 0){
  276. this.ischecked = !this.ischecked
  277. if(this.ischecked){
  278. this.balanceDeductionFlag =1
  279. this.attributePallPrice()
  280. }else{
  281. this.balanceDeductionFlag = 2
  282. if(this.freightData.freePostFlag == 1 || this.freightData.freePostFlag == '1'){
  283. this.payAllPrice = this.allPrice+parseInt(this.freightData.freight)
  284. }else{
  285. this.payAllPrice = this.allPrice
  286. }
  287. }
  288. }else{
  289. return
  290. }
  291. },
  292. attributePallPrice(){//计算价格
  293. if(this.freightData.freePostFlag == 1 || this.freightData.freePostFlag == '1'){
  294. this.attributeHashfreight(this.freightData.freight)
  295. }else{
  296. this.attributeNofreight()
  297. }
  298. },
  299. attributeNofreight(){//计算没有邮费的支付价格
  300. if(this.ischecked){
  301. if(this.userMoney>this.payAllPrice){
  302. this.payAllPrice = 0.00
  303. this.deductMoney = this.allPrice //勾选后使用抵余额
  304. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  305. }else{
  306. this.payAllPrice = this.allPrice - this.userMoney //勾选后的总价
  307. this.deductMoney = this.userMoney //勾选后使用抵余额
  308. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  309. }
  310. }else{
  311. this.payAllPrice = this.allPrice;
  312. this.deductMoney = 0.00;
  313. this.surplusMoney = this.userMoney;
  314. }
  315. },
  316. attributeHashfreight(freight){//计算需要邮费的支付价格
  317. this.payAllPrice = this.allPrice+parseInt(freight)//计算不包邮的价格 总价等于商品价格+邮费
  318. if(this.ischecked){
  319. if(this.userMoney>this.payAllPrice){ //余额大于支付金额
  320. this.payAllPrice =0.00
  321. this.deductMoney = this.allPrice+parseInt(freight) //勾选后使用抵余额
  322. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  323. }else{
  324. this.payAllPrice = this.allPrice+parseInt(freight) - this.userMoney //勾选后的总价
  325. this.deductMoney = this.userMoney //勾选后使用抵余额
  326. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  327. }
  328. }else{
  329. this.payAllPrice = this.allPrice+parseInt(freight)
  330. this.deductMoney = 0.00
  331. this.surplusMoney = this.userMoney
  332. }
  333. },
  334. orderSubmitMit(){//提交订单
  335. if(this.addressID == ''){
  336. this.$util.msg('请先添加收货地址~',2000)
  337. return
  338. }
  339. // 处理商品信息及留言
  340. this.orderInfo = this.goodsData.map(el => {
  341. let productInfo = [];
  342. el.productsList.forEach(item => {
  343. productInfo.push({
  344. productId:item.productID,
  345. productNum:item.productCount,
  346. productType:item.giftType ? Number(item.giftType) : 0,
  347. presentNum:0,
  348. })
  349. })
  350. return {shopId:el.shopID,note:el.note?el.note:'',productInfo:productInfo}
  351. })
  352. //订单信息
  353. this.payInfo = {
  354. orderShouldPayFee:this.payAllPrice.toFixed(2),//提交的总价
  355. balancePayFlag:this.balanceDeductionFlag,//余额抵扣的状态
  356. freight:parseInt(this.freightData.freight).toFixed(2),//邮费
  357. freePostFlag:parseInt(this.freightData.freePostFlag),//运费形式
  358. clauseId:this.clauseId,//售后条款
  359. rebateFlag:this.rebateFlag,//返佣
  360. }
  361. console.log(this.payInfo)
  362. let params = {
  363. orderSource:6, //提交来源
  364. clubUserId:this.clubUserId, //机构UserID
  365. cartType:this.cartType, //从购物车提交
  366. serviceProviderId:this.serviceProviderId,//帮下单协销ID
  367. addressId:this.addressID, //地址ID
  368. orderInfo:this.orderInfo, //商品信息
  369. payInfo:this.payInfo, //订单信息
  370. orderInvoice:this.invoiceData //发票信息
  371. }
  372. this.modalLayer = true;
  373. if(this.rebateFlag==1){
  374. this.$util.modal('','确定该订单为返佣订单吗?点击确定按钮继续提交订单','确定','取消',true,() =>{
  375. this.SellerService.SellerCreateOrderSubmit({'params':JSON.stringify(params)}).then(response =>{
  376. const data = response.data;
  377. if(data.code === '1'){
  378. this.$util.msg('支付成功',2000,true,'success')
  379. setTimeout(() =>{
  380. this.$api.redirectTo(`/seller/pages/order/order-details?type=cash&orderID=${data.orderID}`)
  381. },2000)
  382. }else{
  383. this.$util.msg('订单提交成功',2000,true,'success')
  384. setTimeout(()=>{
  385. this.$api.redirectTo(`/seller/pages/order/order-details?type=cash&orderID=${data.orderID}`)
  386. },2000)
  387. }
  388. }).catch(error =>{
  389. this.$util.msg(error.msg,2000);
  390. })
  391. })
  392. return
  393. }else{
  394. this.SellerService.SellerCreateOrderSubmit({'params':JSON.stringify(params)}).then(response =>{
  395. const data = response.data;
  396. if(data.code === '1'){
  397. this.$util.msg('支付成功',2000,true,'success')
  398. setTimeout(() =>{
  399. this.$api.redirectTo(`/seller/pages/order/order-details?type=cash&orderID=${data.orderID}`)
  400. },2000)
  401. }else{
  402. this.$util.msg('订单提交成功',2000,true,'success')
  403. setTimeout(()=>{
  404. this.$api.redirectTo(`/seller/pages/order/order-details?type=cash&orderID=${data.orderID}`)
  405. },2000)
  406. }
  407. }).catch(error =>{
  408. this.$util.msg(error.msg,2000);
  409. })
  410. }
  411. },
  412. handFreightAlertShow(){//显示邮费弹窗
  413. this.isfreightTip = true;
  414. },
  415. hideFreight(){//关闭邮费弹窗
  416. this.isfreightTip = false;
  417. },
  418. },
  419. onShow() {
  420. // this.addressID = ''
  421. let pages = getCurrentPages();
  422. let currPage = pages[pages.length-1];
  423. if(currPage.data.select =='select'){
  424. this.isAddress = true
  425. let SelectData = uni.getStorageSync('selectAddress');
  426. this.addressID = SelectData.addressID;
  427. this.addressData = SelectData
  428. this.getFreightData()
  429. }else{
  430. this.getAddressData()
  431. }
  432. }
  433. }
  434. </script>
  435. <style lang="scss">
  436. page {
  437. height: auto;
  438. background:#F7F7F7;
  439. }
  440. .btn-hover{
  441. background: #FFFFFF;
  442. }
  443. .animation{
  444. /* transition: transform 0.3s ease;*/
  445. transition-property: transform;
  446. transition-duration: 0.3s;
  447. transition-timing-function: ease;
  448. }
  449. .invoice-freight{
  450. width: 702rpx;
  451. padding: 0 24rpx;
  452. height: 86rpx;
  453. line-height: 86rpx;
  454. font-size: $font-size-28;
  455. color: $text-color;
  456. background: #FFFFFF;
  457. float: left;
  458. font-weight: bold;
  459. .freight-left{
  460. float: left;
  461. .icon-yunfeishuoming{
  462. height: 100%;
  463. padding: 0 15rpx;
  464. color: $color-system;
  465. font-weight: normal;
  466. }
  467. }
  468. .freight-right{
  469. float: right;
  470. color: #2A81FF;
  471. }
  472. }
  473. .invoice-balance{
  474. width: 702rpx;
  475. height: auto;
  476. padding:0 24rpx;
  477. background: #FFFFFF;
  478. float: left;
  479. margin-top: 24rpx;
  480. margin-bottom: 24rpx;
  481. .balabce-t{
  482. width: 100%;
  483. height: 86rpx;
  484. line-height: 86rpx;
  485. font-size: $font-size-28;
  486. color: $text-color;
  487. float: left;
  488. .balabce-t-le{
  489. float: left;
  490. font-weight: bold;
  491. }
  492. .balabce-t-ri{
  493. float: right;
  494. display: flex;
  495. align-items: center;
  496. .money{
  497. display: flex;
  498. float: left;
  499. }
  500. .checkbox-box{
  501. display: flex;
  502. width: 60rpx;
  503. float: left;
  504. height: 100%;
  505. font-size: $font-size-24;
  506. .checkbox{
  507. width: 40rpx;
  508. text-align: right;
  509. box-sizing: border-box;
  510. text-align: center;
  511. text-decoration: none;
  512. border-radius: 0;
  513. -webkit-tap-highlight-color: transparent;
  514. overflow: hidden;
  515. color: $color-system;
  516. padding: 5rpx;
  517. }
  518. }
  519. }
  520. }
  521. .balabce-b{
  522. width: 100%;
  523. float: left;
  524. overflow: hidden;
  525. .balabce-b-text{
  526. width: 100%;
  527. line-height: 58rpx;
  528. font-size: $font-size-24;
  529. color: #FF2A2A;
  530. text-align: right;
  531. float: right;
  532. }
  533. &.balabce-b--hide {
  534. padding: 0 0;
  535. height: 0px;
  536. line-height: 0px;
  537. }
  538. }
  539. }
  540. .footer{
  541. position: fixed;
  542. left: 0;
  543. bottom: 0;
  544. z-index: 995;
  545. display: flex;
  546. align-items: center;
  547. width: 100%;
  548. height: 110rpx;
  549. line-height: 110rpx;
  550. justify-content: space-between;
  551. font-size: $font-size-28;
  552. background-color: #FFFFFF;
  553. z-index: 998;
  554. color: $text-color;
  555. .footer-le{
  556. width:570rpx;
  557. height:100%;
  558. float: left;
  559. }
  560. .footer-count{
  561. float: left;
  562. padding-left: 24rpx;
  563. width:190rpx;
  564. box-sizing: border-box;
  565. font-size: $font-size-26;
  566. }
  567. .footer-price{
  568. width:370rpx;
  569. float: right;
  570. text-align: right;
  571. color: $text-color;
  572. padding: 10rpx 20rpx 10rpx 0;
  573. box-sizing: border-box;
  574. .sum-none{
  575. width: 100%;
  576. height: 45rpx;
  577. line-height: 45rpx;
  578. color: $text-color;
  579. float: left;
  580. text-align: right;
  581. .money{
  582. font-size: $font-size-26;
  583. color: #999999;
  584. text-decoration: line-through;
  585. }
  586. .money-sign{
  587. font-size: $font-size-26;
  588. color: #999999;
  589. text-decoration: line-through;
  590. }
  591. .money-reduced{
  592. margin-left: 10rpx;
  593. font-size: $font-size-26;
  594. color:$color-system;
  595. }
  596. }
  597. .sum{
  598. width: 100%;
  599. height: 45rpx;
  600. line-height: 45rpx;
  601. float: left;
  602. &.none{
  603. height: 90rpx;
  604. line-height: 90rpx;
  605. }
  606. .price{
  607. font-size: $font-size-32;
  608. color: #FF2A2A;
  609. }
  610. }
  611. }
  612. .footer-submit{
  613. display:flex;
  614. align-items:center;
  615. justify-content: center;
  616. width: 180rpx;
  617. height: 100%;
  618. color: #FFFFFF;
  619. background:linear-gradient(135deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  620. }
  621. }
  622. .Rebate{
  623. width: 702rpx;
  624. height: auto;
  625. padding: 0 24rpx;
  626. background: #FFFFFF;
  627. float: left;
  628. margin-bottom: 24rpx;
  629. margin-bottom: 24rpx;
  630. line-height: 86rpx;
  631. .rebate-title{
  632. float: left;
  633. font-weight: bold;
  634. color: #333333;
  635. font-size: $font-size-28;
  636. }
  637. .iconfont{
  638. float: right;
  639. color: #b2b2b2;
  640. font-size: 40rpx;
  641. &.icon-yixuanze{
  642. color: $color-system;
  643. }
  644. }
  645. }
  646. </style>