diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue index 514188f..e44d63d 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/groupBuying/details/details.vue @@ -351,11 +351,13 @@ - + - + diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue index 0551147..66a97e6 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/pinTuan/details/details.vue @@ -392,11 +392,13 @@ - + - + diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue b/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue index add5b72..409462b 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/activity/seckill/details/details.vue @@ -354,11 +354,13 @@ - + - + diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue b/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue index 6ac3029..43bc88c 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/goods/goodDetails/goodDetails.vue @@ -298,11 +298,13 @@ - + - + diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/detail/detail.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/detail/detail.vue index a2e4392..72298b4 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/detail/detail.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/afterSales/detail/detail.vue @@ -26,11 +26,11 @@ 售后单进度 - + - {{statusName}} - {{reshipName}} - {{refundName}} + {{statusName}} + {{reshipName}} + {{refundName}} @@ -39,14 +39,14 @@ 退货邮寄信息 - + - - + + - - - + + + 收货人: {{ reshipInfo.reshipName }} {{ reshipInfo.reshipMobile }} @@ -54,9 +54,9 @@ {{ reshipInfo.reshipArea + reshipInfo.reshipAddress }} - - - + + + @@ -65,14 +65,14 @@ 商品信息 - + {{item.name}} 售后单号:{{item.aftersalesId}} - + 退货数量:{{item.nums}} @@ -85,7 +85,7 @@ 状态 - + 商品状态 @@ -98,15 +98,17 @@ {{refund}}元 - - 联系客服 + + + 联系客服 + 图片凭证 - + @@ -119,7 +121,7 @@ 问题描述 - + {{reason}} 暂无描述 @@ -131,7 +133,7 @@ 请填写回邮商品物流信息 - + @@ -159,7 +161,7 @@ 快递公司 - + 快递公司 @@ -170,7 +172,7 @@ 物流单号 {{logiNo}} - + diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/order/detail/detail.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/order/detail/detail.vue index aa2793e..306597f 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/order/detail/detail.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/order/detail/detail.vue @@ -80,7 +80,7 @@ - 邀请拼单 + 邀请拼单 @@ -292,7 +292,9 @@ - 联系客服 + + 联系客服 + diff --git a/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs b/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs index e5ea40b..9bbcd28 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/GoodController.cs @@ -155,7 +155,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers where = where.And(p => p.isMarketable == true); var className = string.Empty; - if (!string.IsNullOrEmpty(entity.where)) + if (!string.IsNullOrWhiteSpace(entity.where)) { var obj = JsonConvert.DeserializeAnonymousType(entity.where, new { @@ -167,7 +167,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers searchName = "", }); - if (!string.IsNullOrEmpty(obj.priceFrom)) + if (!string.IsNullOrWhiteSpace(obj.priceFrom)) { var priceF = obj.priceFrom.ObjectToDouble(0); if (priceF >= 0) @@ -176,19 +176,19 @@ namespace CoreCms.Net.Web.WebApi.Controllers where = where.And(p => p.price >= f); } } - if (!string.IsNullOrEmpty(obj.priceTo)) + if (!string.IsNullOrWhiteSpace(obj.priceTo)) { var priceT = obj.priceTo.ObjectToDouble(0); - if (priceT >= 0) + if (priceT > 0) { var f = Convert.ToDecimal(priceT); where = where.And(p => p.price <= f); } } - if (!string.IsNullOrEmpty(obj.catId)) + if (!string.IsNullOrWhiteSpace(obj.catId)) { var catId = obj.catId.ObjectToInt(0); - if (catId >= 0) + if (catId > 0) { var category = await _goodsCategoryServices.QueryByIdAsync(catId); if (category != null) @@ -208,30 +208,26 @@ namespace CoreCms.Net.Web.WebApi.Controllers } } } - if (!string.IsNullOrEmpty(obj.brandId)) + if (!string.IsNullOrWhiteSpace(obj.brandId)) { var brandId = obj.brandId.ObjectToInt(0); - if (brandId >= 0) + if (brandId > 0) { where = where.And(p => p.brandId == brandId); } } - if (!string.IsNullOrEmpty(obj.labelId)) + if (!string.IsNullOrWhiteSpace(obj.labelId)) { - var brandId = obj.brandId.ObjectToInt(0); - if (brandId >= 0) - { - where = where.And(p => p.brandId == brandId); - } + where = where.And(p => p.labelIds.Contains(obj.labelId)); } - if (!string.IsNullOrEmpty(obj.searchName)) + if (!string.IsNullOrWhiteSpace(obj.searchName)) { where = where.And(p => p.name.Contains(obj.searchName)); } } var orderBy = " isRecommend desc,isHot desc"; - if (!string.IsNullOrEmpty(entity.order)) + if (!string.IsNullOrWhiteSpace(entity.order)) { orderBy += "," + entity.order; }