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(