diff --git a/components/nav/nav.vue b/components/nav/nav.vue index 1e4cc135..8ebf0028 100644 --- a/components/nav/nav.vue +++ b/components/nav/nav.vue @@ -64,8 +64,8 @@ export default { url: "/packages/community/index/index", }, { - photo: "http://localhost:8080/footer_localLife.png", - photoAc: "http://localhost:8080/footer_localLifeAc.png", + photo: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/footer_localLife.png", + photoAc: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/footer_localLifeAc.png", nav_name: "本地生活", url: "/packages/localLife/index/index", }, diff --git a/packages/homeServer/masterInfo/index.vue b/packages/homeServer/masterInfo/index.vue index 8252ecc1..ce7c1c82 100644 --- a/packages/homeServer/masterInfo/index.vue +++ b/packages/homeServer/masterInfo/index.vue @@ -391,7 +391,7 @@ 好友对方可以直接查看详情 张师傅 - + 扫描二维码查看服务详情 diff --git a/packages/homeServer/noticeManage/index.vue b/packages/homeServer/noticeManage/index.vue index 297367dc..4f3ab4dd 100644 --- a/packages/homeServer/noticeManage/index.vue +++ b/packages/homeServer/noticeManage/index.vue @@ -8,7 +8,7 @@ {{ item.content }} {{ item.date }} @@ -31,13 +31,13 @@ export default { return { noticeList: [ { - image: "http://localhost:8080/test.png", + image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", title: "公告标题1", content: "公告内容", date: "2023-01-01", }, { - image: "http://localhost:8080/test.png", + image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", title: "公告标题2", content: "公告内容", date: "2023-01-02", diff --git a/packages/homeServer/searchAll/index.vue b/packages/homeServer/searchAll/index.vue index 6a74802e..587c30a1 100644 --- a/packages/homeServer/searchAll/index.vue +++ b/packages/homeServer/searchAll/index.vue @@ -17,7 +17,7 @@ -
@@ -44,28 +34,6 @@
-
找到8个匹配服务商
@@ -79,10 +47,35 @@ {{ item.category_name }} +
+
+
+ + + +
+
+
+ + +
+
- +
@@ -96,20 +89,20 @@ 4.8 3.3km 服务12226人
@@ -140,14 +133,14 @@ export default { return { bannerList: [ { - pic_src: "http://localhost:8080/test.png", + pic_src: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", }, { pic_src: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/homeServer_banner.png", }, { - pic_src: "http://localhost:8080/test.png", + pic_src: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", }, ], currentIdx: 0, @@ -166,6 +159,10 @@ export default { { category_name: "服务最多" }, { category_name: "价格范围" }, ], + + showPrice: false, + minPrice: "", + maxPrice: "", }; }, methods: { @@ -196,6 +193,38 @@ export default { }, selectTab(index, item) { this.selectedTab = index; + if (item.category_name === "价格范围") { + this.showPrice = !this.showPrice; + } else { + this.showPrice = false; + } + }, + + validatePriceRange() { + // 确保最小值在0-99999之间 + if (this.minPrice < 0) this.minPrice = 0; + if (this.minPrice > 99999) this.minPrice = 99999; + // 确保最大值在0-99999之间且不小于最小值 + if ( + this.maxPrice && + (this.maxPrice < this.minPrice || this.maxPrice > 99999) + ) { + this.maxPrice = Math.min(Math.max(this.maxPrice, this.minPrice), 99999); + } + }, + resetFilters() { + this.minPrice = ""; + this.maxPrice = ""; + }, + applyFilters() { + const filterData = { + priceRange: { + min: this.minPrice || 0, + max: this.maxPrice || 99999, + }, + }; + console.log("筛选条件:", filterData); + this.showPrice = false; }, }, onReady() {}, @@ -216,4 +245,4 @@ export default { \ No newline at end of file + diff --git a/packages/myOrders/evaluate/index.vue b/packages/myOrders/evaluate/index.vue index 280f5037..01db998e 100644 --- a/packages/myOrders/evaluate/index.vue +++ b/packages/myOrders/evaluate/index.vue @@ -10,7 +10,7 @@ - + 很差 @@ -84,7 +84,7 @@ v-if="imageList.length < 3" > 上传图片 @@ -107,16 +107,16 @@ export default { return { // 商品列表 goods: [ - { image: "http://localhost:8080/order_index1.png" }, - { image: "http://localhost:8080/order_index2.png" }, - { image: "http://localhost:8080/order_index3.png" }, - { image: "http://localhost:8080/order_index4.png" }, - { image: "http://localhost:8080/order_index5.png" }, - { image: "http://localhost:8080/order_index1.png" }, - { image: "http://localhost:8080/order_index2.png" }, - { image: "http://localhost:8080/order_index3.png" }, - { image: "http://localhost:8080/order_index4.png" }, - { image: "http://localhost:8080/order_index5.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index1.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index2.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index3.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index4.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index5.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index1.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index2.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index3.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index4.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index5.png" }, ], // 评分数据 qualityRating: 5, diff --git a/packages/myOrders/index/awaitRated.vue b/packages/myOrders/index/awaitRated.vue index 1ff9e815..689d16e4 100644 --- a/packages/myOrders/index/awaitRated.vue +++ b/packages/myOrders/index/awaitRated.vue @@ -43,14 +43,14 @@ export default { orderNumber: "4534534255", products: [ { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tag: "当日达", name: "货品名称", spec: "货品规格", unit: "货品单位", }, { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tag: "当日达", name: "货品名称", spec: "货品规格", @@ -62,21 +62,21 @@ export default { orderNumber: "54352342331", products: [ { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tag: "", name: "货品名称", spec: "货品规格", unit: "货品单位", }, { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tag: "", name: "货品名称", spec: "货品规格", unit: "货品单位", }, { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tag: "", name: "货品名称", spec: "货品规格", diff --git a/packages/myOrders/index/index.vue b/packages/myOrders/index/index.vue index c3ae92e5..fd82bacf 100644 --- a/packages/myOrders/index/index.vue +++ b/packages/myOrders/index/index.vue @@ -30,7 +30,7 @@ >{{ getOrderStatus(item.order_status) }} - + {{ getOrderStatus(item.order_status) }} {{ diff --git a/packages/myOrders/index/rated.vue b/packages/myOrders/index/rated.vue index 706f3cda..74c71192 100644 --- a/packages/myOrders/index/rated.vue +++ b/packages/myOrders/index/rated.vue @@ -57,13 +57,13 @@ export default { evaluationInfo: { content: "评价文字内容", images: [ - { url: "http://localhost:8080/eval1.png", text: "评价图片" }, - { url: "http://localhost:8080/eval2.png", text: "评价图片" }, - { url: "http://localhost:8080/eval3.png", text: "评价图片" }, + { url: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/eval1.png", text: "评价图片" }, + { url: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/eval2.png", text: "评价图片" }, + { url: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/eval3.png", text: "评价图片" }, ], }, productInfo: { - imageUrl: "http://localhost:8080/product.png", + imageUrl: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/product.png", tags: ["当日达", "当日达"], name: "货品名称", spec: "货品规格", diff --git a/packages/myOrders/logistics/index.vue b/packages/myOrders/logistics/index.vue index d5929f43..38eceefd 100644 --- a/packages/myOrders/logistics/index.vue +++ b/packages/myOrders/logistics/index.vue @@ -23,7 +23,7 @@ 复制 diff --git a/packages/myOrders/orderDetails/index.vue b/packages/myOrders/orderDetails/index.vue index cdb3bf3f..dc0cd492 100644 --- a/packages/myOrders/orderDetails/index.vue +++ b/packages/myOrders/orderDetails/index.vue @@ -16,7 +16,7 @@ 预计到货时间: 2025-09-09 9:59:59 配送司机:15901518415 - + @@ -190,21 +190,21 @@ export default { remark: "明天9点之前送到", goodsList: [ { - image: "http://localhost:8080/order_details.png", + image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_details.png", name: "泰国金枕榴莲", desc: "泰国金枕榴莲 软糯 香甜", price: "125.9", quantity: 1, }, { - image: "http://localhost:8080/order_details.png", + image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_details.png", name: "泰国金枕榴莲", desc: "泰国金枕榴莲 软糯 香甜", price: "125.9", quantity: 1, }, { - image: "http://localhost:8080/order_details.png", + image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_details.png", name: "泰国金枕榴莲", desc: "泰国金枕榴莲 软糯 香甜", price: "125.9", diff --git a/packages/myOrders/orderEvaluate/index.vue b/packages/myOrders/orderEvaluate/index.vue index 9471a14c..fdbdcde3 100644 --- a/packages/myOrders/orderEvaluate/index.vue +++ b/packages/myOrders/orderEvaluate/index.vue @@ -87,7 +87,7 @@ v-if="imageList.length < 3" > 上传图片 @@ -108,16 +108,16 @@ export default { return { // 商品列表 goods: [ - { image: "http://localhost:8080/order_index1.png" }, - { image: "http://localhost:8080/order_index2.png" }, - { image: "http://localhost:8080/order_index3.png" }, - { image: "http://localhost:8080/order_index4.png" }, - { image: "http://localhost:8080/order_index5.png" }, - { image: "http://localhost:8080/order_index1.png" }, - { image: "http://localhost:8080/order_index2.png" }, - { image: "http://localhost:8080/order_index3.png" }, - { image: "http://localhost:8080/order_index4.png" }, - { image: "http://localhost:8080/order_index5.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index1.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index2.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index3.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index4.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index5.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index1.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index2.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index3.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index4.png" }, + { image: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/order_index5.png" }, ], // 评分数据 qualityRating: 5, diff --git a/packages/shop/goods/index.vue b/packages/shop/goods/index.vue index 976aa26e..f347810b 100644 --- a/packages/shop/goods/index.vue +++ b/packages/shop/goods/index.vue @@ -315,12 +315,12 @@ - + 为你展示真实评价 款式 - + @@ -410,24 +410,24 @@ export default { showReviewPopup: false, comments: [ { - avatar: "http://localhost:8080/test.png", + avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", username: "TP", product: "库尔勒香梨 10kg/箱", content: "踏入这家位于街角的餐厅,木质门框与暖黄灯光交织出温馨氛围,墙面上手绘的食材插画画透着文艺气息,开放式厨房的设计让食客能看见厨师处理食材的全过程,第一印象便给人以干净与安心。", - images: ["http://localhost:8080/test.png"], + images: ["https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png"], time: "2025-03-01 11:24:20", }, { - avatar: "http://localhost:8080/test.png", + avatar: "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", username: "TP", product: "库尔勒香梨 10kg/箱", content: "踏入这家位于街角的餐厅,木质门框与暖黄灯光交织出温馨氛围,墙面上手绘的食材插_draw着文艺气息,开放式厨房的设计让食客能看见厨师处理食材的全过程,第一印象便给人以干净与安心。", images: [ - "http://localhost:8080/test.png", - "http://localhost:8080/test.png", - "http://localhost:8080/test.png", + "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", + "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", + "https://wechat-img-file.oss-cn-beijing.aliyuncs.com/test.png", ], time: "2025-03-01 11:24:20", },