create-order.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  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. <seller-freight ref="freight"
  22. v-if="isFreight && isDepositFlg"
  23. :freightDatas="freightData"
  24. @handleChoiceaFreight="handleChoiceaFreightData"
  25. @showFreightAlert="handFreightAlertShow">
  26. </seller-freight>
  27. <freight-alert v-if="isfreightTip" ref="csPhone"></freight-alert>
  28. <!-- 余额抵扣 -->
  29. <view class="invoice-balance" v-if="!rechargeGoods">
  30. <view class="balabce-t">
  31. <view class="balabce-t-le">余额抵扣</view>
  32. <view class="balabce-t-ri">
  33. <view class="money">
  34. <text>可用余额:</text>
  35. <text>¥{{ userMoney | NumFormat }}</text>
  36. </view>
  37. <view class="checkbox-box">
  38. <button class="checkbox iconfont"
  39. hover-class="btn-hover"
  40. v-if="userMoney!=0"
  41. @click.stop="checkedBalabce"
  42. :class="[ischecked ?'icon-gouxuanl':'icon-weigouxuan']"
  43. >
  44. </button>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="balabce-b" :class="{'balabce-b--hide':!ischecked}">
  49. <view class="balabce-b-text animation" :style="{'transform':ischecked?'translateY(0)':'translateY(-50%)','-webkit-transform':ischecked?'translateY(0)':'translateY(-50%)'}">
  50. <text>当前使用:¥{{deductMoney | NumFormat}},剩余:¥{{ surplusMoney | NumFormat }}</text>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- 售后条例 -->
  55. <seller-regulations ref="regulations"
  56. v-if="isRequest && isDepositFlg&&seconDepositFlg"
  57. :regulaDatas="regulationsData"
  58. @handleData="claData">
  59. </seller-regulations>
  60. <regula-alert v-if="isregulaTip" ref="csPhone"></regula-alert>
  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. }).catch(error =>{
  218. this.$util.msg(error.msg,2000)
  219. })
  220. })
  221. },
  222. getFreightData(){//获取邮费信息
  223. this.$api.getComStorage('orderUserInfo').then((resolve) =>{
  224. let params ={
  225. userId:resolve.userID,
  226. productIds:this.productIds,
  227. totalPrice:this.allPrice,
  228. townId:this.addressData.townID
  229. }
  230. this.OrderService.GetOrderPostage(params).then(response =>{
  231. this.isFreight = true
  232. this.freightData = response.data
  233. if(response.data.freePostFlag== 1){
  234. this.payAllPrice = this.allPrice+response.data.freight
  235. }else{
  236. this.payAllPrice = this.allPrice
  237. }
  238. })
  239. })
  240. },
  241. getAddressData(){//获取地址信息
  242. this.$api.getComStorage('orderUserInfo').then((resolve) =>{
  243. this.UserService.QueryAddressList({pageNum:1,pageSize:1,userID:resolve.userID}).then(response =>{
  244. this.isAddress = true
  245. this.addressData = {}
  246. if(response.data.results != ''){
  247. this.addressID = response.data.results[0].addressID;
  248. this.townID = response.data.results[0].townID;
  249. this.addressData = response.data.results[0];
  250. this.getFreightData()
  251. }else{
  252. this.addressData = this.addressData;
  253. }
  254. })
  255. })
  256. },
  257. handChangeInputGoodsList(data){//对应供应商的留言信息
  258. this.goodsData = data;
  259. },
  260. handleChoiceaInvoiceData(data){//获取发票信息
  261. this.invoiceData = data
  262. },
  263. handleChoiceaFreightData(data){//获取运费信息
  264. if(data.freePostFlag == '1'){
  265. this.freightData = data
  266. this.payAllPrice = this.allPrice+parseInt(data.freight)
  267. this.attributePallPrice()
  268. }else{
  269. this.freightData = data
  270. this.payAllPrice = this.allPrice
  271. this.attributePallPrice()
  272. }
  273. },
  274. claData(id){
  275. this.clauseId = id;
  276. },
  277. checkedBalabce(){//勾选使用余额
  278. if(this.userMoney > 0){
  279. this.ischecked = !this.ischecked
  280. if(this.ischecked){
  281. this.balanceDeductionFlag =1
  282. this.attributePallPrice()
  283. }else{
  284. this.balanceDeductionFlag = 2
  285. if(this.freightData.freePostFlag == 1 || this.freightData.freePostFlag == '1'){
  286. this.payAllPrice = this.allPrice+parseInt(this.freightData.freight)
  287. }else{
  288. this.payAllPrice = this.allPrice
  289. }
  290. }
  291. }else{
  292. return
  293. }
  294. },
  295. attributePallPrice(){//计算价格
  296. if(this.freightData.freePostFlag == 1 || this.freightData.freePostFlag == '1'){
  297. this.attributeHashfreight(this.freightData.freight)
  298. }else{
  299. this.attributeNofreight()
  300. }
  301. },
  302. attributeNofreight(){//计算没有邮费的支付价格
  303. if(this.ischecked){
  304. if(this.userMoney>this.payAllPrice){
  305. this.payAllPrice = 0.00
  306. this.deductMoney = this.allPrice //勾选后使用抵余额
  307. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  308. }else{
  309. this.payAllPrice = this.allPrice - this.userMoney //勾选后的总价
  310. this.deductMoney = this.userMoney //勾选后使用抵余额
  311. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  312. }
  313. }else{
  314. this.payAllPrice = this.allPrice;
  315. this.deductMoney = 0.00;
  316. this.surplusMoney = this.userMoney;
  317. }
  318. },
  319. attributeHashfreight(freight){//计算需要邮费的支付价格
  320. this.payAllPrice = this.allPrice+parseInt(freight)//计算不包邮的价格 总价等于商品价格+邮费
  321. if(this.ischecked){
  322. if(this.userMoney>this.payAllPrice){ //余额大于支付金额
  323. this.payAllPrice =0.00
  324. this.deductMoney = this.allPrice+parseInt(freight) //勾选后使用抵余额
  325. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  326. }else{
  327. this.payAllPrice = this.allPrice+parseInt(freight) - this.userMoney //勾选后的总价
  328. this.deductMoney = this.userMoney //勾选后使用抵余额
  329. this.surplusMoney = this.userMoney - this.deductMoney //勾选后的剩余抵扣
  330. }
  331. }else{
  332. this.payAllPrice = this.allPrice+parseInt(freight)
  333. this.deductMoney = 0.00
  334. this.surplusMoney = this.userMoney
  335. }
  336. },
  337. orderSubmitMit(){//提交订单
  338. if(this.addressID == ''){
  339. this.$util.msg('请先添加收货地址~',2000)
  340. return
  341. }
  342. // 处理商品信息及留言
  343. this.orderInfo = this.goodsData.map(el => {
  344. let productInfo = [];
  345. el.productsList.forEach(item => {
  346. productInfo.push({
  347. productId:item.productID,
  348. productNum:item.productCount,
  349. productType:item.giftType ? Number(item.giftType) : 0,
  350. presentNum:0,
  351. })
  352. })
  353. return {shopId:el.shopID,note:el.note?el.note:'',productInfo:productInfo}
  354. })
  355. //订单信息
  356. this.payInfo = {
  357. orderShouldPayFee:this.payAllPrice.toFixed(2),//提交的总价
  358. balancePayFlag:this.balanceDeductionFlag,//余额抵扣的状态
  359. freight:parseInt(this.freightData.freight).toFixed(2),//邮费
  360. freePostFlag:parseInt(this.freightData.freePostFlag),//运费形式
  361. clauseId:this.clauseId,//售后条款
  362. rebateFlag:this.rebateFlag,//返佣
  363. }
  364. console.log(this.payInfo)
  365. let params = {
  366. orderSource:6, //提交来源
  367. clubUserId:this.clubUserId, //机构UserID
  368. cartType:this.cartType, //从购物车提交
  369. serviceProviderId:this.serviceProviderId,//帮下单协销ID
  370. addressId:this.addressID, //地址ID
  371. orderInfo:this.orderInfo, //商品信息
  372. payInfo:this.payInfo, //订单信息
  373. orderInvoice:this.invoiceData //发票信息
  374. }
  375. this.modalLayer = true;
  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. },
  395. handFreightAlertShow(){//显示邮费弹窗
  396. this.isfreightTip = true;
  397. },
  398. hideFreight(){//关闭邮费弹窗
  399. this.isfreightTip = false;
  400. },
  401. },
  402. onShow() {
  403. // this.addressID = ''
  404. let pages = getCurrentPages();
  405. let currPage = pages[pages.length-1];
  406. if(currPage.data.select =='select'){
  407. this.isAddress = true
  408. let SelectData = uni.getStorageSync('selectAddress');
  409. this.addressID = SelectData.addressID;
  410. this.addressData = SelectData
  411. this.getFreightData()
  412. }else{
  413. this.getAddressData()
  414. }
  415. }
  416. }
  417. </script>
  418. <style lang="scss">
  419. page {
  420. height: auto;
  421. background:#F7F7F7;
  422. }
  423. .btn-hover{
  424. background: #FFFFFF;
  425. }
  426. .animation{
  427. /* transition: transform 0.3s ease;*/
  428. transition-property: transform;
  429. transition-duration: 0.3s;
  430. transition-timing-function: ease;
  431. }
  432. .invoice-freight{
  433. width: 702rpx;
  434. padding: 0 24rpx;
  435. height: 86rpx;
  436. line-height: 86rpx;
  437. font-size: $font-size-28;
  438. color: $text-color;
  439. background: #FFFFFF;
  440. float: left;
  441. font-weight: bold;
  442. .freight-left{
  443. float: left;
  444. .icon-yunfeishuoming{
  445. height: 100%;
  446. padding: 0 15rpx;
  447. color: $color-system;
  448. font-weight: normal;
  449. }
  450. }
  451. .freight-right{
  452. float: right;
  453. color: #2A81FF;
  454. }
  455. }
  456. .invoice-balance{
  457. width: 702rpx;
  458. height: auto;
  459. padding:0 24rpx;
  460. background: #FFFFFF;
  461. float: left;
  462. margin-top: 24rpx;
  463. margin-bottom: 24rpx;
  464. .balabce-t{
  465. width: 100%;
  466. height: 86rpx;
  467. line-height: 86rpx;
  468. font-size: $font-size-28;
  469. color: $text-color;
  470. float: left;
  471. .balabce-t-le{
  472. float: left;
  473. font-weight: bold;
  474. }
  475. .balabce-t-ri{
  476. float: right;
  477. display: flex;
  478. align-items: center;
  479. .money{
  480. display: flex;
  481. float: left;
  482. }
  483. .checkbox-box{
  484. display: flex;
  485. width: 60rpx;
  486. float: left;
  487. height: 100%;
  488. font-size: $font-size-24;
  489. .checkbox{
  490. width: 40rpx;
  491. text-align: right;
  492. box-sizing: border-box;
  493. text-align: center;
  494. text-decoration: none;
  495. border-radius: 0;
  496. -webkit-tap-highlight-color: transparent;
  497. overflow: hidden;
  498. color: $color-system;
  499. padding: 5rpx;
  500. }
  501. }
  502. }
  503. }
  504. .balabce-b{
  505. width: 100%;
  506. float: left;
  507. overflow: hidden;
  508. .balabce-b-text{
  509. width: 100%;
  510. line-height: 58rpx;
  511. font-size: $font-size-24;
  512. color: #FF2A2A;
  513. text-align: right;
  514. float: right;
  515. }
  516. &.balabce-b--hide {
  517. padding: 0 0;
  518. height: 0px;
  519. line-height: 0px;
  520. }
  521. }
  522. }
  523. .footer{
  524. position: fixed;
  525. left: 0;
  526. bottom: 0;
  527. z-index: 995;
  528. display: flex;
  529. align-items: center;
  530. width: 100%;
  531. height: 110rpx;
  532. line-height: 110rpx;
  533. justify-content: space-between;
  534. font-size: $font-size-28;
  535. background-color: #FFFFFF;
  536. z-index: 998;
  537. color: $text-color;
  538. .footer-le{
  539. width:570rpx;
  540. height:100%;
  541. float: left;
  542. }
  543. .footer-count{
  544. float: left;
  545. padding-left: 24rpx;
  546. width:190rpx;
  547. box-sizing: border-box;
  548. font-size: $font-size-26;
  549. }
  550. .footer-price{
  551. width:370rpx;
  552. float: right;
  553. text-align: right;
  554. color: $text-color;
  555. padding: 10rpx 20rpx 10rpx 0;
  556. box-sizing: border-box;
  557. .sum-none{
  558. width: 100%;
  559. height: 45rpx;
  560. line-height: 45rpx;
  561. color: $text-color;
  562. float: left;
  563. text-align: right;
  564. .money{
  565. font-size: $font-size-26;
  566. color: #999999;
  567. text-decoration: line-through;
  568. }
  569. .money-sign{
  570. font-size: $font-size-26;
  571. color: #999999;
  572. text-decoration: line-through;
  573. }
  574. .money-reduced{
  575. margin-left: 10rpx;
  576. font-size: $font-size-26;
  577. color:$color-system;
  578. }
  579. }
  580. .sum{
  581. width: 100%;
  582. height: 45rpx;
  583. line-height: 45rpx;
  584. float: left;
  585. &.none{
  586. height: 90rpx;
  587. line-height: 90rpx;
  588. }
  589. .price{
  590. font-size: $font-size-32;
  591. color: #FF2A2A;
  592. }
  593. }
  594. }
  595. .footer-submit{
  596. display:flex;
  597. align-items:center;
  598. justify-content: center;
  599. width: 180rpx;
  600. height: 100%;
  601. box-sizing: border-box;
  602. padding: 15rpx 5rpx;
  603. .btn{
  604. width: 100%;
  605. height: 100%;
  606. color: #FFFFFF;
  607. background:linear-gradient(135deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  608. font-size: $font-size-26;
  609. text-align: center;
  610. line-height: 80rpx;
  611. border-radius: 40rpx;
  612. }
  613. }
  614. }
  615. .Rebate{
  616. width: 702rpx;
  617. height: auto;
  618. padding: 0 24rpx;
  619. background: #FFFFFF;
  620. float: left;
  621. margin-bottom: 24rpx;
  622. margin-top: 24rpx;
  623. line-height: 86rpx;
  624. .rebate-title{
  625. float: left;
  626. font-weight: bold;
  627. color: #333333;
  628. font-size: $font-size-28;
  629. }
  630. .iconfont{
  631. float: right;
  632. color: #b2b2b2;
  633. font-size: 40rpx;
  634. &.icon-yixuanze{
  635. color: $color-system;
  636. }
  637. }
  638. }
  639. </style>