| | |
| | | "name" : "智云LMES", |
| | | "appid" : "__UNI__B002F49", |
| | | "description" : "", |
| | | "versionName" : "1.0.78", |
| | | "versionCode" : 178, |
| | | "versionName" : "1.0.80", |
| | | "versionCode" : 180, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | { |
| | | "navigationBarTitleText" : "" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/white/white", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "" |
| | | } |
| | | } |
| | | ], |
| | | "tabBar": { |
| | |
| | | }) |
| | | } |
| | | let pageMode = e.pageMode || 'vertical' |
| | | if (pageMode == 'horizontal') { |
| | | plus.screen.lockOrientation('landscape-primary'); |
| | | } else { |
| | | plus.screen.lockOrientation('portrait-primary'); |
| | | } |
| | | // #ifdef APP-PLUS |
| | | uni.showLoading({ |
| | | title: "加载中..." |
| | | }) |
| | | setTimeout(() => { |
| | | plus.screen.unlockOrientation(); |
| | | if (pageMode == 'horizontal') { |
| | | plus.screen.lockOrientation('landscape-primary'); |
| | | } else { |
| | | plus.screen.lockOrientation('portrait-primary'); |
| | | } |
| | | uni.hideLoading(); |
| | | }, 800) |
| | | //#endif |
| | | |
| | | |
| | | |
| | | }, |
| | | onUnload() { |
| | | async onUnload() { |
| | | // 恢复到竖屏 |
| | | plus.screen.unlockOrientation() |
| | | plus.screen.lockOrientation('portrait-primary'); |
| | | } |
| | | }, |
| | | } |
| | | </script> |
| | | |
| New file |
| | |
| | | <template> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'white', |
| | | data() { |
| | | return { |
| | | |
| | | } |
| | | }, |
| | | onLoad: () => { |
| | | uni.navigateBack() |
| | | }, |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | </style> |