create-order.vue 20 KB

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