diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/category/category.scss b/CoreCms.Net.Uni-App/CoreShop/pages/category/category.scss
index 3ddf5d7a..ad23640d 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/category/category.scss
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/category/category.scss
@@ -8,15 +8,22 @@
.back {
width: 50rpx;
height: 50rpx;
- margin-right: 20rpx;
+ margin-right: 10rpx;
}
-
+ .page-title{
+ font-size: 27rpx;
+ margin-right: 10rpx;
+ width: 110rpx;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
.search-tit {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 10rpx;
- font-size: 24rpx;
+ font-size: 22rpx;
width: 100rpx;
text-align: center;
line-height: 50rpx;
diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/category/category.vue b/CoreCms.Net.Uni-App/CoreShop/pages/category/category.vue
index c286e20a..46334a40 100644
--- a/CoreCms.Net.Uni-App/CoreShop/pages/category/category.vue
+++ b/CoreCms.Net.Uni-App/CoreShop/pages/category/category.vue
@@ -5,10 +5,13 @@
-
-
+ {{state.pageTitle}}
+
+
搜索
@@ -167,6 +170,7 @@
priceTo : number | string;
brandId : string;
pageTitle : string;
+ searchInputW:string;
}>({
searchKey: "",
page: 1,
@@ -217,6 +221,7 @@
priceTo: '',
brandId: "",
pageTitle: "",
+ searchInputW:"320rpx"
})
let queryParams : QueryParams
@@ -235,6 +240,10 @@
queryParams = query;
/** 处理 query 然后获取商品列表 */
handleuQueryProduct(query);
+
+ // #ifdef APP
+ state.searchInputW = 'auto';
+ // #endif
});
onPullDownRefresh(async () => {