1234567891011121314151617181920212223242526272829303132333435363738 |
- <script>
- export default {
- onLaunch() {
- //#ifdef APP-PLUS
- // plus.screen.lockOrientation('landscape-primary'); // 强制横屏
- plus.screen.lockOrientation('portrait-primary'); // 强制竖屏
- //#endif
- },
- onShow() {},
- onHide() {},
- data() {
- return {
- }
- },
- created() {
- },
- methods: {
- }
- }
- </script>
- <style lang="stylus">
- page{
- height:100%;
- width:100%;
- background:#f5f5f5;
- font-family: PingFang SC;
- font-weight: 400;
- font-size:30rpx;
- color:#333;
- flex:1;
- display: flex;
- flex-direction: column;
- overflow: hidden
- }
- </style>
|