洪海涛 8 년 전
부모
커밋
fa4469948c
1개의 변경된 파일11개의 추가작업 그리고 4개의 파일을 삭제
  1. 11 4
      www/vue/src/components/recharge.vue

+ 11 - 4
www/vue/src/components/recharge.vue

@@ -44,6 +44,8 @@
 <script type="es6">
   import {Group, Cell} from 'vux'
   import axios from 'axios'
+  import qs from 'qs'
+  import config from '../config/config'
   export default {
     data () {
       return {
@@ -92,10 +94,15 @@
         this.rechargeItem = item
       },
       btnRecharge () {
-        
-        axios.post('o2o/recharge/addRechargeorder').then(res => {
-          console.log(res)
-        })
+        console.log(this.isShow)
+//				console.log(this.rechargeItem.denomination)
+//        let addRechargeorder = {
+//          user_id: config.userId,
+//          value:
+//        }
+//        axios.post('o2o/recharge/addRechargeorder',qs.stringify()).then(res => {
+//          console.log(res)
+//        })
         // axios     1.创建充值卡订单  user_id: user.id,        value:inputVal,
         // 第二步
       },