diff --git a/components/ay-qrcode/ay-qrcode.vue b/components/ay-qrcode/ay-qrcode.vue index 76e7bfa..b827f6e 100644 --- a/components/ay-qrcode/ay-qrcode.vue +++ b/components/ay-qrcode/ay-qrcode.vue @@ -366,8 +366,8 @@ .canvas-qrcode { margin: auto; - display: inline-block; - float: left; + // display: inline-block; + // float: left; } diff --git a/pages/index/index-home.vue b/pages/index/index-home.vue index 159bb68..4df7932 100644 --- a/pages/index/index-home.vue +++ b/pages/index/index-home.vue @@ -6,10 +6,10 @@ + :style="'width: 120rpx; height: 120rpx; background-image:url(' + curUserInfo.deptLogoUrl + ');'"> - {{curUserInfo.name}} + {{curUserInfo.deptName}} diff --git a/pages/index/index.vue b/pages/index/index.vue index f5bf32f..0aff32d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -29,9 +29,12 @@ curPageCode: 'indexPage' } }, - onLoad() { + onLoad(options) { this.loadData(); - this.bindEvent(); + this.bindEvent(); + if (options && options.menuCode) { + this.changeCurPageCode(options.menuCode) + } }, onUnload() { this.offEvent(); @@ -62,7 +65,11 @@ uni.$off('getCurPageInfo') }, changeCurPageCode(targetPageCode) { - this.$refs.moduleBar.navChangeByCode(targetPageCode, true); + // #ifdef MP + this.$nextTick(() => { + this.$refs.moduleBar.navChangeByCode(targetPageCode, true); + }) + // #endif } } } diff --git a/pages/my/new-serv.vue b/pages/my/new-serv.vue index 506f5eb..dc4bd38 100644 --- a/pages/my/new-serv.vue +++ b/pages/my/new-serv.vue @@ -1,483 +1,556 @@ -