Commit fd079c15 authored by IvyXia123's avatar IvyXia123

支付还原

parent a9bca9cc
......@@ -378,7 +378,7 @@ export default {
}
this.orderFlag = false;
let payTypeArr = ['WX', 'ALI', 'KFQ']
/*let payTypeArr = ['WX', 'ALI', 'KFQ']
let data = { pay_type: payTypeArr[this.payIndex], return_url: window.location.href, goods_id: json.goods_id, buy_type: this.groupDetail.goods_type, group_order_id: json.group_order_id, order_coupon_id:json.order_coupon_id }
postPayBillApi(data).then(res => {
if(this.payIndex === 0) {
......@@ -388,9 +388,9 @@ export default {
}else if(this.payIndex === 2) {
this.payUrl = res.pay_url;
}
})
})*/
/*payApi(json).then(res => {
payApi(json).then(res => {
this.orderNo = res.out_trade_no;
console.log(res)
if (res.out_trade_no && !res.appId) {
......@@ -435,7 +435,7 @@ export default {
.catch(res => {
// alert(res)
this.orderFlag = true;
});*/
});
}
},
closeAdd(data) {
......
......@@ -477,7 +477,7 @@
lessonData.classID=this.classID;
lessonData.nowTime = Date.parse(new Date());
lessonData.course_title =this.secActions.course_title
// console.log(lessonData)
localStorage.setItem('lessonDetail',JSON.stringify(lessonData));
// console.log(query)
// debugger
......
......@@ -121,8 +121,6 @@
subUserLessonApi(elementId, category_id, periods_id, json).then((res) => {
this.totalStarNum = res.total_star_num
})
// const subUserLessonDatac = await subUserLessonApi(elementId, category_id, periods_id, json)
// this.totalStarNum = subUserLessonDatac.total_star_num
},
/**
* 提交成长记录
......@@ -230,15 +228,18 @@
<style lang="less" type="text/less">
@import "../../util/public";
html, body, #app {
height: 100%;
}
.evaluate-page {
width: 100%;
height: 100%;
background: #EEEEEE;
padding: 10 * @toVw 20 * @toVw 0;
padding: 10 * @toVw 20 * @toVw;
box-sizing: border-box;
.evaluate-content {
width: 100%;
height: 100%;
margin: auto;
padding: 0 26 * @toVw 10 * @toVw;
background: #fff;
......
......@@ -196,7 +196,6 @@
this.videoWidth = Number(document.documentElement.clientWidth) / 3.8;
},
mounted() {
console.log(this.contentData, 86876)
this.changeAge(this.contentData.age);
let that = this;
// console.log(document.documentElement.clientWidth)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment