Merge branch 'master' of https://codeup.aliyun.com/66da74bcd660318010cc8b9c/jsy-app
This commit is contained in:
commit
e91d9bebad
@ -16,6 +16,12 @@
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#39ac4f"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/index-list",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#39ac4f"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/agricultural/index",
|
||||
|
38
pages/index-list.vue
Normal file
38
pages/index-list.vue
Normal file
@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<view>横向列表页面</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import store from "@/store"
|
||||
import plus from "@/plugins"
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
onLoad() {
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation('landscape-primary');
|
||||
plus.navigator.setFullscreen(true);
|
||||
// #endif
|
||||
},
|
||||
onShow() {},
|
||||
methods: {
|
||||
openLand() {
|
||||
this.$refs.refLand.open();
|
||||
},
|
||||
change(e) {
|
||||
console.log('change', e);
|
||||
},
|
||||
toList() {
|
||||
uni.navigateTo({
|
||||
url: `/pages/index-list/index-list`
|
||||
})
|
||||
},
|
||||
toQRCode() {},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
@ -191,7 +191,8 @@
|
||||
</u-col>
|
||||
<u-col span="5" style="align-items: flex-end;">
|
||||
<view class="fixed">
|
||||
<u-button type="success" size="mini" text="刷新" icon="reload"></u-button>
|
||||
<u-button type="success" size="mini" text="刷新"
|
||||
icon="reload"></u-button>
|
||||
</view>
|
||||
</u-col>
|
||||
</u-row>
|
||||
@ -233,6 +234,12 @@
|
||||
onLoad() {
|
||||
// uni.$emit("mqtt-link");
|
||||
},
|
||||
onShow() {
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
plus.navigator.setFullscreen(false);
|
||||
// #endif
|
||||
},
|
||||
methods: {
|
||||
openLand() {
|
||||
this.$refs.refLand.open();
|
||||
|
Loading…
Reference in New Issue
Block a user