diff --git a/App.vue b/App.vue index 38e724b..3bd0d60 100644 --- a/App.vue +++ b/App.vue @@ -4,6 +4,11 @@ export default { im: {} }, onLaunch: function() { + // 禁止旋转 + // #ifdef APP-PLUS + plus.screen.lockOrientation('portrait-primary'); + // #endif + getApp().globalData.im = this.imService console.log('App Launch'); // 缓存token diff --git a/pages/release/zhibo.nvue b/pages/release/zhibo.nvue index 5c8cbb0..f35ac31 100644 --- a/pages/release/zhibo.nvue +++ b/pages/release/zhibo.nvue @@ -139,7 +139,7 @@ font-size: 30rpx; color:#fff; width: 350rpx; - position: fixed; + position: absolute; top: 70rpx; left: 31rpx; height: 31rpx;