billHistoryDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. <template>
  2. <view class="content flex flex_column" v-if="billInfo">
  3. <view class="b_head">
  4. <view class="head_list">
  5. <text>分享时间</text>
  6. <text>{{ billInfo.createDate }}</text>
  7. </view>
  8. <view class="head_list" v-if="billInfo.customer">
  9. <text>客户名称</text>
  10. <text>{{ billInfo.customer.customerName }}</text>
  11. </view>
  12. <!-- <view class="head_list">
  13. <text>对账周期</text>
  14. <text>{{ timeInfo || '--' }}</text>
  15. </view> -->
  16. <view class="head_list">
  17. <text>付款状态</text>
  18. <text>{{ billInfo.billStatus == 'UNSETTLE' ? '未付款' : billInfo.settleStyleSnDictValue ? '已结清(' + billInfo.settleStyleSnDictValue + ')' : '已结清' }}</text>
  19. </view>
  20. </view>
  21. <view class="b_detail" v-if="billInfo.billStatus == 'UNSETTLE'">
  22. <view class="detail_list u-flex">
  23. <view class="detail_box">
  24. <text>总单数:</text>
  25. <text>{{ billInfo.detailNum }}</text>
  26. </view>
  27. <view class="detail_box">
  28. <text>待收:</text>
  29. <text>¥{{dueAmount}}</text>
  30. </view>
  31. </view>
  32. <view class="detail_list u-flex">
  33. <view class="detail_box">
  34. <text>折让:</text>
  35. <text>¥{{ billInfo.discountAmount||billInfo.discountAmount==0? toThousands(billInfo.discountAmount,2):'--'}}</text>
  36. </view>
  37. <view class="detail_box">
  38. <text>折后:</text>
  39. <text>¥{{ billInfo.settleAmount||billInfo.settleAmount ==0? toThousands(billInfo.settleAmount,2):'--' }}</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="b_detail" v-else>
  44. <view class="detail_list u-flex">
  45. <view class="detail_box">
  46. <text>总单数:</text>
  47. <text>{{ billInfo.detailNum }}</text>
  48. </view>
  49. <view class="detail_box">
  50. <text>折让:</text>
  51. <text>¥{{ billInfo.discountAmount||billInfo.discountAmount==0? toThousands(billInfo.discountAmount,2):'--'}}</text>
  52. </view>
  53. </view>
  54. <view class="detail_list u-flex">
  55. <view class="detail_box">
  56. <text>折后:</text>
  57. <text>¥{{foldAmount}}</text>
  58. </view>
  59. <view class="detail_box">
  60. <text>实收:</text>
  61. <text>¥{{ billInfo.settleRealAmount||billInfo.settleRealAmount ==0? toThousands(billInfo.settleRealAmount,2):'--' }}</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="detail_con"><billList ref="billBox" :showCheck="isShowEdit" :list="billArr" @allChecked="chooseBillList"></billList></view>
  66. <view v-if="!isShowEdit">
  67. <view class="footer u-flex u-row-center" v-if="billInfo.billStatus == 'UNSETTLE'&& billArr&&billArr.length!=0">
  68. <view class="u-flex u-col-center" >
  69. <u-button type="primary" shape="circle" :loading="btnLoading" @click="submitOrder" :custom-style="customStyle">再次发送对账单</u-button>
  70. <u-button type="warning" shape="circle" style="margin-left:30rpx;width:290rpx;" @click="openPaymentModal">确认收款</u-button>
  71. </view>
  72. </view>
  73. <view class="footer" v-else-if="billInfo.billStatus != 'UNSETTLE'&& billArr&&billArr.length!=0">
  74. <u-button type="primary" shape="circle" :loading="btnLoading" @click="submitOrder" :custom-style="customStyle">再次发送对账单</u-button>
  75. </view>
  76. </view>
  77. <view v-else>
  78. <view class="footer flex align_center" v-if="billInfo.billStatus == 'UNSETTLE' && billArr&&billArr.length!=0">
  79. <u-checkbox-group style="flex:1;">
  80. <u-checkbox v-model="checkedAll" shape="circle" @change="chooseAll">{{checkedAll?'取消全选':'全选'}}</u-checkbox>
  81. </u-checkbox-group>
  82. <view class="u-flex u-row-right">
  83. <u-button type="error" shape="circle" :loading="btnLoading" @click="handleEvents('del')" :custom-style="customDelStyle">删除</u-button>
  84. <u-button type="warning" shape="circle" style="margin-left: 30rpx;" @click="handleEvents('update')">一键刷新</u-button>
  85. </view>
  86. </view>
  87. </view>
  88. <u-modal v-model="modalShow" :show-title="false" :content="modalCon" :show-cancel-button="true" @confirm="handleConfirm"></u-modal>
  89. <!-- 确认收款弹窗 -->
  90. <u-popup v-model="showPayment" mode="center" @close="closePopup" :border-radius="20" width="82%">
  91. <view class="slot-content">
  92. <view style="padding:50rpx 30rpx 20rpx;">
  93. <u-form :model="form" ref="uForm" :error-type="['message']" :label-width="150" :rules="rules" :label-style="{color:'#999'}">
  94. <u-form-item :border-bottom ="false" label="总单数:" prop="num" v-if="billArr">{{billArr.length}}</u-form-item>
  95. <u-form-item :border-bottom ="false" label="结算方式:" prop="settleTypeName">
  96. <u-input type="select" placeholder="请选择结算方式" :height="60" v-model="form.settleTypeName" @click="settleShow = true"/>
  97. </u-form-item>
  98. <u-form-item v-if="enableFundAccount" style="padding-top:0;" :border-bottom ="false" label="结算账户:" prop="settleAccountName">
  99. <u-input type="select" placeholder="请选择结算账户" :height="60" v-model="form.settleAccountName" @click="openSettleAccount"/>
  100. </u-form-item>
  101. <u-form-item :border-bottom ="false" label="待收金额:" prop="num">¥{{dueAmount}}</u-form-item>
  102. <u-form-item :border-bottom ="false" label="折让金额:" prop="discountAmount"><u-input type="number" :custom-style="{color:'#ffa500'}" placeholder="请输入折让金额(最多2位小数)" :border="true" :height="60" v-model="form.discountAmount"/></u-form-item>
  103. <view class="tip" v-if="form.discountAmount*1 > settlement*1">折让金额不能大于待收金额,请重新输入</view>
  104. </u-form>
  105. </view>
  106. <view class="costText">实收金额</view>
  107. <view class="costText1">¥{{settlement<0?0:settlement}}</view>
  108. <view class="paymentFooter flex algin-center">
  109. <view @click="closePopup">取消</view>
  110. <view @click="handlePay">确定</view>
  111. </view>
  112. </view>
  113. </u-popup>
  114. <!-- 提示弹窗 -->
  115. <u-modal v-model="showModal" confirm-text="知道了" :content="modalContent" :show-title="false"></u-modal>
  116. <u-picker mode="selector" v-model="settleShow" @confirm="confirmSettle" :default-selector="[0]" :range="settleList" range-key="dispName"></u-picker>
  117. <u-picker mode="selector" v-model="settleAccount" @confirm="confirmSettleAccount" :default-selector="[0]" :range="accountList" range-key="name"></u-picker>
  118. <!-- 分享询问弹窗 -->
  119. <u-modal v-model="shareShow" :show-cancel-button="true" :content="shareContent" @confirm="handleShare" @cancel="shareShow = false;btnLoading = false;"></u-modal>
  120. </view>
  121. </template>
  122. <script>
  123. import billList from './billListComponent.vue';
  124. import { findBySn, insert,settleVerify,settle,flushBill,deleteDetails } from '@/api/verify.js';
  125. import getDate from '@/libs/getDate.js';
  126. import { toThousands } from '@/libs/tools.js'
  127. import { getLookUpDatas } from '@/api/data';
  128. import { queryFunctionState,settleAccountList } from '@/api/user';
  129. export default {
  130. components: { billList },
  131. data() {
  132. return {
  133. customStyle: {
  134. backgroundColor: this.$config('primaryColor'),
  135. color: '#fff'
  136. },
  137. customDelStyle: {
  138. width:'200rpx',
  139. color: '#fff'
  140. },
  141. verifySn: '',
  142. billInfo: null,
  143. billArr: [],
  144. timeInfo: '',
  145. btnLoading: false,
  146. shareShow: false,
  147. isShowEdit:false,//编辑
  148. settleShow:false,//结算方式
  149. shareContent: `是否同意发送对账单给微信好友?`,
  150. toThousands,
  151. showPayment:false,
  152. form:{
  153. receiptAmount:0,
  154. discountAmount:undefined,
  155. settleType:'',
  156. settleTypeName:'',
  157. settleAccountSn:'',
  158. settleAccountName:''
  159. },
  160. settleList:[],
  161. rules: {
  162. settleTypeName: [
  163. {
  164. required: true,
  165. message: '请选择结算方式',
  166. trigger: ['change','blur'],
  167. }
  168. ],
  169. settleAccountName:[
  170. {
  171. required: true,
  172. message: '请选择结算账户',
  173. trigger: ['change','blur'],
  174. }
  175. ]
  176. },
  177. showModal:false,
  178. modalContent:'',
  179. enableFundAccount:false,
  180. accountList:[],//结算账户列表
  181. settleAccount:false,
  182. orderList:[],
  183. modalShow:false,
  184. modalCon:'刷新后,将删除对账单中已收款的订单,更新待收款单据。确定刷新吗?',
  185. eventsType:'' //打开弹窗类型 del删除 update更新
  186. };
  187. },
  188. onReady() {
  189. uni.setNavigationBarColor({
  190. frontColor: '#ffffff',
  191. backgroundColor: this.$config('primaryColor')
  192. });
  193. },
  194. onLoad(options) {
  195. if (options && options.billId) {
  196. this.verifySn = options.billId;
  197. this.loadData({ verifySn: options.billId });
  198. }
  199. },
  200. //编辑事件
  201. onNavigationBarButtonTap(e){
  202. this.isShowEdit = !this.isShowEdit
  203. var pages = getCurrentPages();
  204. var page = pages[pages.length - 1];
  205. var currentWebview = page.$getAppWebview();
  206. var tn = currentWebview.getStyle().titleNView;
  207. let _this = this
  208. if(_this.isShowEdit){
  209. tn.buttons[0].text = '\ue601 取消';
  210. }else{
  211. tn.buttons[0].text = '\ue601 编辑';
  212. }
  213. _this.$nextTick(()=>{
  214. currentWebview.setStyle({
  215. titleNView: tn
  216. });
  217. })
  218. },
  219. computed: {
  220. //经销商信息
  221. userData() {
  222. return this.$store.state.vuex_userData;
  223. },
  224. settlement() {
  225. let totalPrice=this.billInfo.totalAmount?this.billInfo.totalAmount:0;
  226. let settleRealAmount = this.billInfo.settleRealAmount?this.billInfo.settleRealAmount:0
  227. let discountPrice=this.form.discountAmount?this.form.discountAmount:0
  228. let priceNum=totalPrice - discountPrice - settleRealAmount;
  229. let endPay=Number(priceNum)>0 ? priceNum : 0
  230. const ret = endPay.toFixed(2)
  231. this.form.receiptAmount = ret
  232. return ret
  233. },
  234. // 待收金额
  235. dueAmount(){
  236. let totalAmount = this.billInfo.totalAmount?this.billInfo.totalAmount:0
  237. let settleRealAmount = this.billInfo.settleRealAmount?this.billInfo.settleRealAmount:0
  238. let duePrice = totalAmount - settleRealAmount
  239. duePrice=Number(duePrice)>0 ? duePrice : 0
  240. const resPrice = duePrice.toFixed(2)
  241. return resPrice
  242. },
  243. //经销商信息
  244. userData() {
  245. return this.$store.state.vuex_userData;
  246. },
  247. // 折后金额
  248. foldAmount(){
  249. let totalAmount = this.billInfo.totalAmount?this.billInfo.totalAmount:0
  250. let discountPrice=this.billInfo.discountAmount?this.billInfo.discountAmount:0
  251. let foldPrice = totalAmount - discountPrice
  252. foldPrice=Number(foldPrice)>0 ? foldPrice : 0
  253. const newFoldPrice = foldPrice.toFixed(2)
  254. return newFoldPrice
  255. }
  256. },
  257. methods: {
  258. loadData(ajaxData) {
  259. let that = this;
  260. findBySn(ajaxData).then(res => {
  261. if (res.status == 200) {
  262. that.billInfo = res.data;
  263. that.billArr = res.data.detailList;
  264. let timeobj = getDate.editDay(res.data.bizBeginDate, res.data.bizEndDate);
  265. that.timeInfo = timeobj.starttime + '~' + timeobj.endtime;
  266. that.$nextTick(() => {
  267. that.$refs.billBox.setData(res.data.detailList);
  268. });
  269. this.isShowEditBtn()
  270. }
  271. });
  272. },
  273. //关闭编辑按钮
  274. isShowEditBtn(){
  275. // #ifdef APP-PLUS
  276. let webview = this.$mp.page.$getAppWebview();
  277. if(this.billInfo.billStatus != 'UNSETTLE' || !this.billArr || this.showPayment){
  278. webview.setTitleNViewButtonStyle(0, {
  279. width:'0px'
  280. })
  281. }else{
  282. webview.setTitleNViewButtonStyle(0, {
  283. width:'60px'
  284. })
  285. }
  286. // #endif
  287. },
  288. // 关闭弹窗
  289. closePopup(){
  290. this.form={
  291. receiptAmount:0,
  292. discountAmount:this.billInfo.discountAmount,
  293. settleType:'',
  294. settleTypeName:'',
  295. settleAccountSn:'',
  296. settleAccountName:''
  297. }
  298. this.showPayment = false
  299. this.isShowEditBtn()
  300. },
  301. // 打开确认收款弹窗
  302. openPaymentModal(){
  303. let _this=this
  304. // 校验弹窗是否需要打开
  305. settleVerify({ verifySn: _this.verifySn}).then(res => {
  306. if (res.status == 200) {
  307. if(!res.data.falg){
  308. _this.modalContent = res.data.message
  309. _this.$nextTick(()=>{
  310. _this.showModal = true
  311. })
  312. }else{
  313. // 判断是否显示结算类型
  314. queryFunctionState().then(res => {
  315. if (res.status == 200) {
  316. _this.enableFundAccount = res.data.functionEnableFlag == 1
  317. }
  318. })
  319. _this.getPayType();
  320. _this.showPayment = true
  321. _this.form.discountAmount=_this.billInfo.discountAmount?toThousands(_this.billInfo.discountAmount):'0.00'
  322. _this.$nextTick(()=>{
  323. _this.isShowEditBtn();
  324. _this.$refs.uForm.setRules(_this.rules);
  325. })
  326. }
  327. }
  328. });
  329. },
  330. //获取结算类型列表
  331. getPayType(){
  332. getLookUpDatas({
  333. lookupCode: 'SETTLE_STYLE',
  334. pageNo: 1,
  335. pageSize: 1000
  336. }).then(result => {
  337. if (result && result.status == 200) {
  338. this.settleList = result.data.list;
  339. }
  340. });
  341. },
  342. //获取结算账户
  343. getPayAccount(typeCode){
  344. settleAccountList({settleStyleSn: typeCode,pageNo:1,pageSize:500,state:'ENABLE'}).then(result => {
  345. if (result && result.status == 200) {
  346. result.data.list.forEach(item=>{
  347. item.name = item.accountName+'-'+item.accountNo
  348. })
  349. this.accountList = result.data.list;
  350. }
  351. });
  352. },
  353. //结算类型 确定
  354. confirmSettle(e){
  355. let pos=e[0]
  356. this.form.settleType = this.settleList[pos].code
  357. this.form.settleTypeName = this.settleList[pos].dispName
  358. if(this.enableFundAccount){
  359. this.form.settleAccountSn=''
  360. this.form.settleAccountName=''
  361. this.getPayAccount(this.settleList[pos].code)
  362. }
  363. },
  364. submitOrder() {
  365. //发送对账单
  366. this.shareShow = true;
  367. },
  368. //结算账户弹窗
  369. openSettleAccount(){
  370. if(!this.form.settleTypeName){
  371. uni.showToast({
  372. title:'请先选择结算类型',
  373. icon:'none'
  374. })
  375. return
  376. }
  377. if(this.accountList && this.accountList.length==0){
  378. uni.showToast({
  379. title:'结算账户暂时没有数据,请重新选择结算类型',
  380. icon:'none'
  381. })
  382. return
  383. }
  384. this.settleAccount = true
  385. },
  386. //结算账户 确定
  387. confirmSettleAccount(e){
  388. let pos=e[0]
  389. this.form.settleAccountSn=this.accountList[pos].settleAccountSn
  390. this.form.settleAccountName=this.accountList[pos].name
  391. },
  392. //确认收款
  393. handlePay(){
  394. let _this=this
  395. _this.$refs.uForm.validate(valid => {
  396. if (valid) {
  397. let totalPrice=this.billInfo.totalAmount?this.billInfo.totalAmount:0;
  398. let discountPrice=this.form.discountAmount?this.form.discountAmount:0
  399. if (discountPrice > totalPrice) {
  400. uni.showToast({
  401. title: '折让金额不能大于待收金额,请重新输入',
  402. icon: 'none'
  403. });
  404. return;
  405. }
  406. let reg = /^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/;
  407. if(discountPrice && discountPrice!=0){
  408. if (!reg.test(discountPrice)) {
  409. uni.showToast({
  410. title: '折让金额格式不正确,请重新输入',
  411. icon: 'none'
  412. });
  413. return;
  414. }
  415. }
  416. let ajaxData=JSON.stringify(_this.form)
  417. let newAjaxData = JSON.parse(ajaxData)
  418. newAjaxData.verifySn = _this.verifySn
  419. newAjaxData.discountAmount = _this.form.discountAmount?_this.form.discountAmount:0
  420. delete newAjaxData.settleAccountName
  421. settle(newAjaxData).then(result => {
  422. if (result && result.status == 200) {
  423. uni.showToast({
  424. title:result.message
  425. });
  426. _this.closePopup()
  427. _this.loadData({ verifySn: _this.verifySn });
  428. }
  429. });
  430. } else {
  431. console.log('验证失败');
  432. }
  433. });
  434. },
  435. // 分享图文
  436. handleShare() {
  437. let jumpUrl = getApp().globalData.baseUrl.replace('qpls-md/','')
  438. let url = jumpUrl+'dzd/index.html?' + this.userData.orgSn + '&' + this.verifySn;
  439. if (uni.getSystemInfoSync().platform == 'ios') {
  440. uni.share({
  441. provider: 'weixin',
  442. scene: 'WXSceneSession',
  443. type: 0,
  444. href: url,
  445. title: this.billInfo.customer.customerName + '的对账单',
  446. summary: '共' + this.billInfo.settleAmount + '元,请您查阅',
  447. imageUrl: '../../static/logo.png',
  448. success: function(res) {
  449. console.log('success:' + JSON.stringify(res));
  450. },
  451. fail: function(err) {
  452. console.log('fail:' + JSON.stringify(err));
  453. }
  454. });
  455. } else {
  456. uni.shareWithSystem({
  457. summary: this.billInfo.customer.customerName + '您好,您有一个对账单共' + this.billInfo.settleAmount + '元,请您查阅',
  458. href: url,
  459. success() {
  460. console.log('调取微信列表成功,分享不一定成功');
  461. },
  462. fail() {
  463. console.log('分享失败');
  464. }
  465. });
  466. }
  467. },
  468. //一键刷新
  469. handleUpdate(){
  470. this.checkedAll = false
  471. this.$refs.billBox.allSelect(false);
  472. flushBill({verifySn:this.verifySn}).then(res => {
  473. if (res.status == 200) {
  474. this.loadData({ verifySn: this.verifySn })
  475. }
  476. });
  477. },
  478. //删除
  479. deleteOrder(){
  480. let that=this
  481. deleteDetails({verifySn:that.verifySn,detailSnList:that.orderList}).then(res => {
  482. if (res.status == 200) {
  483. uni.showToast({
  484. title:res.message,
  485. duration: 2000
  486. })
  487. that.loadData({ verifySn: that.verifySn });
  488. }
  489. });
  490. },
  491. handleEvents(type){
  492. this.eventsType=type
  493. if(type == 'del'){
  494. let allList=this.$refs.billBox.getAllData();
  495. let newChooseList = []
  496. let num = 0
  497. allList.forEach(item=>{
  498. if(item.checked){
  499. newChooseList.push(item.detailSn)
  500. num+=item.unsettleAmount
  501. }
  502. })
  503. if(newChooseList.length == 0){
  504. uni.showToast({
  505. title:'请先选择要删除的销售单',
  506. icon:'none'
  507. })
  508. return
  509. }
  510. this.orderList=newChooseList
  511. let newNum=toThousands(num,2)
  512. this.modalCon = '选中'+newChooseList.length+'项,待收金额¥'+newNum+',确认删除吗?'
  513. }
  514. let that=this
  515. that.$nextTick(()=>{
  516. that.modalShow = true
  517. })
  518. },
  519. //确定提交删除、刷新
  520. handleConfirm(){
  521. if(this.eventsType=='del'){
  522. this.deleteOrder();
  523. }else{
  524. this.handleUpdate();
  525. }
  526. },
  527. chooseBillList(flag){
  528. this.checkedAll = flag
  529. },
  530. chooseAll(){
  531. this.$refs.billBox.allSelect(!this.checkedAll);
  532. }
  533. }
  534. };
  535. </script>
  536. <style lang="scss" scoped>
  537. .content {
  538. height: 100vh;
  539. width: 100%;
  540. box-sizing: border-box;
  541. .b_head {
  542. background-color: #fff;
  543. .head_list {
  544. padding: 14rpx 20rpx;
  545. border-bottom: 1rpx solid #f8f8f8;
  546. text {
  547. &:first-child {
  548. color: $uni-text-color-grey;
  549. display: inline-block;
  550. width: 160rpx;
  551. }
  552. }
  553. }
  554. }
  555. .b_detail {
  556. margin: 6rpx 0;
  557. background-color: #fff;
  558. padding: 20rpx;
  559. box-sizing: border-box;
  560. .detail_list {
  561. margin-bottom: 10rpx;
  562. &:last-child {
  563. margin-bottom: 0rpx;
  564. }
  565. .detail_box::after {
  566. content: ';';
  567. color: $uni-text-color-grey;
  568. }
  569. .detail_box {
  570. text {
  571. &:first-child {
  572. color: $uni-text-color-grey;
  573. }
  574. &:last-child {
  575. color: $uni-color-warning;
  576. font-weight: 600;
  577. }
  578. }
  579. }
  580. }
  581. }
  582. .detail_con {
  583. flex-grow: 1;
  584. overflow: auto;
  585. background-color: #fff;
  586. }
  587. .footer {
  588. width: 100%;
  589. box-sizing: border-box;
  590. padding: 10rpx 20rpx;
  591. background: #fff;
  592. }
  593. }
  594. // 确认收款弹窗
  595. .slot-content{
  596. .u-form-item{
  597. line-height:0 !important;
  598. }
  599. .paymentFooter{
  600. border-top:1rpx solid #eee;
  601. view{
  602. width: 50%;
  603. text-align:center;
  604. padding:26rpx 0;
  605. }
  606. }
  607. .paymentFooter view:last-child{
  608. color:#007aff;
  609. border-left:1rpx solid #eee;
  610. }
  611. .costText {
  612. text-align: center;
  613. color: $uni-text-color-grey;
  614. font-size: 22rpx;
  615. }
  616. .costText1 {
  617. text-align: center;
  618. font-weight: bold;
  619. color: $uni-color-error;
  620. font-size: 36rpx;
  621. line-height: 60rpx;
  622. padding-bottom: 30rpx;
  623. }
  624. .tip {
  625. color: #fa3534;
  626. font-size: 20rpx;
  627. margin-left: 160rpx;
  628. }
  629. }
  630. </style>