From bc67eb7b9a46c3abedbde46c4989894e9712e99f Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Thu, 21 May 2026 10:03:24 +0800
Subject: [PATCH] UI:小猪优选IOS立即更新隐藏及收藏购物车顶部样式优化
---
App.vue | 36 ++++++++++++++++++++++--------------
1 files changed, 22 insertions(+), 14 deletions(-)
diff --git a/App.vue b/App.vue
index df3e9ab..4328f68 100644
--- a/App.vue
+++ b/App.vue
@@ -6,8 +6,8 @@
if(args){
// 处理args参数,如直达到某新页面等
console.log('args', args)
- if(args.indexOf('lzzzsc-app') >= 0) {
- args = args.replace("lzzzsc-app://", "/")
+ if(args.indexOf('pig-app') >= 0) {
+ args = args.replace("pig-app://", "/")
return uni.redirectTo({
url: args
})
@@ -21,7 +21,7 @@
console.log('getConfig', res.data)
if(res.code == 1){
try {
- const token = uni.getStorageSync('lzsc-token');
+ const token = uni.getStorageSync('pig-token');
if (!token) {
/*
uni.redirectTo({
@@ -59,17 +59,17 @@
updesc = res.data.android.desc
}
if (downUrl && updateFlag) {
- uni.showModal({
- showCancel: false,
- confirmText: '立即更新',
- title: '温馨提示!',
- content: updesc || '有最新版本,请更新APP!',
- success: res => {
- if (res.confirm) {
- plus.runtime.openURL(downUrl)
- }
- }
- })
+ // uni.showModal({
+ // showCancel: false,
+ // confirmText: '立即更新',
+ // title: '温馨提示!',
+ // content: updesc || '有最新版本,请更新APP!',
+ // success: res => {
+ // if (res.confirm) {
+ // plus.runtime.openURL(downUrl)
+ // }
+ // }
+ // })
}
})
// #endif
@@ -82,6 +82,14 @@
</script>
<style>
+ uni-view {
+ box-sizing: border-box;
+ }
+ checkbox .uni-checkbox-input {
+ border-radius: 50%;
+ width: 38rpx;
+ height: 38rpx
+}
/*每个页面公共css */
.startBar {
width: 100%;
--
Gitblit v1.9.3