create-order.vue 20 KB

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