order-details.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  1. <template>
  2. <view class="container details clearfix" :style="{paddingBottom :isIphoneX ? (130+68)+'rpx' : '130rpx'}">
  3. <!-- 自定义返回 -->
  4. <header-back :systeminfo='systeminfo' :navbar-data='nvabarData' :headerBtnPosi ="headerBtnPosi" :isShare='isOrderShare'></header-back>
  5. <view class="container-details" :style="{paddingTop:navbarHeight+'px'}">
  6. <view class="status-text">
  7. <view class="view-type">{{ information.status | TextFormat }}</view>
  8. <view class="Rebate " v-if="information.rebateFlag==1">返佣</view>
  9. <text class="bage-buss btn" v-if="information.orderSubmitType == 3 || information.orderSubmitType == 4">协销</text>
  10. <text class="bage-auto btn" v-if="information.orderSubmitType == 0 || information.orderSubmitType == 1 ||information.orderSubmitType == 2">自主</text>
  11. </view>
  12. <!-- 地址选择 -->
  13. <order-address ref="orderAddress" v-if="isRequest && !rechargeGoods" :addressData="addressData"></order-address>
  14. <!-- 商品 -->
  15. <goods-list ref='goods' v-if="isRequest" :shopOrderData="shopOrderData" :information="information" @popupClick="hanldePopupFn"></goods-list>
  16. <!-- 订单信息 -->
  17. <order-information ref="information" v-if="isRequest" :information="information"></order-information>
  18. <!-- 发票信息 -->
  19. <invoice-tent ref="invoice" v-if="isRequest" :orderInvoice="orderInvoice"></invoice-tent>
  20. <!-- 转账信息 -->
  21. <!-- <transfe-record ref="transfe" v-if="isRequest"></transfe-record> -->
  22. <!-- 支付记录 -->
  23. <payment-record ref="payment" v-if="isRequest" :discernReceiptList="discernReceiptList" :receiptAmount="receiptAmount"></payment-record>
  24. <!-- 退款记录 -->
  25. <refund-record ref="refund" v-if="isRequest" :returnedPurchaseList="returnedPurchaseList" :returnedPurchaseFee="returnedPurchaseFee"></refund-record>
  26. <view class="clause" v-if="information.secondHandOrderFlag!=1" @click="openclauseConten(clauseData.id)" :class="clauseData.name=='无条款'?'noclick':''">
  27. 售后条款:<label class="text" :class="clauseData.name=='无条款'?'color-bg':''">{{clauseData.name}}</label>
  28. </view>
  29. <!-- 底部button -->
  30. <order-button ref="orderButton"
  31. v-if= "isRequest"
  32. :status= "btnStatus"
  33. :order="information"
  34. :rechargeGoods = "rechargeGoods"
  35. :ableUserMoney = "ableUserMoney"
  36. :shareCode= "shareCode"
  37. :serviceProviderId = "serviceProviderId"
  38. :secondHandOrderFlag = "information.secondHandOrderFlag"
  39. @buttonConfirm="handButtonConfirm">
  40. </order-button>
  41. </view>
  42. <!-- 付款弹窗 -->
  43. <order-model v-if="isPayModel"
  44. :payModelData="payModelData"
  45. :modelType='modelType'
  46. @paymentConfirm ='hanldPaymentConfirm'/>
  47. <!-- 分享弹窗 -->
  48. <share-alert :orderId="orderId"
  49. v-if="isShareModal"
  50. @shareConfirm ='onShareAppMessage'>
  51. </share-alert>
  52. <!-- 促销活动弹窗 -->
  53. <activi-popup :Promotion="handlerPros" :popupShow="popupShow"></activi-popup>
  54. <!-- 再来一单 -->
  55. <view class="aganBj" v-show="showAgan">
  56. <view class="alertAgan">
  57. <text class="title">{{ promptitle }}</text>
  58. <view class="goods">
  59. <view class="list" v-for="(item,index) in failList" :key="index">
  60. <image class="image-left" :src="item.image"></image>
  61. <view class="name-right">{{item.name}}</view>
  62. </view>
  63. </view>
  64. <view class="BtnAll">
  65. <view class="closebtn btn" @click="closeBtn">取消</view>
  66. <view class="cancel btn" @click="cancelBtn">确定</view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </template>
  72. <script>
  73. import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
  74. import orderAddress from '@/components/cm-module/orderDetails/orderAddress' //地址信息
  75. import goodsList from '@/components/cm-module/orderDetails/goodsList' //商品列表
  76. import invoiceTent from '@/components/cm-module/orderDetails/invoiceTent' //发票信息
  77. import orderInformation from '@/components/cm-module/orderDetails/orderInformation' //订单信息
  78. import transfeRecord from '@/components/cm-module/orderDetails/transfeRecord' //转账信息
  79. import paymentRecord from '@/components/cm-module/orderDetails/paymentRecord' //支付记录
  80. import refundRecord from '@/components/cm-module/orderDetails/refundRecord' //退款记录
  81. import orderButton from '@/components/cm-module/orderDetails/sellerDetaileButton' //底部按钮
  82. import shareAlert from '@/components/cm-module/modelAlert/sellerShareAlert.vue' //分享弹窗
  83. import orderModel from '@/components/cm-module/modelAlert/order-alert' //付款弹窗
  84. import activiPopup from '@/components/cm-module/orderDetails/activipopu' //促销活动弹窗
  85. export default {
  86. components:{
  87. headerBack,
  88. orderInformation,
  89. orderAddress,
  90. invoiceTent,
  91. goodsList,
  92. transfeRecord,
  93. paymentRecord,
  94. refundRecord,
  95. orderButton,
  96. shareAlert,
  97. orderModel,
  98. activiPopup
  99. },
  100. data() {
  101. return {
  102. nvabarData: { //顶部自定义导航
  103. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示
  104. title: '订单详情', // 导航栏 中间的标题
  105. },
  106. state:0,
  107. userId:'',
  108. orderId:'',
  109. clubUserId:0,
  110. serviceProviderId:'', //协销ID
  111. shareCode:'', //分享码
  112. shareType:'', //分享登录页过来记录的状态
  113. cellPhone:'', //客服电话
  114. payStatus:0,
  115. btnStatus:0, //按钮组件状态
  116. isRequest:false, //是否加载完成渲染子组件
  117. isOrderShare:false,
  118. isShareModal:false,
  119. isPayModel:false,
  120. modelType:0,
  121. ableUserMoney:'', //机构余额
  122. payModelData:{},
  123. addressData:{}, //地址信息初始化
  124. information:{}, //订单信息初始化
  125. shopOrderData:{}, //商品信息初始化
  126. orderInvoice:{}, //发票信息初始化
  127. returnedPurchaseList:{}, //退款信息初始化
  128. discernReceiptList:{}, //支付信息初始化
  129. receiptAmount:0, //支付金额
  130. returnedPurchaseFee:0, //退款金额
  131. navbarHeight:'',
  132. rechargeGoods:false,
  133. headerBtnPosi: this.setHeaderBtnPosi(), //获取设备顶部胶囊高度
  134. systeminfo: this.setSysteminfo(), //获取设备信息
  135. isIphoneX:this.$store.state.isIphoneX,
  136. CustomBar:this.CustomBar,// 顶部导航栏高度
  137. popupShow:false,
  138. handlerPros:{},
  139. clauseData:{},
  140. showAgan:false,
  141. failList:[], // 再来一单可购买商品
  142. promptitle:'',
  143. aganOrderId:0 // 再来一单商品id
  144. }
  145. },
  146. onLoad(option){
  147. console.log(option)
  148. this.shareType = option.type
  149. this.orderId = option.orderId
  150. this.clubUserId = option.userId
  151. if(this.shareType ==='share'){
  152. this.listType = 0
  153. this.isOrderShare = true
  154. }else if(option.type === 'confim' || option.type === 'search' || option.type === 'cash'){
  155. this.listType = 0
  156. }else{
  157. this.listType = option.listType
  158. }
  159. this.getHeaderTopHeight()
  160. this.initOrderDetaileData()
  161. },
  162. filters:{
  163. NumFormat(value) {//处理金额
  164. return Number(value).toFixed(2)
  165. },
  166. TextFormat(status) {//处理金额
  167. let HtmlText,
  168. typeTextObject={
  169. 0:'待确认',
  170. 4:'交易完成',
  171. 5:'订单完成',
  172. 6:'已关闭',
  173. 7:'交易全退',
  174. 77:'交易全退',
  175. 11:'待付款待发货',
  176. 12:'待付款部分发货',
  177. 13:'待付款已发货',
  178. 21:'部分付款待发货',
  179. 22:'部分付款部分发货',
  180. 23:'部分付款已发货',
  181. 31:'已付款待发货',
  182. 32:'已付款部分发货',
  183. 33:'已付款已发货',
  184. 111:'待付款待发货',
  185. }
  186. Object.keys(typeTextObject).forEach(key => {
  187. if(key == status){
  188. HtmlText = typeTextObject[key]
  189. }
  190. })
  191. return HtmlText
  192. },
  193. },
  194. methods: {
  195. openclauseConten(id){
  196. this.$api.navigateTo(`/pages/service/sellconten?clauseId=${id}`)
  197. },
  198. initOrderDetaileData(){//初始化页面数据@参数:订单ID
  199. this.OrderService.QueryOrderDetails(
  200. {
  201. orderId : this.orderId ,
  202. userId : this.clubUserId,
  203. }
  204. ).then(response =>{
  205. let data = response.data
  206. this.isRequest = true
  207. this.userId = data.order.userId
  208. this.shareCode = data.shareCode
  209. this.addressData = data.userInfo
  210. this.information = data.order
  211. this.rechargeGoods = data.order.rechargeGoods
  212. this.btnStatus = data.order.status
  213. this.payStatus = data.order.payStatus
  214. this.shopOrderData = data.shopOrderList
  215. this.orderInvoice = data.orderInvoice
  216. this.returnedPurchaseList = data.returnedPurchaseList
  217. this.discernReceiptList = data.discernReceiptList
  218. this.receiptAmount = data.order.receiptAmount
  219. this.returnedPurchaseFee = data.order.returnedPurchaseFee
  220. this.ableUserMoney = data.ableUserMoney
  221. this.clauseData = data.clause
  222. if(this.clauseData && this.clauseData.name.length>10){
  223. this.clauseData.name = this.clauseData.name.substr(0,10)+'...'
  224. }
  225. }).catch(error =>{
  226. this.$util.modal('提示','订单查询失败,请稍后重试~','确定','',false,() =>{
  227. this.$api.switchTabTo('/pages/seller/index/index')
  228. })
  229. })
  230. },
  231. handButtonConfirm(data){//监听点击时间的按钮类型并执行...
  232. this.handShowAlert(data)
  233. },
  234. handShowAlert(data){//判断点击的按钮类型并执行...
  235. switch(data.type){
  236. case 'query':
  237. this.isModalLayer = true
  238. this.$api.navigateTo('/pages/user/order/order-logistics?orderId='+data.orderId)
  239. break
  240. case 'delete':
  241. this.handOrderDetele()
  242. break
  243. case 'cancel':
  244. this.handCenceConfirm()
  245. break
  246. case 'confirm':
  247. this.handOrderConfirm(data)
  248. break
  249. case 'balance':
  250. this.getOrderPaymentValidation(data)
  251. break
  252. case 'again':
  253. this.handOrderAgain(data.orderId)
  254. break
  255. }
  256. },
  257. handOrderAgain(orderId){
  258. this.aganOrderId = orderId
  259. this.SellerService.SellerCreateOrderAgain(
  260. {
  261. confirmFlag:0,
  262. orderId:this.aganOrderId,
  263. serviceProviderId:this.serviceProviderId
  264. }
  265. ).then(res =>{
  266. if(res.code==0){
  267. this.$api.setStorage('orderUserInfo',{clubID:res.data.clubId,againBuyProductIds:res.data.productIds,userID:res.data.userId})
  268. this.$api.navigateTo('/pages/seller/cart/cart')
  269. }
  270. }).catch(error =>{
  271. if(error.code== -3){
  272. this.showAgan = true
  273. this.promptitle = error.msg
  274. this.failList = error.data
  275. }else if(error.code== -2){
  276. this.$util.modal('',error.msg,'确定','',false,() =>{})
  277. }else{
  278. this.$util.msg(error.msg,2000)
  279. }
  280. })
  281. },
  282. closeBtn(){//
  283. this.showAgan = false
  284. },
  285. cancelBtn(){// 再来一单弹窗
  286. this.SellerService.SellerCreateOrderAgain(
  287. {
  288. serviceProviderId:this.serviceProviderId,
  289. orderId:this.aganOrderId,
  290. confirmFlag:1,
  291. }
  292. ).then(res =>{
  293. if(res.code==0){
  294. this.$api.navigateTo('/pages/seller/cart/cart')
  295. this.showAgan = false
  296. }
  297. })
  298. },
  299. handOrderConfirm(data){//确认订单
  300. this.$util.modal('提示','确认此订单?','确定','取消',true,() =>{
  301. this.OrderService.AffirmOrder({orderId:this.orderId}).then(response =>{
  302. this.$util.msg(response.msg,2000,true,'success')
  303. this.initOrderDetaileData()
  304. }).catch(error =>{
  305. this.$util.msg(error.msg,2000)
  306. })
  307. })
  308. },
  309. hanldPaymentConfirm(data){//监听余额抵扣按钮
  310. switch(data.type){
  311. case 3:
  312. this.OrderService.OrderBalanceDeduction({orderId:this.orderId}).then(response =>{
  313. this.$util.msg('余额抵扣成功',2000)
  314. this.initOrderDetaileData()
  315. }).catch(error =>{
  316. this.$util.msg(error.msg,2000)
  317. })
  318. break
  319. }
  320. },
  321. getOrderPaymentValidation(data){//监听根据付款状态做操作
  322. this.OrderService.OrderPaymentValidation({orderId:data.orderId}).then(response =>{
  323. let dataCode = response.data.code
  324. this.payModelData = response.data
  325. if(dataCode == -1){
  326. this.$util.modal('','订单已申请全部退款,无需再付款!','确定','',false,() =>{})
  327. }else{
  328. this.isPayModel = true
  329. this.modelType = 3
  330. }
  331. }).catch(error =>{
  332. this.$util.msg(error.msg,2000)
  333. })
  334. },
  335. handOrderDetele(){//删除订单
  336. this.$util.modal('提示','确认删除该订单吗?','确定','取消',true,() =>{
  337. this.OrderService.DeleteOrder({orderId:this.orderId}).then(response =>{
  338. this.$util.msg(response.msg,2000,true,'success')
  339. setTimeout(() => {
  340. if(this.shareType ==='share'){
  341. this.$api.navigateTo('/pages/seller/index/index')
  342. }else{
  343. this.$api.navigateTo(`/pages/seller/order/order-list?type=detele&listType=${this.listType}`)
  344. }
  345. },500)
  346. }).catch(error =>{
  347. this.$util.msg(error.msg,2000)
  348. })
  349. })
  350. },
  351. handCenceConfirm(){//取消订单
  352. this.$util.modal('提示','确认取消该订单吗?','确定','取消',true,() =>{
  353. this.OrderService.CancelOrder({orderId:this.orderId}).then(response =>{
  354. this.$util.msg(response.msg,2000,true,'success')
  355. this.initOrderDetaileData()
  356. }).catch(error =>{
  357. this.$util.msg(error.msg,2000)
  358. })
  359. })
  360. },
  361. hanldePopupFn(data){//监听活动内容
  362. this.popupShow = true
  363. this.handlerPros = data
  364. },
  365. onShareAppMessage(res){//分享转发
  366. this.isShareModal = false
  367. if (res.from === 'button') {
  368. // 来自页面内转发按钮
  369. }
  370. return {
  371. title: '您有新的订单,请点击查看~',
  372. path: `/pages/user/order/order-sharelogin?orderId=${this.orderId}&userId=${this.userId}&serviceProviderId=${this.serviceProviderId}`,
  373. imageUrl:'https://img.caimei365.com/group1/M00/03/95/Cmis216Sk_SABnOFABZCgCzFV_g063.png'
  374. }
  375. },
  376. getHeaderTopHeight(){
  377. let statusBarHeight = this.systeminfo.statusBarHeight // 状态栏高度
  378. let headerPosi = this.headerBtnPosi
  379. let btnPosi = { // 胶囊实际位置,坐标信息不是左上角原点
  380. height: headerPosi.height,
  381. width: headerPosi.width,
  382. // 胶囊top - 状态栏高度
  383. top: headerPosi.top - statusBarHeight,
  384. // 胶囊bottom - 胶囊height - 状态栏height (现胶囊bottom 为距离导航栏底部的长度)
  385. bottom: headerPosi.bottom - headerPosi.height - statusBarHeight,
  386. // 屏幕宽度 - 胶囊right
  387. right: this.systeminfo.screenWidth - headerPosi.right
  388. }
  389. this.navbarHeight= headerPosi.bottom + btnPosi.bottom// 原胶囊bottom + 现胶囊bottom
  390. },
  391. setHeaderBtnPosi(){
  392. // 获得胶囊按钮位置信息
  393. let headerBtnPosi = uni.getMenuButtonBoundingClientRect()
  394. return headerBtnPosi
  395. },
  396. setSysteminfo(){
  397. let systeminfo
  398. uni.getSystemInfo({ // 获取设备信息
  399. success: (res) => {
  400. systeminfo = res
  401. },
  402. })
  403. return systeminfo
  404. },
  405. },
  406. onShow() {
  407. this.$api.getStorage().then((resolve) =>{
  408. this.serviceProviderId = resolve.serviceProviderId ? resolve.serviceProviderId : 0
  409. })
  410. }
  411. }
  412. </script>
  413. <style lang="scss">
  414. page {
  415. height: auto;
  416. background:#F7F7F7;
  417. }
  418. .btn-hover{
  419. background: #FFFFFF;
  420. }
  421. .animation{
  422. /* transition: transform 0.3s ease;*/
  423. transition-property: transform;
  424. transition-duration: 0.3s;
  425. transition-timing-function: ease;
  426. }
  427. .invoice-balance{
  428. width: 702rpx;
  429. height: auto;
  430. padding:0 24rpx;
  431. background: #FFFFFF;
  432. float: left;
  433. margin-top: 24rpx;
  434. margin-bottom: 24rpx;
  435. .balabce-t{
  436. width: 100%;
  437. height: 86rpx;
  438. line-height: 86rpx;
  439. font-size: $font-size-28;
  440. color: $text-color;
  441. float: left;
  442. .balabce-t-le{
  443. float: left;
  444. font-weight: bold;
  445. }
  446. .balabce-t-ri{
  447. float: right;
  448. display: flex;
  449. align-items: center;
  450. .money{
  451. display: flex;
  452. float: left;
  453. }
  454. .checkbox-box{
  455. display: flex;
  456. width: 60rpx;
  457. float: left;
  458. height: 100%;
  459. font-size: $font-size-24;
  460. .checkbox{
  461. width: 40rpx;
  462. text-align: right;
  463. box-sizing: border-box;
  464. text-align: center;
  465. text-decoration: none;
  466. border-radius: 0;
  467. -webkit-tap-highlight-color: transparent;
  468. overflow: hidden;
  469. }
  470. }
  471. }
  472. }
  473. .balabce-b{
  474. width: 100%;
  475. float: left;
  476. overflow: hidden;
  477. .balabce-b-text{
  478. width: 100%;
  479. line-height: 58rpx;
  480. font-size: $font-size-24;
  481. color: #FF2A2A;
  482. text-align: right;
  483. float: right;
  484. }
  485. &.balabce-b--hide {
  486. padding: 0 0;
  487. height: 0px;
  488. line-height: 0px;
  489. }
  490. }
  491. }
  492. .clause{
  493. float: right;
  494. font-size: 24rpx;
  495. color: #999999;
  496. margin-top: 60rpx;
  497. margin-right: 24rpx;
  498. &.noclick{
  499. pointer-events: none;
  500. }
  501. .text{
  502. color: #1890f9;
  503. &.color-bg{
  504. color: #333333;
  505. }
  506. }
  507. }
  508. .status-text{
  509. overflow: hidden;
  510. padding: 24rpx;
  511. background: #fff;
  512. font-size: $font-size-26;
  513. .view-type{
  514. float: left;
  515. color: #ff2a2a;
  516. }
  517. .bage-buss{
  518. display: inline-block;
  519. width: 72rpx;
  520. height: 32rpx;
  521. background:radial-gradient(circle,rgba(255,39,180,1) 0%,rgba(193,77,245,1) 100%);
  522. border-radius: 6rpx;
  523. line-height: 32rpx;
  524. text-align: center;
  525. color: #FFFFFF;
  526. margin-top: 10rpx;
  527. float: right;
  528. font-size: $font-size-24;
  529. }
  530. .bage-auto{
  531. display: inline-block;
  532. width: 72rpx;
  533. height: 32rpx;
  534. background:radial-gradient(circle,rgba(255,180,39,1) 0%,rgba(245,142,77,1) 100%);
  535. border-radius: 6rpx;
  536. line-height: 32rpx;
  537. text-align: center;
  538. color: #FFFFFF;
  539. margin-top: 10rpx;
  540. float: right;
  541. font-size: $font-size-24;
  542. }
  543. .Rebate{
  544. display: inline-block;
  545. width: 72rpx;
  546. height: 32rpx;
  547. background:#ff7a51;
  548. border-radius: 6rpx;
  549. line-height: 32rpx;
  550. text-align: center;
  551. color: #FFFFFF;
  552. margin-top: 10rpx;
  553. float: right;
  554. font-size: $font-size-24;
  555. margin-left: 20rpx;
  556. }
  557. }
  558. .aganBj {
  559. position: fixed;
  560. left: 0;
  561. top: 0;
  562. bottom: 0;
  563. width: 100%;
  564. height: 100%;
  565. background-color: rgba(0, 0, 0, .5);
  566. z-index: 999999;
  567. .alertAgan {
  568. position: absolute;
  569. top: 50%;
  570. left: 50%;
  571. transform: translate(-50%, -50%);
  572. width:580rpx;
  573. background-color: #fff;
  574. border-radius: 16rpx;
  575. .title{
  576. font-size: 30rpx;
  577. color: #333333;
  578. line-height: 42rpx;
  579. padding: 30rpx;
  580. display: block;
  581. }
  582. .goods{
  583. padding: 0 30rpx;
  584. .list{
  585. padding: 10px 0;
  586. border-bottom: 1rpx solid #e1e1e1;
  587. margin: 10rpx 0;
  588. .image-left{
  589. width: 86rpx;
  590. height: 86rpx;
  591. border: 2rpx solid #e1e1e1;
  592. border-radius: 6rpx;
  593. display: inline-block;
  594. vertical-align: middle;
  595. }
  596. .name-right{
  597. display: inline-block;
  598. width: 416rpx;
  599. margin-left: 15rpx;
  600. font-size: 26rpx;
  601. color: #666666;
  602. vertical-align: middle;
  603. word-break: break-all;
  604. overflow: hidden;
  605. text-overflow: ellipsis;
  606. display: -webkit-inline-box;
  607. -webkit-line-clamp: 2;
  608. -webkit-box-orient: vertical;
  609. }
  610. }
  611. }
  612. .BtnAll{
  613. margin-top: 30rpx;
  614. .btn{
  615. display: inline-block;
  616. width: 290rpx;
  617. height: 90rpx;
  618. line-height: 90rpx;
  619. text-align: center;
  620. &.closebtn{
  621. border-radius: 0px 0px 0px 10px;
  622. color:#999999 ;
  623. background: #efefef;
  624. }
  625. &.cancel{
  626. border-radius: 0px 0px 8px 0px;
  627. background: $btn-confirm;
  628. color: #fff;
  629. }
  630. }
  631. }
  632. }
  633. }
  634. </style>