Browse Source

余额显示

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
0091a80f8a
2 changed files with 5 additions and 6 deletions
  1. 9
      src/view/put-money.vue
  2. 2
      src/view/service-evaluation.vue

9
src/view/put-money.vue

@ -75,11 +75,10 @@
},
methods:{
//
submit() {
if(this.isActive) {
console.log(this.inputVal)
submit() {
if(this.isActive) {
putMoney.putMoney(
{amount:this.inputVal}
{amount:this.inputVal*100}
).then(res => {
if (res.code == 0){
this.$router.push({path:'/put-money-success'});
@ -111,7 +110,7 @@
},
mounted() {
//
this.currentAmount = this.getParam("currentAmount")
this.currentAmount = (this.getParam("currentAmount")/100).toFixed(2)
//this.$vux.toast.text(this.currentAmount,'middle')
}
}

2
src/view/service-evaluation.vue

@ -2,7 +2,7 @@
<template>
<div class="service-evaluation">
<div class="page-top">
<a @click="goBack()"><img src="../assets/images/my-money/left.png" /></a>
<!-- <a @click="goBack()"><img src="../assets/images/my-money/left.png" /></a> -->
<span>服务评价</span>
</div>
<div class="page-content">

Loading…
Cancel
Save