Commit 1b5b8e6f by sunerhu

1.分享H5 测试

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