Commit 1b5b8e6f by sunerhu

1.分享H5 测试

parent 8d5dc264
......@@ -177,9 +177,9 @@
jumpapp() {
let platform = uni.getSystemInfoSync().platform
if (platform == 'ios') {
window.open("https://mdev.zuihuibi.cn/cffp");
window.location.href = "https://mcffp.anjibao.cn/app/";
} else if (platform == 'android') {
window.open("https://mdev.zuihuibi.cn/cffp");
window.open('cffpapp://');
}
},
goBack() {
......@@ -281,11 +281,13 @@
},
// 课程详情页面
courseDetail() {
console.log(this.fileId, 545545)
api.courseDetail({
fileId: this.fileId,
userId: this.userId,
packFileId: this.courseInfo.packFileId
}).then(res => {
console.log(res, 22554)
if (res['success']) {
this.courseInfo = res['data']['data'];
this.lecturerId = res['data']['data']['fileLecturerId'];
......
......@@ -141,7 +141,7 @@
computed:{
totalPrice(){
if(this.isDeduction){
return this.courseInfoItem.coursePrice - this.deductionCore * this.intergralInfo.preFortune
return (this.courseInfoItem.coursePrice - this.deductionCore * this.intergralInfo.preFortune).toFixed(2)
}else{
return this.courseInfoItem.coursePrice;
}
......
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