Merge branch 'dev'

This commit is contained in:
daihh
2022-06-16 10:20:32 +08:00
2 changed files with 8 additions and 7 deletions

View File

@@ -165,12 +165,12 @@ export default {
};
},
mounted() {
let id = this.$route.query.id;
this.courseInfo.id=id;
this.$watermark.set(this.userInfo.name+this.userInfo.loginName);
//this.stuStusts=0;
this.loadResOwners();
let id = this.$route.query.id;
this.courseInfo.id=id;
let $this=this;
//页面只支取一次,所以先直接写在这里面
apiCoursePortal.detail(id).then(rs=>{

View File

@@ -401,11 +401,12 @@ export default {
};
},
mounted() {
let id = this.$route.query.id;
this.courseInfo.id = id;
this.showQrimage();
this.$watermark.set(this.userInfo.name+this.userInfo.loginName);
this.loadResOwners();
let id = this.$route.query.id;
this.courseInfo.id = id;
let $this = this;
//页面只支取一次,所以先直接写在这里面
apiCoursePortal.detail(id).then(rs => {
@@ -1230,8 +1231,8 @@ export default {
.qrcode{
display: inline-block;
img {
width: 132px;
height: 132px;
width: 200px;
height: 200px;
background-color: #fff; //设置白色背景色
padding: 6px; // 利用padding的特性挤出白边
box-sizing: border-box;