mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 22:36:43 +08:00
修改 二维码生成的路径
This commit is contained in:
@@ -249,10 +249,13 @@ 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;
|
// this.qrcode = this.webBaseUrl+'/mobile/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||||
urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
returnUrl=encodeURIComponent(returnUrl);
|
||||||
this.qrcode = urlPre+'/pages/resource/courseDetail?id='+this.courseInfo.id;
|
//urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
||||||
|
//this.qrcode = urlPre+'/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||||
//console.log(this.qrcode,'qrcode');
|
//console.log(this.qrcode,'qrcode');
|
||||||
|
this.qrcode ='https://u.boe.com/m?returnUrl='+returnUrl;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.crateQrcode();
|
this.crateQrcode();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portal-content xcontent">
|
<div class="portal-content xcontent" style="margin-top: 20px;">
|
||||||
<el-card :body-style="{ padding: '0px', 'min-height': '500px' }">
|
<el-card :body-style="{ padding: '0px', 'min-height': '500px' }">
|
||||||
<el-row class="detail">
|
<el-row class="detail">
|
||||||
<el-col :span="18">
|
<el-col :span="18">
|
||||||
|
|||||||
Reference in New Issue
Block a user