From 6087ba7d24f2353c2d01a5e5a384d5a20f97a19b Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期一, 15 五月 2023 08:10:53 +0800
Subject: [PATCH] 增加路线规划,样式修改

---
 App.vue |   41 ++++++++++++++++++++++++++++++-----------
 1 files changed, 30 insertions(+), 11 deletions(-)

diff --git a/App.vue b/App.vue
index 5eb0a20..697e173 100644
--- a/App.vue
+++ b/App.vue
@@ -1,18 +1,37 @@
 <script>
-	export default {
-		onLaunch: function() {
-			console.log('App Launch')
-		},
-		onShow: function() {
-			console.log('App Show')
-		},
-		onHide: function() {
-			console.log('App Hide')
+import { mapState, mapMutations } from 'vuex';
+export default {
+	onShow() {},
+	onHide() {
+		console.log('appvue闅愯棌鍚庡彴');
+		this.changeisconnect(false);
+		if (!this.globalisconnect) {
+			uni.switchTab({
+				url: '/pages/tabbar-page/index-tabbar/index-tabbar'
+			});
 		}
+	},
+	methods: {
+		...mapMutations(['changeisconnect'])
+	},
+	computed: {
+		...mapState(['globalisconnect'])
 	}
+};
 </script>
 
 <style lang="scss" scoped>
-	/*姣忎釜椤甸潰鍏叡css */
-	@import '@/uni_modules/uview-ui/index.scss';
+/*姣忎釜椤甸潰鍏叡css */
+@import '@/uni_modules/uview-ui/index.scss';
+@font-face {
+	font-family: siYuanLight;
+	src: url('https://mx.jzeg.cn:9095/appimg/fonts/siyuannormal.OTF');
+}
+@font-face {
+	font-family: weighting;
+	src: url('https://mx.jzeg.cn:9095/appimg/fonts/weighting.TTF');
+}
+body {
+	font-family: siYuanLight, sans-serif;
+}
 </style>

--
Gitblit v1.9.1