diff --git a/pages.json b/pages.json
index 3281b76..8df9a78 100644
--- a/pages.json
+++ b/pages.json
@@ -16,6 +16,12 @@
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#39ac4f"
}
+ }, {
+ "path": "pages/index-list",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationBarBackgroundColor": "#39ac4f"
+ }
},
{
"path": "pages/agricultural/index",
diff --git a/pages/index-list.vue b/pages/index-list.vue
new file mode 100644
index 0000000..d64e6e5
--- /dev/null
+++ b/pages/index-list.vue
@@ -0,0 +1,38 @@
+
+ 横向列表页面
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 24ee5ec..3e3ffcf 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -179,19 +179,20 @@
-
- 60
-
+
+ 60
+
+
+
+
+ 26.2
-
-
- 26.2
-
-
+
@@ -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();