mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
二维码生成地址 的修改
This commit is contained in:
@@ -519,7 +519,7 @@ export default {
|
||||
this.params.sysType1 = '';
|
||||
this.params.sysType2 = '';
|
||||
this.params.sysType3 = '';
|
||||
|
||||
|
||||
this.searchData(true);
|
||||
},
|
||||
...mapActions({
|
||||
@@ -663,9 +663,13 @@ export default {
|
||||
this.qrcodeShow = true;
|
||||
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
this.qrcode = urlPre+'/mobile/pages/resource/microDetail?id='+row.id;
|
||||
//动态的地址
|
||||
urlPre=urlPre+'/m?returnUrl='+urlPre+'/mobile/pages/login/loading?returnUrl=';
|
||||
//固定的地址
|
||||
urlPre='https://u.boe.com/m?returnUrl=https://u.boe.com/mobile/pages/login/loading?returnUrl=';
|
||||
this.qrcode = urlPre+'/pages/resource/microDetail?id='+row.id;
|
||||
if(row.type==20){
|
||||
this.qrcode = urlPre+'/mobile/pages/resource/courseDetail?id='+row.id;
|
||||
this.qrcode = urlPre+'/pages/resource/courseDetail?id='+row.id;
|
||||
}
|
||||
|
||||
// 使用$nextTick确保数据渲染
|
||||
|
||||
@@ -216,7 +216,7 @@ export default {
|
||||
this.$message.error(rs.message);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
// this.getResOwnerTree().then(rs=>{
|
||||
// this.resOwnerListMap=rs;
|
||||
// });
|
||||
@@ -231,8 +231,9 @@ export default {
|
||||
showQrimage(){
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
// this.qrcode = this.webBaseUrl+'/mobile/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
this.qrcode = urlPre+'/mobile/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
console.log(this.qrcode,'qrcode');
|
||||
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');
|
||||
this.$nextTick(() => {
|
||||
this.crateQrcode();
|
||||
});
|
||||
@@ -312,7 +313,7 @@ export default {
|
||||
list.forEach((item,index)=>{
|
||||
res.result.some(author=>{
|
||||
if(author.aid==item.teacherId){
|
||||
|
||||
|
||||
if(author.avatar){
|
||||
item.avatar=this.fileBaseUrl + author.avatar;
|
||||
}
|
||||
@@ -647,7 +648,7 @@ export default {
|
||||
height: 68px;
|
||||
text-align: center;
|
||||
line-height: 68px;
|
||||
|
||||
|
||||
div{
|
||||
img{
|
||||
width: 68px;
|
||||
|
||||
@@ -521,7 +521,8 @@ export default {
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
// https://u.boe.com/mobile/pages/resource/microDetail?id=963456709515939840
|
||||
// this.qrcode = this.webBaseUrl+'/mobile/pages/resource/microDetail?id='+this.courseInfo.id;
|
||||
this.qrcode =urlPre+ '/mobile/pages/resource/microDetail?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/microDetail?id='+this.courseInfo.id;
|
||||
//console.log(this.qrcode,'qrcode');
|
||||
this.$nextTick(() => {
|
||||
this.crateQrcode();
|
||||
|
||||
@@ -364,7 +364,7 @@ export default {
|
||||
}else{
|
||||
this.blobUrl=process.env.VUE_APP_BASE_API+'/xboe/m/course/cware/resource?sign='+urlSign;
|
||||
}
|
||||
console.log(this.blobUrl,'this.blobUrl');
|
||||
//console.log(this.blobUrl,'this.blobUrl');
|
||||
},
|
||||
widthOpen(url) {
|
||||
window.open(url, '_blank');
|
||||
|
||||
Reference in New Issue
Block a user