update 扫码

This commit is contained in:
qijq 2025-08-01 12:09:37 +08:00
parent 6cb98e9f37
commit 040b6fb4ca
2 changed files with 1444 additions and 1417 deletions

18
App.vue
View File

@ -35,6 +35,15 @@ export default {
uni.setStorageSync("activity_id", options.query.activity_id); uni.setStorageSync("activity_id", options.query.activity_id);
} }
//
if (options.ulr = 'pagesub/index/store') {
const scene = decodeURIComponent(options.query.scene);
wx.navigateTo({
url: `/${options.path}?${scene}`
});
}
let that = this; let that = this;
uni.getSystemInfo({ uni.getSystemInfo({
@ -273,6 +282,15 @@ export default {
"reloadUserResource", "reloadUserResource",
"setMsgNum", "setMsgNum",
]), ]),
parseScene(scene) {
// scene"page=pages/detail/index&id=123"
const params = {};
scene.split('&').forEach(item => {
const [key, value] = item.split('=');
params[key] = value;
});
return params;
},
/* /*
setData : function (params) { setData : function (params) {
for (let x in params) { for (let x in params) {

View File

@ -169,7 +169,8 @@
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "transparent", "type": "transparent",
"buttons": [{ "buttons": [
{
"type": "menu" "type": "menu"
}, },
{ {
@ -185,7 +186,8 @@
"h5": { "h5": {
"titleNView": { "titleNView": {
"type": "transparent", "type": "transparent",
"buttons": [{ "buttons": [
{
"type": "menu" "type": "menu"
}, },
{ {
@ -246,7 +248,8 @@
}, },
{ {
"root": "member", "root": "member",
"pages": [{ "pages": [
{
"path": "member/protocol", "path": "member/protocol",
"style": { "style": {
"navigationBarTitleText": "协议" "navigationBarTitleText": "协议"
@ -525,7 +528,6 @@
} }
}, },
{ {
"path": "order/detail", "path": "order/detail",
"style": { "style": {
@ -579,7 +581,6 @@
} }
}, },
{ {
"path": "cash/recharge", "path": "cash/recharge",
"style": { "style": {
@ -654,7 +655,8 @@
}, },
{ {
"root": "activity", "root": "activity",
"pages": [{ "pages": [
{
"path": "coupon/list", "path": "coupon/list",
"style": { "style": {
"navigationBarTitleText": "领取优惠券" "navigationBarTitleText": "领取优惠券"
@ -685,7 +687,6 @@
} }
}, },
{ {
"path": "cutprice/userlist", "path": "cutprice/userlist",
"style": { "style": {
@ -718,7 +719,6 @@
} }
}, },
{ {
"path": "fightgroup/order", "path": "fightgroup/order",
"style": { "style": {
@ -835,7 +835,6 @@
} }
}*/ }*/
] ]
}, },
{ {
@ -952,9 +951,11 @@
"navigationBarTitleText": "微小店", "navigationBarTitleText": "微小店",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"buttons": [{ "buttons": [
{
"type": "share" "type": "share"
}] }
]
} }
}, },
"h5": { "h5": {
@ -971,9 +972,11 @@
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "transparent", "type": "transparent",
"buttons": [{ "buttons": [
{
"type": "share" "type": "share"
}] }
]
} }
}, },
"h5": { "h5": {
@ -1005,9 +1008,11 @@
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "transparent", "type": "transparent",
"buttons": [{ "buttons": [
{
"type": "share" "type": "share"
}] }
]
} }
}, },
"h5": { "h5": {
@ -1036,9 +1041,11 @@
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "transparent", "type": "transparent",
"buttons": [{ "buttons": [
{
"type": "share" "type": "share"
}] }
]
} }
}, },
"h5": { "h5": {
@ -1075,7 +1082,8 @@
}, },
{ {
"root": "chain", "root": "chain",
"pages": [{ "pages": [
{
"path": "chain/list", "path": "chain/list",
"style": { "style": {
"navigationBarTitleText": "附近门店" "navigationBarTitleText": "附近门店"
@ -1110,7 +1118,6 @@
{ {
"root": "integral", "root": "integral",
"pages": [ "pages": [
{ {
"path": "integral/integral", "path": "integral/integral",
"style": { "style": {
@ -1147,12 +1154,12 @@
"navigationBarTitleText": "消费记录" "navigationBarTitleText": "消费记录"
} }
} }
] ]
}, },
{ {
"root": "community", "root": "community",
"pages": [{ "pages": [
{
"path": "community/lists", "path": "community/lists",
"style": { "style": {
"navigationBarTitleText": "帖子列表" "navigationBarTitleText": "帖子列表"
@ -1284,7 +1291,8 @@
// }, // },
{ {
"root": "seller", "root": "seller",
"pages": [{ "pages": [
{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "商家中心", "navigationBarTitleText": "商家中心",
@ -1434,7 +1442,8 @@
}, },
{ {
"root": "hall", "root": "hall",
"pages": [{ "pages": [
{
"path": "purchase/add", "path": "purchase/add",
"style": { "style": {
"navigationBarTitleText": "发布采购" "navigationBarTitleText": "发布采购"
@ -1468,7 +1477,8 @@
}, },
{ {
"root": "im", "root": "im",
"pages": [{ "pages": [
{
"path": "chat/chat", "path": "chat/chat",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
@ -1482,7 +1492,6 @@
} }
] ]
} }
], ],
"globalStyle": { "globalStyle": {