|
@@ -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,
|
|
|
// 第二步
|
|
|
},
|