提交一下

This commit is contained in:
daihh
2022-06-16 09:46:43 +08:00
parent a262829f10
commit 805424a365
2 changed files with 8 additions and 7 deletions

View File

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

View File

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