create-order.vue 20 KB

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