mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交二维码问题
This commit is contained in:
@@ -703,11 +703,11 @@ export default {
|
|||||||
//动态的地址
|
//动态的地址
|
||||||
//urlPre=urlPre+'/m?returnUrl='+urlPre+'/mobile/pages/login/loading?returnUrl=';
|
//urlPre=urlPre+'/m?returnUrl='+urlPre+'/mobile/pages/login/loading?returnUrl=';
|
||||||
//固定的地址
|
//固定的地址
|
||||||
let mobilePre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
let returnUrl=urlPre+'/mobile/pages/login/loading?returnUrl=/pages/study/courseStudy?id='+row.id;
|
||||||
this.qrcode = mobilePre+'/pages/resource/microDetail?id='+row.id;
|
let mobilePre=urlPre+'/m?returnUrl=';
|
||||||
this.pcDetailUrl=urlPre+this.webBaseUrl+'/course/micro?id='+row.id;
|
this.qrcode = mobilePre+encodeURIComponent(returnUrl);
|
||||||
|
this.pcDetailUrl=urlPre+this.webBaseUrl+'/course/studyindex?id='+row.id;
|
||||||
if(row.type==20){
|
if(row.type==20){
|
||||||
this.qrcode = mobilePre+'/pages/resource/courseDetail?id='+row.id;
|
|
||||||
this.pcDetailUrl=urlPre+this.webBaseUrl+'/course/detail?id='+row.id;
|
this.pcDetailUrl=urlPre+this.webBaseUrl+'/course/detail?id='+row.id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -257,13 +257,10 @@ export default {
|
|||||||
},
|
},
|
||||||
showQrimage(){
|
showQrimage(){
|
||||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||||
let returnUrl='https://u.boe.com/mobile/pages/login/loading?returnUrl=/pages/resource/courseDetail?id='+this.courseInfo.id;
|
|
||||||
// this.qrcode = this.webBaseUrl+'/mobile/pages/resource/courseDetail?id='+this.courseInfo.id;
|
let returnUrl=urlPre+'/mobile/pages/login/loading?returnUrl=/pages/study/courseStudy?id='+this.courseInfo.id;
|
||||||
returnUrl=encodeURIComponent(returnUrl);
|
returnUrl=encodeURIComponent(returnUrl);
|
||||||
//urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
this.qrcode =urlPre+'/m?returnUrl='+returnUrl;
|
||||||
//this.qrcode = urlPre+'/pages/resource/courseDetail?id='+this.courseInfo.id;
|
|
||||||
//console.log(this.qrcode,'qrcode');
|
|
||||||
this.qrcode ='https://u.boe.com/m?returnUrl='+returnUrl;
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.crateQrcode();
|
this.crateQrcode();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user