This commit is contained in:
Aiden 2024-10-24 15:56:12 +08:00
parent 826fa0bf48
commit 36bba2c6ce
2 changed files with 43 additions and 16 deletions

View File

@ -33,6 +33,7 @@ export default {
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid, url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid,
success: () => { success: () => {
loading.value = false; loading.value = false;
plus.navigator.closeSplashscreen();
}, },
fail: () => { fail: () => {
loading.value = false; loading.value = false;
@ -48,6 +49,7 @@ export default {
url: "/pages/painting/index?id=" + state.id + "&pid=" + state.pid, url: "/pages/painting/index?id=" + state.id + "&pid=" + state.pid,
success: () => { success: () => {
loading.value = false; loading.value = false;
plus.navigator.closeSplashscreen();
}, },
fail: () => { fail: () => {
loading.value = false; loading.value = false;
@ -68,6 +70,7 @@ export default {
success: () => { success: () => {
loading.value = false; loading.value = false;
plus.navigator.closeSplashscreen();
}, },
fail: () => { fail: () => {
loading.value = false; loading.value = false;

View File

@ -5,36 +5,53 @@
"custom": { "custom": {
"^u--(.*)": "uview-plus/components/u-$1/u-$1.vue", "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^up-(.*)": "uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue" "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
} }
}, },
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/login/index", "path": "pages/login/index",
"style": { "style": {
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"enablePullDownRefresh": false "enablePullDownRefresh": false
},
"app-plus": {
"splashscreen": {
"alwaysShowBeforeRender": false,
"waiting": false,
"autoclose": false,
"delay": 0
}
}
}, },
"app-plus" : {
"splashscreen" : {
"alwaysShowBeforeRender" : false
}
}
},
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "添加画作", "navigationBarTitleText": "添加画作",
"enablePullDownRefresh": false "enablePullDownRefresh": false
},
"app-plus": {
"splashscreen": {
"alwaysShowBeforeRender": false,
"waiting": false,
"autoclose": false,
"delay": 0
}
} }
}, },
{ {
"path": "pages/painting/index", "path": "pages/painting/index",
"style": { "style": {
"navigationBarTitleText": "入库", "navigationBarTitleText": "入库",
"enablePullDownRefresh": false "enablePullDownRefresh": false
},
"app-plus": {
"splashscreen": {
"alwaysShowBeforeRender": false,
"waiting": false,
"autoclose": false,
"delay": 0
}
} }
}, },
{ {
@ -42,7 +59,14 @@
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
},
"app-plus": {
"splashscreen": {
"alwaysShowBeforeRender": false,
"waiting": false,
"autoclose": false,
"delay": 0
}
} }
} }
], ],
@ -52,4 +76,4 @@
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
} }
} }