From 6fbae9b32c38f9640ecdce5f613b3480a0b19dd1 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Sat, 13 Jun 2026 12:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86=20pages=20=E5=90=8D?= =?UTF-8?q?=E4=B8=BA=E6=8B=BC=E9=9F=B3=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E9=83=A8=E5=88=86=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 10 +- images/_exit.png | Bin 0 -> 3525 bytes images/{fenlei.png => category.png} | Bin images/{yiwancheng.png => completed.png} | Bin images/{tuichu.png => exit.png} | Bin images/{jinpaidashou.png => gold-fighter.png} | Bin images/{zhuye.png => home.png} | Bin images/{xiaoxi.png => messages.png} | Bin images/mine.png | Bin 0 -> 2621 bytes images/{gonggao.png => notice.png} | Bin images/{jiedanchi.png => order-pool.png} | Bin images/{dingdan.png => orders.png} | Bin images/{goumai.png => purchase.png} | Bin images/{shuaxin.png => refresh.png} | Bin images/{yituikuan.png => refunded.png} | Bin images/{sousuo.png => search.png} | Bin images/{tiaoxuan.png => select.png} | Bin images/{weixinzhifu.png => wechat-pay.png} | Bin images/wode.png | Bin 10677 -> 0 bytes images/{zhuanqu.png => zone.png} | Bin pages/accept-order/accept-order.wxml | 2 +- pages/assessor/assessor.json | 2 +- pages/assessor/assessor.wxml | 2 +- pages/category/category.json | 2 +- pages/category/category.wxml | 4 +- pages/fighter-orders/fighter-orders.wxml | 2 +- pages/fighter/fighter.js | 6 + pages/fighter/fighter.json | 2 +- pages/fighter/fighter.wxml | 15 +- pages/fighter/fighter.wxss | 730 +++++++----------- pages/gold-fighter/gold-fighter.json | 2 +- pages/gold-fighter/gold-fighter.wxml | 2 +- pages/index/index.json | 2 +- pages/index/index.wxml | 342 ++++---- pages/leader/leader.json | 2 +- pages/leader/leader.wxml | 2 +- pages/manager/manager.json | 2 +- pages/manager/manager.wxml | 2 +- .../merchant-dispatch/merchant-dispatch.wxml | 354 +++++---- .../merchant-dispatch/merchant-dispatch.wxss | 713 ++++++++--------- pages/merchant-orders/merchant-orders.wxml | 2 +- pages/merchant/merchant.js | 6 + pages/merchant/merchant.json | 2 +- pages/merchant/merchant.wxml | 14 +- pages/messages/messages.json | 2 +- pages/messages/messages.wxml | 2 +- pages/mine/mine.json | 2 +- pages/mine/mine.wxml | 2 +- pages/mine/mine.wxss | 510 ++++++------ pages/pick-user/pick-user.json | 2 +- pages/pick-user/pick-user.wxml | 2 +- pages/submit/submit.wxml | 2 +- {custom-tab-bar => tab-bar}/index.js | 24 +- {custom-tab-bar => tab-bar}/index.json | 0 {custom-tab-bar => tab-bar}/index.wxml | 2 +- {custom-tab-bar => tab-bar}/index.wxss | 4 +- utils/chat-core.js | 2 +- 57 files changed, 1317 insertions(+), 1463 deletions(-) create mode 100644 images/_exit.png rename images/{fenlei.png => category.png} (100%) rename images/{yiwancheng.png => completed.png} (100%) rename images/{tuichu.png => exit.png} (100%) rename images/{jinpaidashou.png => gold-fighter.png} (100%) rename images/{zhuye.png => home.png} (100%) rename images/{xiaoxi.png => messages.png} (100%) create mode 100644 images/mine.png rename images/{gonggao.png => notice.png} (100%) rename images/{jiedanchi.png => order-pool.png} (100%) rename images/{dingdan.png => orders.png} (100%) rename images/{goumai.png => purchase.png} (100%) rename images/{shuaxin.png => refresh.png} (100%) rename images/{yituikuan.png => refunded.png} (100%) rename images/{sousuo.png => search.png} (100%) rename images/{tiaoxuan.png => select.png} (100%) rename images/{weixinzhifu.png => wechat-pay.png} (100%) delete mode 100644 images/wode.png rename images/{zhuanqu.png => zone.png} (100%) rename {custom-tab-bar => tab-bar}/index.js (76%) rename {custom-tab-bar => tab-bar}/index.json (100%) rename {custom-tab-bar => tab-bar}/index.wxml (93%) rename {custom-tab-bar => tab-bar}/index.wxss (96%) diff --git a/app.json b/app.json index 3c5f34c..225097d 100644 --- a/app.json +++ b/app.json @@ -69,7 +69,7 @@ "usingComponents": { "popup-notice": "/components/popup-notice/popup-notice", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "window": { @@ -87,14 +87,14 @@ { "pagePath": "pages/order-pool/order-pool", "text": "接单池", - "iconPath": "/images/jiedanchi.png", - "selectedIconPath": "/images/jiedanchi.png" + "iconPath": "/images/order-pool.png", + "selectedIconPath": "/images/order-pool.png" }, { "pagePath": "pages/order-pool2/order-pool2", "text": "接单池", - "iconPath": "/images/jiedanchi.png", - "selectedIconPath": "/images/jiedanchi.png" + "iconPath": "/images/order-pool.png", + "selectedIconPath": "/images/order-pool.png" } ] diff --git a/images/_exit.png b/images/_exit.png new file mode 100644 index 0000000000000000000000000000000000000000..e9ddd3acca0c584efc5df810723c138eb1141303 GIT binary patch literal 3525 zcmai1i91y5AAe^uxI;4Th?YT?jBuwZB~u}W8I)yYsqEUOWXTc{Q&P4jWh+aRu@6z% zGBSv9Z?{oHh?~edBU?tvHov3(fZutZ^PKm4&ih@S_xXN4-_MD&wI*#uZbbqBHd>I0 z6aZk*5(Xs2p@+-mqO zU(snO(n$;Ak>jCmQ=i^+d@{$h&3#Th*QQ&Su4mj;aHaSOS;YgfeD?1&#Fs{6AGM^~ zBA0F*S)JP0_{`TOsj_FT-=rbMC{igqFLg?#yi3yCQOQx*tZDK22PgCXtEafV-+!ou z%`Y+zU%j@nJ)Ay;S}*wjUEX+tbDSoT_`2TP>n#fP5$76JAB$d!QKaFk6z2>^2^yZY;j_WKvt?XL%nhKRkJ1X51Dj(uFdVoUqD zB)iX%Ph8FKlSgGNW{I(X3{yq zVjiJa+M#Bp_xY1aoW}G-=<*81UH^yw5kW3onPD-|r z3ju36nhsDX>hfMf^KPEOQ{>wHu7DhRVvWlsi|@u zyrvNRTnl=`1UXt-Jt^$dsoz=C;ZM|R%PGYnGQyekdSevF?dIaV(>YA_S@i&%M#;kkt z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8M4icziq((l+Snv1Xoe`_Jzz z@YfIiH~k*-^k1n|eQP19TpByy_1tE!&U1YJ+>NiZB=3HKmV7fXD^KY+&hNJh-0e5<}`jWjB zegi}0T{GLZB5yAsE=wI)?gxfiI2g6<<9!jnRNAtl z?&2GI&l1}#^j|U6c%-E@d--n06unD`gG$JxBTq6-+Tif{GuMl@j%AZYOwe6>I~!8>IGkihHbQ zZ?3MTz67f1nu0#aSmKw$zXpcahpt-E7ip-hnJud-3;aW8iG9!NEoP=}`Z)mO7;*WN zMioRFa9KZrMcaWT(*=ZEFg+DB+vhXZqHP!hOEssj40PgOF!K(0*LCP#J)!noK0Te=OQBl8v;WW)I$$$Z VGIQ$sKI6YzFhzBR8ad0b{{fX&GO7Ro diff --git a/images/zhuanqu.png b/images/zone.png similarity index 100% rename from images/zhuanqu.png rename to images/zone.png diff --git a/pages/accept-order/accept-order.wxml b/pages/accept-order/accept-order.wxml index ce757cf..56de902 100644 --- a/pages/accept-order/accept-order.wxml +++ b/pages/accept-order/accept-order.wxml @@ -216,5 +216,5 @@ - + \ No newline at end of file diff --git a/pages/assessor/assessor.json b/pages/assessor/assessor.json index 78582c0..31206e9 100644 --- a/pages/assessor/assessor.json +++ b/pages/assessor/assessor.json @@ -1,7 +1,7 @@ { "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index", + "tab-bar": "/tab-bar/index", "popup-notice": "/components/popup-notice/popup-notice" }, "navigationBarTitleText": "考核官", diff --git a/pages/assessor/assessor.wxml b/pages/assessor/assessor.wxml index 0e6853e..7641606 100644 --- a/pages/assessor/assessor.wxml +++ b/pages/assessor/assessor.wxml @@ -125,4 +125,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pages/category/category.json b/pages/category/category.json index 4af9065..2c3e377 100644 --- a/pages/category/category.json +++ b/pages/category/category.json @@ -1,6 +1,6 @@ { "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" } } \ No newline at end of file diff --git a/pages/category/category.wxml b/pages/category/category.wxml index 208f034..8e35f37 100644 --- a/pages/category/category.wxml +++ b/pages/category/category.wxml @@ -3,7 +3,7 @@ - + - + \ No newline at end of file diff --git a/pages/fighter-orders/fighter-orders.wxml b/pages/fighter-orders/fighter-orders.wxml index dd01c53..b74e1e4 100644 --- a/pages/fighter-orders/fighter-orders.wxml +++ b/pages/fighter-orders/fighter-orders.wxml @@ -109,4 +109,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pages/fighter/fighter.js b/pages/fighter/fighter.js index e4b9270..cc2f07e 100644 --- a/pages/fighter/fighter.js +++ b/pages/fighter/fighter.js @@ -126,6 +126,7 @@ Page({ iconContact: gsBase + 'icon-contact.png', avatarDefault: ossImageUrl + 'avatar/default.jpg', iconClear: ossImageUrl + 'beijing/tubiao/grzx_qingchu.jpg', + iconSwitch: '/images/_exit.png', iconKefu: ossImageUrl + 'beijing/tubiao/grzx_kefu.jpg', iconKuaishou: ossImageUrl + 'beijing/tubiao/grzx_guanzhualong.jpg', iconKaoheDafen: khBase + 'daofen.png', @@ -1181,4 +1182,9 @@ Page({ }, }); }, + + switchToNormal() { + lockPrimaryRole('normal'); + wx.reLaunch({ url: '/pages/mine/mine' }); + }, }) diff --git a/pages/fighter/fighter.json b/pages/fighter/fighter.json index e0b7415..42b7954 100644 --- a/pages/fighter/fighter.json +++ b/pages/fighter/fighter.json @@ -2,7 +2,7 @@ "usingComponents": { "global-notification": "/components/global-notification/global-notification", "chenghao-tag": "/components/chenghao-tag/chenghao-tag", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "navigationBarBackgroundColor": "#e8ecf4", "navigationBarTextStyle": "black", diff --git a/pages/fighter/fighter.wxml b/pages/fighter/fighter.wxml index 532e035..59b4daf 100644 --- a/pages/fighter/fighter.wxml +++ b/pages/fighter/fighter.wxml @@ -12,9 +12,13 @@ 平台直签注册 + + + 返回点单端 + - 清除缓存,回到点单端 + 清除缓存,重新登录 @@ -363,10 +367,15 @@ 用户规则 + + + 返回点单端 + + 清除缓存 - 回点单端 + 重新登录 @@ -380,5 +389,5 @@ - + diff --git a/pages/fighter/fighter.wxss b/pages/fighter/fighter.wxss index dfe67c9..6a299ba 100644 --- a/pages/fighter/fighter.wxss +++ b/pages/fighter/fighter.wxss @@ -1,14 +1,15 @@ +/* 打手端 */ + page { - background: #F8FAFE; - font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; + background: #f5f5f5; color: #1A1A1A; } -/* .page-bg 与全局相同,仅保留差异 */ .page-bg { opacity: 0.42; } +/* 未注册 */ .unreg-area { position: relative; z-index: 2; @@ -21,12 +22,10 @@ page { .unreg-card { width: 100%; - background: rgba(255, 255, 255, 0.78); - backdrop-filter: blur(25rpx); - border-radius: 32rpx; - padding: 40rpx 32rpx; - box-shadow: 0 12rpx 40rpx rgba(0, 0, 0, 0.05); - border: 1rpx solid rgba(255, 255, 255, 0.6); + background: #fff; + border-radius: 16rpx; + padding: 48rpx 36rpx; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06); } .unreg-title, @@ -35,107 +34,110 @@ page { font-weight: 700; color: #1A1A1A; display: block; - margin-bottom: 16rpx; + margin-bottom: 20rpx; } .section-title-sm { font-size: 26rpx; - margin-bottom: 12rpx; - color: #444; + margin-bottom: 0; + color: #333; } -/* .unreg-input 与 .input-rounded 类似,仅保留差异 */ .unreg-input { height: 80rpx; - border-radius: 40rpx; - margin-bottom: 16rpx; + border-radius: 12rpx; + margin-bottom: 20rpx; + background: #f7f7f7; + padding: 0 24rpx; + font-size: 28rpx; + border: 1rpx solid #e8e8e8; } -.ph { color: #999; } +.ph { color: #bbb; } -/* .unreg-btn 与 .btn .btn-secondary 类似,仅保留差异 */ .unreg-btn { width: 100%; height: 80rpx; - background: rgba(255, 255, 255, 0.65); - border-radius: 40rpx; - border: 1rpx solid rgba(0, 0, 0, 0.06); + background: #333; + border-radius: 12rpx; margin-bottom: 16rpx; + display: flex; + align-items: center; + justify-content: center; } -/* .unreg-btn-secondary 与 .btn-secondary 类似,仅保留差异 */ .unreg-btn-secondary { margin-bottom: 0; - background: rgba(255, 255, 255, 0.45); + background: #f5f5f5; + border: 1rpx solid #e0e0e0; +} + +.unreg-btn-secondary .unreg-btn-text { + color: #555; } .unreg-btn-text { font-size: 28rpx; font-weight: 600; + color: #fff; } .unreg-clear { display: flex; align-items: center; justify-content: center; - margin-top: 28rpx; + margin-top: 24rpx; padding-top: 20rpx; - border-top: 1rpx solid rgba(0, 0, 0, 0.05); + border-top: 1rpx solid #f0f0f0; } .unreg-clear-icon { width: 28rpx; height: 28rpx; - margin-right: 10rpx; - opacity: 0.65; + margin-right: 8rpx; + opacity: 0.5; } .unreg-clear-text { font-size: 22rpx; - color: #888; + color: #999; } +/* 主体 */ .main-body { position: relative; z-index: 2; padding: 0 24rpx 150rpx; } -/* .refresh-btn 与全局 .refresh-btn .refresh-btn--light 完全相同,删除 */ - -/* .refresh-icon 与全局 .refresh-icon 完全相同,删除 */ - +/* 用户卡片 */ .user-card { position: relative; - margin-top: 48rpx; - margin-bottom: 20rpx; - border-radius: 28rpx; + margin-top: 24rpx; + margin-bottom: 16rpx; + border-radius: 16rpx; overflow: hidden; - min-height: 120rpx; - box-shadow: 0 8rpx 28rpx rgba(0, 0, 0, 0.06); + background: #fff; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.05); } .user-card-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; + display: none; } .user-card-inner { - position: relative; - z-index: 1; display: flex; align-items: center; - padding: 20rpx 24rpx; - background: rgba(255, 255, 255, 0.72); - backdrop-filter: blur(12rpx); + padding: 24rpx; } -/* .user-avatar 与 .avatar-circle .avatar-md 类似,仅保留差异 */ .user-avatar { + width: 88rpx; + height: 88rpx; + border-radius: 50%; + border: 2rpx solid #f0f0f0; + object-fit: cover; + flex-shrink: 0; margin-right: 20rpx; } @@ -145,48 +147,47 @@ page { display: flex; align-items: center; flex-wrap: wrap; - margin-bottom: 8rpx; + margin-bottom: 6rpx; } .user-name { font-size: 30rpx; font-weight: 700; - margin-right: 6rpx; + margin-right: 8rpx; } .role-tags { display: flex; flex-wrap: wrap; - gap: 2rpx; + gap: 6rpx; align-items: center; - margin-left: 2rpx; } .role-tag { font-size: 18rpx; - padding: 4rpx 12rpx; - border-radius: 12rpx; - font-weight: 600; - line-height: 1.35; - border: 1rpx solid transparent; + padding: 2rpx 10rpx; + border-radius: 6rpx; + font-weight: 500; + line-height: 1.4; } -.role-tag-dashou { background: #e8edf3; color: #2c3e50; border-color: #b8c4d0; } -.role-tag-guanshi { background: #edf0ea; color: #3d5238; border-color: #c2d0bc; } -.role-tag-zuzhang { background: #f0ece8; color: #5c4a38; border-color: #d4c8b8; } -.role-tag-kaohe { background: #eceef3; color: #3a4460; border-color: #c0c8d8; } +.role-tag-dashou { background: #eef1f5; color: #4a5568; } +.role-tag-guanshi { background: #eef5ee; color: #3d6b3d; } +.role-tag-zuzhang { background: #f5f0eb; color: #7c5e3a; } +.role-tag-kaohe { background: #eef0f5; color: #4a5070; } .uid-row { display: inline-flex; align-items: center; - background: rgba(0, 0, 0, 0.03); - border-radius: 20rpx; - padding: 4rpx 14rpx; + background: #f7f7f7; + border-radius: 8rpx; + padding: 4rpx 12rpx; } -.uid-text { font-size: 22rpx; margin-right: 8rpx; } +.uid-text { font-size: 22rpx; color: #999; margin-right: 6rpx; } .copy-icon { width: 22rpx; height: 22rpx; } +/* 称号 */ .badge-zone { margin-bottom: 12rpx; } .badge-scroll { white-space: nowrap; } .badge-scroll-sub { margin-top: 6rpx; } @@ -198,58 +199,42 @@ page { margin-right: -12rpx; } -.section-card { margin-bottom: 22rpx; } -.section-last { margin-bottom: 32rpx; } +/* 分区卡片 */ +.section-card { margin-bottom: 16rpx; } +.section-last { margin-bottom: 24rpx; } .section-head-line { display: flex; align-items: center; - margin-bottom: 12rpx; + margin-bottom: 10rpx; + padding: 0 4rpx; } .section-head-icon { - width: 32rpx; - height: 32rpx; + width: 28rpx; + height: 28rpx; margin-right: 8rpx; - opacity: 0.88; + opacity: 0.6; } -.section-title-sm { - font-size: 22rpx; - margin-bottom: 0; - color: #555; - font-weight: 600; -} - -/* 黑卡 VIP */ +/* VIP充值 */ .vip-black-card { position: relative; - height: 152rpx; - border-radius: 28rpx; + height: 140rpx; + border-radius: 16rpx; overflow: hidden; - margin-bottom: 16rpx; - box-shadow: 0 12rpx 40rpx rgba(20, 20, 24, 0.18); + margin-bottom: 12rpx; + background: #1a1a2e; } .vip-black-bg { position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + top: 0; left: 0; + width: 100%; height: 100%; z-index: 0; } -.vip-black-overlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1; - background: linear-gradient(135deg, rgba(18, 18, 22, 0.72) 0%, rgba(38, 38, 44, 0.55) 100%); - pointer-events: none; -} +.vip-black-overlay { display: none; } .vip-black-body { position: relative; @@ -262,135 +247,145 @@ page { box-sizing: border-box; } -.vip-black-text { - flex: 1; - min-width: 0; -} +.vip-black-text { flex: 1; min-width: 0; } .vip-black-title { display: block; - font-size: 30rpx; + font-size: 28rpx; font-weight: 700; - color: #f3ead8; - letter-spacing: 1rpx; + color: #f0e6c8; } .vip-black-sub { display: block; font-size: 20rpx; - color: rgba(243, 234, 216, 0.62); - margin-top: 6rpx; + color: rgba(240,230,200,0.5); + margin-top: 4rpx; } .vip-black-action { flex-shrink: 0; - padding: 14rpx 28rpx; - background: linear-gradient(135deg, rgba(243, 234, 216, 0.22) 0%, rgba(243, 234, 216, 0.1) 100%); - border: 1rpx solid rgba(243, 234, 216, 0.35); + padding: 10rpx 24rpx; + border: 1rpx solid rgba(240,230,200,0.3); border-radius: 999rpx; } .vip-black-go { - font-size: 24rpx; + font-size: 22rpx; font-weight: 600; - color: #f3ead8; + color: #f0e6c8; } /* 资产面板 */ .asset-panel { position: relative; - border-radius: 28rpx; + border-radius: 16rpx; overflow: hidden; - box-shadow: 0 12rpx 40rpx rgba(26, 43, 80, 0.1); - border: 1rpx solid rgba(212, 175, 110, 0.28); + background: #fff; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } -.asset-panel-fallback { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; - background: linear-gradient(145deg, #faf6ee 0%, #ece4d4 45%, #e6edf8 100%); -} - -.asset-panel-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1; -} +.asset-panel-fallback { display: none; } +.asset-panel-bg { display: none; } .asset-panel-inner { - position: relative; - z-index: 2; - padding: 20rpx 18rpx 14rpx; - background: rgba(255, 255, 255, 0.62); - backdrop-filter: blur(20rpx); + padding: 20rpx 20rpx 14rpx; } .asset-panel-head { display: flex; align-items: center; - margin-bottom: 14rpx; + margin-bottom: 12rpx; } .asset-panel-head-icon { - width: 30rpx; - height: 30rpx; + width: 28rpx; + height: 28rpx; margin-right: 8rpx; } .asset-panel-head-title { - font-size: 28rpx; + font-size: 26rpx; font-weight: 700; - color: #222; + color: #333; } -.money-strip { +/* 总资产 */ +.total-asset-row { + border-radius: 12rpx; + overflow: hidden; + margin-bottom: 12rpx; + background: #faf8f4; + border: 1rpx solid #efe8d8; +} + +.total-asset-fallback { display: none; } +.total-asset-bg { display: none; } + +.total-asset-inner { display: flex; - gap: 12rpx; - margin-bottom: 14rpx; - overflow-x: auto; + align-items: center; + justify-content: space-between; + padding: 20rpx; } -.money-block { +.total-asset-left { flex: 1; - min-width: 200rpx; - border-radius: 20rpx; - padding: 16rpx 14rpx; - background: rgba(0, 0, 0, 0.025); - border: 1rpx solid rgba(0, 0, 0, 0.05); + min-width: 0; + padding-right: 16rpx; } -.money-label { - font-size: 20rpx; - color: #888; +.total-asset-label { display: block; + font-size: 22rpx; + color: #999; } -.money-val { - font-size: 34rpx; +.total-asset-val { + display: block; + font-size: 44rpx; font-weight: 800; - display: block; - margin: 6rpx 0 4rpx; - line-height: 1.15; - color: #1A1A1A; + color: #2c2416; + margin: 4rpx 0 8rpx; + line-height: 1.1; } -.money-tip { - font-size: 18rpx; - color: #AAA; +.asset-breakdown-list { + display: flex; + flex-direction: column; + gap: 2rpx; } +.asset-breakdown-line { + display: flex; + align-items: center; + justify-content: space-between; + padding-right: 8rpx; +} + +.breakdown-name { font-size: 20rpx; color: #aaa; } +.breakdown-amt { font-size: 20rpx; color: #777; font-weight: 500; } + +.withdraw-btn { + flex-shrink: 0; + min-width: 110rpx; + height: 64rpx; + line-height: 64rpx; + text-align: center; + padding: 0 24rpx; + font-weight: 700; + font-size: 24rpx; + border-radius: 999rpx; + background: #333; + color: #fff; +} + +/* 统计格子 */ .stats-grid { display: flex; flex-wrap: wrap; - border-top: 1rpx solid rgba(0, 0, 0, 0.05); - padding-top: 12rpx; + border-top: 1rpx solid #f0f0f0; + padding-top: 10rpx; } .mini-stat { @@ -409,39 +404,40 @@ page { .mini-lbl { font-size: 18rpx; - color: #999; + color: #aaa; display: block; - margin-top: 4rpx; + margin-top: 2rpx; } /* 排行榜 */ .rank-section { - margin-bottom: 22rpx; + margin-bottom: 16rpx; padding: 0 2rpx; } .rank-hub-head { display: flex; align-items: center; - margin-bottom: 18rpx; + margin-bottom: 12rpx; + padding: 0 4rpx; } .rank-hub-head-icon { - width: 32rpx; - height: 32rpx; - margin-right: 10rpx; + width: 28rpx; + height: 28rpx; + margin-right: 8rpx; } .rank-hub-title { - font-size: 28rpx; + font-size: 26rpx; font-weight: 700; - color: #222; + color: #333; display: block; } .rank-hub-sub { font-size: 20rpx; - color: #999; + color: #bbb; margin-top: 2rpx; display: block; } @@ -450,42 +446,21 @@ page { display: flex; flex-wrap: wrap; justify-content: space-between; - row-gap: 18rpx; + row-gap: 12rpx; } .rank-cell { width: 48.5%; - height: 156rpx; + height: 140rpx; position: relative; - border-radius: 24rpx; + border-radius: 16rpx; overflow: hidden; - filter: drop-shadow(0 8rpx 18rpx rgba(0, 0, 0, 0.08)); -} - -.rank-shape-left { - clip-path: polygon( - 0 8%, - 5% 0, - 95% 0, - 100% 5%, - 87% 95%, - 5% 100%, - 0 92% - ); + box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.08); } +.rank-shape-left, .rank-shape-right { - clip-path: polygon( - 14% 5%, - 5% 0, - 95% 0, - 100% 5%, - 100% 95%, - 95% 100%, - 5% 100%, - 0 95%, - 14% 8% - ); + clip-path: none; } .rank-cell-inner { @@ -493,23 +468,21 @@ page { height: 100%; position: relative; display: flex; - flex-direction: column; - justify-content: center; - align-items: flex-start; - padding: 0 22rpx 0 20rpx; + align-items: center; + padding: 0 20rpx; box-sizing: border-box; - border-radius: 24rpx; + border-radius: 16rpx; overflow: hidden; } .rank-bg-icon { position: absolute; - width: 148rpx; - height: 148rpx; - right: -18rpx; + width: 120rpx; + height: 120rpx; + right: -12rpx; top: 50%; transform: translateY(-50%) rotate(-10deg); - opacity: 0.2; + opacity: 0.15; z-index: 0; pointer-events: none; } @@ -517,61 +490,52 @@ page { .rank-content { position: relative; z-index: 1; - display: flex; - flex-direction: column; - justify-content: center; - align-items: flex-start; } .rank-main-icon { - width: 76rpx; - height: 76rpx; - margin-bottom: 8rpx; - filter: drop-shadow(0 6rpx 16rpx rgba(0, 0, 0, 0.22)); + width: 56rpx; + height: 56rpx; + margin-bottom: 6rpx; } .rank-shape-right .rank-cell-inner { - padding: 0 20rpx 0 28rpx; - align-items: flex-end; + padding: 0 20rpx; + flex-direction: row-reverse; } .rank-shape-right .rank-bg-icon { right: auto; - left: -18rpx; + left: -12rpx; transform: translateY(-50%) rotate(10deg); } .rank-shape-right .rank-content { - align-items: flex-end; + text-align: right; } .rank-theme-blue .rank-cell-inner { - background: linear-gradient(135deg, #7ec4ff 0%, #4d9ef5 55%, #3b82e8 100%); + background: linear-gradient(135deg, #5ba3e6, #3b82e8); } - .rank-theme-gold .rank-cell-inner { - background: linear-gradient(135deg, #ffe28a 0%, #ffc94d 55%, #f5a623 100%); + background: linear-gradient(135deg, #f0c850, #e8a820); } - .rank-theme-purple .rank-cell-inner { - background: linear-gradient(135deg, #c4b5fd 0%, #9b87f5 55%, #7c6be8 100%); + background: linear-gradient(135deg, #9b87f5, #7c6be8); } - .rank-theme-orange .rank-cell-inner { - background: linear-gradient(135deg, #ffb896 0%, #ff8f6b 55%, #f56a4a 100%); + background: linear-gradient(135deg, #f08050, #e05a30); } .rank-cell-name { - font-size: 26rpx; + font-size: 24rpx; font-weight: 700; color: #fff; - text-shadow: 0 1rpx 4rpx rgba(0, 0, 0, 0.15); line-height: 1.2; } .rank-cell-sub { font-size: 18rpx; - color: rgba(255, 255, 255, 0.88); + color: rgba(255,255,255,0.8); margin-top: 2rpx; } @@ -583,28 +547,18 @@ page { /* 功能面板 */ .func-panel { position: relative; - border-radius: 28rpx; + border-radius: 16rpx; overflow: hidden; - box-shadow: 0 6rpx 24rpx rgba(0, 0, 0, 0.04); + background: #fff; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } -.func-panel-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; -} +.func-panel-bg { display: none; } .func-grid { - position: relative; - z-index: 1; display: flex; flex-wrap: wrap; - padding: 10rpx 4rpx; - background: rgba(255, 255, 255, 0.85); - backdrop-filter: blur(12rpx); + padding: 8rpx 4rpx; } .func-cell { @@ -617,156 +571,105 @@ page { } .func-icon { - width: 52rpx; - height: 52rpx; - margin-bottom: 10rpx; + width: 48rpx; + height: 48rpx; + margin-bottom: 8rpx; } .func-label { font-size: 20rpx; - color: #444; + color: #555; text-align: center; line-height: 1.25; padding: 0 4rpx; } .func-grid-sparse .func-cell { - width: 25%; - padding: 22rpx 0; + padding: 20rpx 0; } .func-grid-sparse .func-icon { - width: 58rpx; - height: 58rpx; - margin-bottom: 12rpx; + width: 52rpx; + height: 52rpx; + margin-bottom: 10rpx; } .func-grid-sparse .func-label { - font-size: 24rpx; + font-size: 22rpx; } .layout-sparse-padding { padding-bottom: 80rpx; } -.money-strip-single .money-block { - min-width: 100%; -} - -.money-strip-single .money-val { - font-size: 44rpx; -} - -.auth-inline { - display: flex; - align-items: center; - gap: 12rpx; - background: rgba(255, 255, 255, 0.72); - border-radius: 24rpx; - padding: 12rpx 16rpx; - border: 1rpx solid rgba(255, 255, 255, 0.5); -} - -.auth-input { - flex: 1; - height: 64rpx; - background: #fff; - border-radius: 32rpx; - padding: 0 24rpx; - font-size: 26rpx; -} - -.auth-btn { - flex-shrink: 0; - height: 64rpx; - line-height: 64rpx; - padding: 0 28rpx; - background: rgba(0, 0, 0, 0.06); - border-radius: 32rpx; - font-size: 26rpx; - font-weight: 600; -} - -/* .list-card 与 .card 类似,仅保留差异 */ +/* 列表卡片 */ .list-card { position: relative; - border-radius: 28rpx; - box-shadow: 0 6rpx 24rpx rgba(0, 0, 0, 0.04); + border-radius: 16rpx; + overflow: hidden; + background: #fff; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); } -.list-card-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; -} +.list-card-bg { display: none; } .list-card-inner { position: relative; z-index: 1; - background: rgba(255, 255, 255, 0.88); - backdrop-filter: blur(12rpx); } -/* .list-item 与全局 .list-item 类似,仅保留差异 */ .list-item { + display: flex; + align-items: center; padding: 22rpx 20rpx; + border-bottom: 1rpx solid #f5f5f5; } .list-item:last-child { border-bottom: none; } -/* .list-icon 与全局 .list-icon 类似,仅保留差异(缺少 flex-shrink:0) */ .list-icon { width: 36rpx; height: 36rpx; margin-right: 16rpx; + flex-shrink: 0; } -/* .list-text 与全局 .list-text 类似,仅保留差异 */ .list-text { + flex: 1; font-size: 26rpx; + color: #333; } .list-sub { font-size: 20rpx; - color: #999; + color: #bbb; margin-right: 8rpx; } -/* .list-arrow 与全局 .list-arrow 类似,仅保留差异 */ .list-arrow { - opacity: 0.45; + width: 20rpx; + height: 20rpx; + opacity: 0.3; + flex-shrink: 0; } /* 客服入口 */ .kefu-banner { position: relative; - margin-bottom: 18rpx; - border-radius: 28rpx; + margin-bottom: 16rpx; + border-radius: 16rpx; overflow: hidden; - box-shadow: 0 10rpx 32rpx rgba(44, 62, 80, 0.14); + background: #2c3e50; } .kefu-banner-bg { position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; + top: 0; left: 0; + width: 100%; height: 100%; z-index: 0; } -.kefu-banner-overlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1; - background: linear-gradient(135deg, rgba(36, 48, 62, 0.82) 0%, rgba(52, 68, 88, 0.68) 100%); -} +.kefu-banner-overlay { display: none; } .kefu-banner-content { position: relative; @@ -774,7 +677,7 @@ page { display: flex; align-items: center; justify-content: space-between; - padding: 22rpx 24rpx; + padding: 20rpx 24rpx; } .kefu-banner-left { @@ -785,15 +688,15 @@ page { } .kefu-banner-icon { - width: 44rpx; - height: 44rpx; - margin-right: 16rpx; + width: 40rpx; + height: 40rpx; + margin-right: 14rpx; flex-shrink: 0; } .kefu-banner-title { display: block; - font-size: 28rpx; + font-size: 26rpx; font-weight: 700; color: #fff; } @@ -801,118 +704,27 @@ page { .kefu-banner-sub { display: block; font-size: 20rpx; - color: rgba(255, 255, 255, 0.72); - margin-top: 4rpx; + color: rgba(255,255,255,0.6); + margin-top: 2rpx; } .kefu-banner-btn { flex-shrink: 0; - padding: 12rpx 26rpx; - font-size: 24rpx; + padding: 10rpx 22rpx; + font-size: 22rpx; color: #2c3e50; font-weight: 600; - background: rgba(255, 255, 255, 0.92); + background: #fff; border-radius: 999rpx; margin-left: 16rpx; } -/* 总资产 */ -.total-asset-row { +/* 身份认证 */ +.auth-grid { position: relative; - border-radius: 24rpx; - overflow: hidden; - margin-bottom: 14rpx; - border: 1rpx solid rgba(212, 175, 110, 0.38); - box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.85), 0 4rpx 16rpx rgba(0, 0, 0, 0.05); -} - -.total-asset-fallback { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 0; - background: linear-gradient(135deg, #faf6ee 0%, #f0e8d8 50%, #ebeef5 100%); -} - -.total-asset-bg { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; z-index: 1; -} - -.total-asset-inner { - position: relative; - z-index: 2; display: flex; - align-items: center; - justify-content: space-between; - padding: 22rpx 20rpx; - background: rgba(255, 255, 255, 0.52); - backdrop-filter: blur(14rpx); -} - -.total-asset-left { - flex: 1; - min-width: 0; - padding-right: 16rpx; -} - -.total-asset-label { - display: block; - font-size: 22rpx; - color: #777; -} - -.total-asset-val { - display: block; - font-size: 46rpx; - font-weight: 800; - color: #3d3420; - margin: 6rpx 0 10rpx; - line-height: 1.1; - letter-spacing: -0.5rpx; -} - -.asset-breakdown-list { - display: flex; - flex-direction: column; - gap: 4rpx; -} - -.asset-breakdown-line { - display: flex; - align-items: center; - justify-content: space-between; - padding-right: 8rpx; -} - -.breakdown-name { - font-size: 20rpx; - color: #888; -} - -.breakdown-amt { - font-size: 20rpx; - color: #666; - font-weight: 500; -} - -/* .withdraw-btn 与 .btn-sm--dark 类似,仅保留差异 */ -.withdraw-btn { - flex-shrink: 0; - min-width: 120rpx; - height: 72rpx; - line-height: 72rpx; - text-align: center; - padding: 0 28rpx; - font-weight: 700; - border-radius: 999rpx; - box-shadow: 0 6rpx 20rpx rgba(44, 62, 80, 0.22); + padding: 12rpx 8rpx; } .auth-grid-dynamic { @@ -928,16 +740,6 @@ page { box-sizing: border-box; } -/* 身份认证 */ -.auth-grid { - position: relative; - z-index: 1; - display: flex; - padding: 12rpx 8rpx; - background: rgba(255, 255, 255, 0.88); - backdrop-filter: blur(12rpx); -} - .auth-cell { flex: 1; display: flex; @@ -947,36 +749,46 @@ page { } .auth-cell-icon { - width: 48rpx; - height: 48rpx; + width: 44rpx; + height: 44rpx; margin-bottom: 8rpx; } .auth-cell-name { font-size: 22rpx; - color: #444; - margin-bottom: 6rpx; + color: #555; + margin-bottom: 4rpx; } .auth-cell-tag { font-size: 18rpx; - color: #888; + color: #bbb; padding: 2rpx 10rpx; border-radius: 999rpx; - background: rgba(0, 0, 0, 0.04); + background: #f5f5f5; } .auth-cell-tag-done { color: #5a6b57; - background: rgba(90, 107, 87, 0.1); + background: #eef5ee; } -/* .loading-mask 与全局 .loading-mask .loading-mask--light 完全相同,删除 */ +/* 加载 */ +.loading-mask { + position: fixed; + top: 0; left: 0; right: 0; bottom: 0; + background: rgba(255,255,255,0.7); + display: flex; + align-items: center; + justify-content: center; + z-index: 10000; +} -/* .loading-spinner 与 .spinner--md 类似,仅保留差异 */ .loading-spinner { - width: 52rpx; - height: 52rpx; - border: 3rpx solid rgba(0, 0, 0, 0.08); - border-top-color: #1A1A1A; + width: 48rpx; + height: 48rpx; + border: 4rpx solid #e8e8e8; + border-top-color: #333; + border-radius: 50%; + animation: spin 0.8s linear infinite; } diff --git a/pages/gold-fighter/gold-fighter.json b/pages/gold-fighter/gold-fighter.json index d2be079..e5dcf48 100644 --- a/pages/gold-fighter/gold-fighter.json +++ b/pages/gold-fighter/gold-fighter.json @@ -2,7 +2,7 @@ "usingComponents": { "global-notification": "/components/global-notification/global-notification", "chenghao-tag": "/components/chenghao-tag/chenghao-tag", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "navigationBarTitleText": "金牌用户", "navigationBarBackgroundColor": "#0B2A4A", diff --git a/pages/gold-fighter/gold-fighter.wxml b/pages/gold-fighter/gold-fighter.wxml index 5912b19..00914fd 100644 --- a/pages/gold-fighter/gold-fighter.wxml +++ b/pages/gold-fighter/gold-fighter.wxml @@ -184,7 +184,7 @@ - + diff --git a/pages/index/index.json b/pages/index/index.json index 06f55f5..3a14f51 100644 --- a/pages/index/index.json +++ b/pages/index/index.json @@ -1,7 +1,7 @@ { "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "navigationBarTitleText": "商城", diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 7f871f9..515fcf3 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -1,171 +1,171 @@ - - - - - - - - - - {{shangpingonggao || '暂无公告'}} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{item.jieshao}} - - - - - - - - - - - - - - {{item.zhuanqu.mingzi}} - - - - - - - - - - - - - - {{item.biaoqian}} - - - - - - ¥ - {{item.priceInteger}} - .{{item.priceDecimal}} - - - - - - - - - - - - - - 暂无商品 - - - - - - - - - - - 公告详情 - × - - - {{shangpingonggao || '暂无公告内容'}} - - - - - - - - 加载中... - - - - - - \ No newline at end of file + + + + + + + + + + {{shangpingonggao || '暂无公告'}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{item.jieshao}} + + + + + + + + + + + + + + {{item.zhuanqu.mingzi}} + + + + + + + + + + + + + + {{item.biaoqian}} + + + + + + ¥ + {{item.priceInteger}} + .{{item.priceDecimal}} + + + + + + + + + + + + + + 暂无商品 + + + + + + + + + + + 公告详情 + × + + + {{shangpingonggao || '暂无公告内容'}} + + + + + + + + 加载中... + + + + + + \ No newline at end of file diff --git a/pages/leader/leader.json b/pages/leader/leader.json index b6ac8e6..2e5e637 100644 --- a/pages/leader/leader.json +++ b/pages/leader/leader.json @@ -6,6 +6,6 @@ "backgroundTextStyle": "light", "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" } } \ No newline at end of file diff --git a/pages/leader/leader.wxml b/pages/leader/leader.wxml index 494e032..5584b59 100644 --- a/pages/leader/leader.wxml +++ b/pages/leader/leader.wxml @@ -99,7 +99,7 @@ - + diff --git a/pages/manager/manager.json b/pages/manager/manager.json index 6a1a405..01910a8 100644 --- a/pages/manager/manager.json +++ b/pages/manager/manager.json @@ -2,7 +2,7 @@ "usingComponents": { "global-notification": "/components/global-notification/global-notification", "chenghao-tag": "/components/chenghao-tag/chenghao-tag", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "navigationBarBackgroundColor": "#f0f4f8", "navigationBarTextStyle": "black", diff --git a/pages/manager/manager.wxml b/pages/manager/manager.wxml index 3ba8dbc..23106a1 100644 --- a/pages/manager/manager.wxml +++ b/pages/manager/manager.wxml @@ -118,5 +118,5 @@ - + \ No newline at end of file diff --git a/pages/merchant-dispatch/merchant-dispatch.wxml b/pages/merchant-dispatch/merchant-dispatch.wxml index 73a2f05..32394e5 100644 --- a/pages/merchant-dispatch/merchant-dispatch.wxml +++ b/pages/merchant-dispatch/merchant-dispatch.wxml @@ -1,159 +1,195 @@ - - - - - 可用余额 - - {{sjyue}} - - - 派单将从此余额扣除 - - - - - 选择订单类型 - - - - {{item.jieshao}} - - - - - - - - - - 订单介绍 - - {{dingdanJieshao.length}}/50 - - - - - 订单备注(选填) - - {{dingdanBeizhu.length}}/50 - - - - - 老板昵称/ID - - {{laobanName.length}}/15 - - - - - 指定UID(选填) - - - - - - 订单价格(元) - - 范围:0.1 - 10000元 - - - - - 要求打手标签*如金牌打手(选填) - - - {{selectedLabelName || '无'}} - - - - - - - 要求打手押金(建议≤50元) - - - - - - - - - {{isSubmitting ? '派发中...' : '立即派发'}} - - - - - - - - 加载中... - - - - - - - - - 教程 - - - - - \ No newline at end of file + + + + + 可用余额 + + {{sjyue}} + + + 派单将从此余额扣除 + + + + + + + 选择订单类型 + + + + {{item.jieshao}} + + + + + + + + + 填写订单信息 + + + + + + 订单介绍 + * + {{dingdanJieshao.length}}/50 + + + + + + + + 订单备注 + {{dingdanBeizhu.length}}/50 + + + + + + + + 老板昵称/ID + * + {{laobanName.length}}/15 + + + + + + + + 指定UID + 选填 + + + + + + + + 订单价格 + * + + + ¥ + + + 范围 0.1 ~ 10000 元,最多两位小数 + + + + + + 要求打手标签 + 选填 + + + + {{selectedLabelName || '不限制'}} + + + + + + + + + 要求打手押金 + 选填 + + + + {{commissionEnabled ? '已开启' : '未开启'}} + + + + + + + + + + + + {{isSubmitting ? '派发中...' : '立即派发'}} + + + + + + + + 加载中... + + + + + + + + 教程 + + + + diff --git a/pages/merchant-dispatch/merchant-dispatch.wxss b/pages/merchant-dispatch/merchant-dispatch.wxss index 949c6b7..71aaaf7 100644 --- a/pages/merchant-dispatch/merchant-dispatch.wxss +++ b/pages/merchant-dispatch/merchant-dispatch.wxss @@ -1,374 +1,339 @@ -/* pages/merchant-dispatch/merchant-dispatch.wxss - 黑金升级版 + 背景图由js动态拼接 */ -page { - background-color: #0a0a0f; - } - - .page-container { - min-height: 100vh; - /* 背景图通过内联 style 动态设置,此处不再写死 */ - background-size: cover; - background-position: center; - background-attachment: fixed; - position: relative; - padding: 30rpx; - box-sizing: border-box; - padding-bottom: 140rpx; - } - - /* 半透明遮罩增强文字可读性 - 不使用通配符 */ - .page-container::before { - content: ''; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba(10, 10, 15, 0.75); - backdrop-filter: blur(6rpx); - z-index: 0; - pointer-events: none; - } - - /* 所有直接子元素手动提升层级(替代 * 选择器) */ - .balance-card, - .section, - .form-container, - .btn-container, - .loading-mask { - position: relative; - z-index: 1; - } - - /* 余额卡片 - 黑金风格 */ - .balance-card { - background: linear-gradient(135deg, rgba(20,20,30,0.95), rgba(30,30,50,0.95)); - border-radius: 24rpx; - padding: 36rpx; - margin-bottom: 40rpx; - color: #fff; - box-shadow: 0 15rpx 35rpx rgba(0,0,0,0.4), 0 0 40rpx rgba(0,180,255,0.15); - text-align: center; - border: 1.5rpx solid rgba(0,180,255,0.2); - backdrop-filter: blur(10rpx); - overflow: hidden; - } - .balance-card::before { - content: ''; - position: absolute; - top: -50%; left: -50%; - width: 200%; height: 200%; - background: linear-gradient(45deg, transparent 30%, rgba(0,180,255,0.1) 50%, transparent 70%); - animation: cardShine 6s infinite linear; - z-index: 1; - } - @keyframes cardShine { - 0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); } - 100% { transform: translateX(100%) translateY(100%) rotate(45deg); } - } - .balance-label { - font-size: 28rpx; - color: rgba(255,255,255,0.8); - margin-bottom: 18rpx; - font-weight: 500; - position: relative; - z-index: 2; - } - .balance-amount { - display: flex; - align-items: baseline; - justify-content: center; - margin-bottom: 15rpx; - position: relative; - z-index: 2; - } - .amount-value { - font-size: 64rpx; - font-weight: bold; - color: #FFD700; - text-shadow: 0 0 20rpx rgba(255,215,0,0.7); - animation: amountGlow 3s infinite alternate; - } - @keyframes amountGlow { - 0% { color: #FFD700; text-shadow: 0 0 15rpx rgba(255,215,0,0.6); } - 100% { color: #FFE44D; text-shadow: 0 0 25rpx rgba(255,215,0,0.9); } - } - .amount-unit { - font-size: 36rpx; - color: #FFD700; - margin-left: 12rpx; - font-weight: 500; - } - .balance-tip { - font-size: 24rpx; - color: rgba(255,255,255,0.6); - position: relative; - z-index: 2; - } - - /* 区域标题 */ - .section { - margin-bottom: 35rpx; - } - .section-title { - font-size: 32rpx; - font-weight: 700; - color: #FFFFFF; - margin-bottom: 25rpx; - padding-left: 12rpx; - border-left: 6rpx solid #9C27B0; - text-shadow: 0 2rpx 4rpx rgba(0,0,0,0.3); - } - - /* 商品类型横向滚动 */ - .type-scroll { - white-space: nowrap; - display: flex; - height: 90rpx; - } - .type-item { - display: inline-flex; - flex-shrink: 0; - align-items: center; - justify-content: center; - height: 85rpx; - padding: 0 40rpx; - margin-right: 20rpx; - background: rgba(255,255,255,0.08); - border-radius: 45rpx; - border: 2rpx solid rgba(255,255,255,0.15); - font-size: 28rpx; - color: rgba(255,255,255,0.8); - transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); - backdrop-filter: blur(10rpx); - } - .type-active { - background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%); - border-color: #9C27B0; - color: white; - transform: scale(1.05); - box-shadow: 0 10rpx 25rpx rgba(156,39,176,0.4); - } - .type-text { - max-width: 220rpx; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-weight: 500; - } - - /* 表单容器 - 玻璃态 */ - .form-container { - background: rgba(30,30,45,0.85); - backdrop-filter: blur(20rpx); - border-radius: 30rpx; - padding: 30rpx; - box-shadow: 0 10rpx 30rpx rgba(0,0,0,0.3); - border: 1.5rpx solid rgba(255,255,255,0.1); - margin-bottom: 40rpx; - } - .form-item { - margin-bottom: 35rpx; - position: relative; - } - .form-item:last-child { - margin-bottom: 0; - } - .form-label { - font-size: 30rpx; - font-weight: 600; - color: rgba(255,255,255,0.9); - display: block; - margin-bottom: 15rpx; - } - .form-label.required::after { - content: '*'; - color: #ff4444; - margin-left: 8rpx; - } - .form-input { - width: 100%; - height: 80rpx; - background: rgba(255,255,255,0.1); - border-radius: 16rpx; - padding: 0 25rpx; - font-size: 28rpx; - color: #FFFFFF; - border: 2rpx solid rgba(255,255,255,0.2); - box-sizing: border-box; - transition: all 0.3s; - } - .form-input:focus { - border-color: #9C27B0; - background: rgba(255,255,255,0.15); - } - .word-count { - position: absolute; - right: 0; - top: 0; - font-size: 24rpx; - color: rgba(255,255,255,0.5); - } - .price-tip { - font-size: 24rpx; - color: rgba(255,255,255,0.5); - margin-top: 10rpx; - display: block; - } - .picker-view { - background: rgba(255,255,255,0.1); - border-radius: 16rpx; - padding: 20rpx 25rpx; - border: 2rpx solid rgba(255,255,255,0.2); - color: rgba(255,255,255,0.9); - font-size: 28rpx; - } - .commission-item { - display: flex; - align-items: center; - flex-wrap: wrap; - gap: 20rpx; - } - .commission-item .form-label { - width: 100%; - margin-bottom: 10rpx; - } - .commission-input { - flex: 1; - background: rgba(255,255,255,0.1); - border-radius: 16rpx; - padding: 20rpx; - color: #fff; - border: 2rpx solid rgba(255,255,255,0.2); - font-size: 28rpx; - } - - /* 提交按钮区域 */ - .btn-container { - position: fixed; - bottom: 0; - left: 0; - right: 0; - background: linear-gradient(to top, rgba(10,10,15,0.95), transparent); - padding: 30rpx; - box-sizing: border-box; - z-index: 9999; - } - .submit-btn { - background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%); - border-radius: 50rpx; - height: 90rpx; - display: flex; - align-items: center; - justify-content: center; - box-shadow: 0 10rpx 30rpx rgba(255,68,68,0.3); - transition: all 0.3s; - position: relative; - overflow: hidden; - } - .submit-btn::after { - content: ''; - position: absolute; - top: 0; - left: -100%; - width: 100%; - height: 100%; - background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); - animation: shine 2s infinite; - } - .btn-hover { - transform: translateY(-2rpx); - box-shadow: 0 15rpx 40rpx rgba(255,68,68,0.4); - } - .btn-disabled { - opacity: 0.6; - filter: grayscale(0.3); - pointer-events: none; - } - .btn-text { - font-size: 36rpx; - font-weight: bold; - color: white; - letter-spacing: 4rpx; - position: relative; - z-index: 2; - } - @keyframes shine { - 0% { left: -100%; } - 100% { left: 100%; } - } - - /* 加载遮罩 */ - .loading-mask { - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: rgba(0,0,0,0.8); - display: flex; - align-items: center; - justify-content: center; - z-index: 10000; - } - .loading-content { - background: rgba(40,40,60,0.95); - padding: 60rpx 80rpx; - border-radius: 30rpx; - display: flex; - flex-direction: column; - align-items: center; - box-shadow: 0 25rpx 70rpx rgba(0,0,0,0.6); - } - .loading-spinner { - width: 90rpx; - height: 90rpx; - border: 8rpx solid rgba(0,180,255,0.2); - border-top: 8rpx solid #00B4FF; - border-radius: 50%; - animation: spin 1.2s linear infinite; - margin-bottom: 35rpx; - } - .loading-text { - font-size: 30rpx; - color: #00B4FF; - font-weight: 600; - } - @keyframes spin { - 0% { transform: rotate(0deg); } - 100% { transform: rotate(360deg); } - } - - /* ========== 教程按钮样式(修改后:右上角,更大更显眼) ========== */ - .tutorial-btn { - position: fixed; - right: 0; - top: 20%; /* 右上区域,不再是垂直居中 */ - transform: translateY(-50%); - width: 120rpx; /* 增大宽度 */ - height: 120rpx; /* 增大高度 */ - background: rgba(0, 0, 0, 0.75); - backdrop-filter: blur(15rpx); - border-radius: 60rpx 0 0 60rpx; - display: flex; - align-items: center; - justify-content: center; - z-index: 10001; - box-shadow: -8rpx 0 20rpx rgba(0,0,0,0.3); - transition: right 0.3s ease-out; - border: 2rpx solid rgba(255,215,0,0.5); - border-right: none; - } - .tutorial-btn-text { - color: #FFD700; - font-size: 36rpx; /* 文字更大 */ - font-weight: bold; - writing-mode: vertical-rl; - letter-spacing: 6rpx; - } - .tutorial-btn-hidden { - right: -80rpx; /* 缩进后只露出约40rpx边缘 */ - } - .tutorial-btn-hover { - background: rgba(0, 0, 0, 0.9); - transform: translateY(-50%) scale(1.05); - } \ No newline at end of file +/* 商家派单 */ + +page { + background: #f5f5f5; +} + +.page { + min-height: 100vh; + padding: 24rpx; + padding-bottom: 160rpx; + box-sizing: border-box; +} + +/* 余额卡片 */ +.balance-card { + background: #1a1a2e; + border-radius: 16rpx; + padding: 36rpx 32rpx; + margin-bottom: 20rpx; + text-align: center; +} + +.balance-label { + font-size: 24rpx; + color: rgba(255,255,255,0.5); + display: block; +} + +.balance-row { + display: flex; + align-items: baseline; + justify-content: center; + margin: 12rpx 0 8rpx; +} + +.balance-value { + font-size: 52rpx; + font-weight: 700; + color: #f0d060; + line-height: 1; +} + +.balance-unit { + font-size: 26rpx; + color: #f0d060; + margin-left: 6rpx; + font-weight: 500; +} + +.balance-tip { + font-size: 20rpx; + color: rgba(255,255,255,0.35); + display: block; +} + +/* 卡片 */ +.card { + background: #fff; + border-radius: 16rpx; + padding: 28rpx; + margin-bottom: 20rpx; +} + +.card-header { + display: flex; + align-items: center; + margin-bottom: 20rpx; +} + +.card-dot { + width: 8rpx; + height: 8rpx; + border-radius: 4rpx; + background: #9C27B0; + margin-right: 12rpx; + flex-shrink: 0; +} + +.card-title { + font-size: 28rpx; + font-weight: 700; + color: #333; +} + +/* 订单类型 */ +.type-scroll { + white-space: nowrap; + display: flex; + padding: 8rpx 0; +} + +.type-chip { + display: inline-flex; + flex-shrink: 0; + align-items: center; + justify-content: center; + height: 64rpx; + padding: 0 28rpx; + margin-right: 14rpx; + background: #f5f5f5; + border-radius: 32rpx; + font-size: 24rpx; + color: #666; + border: 1rpx solid transparent; +} + +.type-chip--active { + background: #f3e5f9; + color: #9C27B0; + border-color: #9C27B0; + font-weight: 600; +} + +/* 表单字段 */ +.field { + margin-bottom: 24rpx; +} + +.field:last-child { + margin-bottom: 0; +} + +.field-head { + display: flex; + align-items: center; + margin-bottom: 10rpx; +} + +.field-label { + font-size: 26rpx; + font-weight: 600; + color: #333; +} + +.field-required { + font-size: 26rpx; + color: #e04040; + margin-left: 4rpx; +} + +.field-optional { + font-size: 20rpx; + color: #bbb; + margin-left: 8rpx; +} + +.field-count { + font-size: 20rpx; + color: #ccc; + margin-left: auto; +} + +.field-input { + width: 100%; + height: 76rpx; + background: #f7f7f7; + border-radius: 12rpx; + padding: 0 20rpx; + font-size: 26rpx; + color: #333; + border: 1rpx solid #eee; + box-sizing: border-box; +} + +.field-hint { + font-size: 20rpx; + color: #bbb; + margin-top: 8rpx; + display: block; +} + +/* 价格输入 */ +.price-input-wrap { + display: flex; + align-items: center; + background: #f7f7f7; + border-radius: 12rpx; + border: 1rpx solid #eee; + overflow: hidden; +} + +.price-prefix { + font-size: 28rpx; + font-weight: 700; + color: #999; + padding-left: 20rpx; + flex-shrink: 0; +} + +.price-input { + border: none; + background: transparent; + flex: 1; +} + +/* Picker */ +.field-picker { + display: flex; + align-items: center; + justify-content: space-between; + height: 76rpx; + background: #f7f7f7; + border-radius: 12rpx; + padding: 0 20rpx; + border: 1rpx solid #eee; + font-size: 26rpx; + color: #333; +} + +.field-picker-ph { + color: #bbb; +} + +.field-picker-arrow { + font-size: 24rpx; + color: #ccc; +} + +/* Switch 行 */ +.switch-row { + display: flex; + align-items: center; + margin-bottom: 12rpx; +} + +.switch-label { + font-size: 22rpx; + color: #999; + margin-left: 12rpx; +} + +/* 底部留白 */ +.bottom-space { + height: 20rpx; +} + +/* 提交栏 */ +.submit-bar { + position: fixed; + bottom: 0; + left: 0; + right: 0; + background: #fff; + padding: 16rpx 24rpx; + padding-bottom: calc(16rpx + env(safe-area-inset-bottom)); + border-top: 1rpx solid #f0f0f0; + z-index: 9999; +} + +.submit-btn { + height: 88rpx; + background: #e04040; + border-radius: 12rpx; + display: flex; + align-items: center; + justify-content: center; + font-size: 32rpx; + font-weight: 700; + color: #fff; + letter-spacing: 2rpx; +} + +.submit-btn--hover { + opacity: 0.85; +} + +.submit-btn--disabled { + opacity: 0.5; + pointer-events: none; +} + +/* 加载 */ +.loading-mask { + position: fixed; + top: 0; left: 0; right: 0; bottom: 0; + background: rgba(255,255,255,0.8); + display: flex; + align-items: center; + justify-content: center; + z-index: 10000; +} + +.loading-box { + background: #fff; + padding: 48rpx 64rpx; + border-radius: 16rpx; + display: flex; + flex-direction: column; + align-items: center; + box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.08); +} + +.loading-spinner { + width: 44rpx; + height: 44rpx; + border: 4rpx solid #eee; + border-top-color: #333; + border-radius: 50%; + animation: spin 0.8s linear infinite; + margin-bottom: 16rpx; +} + +.loading-text { + font-size: 24rpx; + color: #666; +} + +/* 教程按钮 */ +.tutorial-btn { + position: fixed; + right: 0; + top: 20%; + transform: translateY(-50%); + width: 72rpx; + height: 72rpx; + background: #9C27B0; + border-radius: 36rpx 0 0 36rpx; + display: flex; + align-items: center; + justify-content: center; + z-index: 10001; + transition: right 0.3s ease-out; +} + +.tutorial-btn-text { + color: #fff; + font-size: 22rpx; + font-weight: 600; + writing-mode: vertical-rl; + letter-spacing: 4rpx; +} + +.tutorial-btn--hidden { + right: -44rpx; +} + +.tutorial-btn--hover { + opacity: 0.85; +} diff --git a/pages/merchant-orders/merchant-orders.wxml b/pages/merchant-orders/merchant-orders.wxml index 3f209d6..9c74d97 100644 --- a/pages/merchant-orders/merchant-orders.wxml +++ b/pages/merchant-orders/merchant-orders.wxml @@ -132,4 +132,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pages/merchant/merchant.js b/pages/merchant/merchant.js index db052a2..b4eeb47 100644 --- a/pages/merchant/merchant.js +++ b/pages/merchant/merchant.js @@ -127,6 +127,7 @@ Page({ iconCopy: `${imgDir}icon_copy.png`, avatarFrame: `${imgDir}avatar_frame.png`, iconClear: `${ossBase}beijing/tubiao/grzx_qingchu.jpg`, + iconSwitch: '/images/_exit.png', } }); }, @@ -359,4 +360,9 @@ Page({ }, }); }, + + switchToNormal() { + lockPrimaryRole('normal'); + wx.reLaunch({ url: '/pages/mine/mine' }); + }, }); \ No newline at end of file diff --git a/pages/merchant/merchant.json b/pages/merchant/merchant.json index c00917d..2e9bbe2 100644 --- a/pages/merchant/merchant.json +++ b/pages/merchant/merchant.json @@ -2,7 +2,7 @@ "usingComponents": { "global-notification": "/components/global-notification/global-notification", "popup-notice": "/components/popup-notice/popup-notice", - "custom-tab-bar": "/custom-tab-bar/index", + "tab-bar": "/tab-bar/index", "chenghao-tag": "/components/chenghao-tag/chenghao-tag" }, "navigationBarTitleText": "商家中心", diff --git a/pages/merchant/merchant.wxml b/pages/merchant/merchant.wxml index 87fcff8..33044ce 100644 --- a/pages/merchant/merchant.wxml +++ b/pages/merchant/merchant.wxml @@ -15,10 +15,14 @@ 已有邀请码?点击上方注册 + + + 返回点单端 + 清除缓存 - 回点单端 + 重新登录 @@ -167,10 +171,14 @@ + + + 返回点单端 + 清除缓存 - 回点单端 + 重新登录 @@ -188,4 +196,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pages/messages/messages.json b/pages/messages/messages.json index 7e4a6e8..0dbdec6 100644 --- a/pages/messages/messages.json +++ b/pages/messages/messages.json @@ -1,6 +1,6 @@ { "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" } } \ No newline at end of file diff --git a/pages/messages/messages.wxml b/pages/messages/messages.wxml index 16d5ea2..1b0373b 100644 --- a/pages/messages/messages.wxml +++ b/pages/messages/messages.wxml @@ -64,6 +64,6 @@ - + \ No newline at end of file diff --git a/pages/mine/mine.json b/pages/mine/mine.json index 241131f..a1b6de3 100644 --- a/pages/mine/mine.json +++ b/pages/mine/mine.json @@ -1,7 +1,7 @@ { "usingComponents": { "global-notification": "/components/global-notification/global-notification", - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" }, "navigationBarTitleText": "个人中心", "navigationBarBackgroundColor": "#F7F3ED", diff --git a/pages/mine/mine.wxml b/pages/mine/mine.wxml index 36510d0..99a35aa 100644 --- a/pages/mine/mine.wxml +++ b/pages/mine/mine.wxml @@ -113,5 +113,5 @@ - + \ No newline at end of file diff --git a/pages/mine/mine.wxss b/pages/mine/mine.wxss index 5a0b5cc..3c9db8d 100644 --- a/pages/mine/mine.wxss +++ b/pages/mine/mine.wxss @@ -1,251 +1,263 @@ -/* pages/gerenzhongxin/gerenzhongxin.wxss — 最终完美版(毛玻璃强化+图标左右贴边) */ +/* 我的页面 */ -/* 全局 */ page { - background: #F7F3ED; - height: 100vh; - overflow: hidden; - } - - .page-root { - position: relative; - width: 100%; - height: 100vh; - display: flex; - flex-direction: column; - } - - .bg-layer { - position: fixed; - top: 0; left: 0; - width: 100vw; height: 100vh; - background: radial-gradient(ellipse at 30% 20%, rgba(201,169,98,0.08) 0%, transparent 60%), - radial-gradient(ellipse at 80% 70%, rgba(201,169,98,0.05) 0%, transparent 50%); - z-index: 0; - pointer-events: none; - } - - .main-scroll { - position: relative; - z-index: 2; - flex: 1; - width: 100%; - overflow-y: auto; - padding-bottom: calc(140rpx + env(safe-area-inset-bottom)); - } - - .main-content { - padding: 60rpx 40rpx 0; - } - - /* 图标基础 */ - .icon-dark { - filter: brightness(0) saturate(100%) opacity(0.65); - } - .icon-color { - filter: none; - } - .icon-size { - width: 52rpx; - height: 52rpx; - } - - /* 图标独立淡金背景 */ - .icon-bg { - background: rgba(201,169,98,0.08); - border-radius: 24rpx; - display: flex; - align-items: center; - justify-content: center; - padding: 18rpx; - } - - /* 头部(头像完美正圆) */ - .hero { - position: relative; - margin-bottom: 100rpx; - } - .settings-icon { - position: absolute; - top: 0; right: 0; - width: 60rpx; height: 60rpx; - display: flex; align-items: center; justify-content: center; - } - .user-block { - display: flex; align-items: center; - } - .avatar-outside { - width: 140rpx; - height: 140rpx; - border-radius: 50%; - background: rgba(201,169,98,0.06); - padding: 10rpx; - margin-right: 35rpx; - display: flex; - align-items: center; - justify-content: center; - box-sizing: border-box; - } - .avatar { - width: 100%; - height: 100%; - border-radius: 50%; - display: block; - border: none; - } - .nickname { - font-size: 44rpx; font-weight: 700; color: #1A1A1A; - display: block; - } - .uid { - font-size: 28rpx; color: #7A7A7A; - margin-top: 12rpx; - display: block; - } - .login-btn { - margin-top: 45rpx; - height: 92rpx; - border-radius: 46rpx; - } - - /* 分区间距 */ - .section { - margin-top: 110rpx; - } - .section-close { - margin-top: 80rpx; - } - - .title-line { - margin-bottom: 40rpx; - padding: 18rpx 28rpx; - line-height: 1.2; - } - .gradient-bg { - background: linear-gradient(to right, rgba(201,169,98,0.01), rgba(201,169,98,0.10)); - } - .title-text { - font-size: 38rpx; - font-weight: 700; - color: #1A1A1A; - letter-spacing: 2rpx; - } - - /* 毛玻璃订单容器(强化玻璃质感,淡灰半透,无白边) */ - .frosted-box { - background: rgba(235, 235, 240, 0.45); /* 淡灰玻璃底 */ - backdrop-filter: blur(25px); - -webkit-backdrop-filter: blur(25px); - border-radius: 36rpx; - padding: 45rpx 0; /* 去掉左右内边距,让图标真正贴边 */ - box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05), inset 0 1rpx 0 rgba(255,255,255,0.7); - border: none; - } - - /* 订单行 - 图标完全左右贴边,间距最大化 */ - .order-row { - display: flex; - justify-content: space-between; - align-items: center; - padding: 0 5rpx; /* 极微的内边距,防止图片被裁剪,但视觉上仍贴边 */ - } - .order-unit { - display: flex; - flex-direction: column; - align-items: center; - position: relative; - flex: 1; /* 等分剩余空间 */ - margin: 0; /* 无额外间距 */ - } - .order-name { - font-size: 28rpx; - color: #1C1C1C; - margin-top: 18rpx; - font-weight: 500; - } - .badge { - position: absolute; - top: -10rpx; - right: 12rpx; - background: #C5615E; - color: #fff; - font-size: 22rpx; - min-width: 38rpx; - height: 38rpx; - border-radius: 19rpx; - display: flex; - align-items: center; - justify-content: center; - padding: 0 8rpx; - font-weight: 600; - } - - /* 更多服务 */ - .service-row { - display: flex; - gap: 80rpx; - justify-content: flex-start; - } - .auth-service-row { - gap: 100rpx; - } - .service-unit { - display: flex; - flex-direction: column; - align-items: center; - min-width: 120rpx; - } - .service-name { - font-size: 26rpx; - color: #1C1C1C; - margin-top: 14rpx; - font-weight: 500; - } - .icon-bg-sm { - padding: 14rpx; - border-radius: 20rpx; - } - .icon-size-sm { - width: 44rpx; - height: 44rpx; - } - .auth-tag { - font-size: 20rpx; - color: #aaa; - margin-top: 6rpx; - } - .auth-tag-done { - color: #C9A962; - font-weight: 500; - } - - /* 清除缓存 */ - .clear-row { - display: flex; - align-items: center; - padding: 22rpx 0; - } - .clear-word { - flex: 1; - font-size: 30rpx; - color: #1C1C1C; - margin-left: 18rpx; - font-weight: 500; - } - .arrow-right { - width: 36rpx; - height: 36rpx; - opacity: 0.45; - margin-left: 15rpx; - } - - /* 底部 */ - .footer { - margin-top: 130rpx; - padding-bottom: 20rpx; - text-align: center; - font-size: 26rpx; - color: #aaa; - } - .divider { margin: 0 15rpx; } - .coop { color: #C9A962; font-weight: 500; } \ No newline at end of file + background: #F7F3ED; + height: 100vh; + overflow: hidden; +} + +.page-root { + position: relative; + width: 100%; + height: 100vh; + display: flex; + flex-direction: column; +} + +.bg-layer { + position: fixed; + top: 0; left: 0; + width: 100vw; height: 100vh; + background: radial-gradient(ellipse at 30% 20%, rgba(201,169,98,0.08) 0%, transparent 60%), + radial-gradient(ellipse at 80% 70%, rgba(201,169,98,0.05) 0%, transparent 50%); + z-index: 0; + pointer-events: none; +} + +.main-scroll { + position: relative; + z-index: 2; + flex: 1; + width: 100%; + overflow-y: auto; + padding-bottom: calc(140rpx + env(safe-area-inset-bottom)); +} + +.main-content { + padding: 50rpx 36rpx 0; +} + +/* 图标 */ +.icon-dark { + filter: brightness(0) saturate(100%) opacity(0.65); +} +.icon-color { + filter: none; +} +.icon-size { + width: 48rpx; + height: 48rpx; +} +.icon-bg { + background: rgba(201,169,98,0.08); + border-radius: 22rpx; + display: flex; + align-items: center; + justify-content: center; + padding: 16rpx; +} + +/* 头部 */ +.hero { + position: relative; + margin-bottom: 60rpx; +} +.settings-icon { + position: absolute; + top: 0; right: 0; + width: 56rpx; height: 56rpx; + display: flex; align-items: center; justify-content: center; +} +.settings-icon .icon-dark { + width: 44rpx; height: 44rpx; +} +.user-block { + display: flex; + align-items: center; +} +.avatar-outside { + width: 128rpx; + height: 128rpx; + border-radius: 50%; + background: linear-gradient(135deg, rgba(201,169,98,0.12), rgba(201,169,98,0.04)); + padding: 8rpx; + margin-right: 28rpx; + display: flex; + align-items: center; + justify-content: center; + box-sizing: border-box; +} +.avatar { + width: 100%; + height: 100%; + border-radius: 50%; + display: block; +} +.nickname { + font-size: 40rpx; + font-weight: 700; + color: #1A1A1A; + display: block; +} +.uid { + font-size: 26rpx; + color: #999; + margin-top: 8rpx; + display: block; +} +.login-btn { + margin-top: 36rpx; + height: 88rpx; + border-radius: 44rpx; +} + +/* 分区 */ +.section { + margin-top: 48rpx; +} +.section-close { + margin-top: 36rpx; +} + +.title-line { + margin-bottom: 24rpx; + padding: 14rpx 24rpx; + line-height: 1.2; +} +.gradient-bg { + background: linear-gradient(to right, rgba(201,169,98,0.01), rgba(201,169,98,0.10)); +} +.title-text { + font-size: 34rpx; + font-weight: 700; + color: #1A1A1A; + letter-spacing: 1rpx; +} + +/* 毛玻璃容器 */ +.frosted-box { + background: rgba(255, 255, 255, 0.52); + backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(20px); + border-radius: 28rpx; + padding: 36rpx 20rpx; + box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04), inset 0 1rpx 0 rgba(255,255,255,0.8); + border: 1rpx solid rgba(255,255,255,0.5); +} + +/* 订单行 */ +.order-row { + display: flex; + justify-content: space-around; + align-items: center; +} +.order-unit { + display: flex; + flex-direction: column; + align-items: center; + position: relative; + flex: 1; +} +.order-name { + font-size: 26rpx; + color: #333; + margin-top: 14rpx; + font-weight: 500; +} +.badge { + position: absolute; + top: -8rpx; + right: 10rpx; + background: #C5615E; + color: #fff; + font-size: 20rpx; + min-width: 34rpx; + height: 34rpx; + border-radius: 17rpx; + display: flex; + align-items: center; + justify-content: center; + padding: 0 8rpx; + font-weight: 600; +} + +/* 更多服务 */ +.service-row { + display: flex; + gap: 60rpx; + justify-content: flex-start; + padding: 8rpx 0; +} +.auth-service-row { + gap: 80rpx; +} +.service-unit { + display: flex; + flex-direction: column; + align-items: center; + min-width: 110rpx; +} +.service-name { + font-size: 24rpx; + color: #333; + margin-top: 12rpx; + font-weight: 500; +} +.icon-bg-sm { + padding: 12rpx; + border-radius: 18rpx; +} +.icon-size-sm { + width: 40rpx; + height: 40rpx; +} +.auth-tag { + font-size: 20rpx; + color: #bbb; + margin-top: 4rpx; +} +.auth-tag-done { + color: #C9A962; + font-weight: 500; +} + +/* 清除缓存 */ +.clear-row { + display: flex; + align-items: center; + padding: 20rpx 0; +} +.clear-word { + flex: 1; + font-size: 28rpx; + color: #333; + margin-left: 16rpx; + font-weight: 500; +} +.arrow-right { + width: 32rpx; + height: 32rpx; + opacity: 0.35; + margin-left: 12rpx; +} + +/* 底部 */ +.footer { + margin-top: 80rpx; + padding-bottom: 20rpx; + text-align: center; + font-size: 24rpx; + color: #bbb; + display: flex; + align-items: center; + justify-content: center; +} +.footer .divider { + margin: 0 12rpx; + height: auto; + background: none; +} +.coop { + color: #C9A962; + font-weight: 500; +} diff --git a/pages/pick-user/pick-user.json b/pages/pick-user/pick-user.json index f1ce457..742bc53 100644 --- a/pages/pick-user/pick-user.json +++ b/pages/pick-user/pick-user.json @@ -1,5 +1,5 @@ { "usingComponents": { - "custom-tab-bar": "/custom-tab-bar/index" + "tab-bar": "/tab-bar/index" } } \ No newline at end of file diff --git a/pages/pick-user/pick-user.wxml b/pages/pick-user/pick-user.wxml index 86909c4..4959be2 100644 --- a/pages/pick-user/pick-user.wxml +++ b/pages/pick-user/pick-user.wxml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/pages/submit/submit.wxml b/pages/submit/submit.wxml index 7d65224..d3d41bc 100644 --- a/pages/submit/submit.wxml +++ b/pages/submit/submit.wxml @@ -86,7 +86,7 @@ - + 微信支付 diff --git a/custom-tab-bar/index.js b/tab-bar/index.js similarity index 76% rename from custom-tab-bar/index.js rename to tab-bar/index.js index 9903be0..408a95c 100644 --- a/custom-tab-bar/index.js +++ b/tab-bar/index.js @@ -1,4 +1,4 @@ -// custom-tab-bar/index.js — 三端固定,无身份切换 +// tab-bar/index.js — 三端固定,无身份切换 const app = getApp(); import { getTabRole } from '../utils/primary-role.js'; @@ -6,27 +6,27 @@ const roleCfg = { normal: { name: '点单老板', tabList: [ - { pagePath: 'pages/index/index', text: '商城', iconPath: '/images/zhuye.png', selectedIconPath: '/images/zhuye.png' }, - { pagePath: 'pages/category/category', text: '分类', iconPath: '/images/fenlei.png', selectedIconPath: '/images/fenlei.png' }, - { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/xiaoxi.png', selectedIconPath: '/images/xiaoxi.png' }, - { pagePath: 'pages/mine/mine', text: '我的', iconPath: '/images/wode.png', selectedIconPath: '/images/wode.png' }, + { pagePath: 'pages/index/index', text: '商城', iconPath: '/images/home.png', selectedIconPath: '/images/home.png' }, + { pagePath: 'pages/category/category', text: '分类', iconPath: '/images/category.png', selectedIconPath: '/images/category.png' }, + { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/messages.png', selectedIconPath: '/images/messages.png' }, + { pagePath: 'pages/mine/mine', text: '我的', iconPath: '/images/mine.png', selectedIconPath: '/images/mine.png' }, ], }, dashou: { name: '打手', tabList: [ - { pagePath: 'pages/accept-order/accept-order', text: '接单池', iconPath: '/images/jiedanchi.png', selectedIconPath: '/images/jiedanchi.png' }, - { pagePath: 'pages/fighter-orders/fighter-orders', text: '订单', iconPath: '/images/dingdan.png', selectedIconPath: '/images/dingdan.png' }, - { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/xiaoxi.png', selectedIconPath: '/images/xiaoxi.png' }, - { pagePath: 'pages/fighter/fighter', text: '我的', iconPath: '/images/wode.png', selectedIconPath: '/images/wode.png' }, + { pagePath: 'pages/accept-order/accept-order', text: '接单池', iconPath: '/images/order-pool.png', selectedIconPath: '/images/order-pool.png' }, + { pagePath: 'pages/fighter-orders/fighter-orders', text: '订单', iconPath: '/images/orders.png', selectedIconPath: '/images/orders.png' }, + { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/messages.png', selectedIconPath: '/images/messages.png' }, + { pagePath: 'pages/fighter/fighter', text: '我的', iconPath: '/images/mine.png', selectedIconPath: '/images/mine.png' }, ], }, shangjia: { name: '商家', tabList: [ - { pagePath: 'pages/merchant-orders/merchant-orders', text: '订单', iconPath: '/images/dingdan.png', selectedIconPath: '/images/dingdan.png' }, - { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/xiaoxi.png', selectedIconPath: '/images/xiaoxi.png' }, - { pagePath: 'pages/merchant/merchant', text: '我的', iconPath: '/images/wode.png', selectedIconPath: '/images/wode.png' }, + { pagePath: 'pages/merchant-orders/merchant-orders', text: '订单', iconPath: '/images/orders.png', selectedIconPath: '/images/orders.png' }, + { pagePath: 'pages/messages/messages', text: '消息', iconPath: '/images/messages.png', selectedIconPath: '/images/messages.png' }, + { pagePath: 'pages/merchant/merchant', text: '我的', iconPath: '/images/mine.png', selectedIconPath: '/images/mine.png' }, ], }, }; diff --git a/custom-tab-bar/index.json b/tab-bar/index.json similarity index 100% rename from custom-tab-bar/index.json rename to tab-bar/index.json diff --git a/custom-tab-bar/index.wxml b/tab-bar/index.wxml similarity index 93% rename from custom-tab-bar/index.wxml rename to tab-bar/index.wxml index cd9976f..1dc5ac0 100644 --- a/custom-tab-bar/index.wxml +++ b/tab-bar/index.wxml @@ -1,4 +1,4 @@ - + diff --git a/custom-tab-bar/index.wxss b/tab-bar/index.wxss similarity index 96% rename from custom-tab-bar/index.wxss rename to tab-bar/index.wxss index d8da288..cdbb7a9 100644 --- a/custom-tab-bar/index.wxss +++ b/tab-bar/index.wxss @@ -1,6 +1,6 @@ -/* custom-tab-bar — 三端固定,全宽 Tab 胶囊 */ +/* tab-bar — 三端固定,全宽 Tab 胶囊 */ -.custom-tab-bar { +.tab-bar { position: fixed; bottom: 0; left: 0; diff --git a/utils/chat-core.js b/utils/chat-core.js index 02488a4..58c4e93 100644 --- a/utils/chat-core.js +++ b/utils/chat-core.js @@ -255,7 +255,7 @@ function updateTabBarBadge(app, unreadCount) { const pages = getCurrentPages(); if (pages.length) { const page = pages[pages.length - 1]; - const tabBar = page.selectComponent('#custom-tab-bar'); + const tabBar = page.selectComponent('#tab-bar'); if (tabBar && tabBar.setData) tabBar.setData({ badgeText }); if (page.getTabBar) { const tb = page.getTabBar();