From 1307aa9a7f7527ec642d24de1268758a32a42316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Sat, 26 Jul 2025 11:12:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=B0=E5=AE=B6=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E7=9A=84=E6=90=9C=E7=B4=A2=E6=98=BE=E7=A4=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/homeServer/search/index.css | 41 +++ packages/homeServer/search/index.vue | 100 +++++- packages/homeServer/search/searchAll.css | 415 ++++++++++++++++++++++ packages/homeServer/search/searchAll.vue | 265 ++++++++++++++ packages/homeServer/search/searchShop.css | 73 ++++ packages/homeServer/search/searchShop.vue | 201 +++++++++++ packages/myOrders/index/index.vue | 7 +- 7 files changed, 1088 insertions(+), 14 deletions(-) create mode 100644 packages/homeServer/search/searchAll.css create mode 100644 packages/homeServer/search/searchAll.vue create mode 100644 packages/homeServer/search/searchShop.css create mode 100644 packages/homeServer/search/searchShop.vue diff --git a/packages/homeServer/search/index.css b/packages/homeServer/search/index.css index 2ff1eb0d..c4769b81 100644 --- a/packages/homeServer/search/index.css +++ b/packages/homeServer/search/index.css @@ -78,6 +78,43 @@ } } +.tabs { + align-items: center; + background: #ffffff; + height: 100rpx; + padding: 0 20rpx; + box-sizing: border-box; + display: flex; + justify-content: space-between; + width: 600rpx; + margin: 0 auto; +} + +.tabItem { + font-size: 25rpx; + color: #222222; + margin-right: 60rpx; + height: 42rpx; +} + +.active2 { + font-size: 25rpx; + font-weight: 700; + position: relative; +} + +.active2::after { + content: ''; + background: url(https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_active.png) no-repeat; + background-size: 100% 100%; + width: 52rpx; + height: 22rpx; + position: absolute; + left: 50%; + bottom: -16rpx; + transform: translateX(-50%); +} + /* 搜索指定内容 */ .specifiedContent { min-height: 30rpx; @@ -153,6 +190,10 @@ .hot-services { margin: 20rpx; border: 1rpx solid #e8e8e8; + display: flex; + flex-direction: column; + height: 80vh; + overflow-y: auto; } .section-header { diff --git a/packages/homeServer/search/index.vue b/packages/homeServer/search/index.vue index 5ee88b96..49107e04 100644 --- a/packages/homeServer/search/index.vue +++ b/packages/homeServer/search/index.vue @@ -18,7 +18,7 @@ @@ -26,7 +26,7 @@ - @@ -42,7 +42,7 @@ {{ item.name }} - + --> - + + + {{ item.category_name }} + + + + + + + + + + + -
+ + + \ No newline at end of file diff --git a/packages/homeServer/search/searchShop.css b/packages/homeServer/search/searchShop.css new file mode 100644 index 00000000..0b29991f --- /dev/null +++ b/packages/homeServer/search/searchShop.css @@ -0,0 +1,73 @@ +.shop-list { + padding: 20rpx; + display: flex; + flex-direction: column; + height: 80vh; + overflow-y: auto; +} + +.shop-card { + display: flex; + align-items: center; + padding: 20rpx; + border-bottom: 1rpx solid #f5f5f5; +} + +.shop-img { + width: 160rpx; + height: 160rpx; + border-radius: 10rpx; + margin-right: 20rpx; +} + +.shop-info { + flex: 1; +} + +.shop-title { + font-size: 32rpx; + font-weight: bold; + color: #333; + margin-bottom: 10rpx; +} + +.shop-rating { + display: flex; + align-items: center; + font-size: 24rpx; + color: #999; +} + +.rating-count { + margin-right: 15rpx; + align-items: center; + font-size: 24rpx; + color: #999; + margin: 20rpx 0; +} + +.rating-stars { + color: #FFC107; + margin-right: 15rpx; +} + +.distance { + margin-right: 15rpx; +} + +.fans { + margin-right: 15rpx; +} + +.enter-shop-btn { + width: 120rpx; + height: 60rpx; + background-color: #FF370B; + color: white; + border-radius: 30rpx; + border: none; + font-size: 28rpx; + display: flex; + align-items: center; + justify-content: center; +} \ No newline at end of file diff --git a/packages/homeServer/search/searchShop.vue b/packages/homeServer/search/searchShop.vue new file mode 100644 index 00000000..b92f45dd --- /dev/null +++ b/packages/homeServer/search/searchShop.vue @@ -0,0 +1,201 @@ + + + + + \ No newline at end of file diff --git a/packages/myOrders/index/index.vue b/packages/myOrders/index/index.vue index b3d67d08..c3ae92e5 100644 --- a/packages/myOrders/index/index.vue +++ b/packages/myOrders/index/index.vue @@ -12,10 +12,10 @@ - + - + @@ -114,11 +114,13 @@ export default { categoryList: [ { category_name: "全部" }, { category_name: "待付款" }, + { category_name: "已取消" }, { category_name: "待发货" }, { category_name: "配送中" }, { category_name: "已完成" }, { category_name: "待评价" }, { category_name: "已评价" }, + { category_name: "售后" }, ], selectedTab: 0, orderData: [], @@ -144,7 +146,6 @@ export default { }); }, goToPay() { - console.log("🚀 ~ goToPay ~ goToPay:", "去支付..."); }, toDetails(order_status) { NavgateTo(