cashier-paid/pages/index/index.vue

40 lines
671 B
Vue

<template>
<view class="content">
<web-view src="http://192.168.1.55:5175/"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('default');
plus.navigator.setFullscreen(true);//隐藏状态栏
// #endif
},
onReady() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('landscape-primary');
// #endif
},
// // 页面关闭时清除横屏正方向
// onUnload() {
// // #ifdef APP-PLUS
// plus.screen.lockOrientation('portrait-primary');
// // #endif
// },
methods: {
}
}
</script>
<style>
</style>