From eb9838ebbf1017bbe2fbe981dfc4be2bf26528e7 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期一, 02 三月 2026 09:25:36 +0800
Subject: [PATCH] #
---
App.vue | 93 +++++++++++++++++++++++++++-------------------
1 files changed, 54 insertions(+), 39 deletions(-)
diff --git a/App.vue b/App.vue
index bf8fccd..de4cdae 100644
--- a/App.vue
+++ b/App.vue
@@ -1,49 +1,64 @@
<script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
+export default {
+ onLaunch: function () {
+ console.log('App Launch')
+
+ // 鍒濆鍖栭粯璁ゅ簲鐢ㄨ缃�
+ let appSettings = uni.getStorageSync('appSettings')
+ if (!appSettings) {
+ appSettings = {
+ orderReviewRequired: false,
+ orderPakinRequiresMainList: false,
+ orderDetlMultiSelect: false,
+ orderCombNeedSplit: true,
+ orderCombSeparator: ';',
+ orderCombArrayIndex: 0,
+ orderCombStartPos: 3
+ }
+ uni.setStorageSync('appSettings', appSettings)
}
+ },
+ onShow: function () {
+ console.log('App Show')
+ },
+ onHide: function () {
+ console.log('App Hide')
}
+}
</script>
<style lang="scss">
- /*姣忎釜椤甸潰鍏叡css */
- @import "@/uni_modules/uview-ui/index.scss";
- @import "colorui/main.css";
- @import "colorui/icon.css";
+/*姣忎釜椤甸潰鍏叡css */
+@import '@/uni_modules/uview-ui/index.scss';
+@import 'colorui/main.css';
+@import 'colorui/icon.css';
- /* 寮曞叆瀛椾綋鏂囦欢 */
- @font-face {
- font-family: a4;
- src: url('@/static/family/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
- }
+/* 寮曞叆瀛椾綋鏂囦欢 */
+@font-face {
+ font-family: a4;
+ src: url('@/static/family/HarmonyOS_Sans_SC_Regular.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+}
- @font-face {
- font-family: a3;
- src: url('@/static/family/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
- font-weight: 300;
- font-style: normal;
- }
+@font-face {
+ font-family: a3;
+ src: url('@/static/family/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
+ font-weight: 300;
+ font-style: normal;
+}
- @font-face {
- font-family: a1;
- src: url('@/static/family/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
- font-weight: bold;
- font-style: normal;
- }
+@font-face {
+ font-family: a1;
+ src: url('@/static/family/HarmonyOS_Sans_SC_Bold.ttf') format('truetype');
+ font-weight: bold;
+ font-style: normal;
+}
- @font-face {
- font-family: a2;
- src: url('@/static/family/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
- font-weight: 900;
- font-style: normal;
- }
-</style>
\ No newline at end of file
+@font-face {
+ font-family: a2;
+ src: url('@/static/family/HarmonyOS_Sans_SC_Black.ttf') format('truetype');
+ font-weight: 900;
+ font-style: normal;
+}
+</style>
--
Gitblit v1.9.1