diff --git a/yjyf-app/components/GoodsPickerDrawer.vue b/yjyf-app/components/GoodsPickerDrawer.vue index 30dac2b..eccefe2 100644 --- a/yjyf-app/components/GoodsPickerDrawer.vue +++ b/yjyf-app/components/GoodsPickerDrawer.vue @@ -77,7 +77,8 @@ 找不到商品? - 点这里下单 > + 点这里下单 + @@ -524,6 +525,11 @@ color: #F0710D; font-weight: 500; } + .dcl-arrow { + width: 24rpx; + height: 24rpx; + margin-left: 4rpx; + } .clickable-hover:active { opacity: 0.75; diff --git a/yjyf-app/components/YjyfMasterTabBar.vue b/yjyf-app/components/YjyfMasterTabBar.vue index 43f9671..da88c11 100644 --- a/yjyf-app/components/YjyfMasterTabBar.vue +++ b/yjyf-app/components/YjyfMasterTabBar.vue @@ -2,26 +2,26 @@ - - + + 首页 - - + + 订单 - - + + 消息 - - + + 我的 @@ -32,13 +32,27 @@ diff --git a/yjyf-app/components/YjyfNavBar.vue b/yjyf-app/components/YjyfNavBar.vue index 7c9ade5..f679339 100644 --- a/yjyf-app/components/YjyfNavBar.vue +++ b/yjyf-app/components/YjyfNavBar.vue @@ -67,6 +67,7 @@ @@ -150,36 +167,40 @@ height: 128rpx; margin-left: -64rpx; border-radius: 50%; + background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; - background: linear-gradient(180deg, #FFB65E 0%, #EE7412 100%); - box-shadow: 0 10rpx 26rpx rgba(238, 116, 18, 0.45); + box-shadow: 0 10rpx 28rpx rgba(240, 113, 13, 0.45); + border: 8rpx solid #ffffff; + box-sizing: border-box; + transition: transform 0.15s ease, box-shadow 0.15s ease; } - .fab.active { - box-shadow: 0 10rpx 32rpx rgba(238, 116, 18, 0.65), 0 0 0 6rpx rgba(255, 182, 94, 0.35); - transform: scale(1.03); + .fab:active { + transform: scale(0.94); + box-shadow: 0 4rpx 16rpx rgba(240, 113, 13, 0.35); } .fab-icon { - width: 44rpx; - height: 44rpx; - flex-shrink: 0; + width: 52rpx; + height: 52rpx; } .fab-txt { - margin-top: 4rpx; - font-size: 22rpx; - line-height: 1.2; + font-size: 20rpx; + font-weight: 600; color: #ffffff; + line-height: 1; + margin-top: 4rpx; + letter-spacing: 0.5rpx; } - /* 底部安全区占位 */ .tabbar-placeholder { - width: 100%; - height: calc(120rpx + constant(safe-area-inset-bottom)); - height: calc(120rpx + env(safe-area-inset-bottom)); + height: 112rpx; + padding-bottom: constant(safe-area-inset-bottom); + padding-bottom: env(safe-area-inset-bottom); + box-sizing: content-box !important; } diff --git a/yjyf-app/components/master/MasterHallView.vue b/yjyf-app/components/master/MasterHallView.vue new file mode 100644 index 0000000..30922c3 --- /dev/null +++ b/yjyf-app/components/master/MasterHallView.vue @@ -0,0 +1,720 @@ + + + + + diff --git a/yjyf-app/components/master/MasterMessageView.vue b/yjyf-app/components/master/MasterMessageView.vue new file mode 100644 index 0000000..4828f62 --- /dev/null +++ b/yjyf-app/components/master/MasterMessageView.vue @@ -0,0 +1,111 @@ + + + + + diff --git a/yjyf-app/components/master/MasterOrdersView.vue b/yjyf-app/components/master/MasterOrdersView.vue new file mode 100644 index 0000000..ddbb785 --- /dev/null +++ b/yjyf-app/components/master/MasterOrdersView.vue @@ -0,0 +1,469 @@ + + + + + diff --git a/yjyf-app/components/master/MasterWorkbenchView.vue b/yjyf-app/components/master/MasterWorkbenchView.vue new file mode 100644 index 0000000..28e30f6 --- /dev/null +++ b/yjyf-app/components/master/MasterWorkbenchView.vue @@ -0,0 +1,332 @@ + + + + + diff --git a/yjyf-app/components/user/UserHomeView.vue b/yjyf-app/components/user/UserHomeView.vue new file mode 100644 index 0000000..9856ba2 --- /dev/null +++ b/yjyf-app/components/user/UserHomeView.vue @@ -0,0 +1,1002 @@ + + + + + diff --git a/yjyf-app/components/user/UserMessageView.vue b/yjyf-app/components/user/UserMessageView.vue new file mode 100644 index 0000000..0e5696f --- /dev/null +++ b/yjyf-app/components/user/UserMessageView.vue @@ -0,0 +1,109 @@ + + + + + diff --git a/yjyf-app/components/user/UserMineView.vue b/yjyf-app/components/user/UserMineView.vue new file mode 100644 index 0000000..4a1623e --- /dev/null +++ b/yjyf-app/components/user/UserMineView.vue @@ -0,0 +1,820 @@ + + + + + diff --git a/yjyf-app/components/user/UserOrdersView.vue b/yjyf-app/components/user/UserOrdersView.vue new file mode 100644 index 0000000..13fb3ef --- /dev/null +++ b/yjyf-app/components/user/UserOrdersView.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/yjyf-app/pages/category/category.vue b/yjyf-app/pages/category/category.vue index 12920d6..46a100d 100644 --- a/yjyf-app/pages/category/category.vue +++ b/yjyf-app/pages/category/category.vue @@ -84,13 +84,14 @@ import YjyfTabBar from '@/components/YjyfTabBar.vue'; import GoodsPickerDrawer from '@/components/GoodsPickerDrawer.vue'; import api from '@/utils/api.js'; + import { getWindowInfoSafe } from '@/utils/system.js'; // 系统状态栏高度与胶囊按钮适配 const statusBarHeight = ref(20); const navBarHeight = ref(44); try { - const info = uni.getSystemInfoSync(); + const info = getWindowInfoSafe(); if (info && info.statusBarHeight) statusBarHeight.value = info.statusBarHeight; if (typeof uni.getMenuButtonBoundingClientRect === 'function') { const menu = uni.getMenuButtonBoundingClientRect(); diff --git a/yjyf-app/pages/index/index.vue b/yjyf-app/pages/index/index.vue index 6473669..5681445 100644 --- a/yjyf-app/pages/index/index.vue +++ b/yjyf-app/pages/index/index.vue @@ -1,1060 +1,101 @@ - diff --git a/yjyf-app/pages/login/login.vue b/yjyf-app/pages/login/login.vue index f63c7c0..a6b6472 100644 --- a/yjyf-app/pages/login/login.vue +++ b/yjyf-app/pages/login/login.vue @@ -1,4 +1,4 @@ -