diff --git a/pages.json b/pages.json
index d9bf482..6c14a7a 100644
--- a/pages.json
+++ b/pages.json
@@ -13,7 +13,8 @@
"style": {
"navigationBarTitleText": "分类",
"navigationBarBackgroundColor": "#f2f5f7",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "navigationStyle": "custom"
}
},
{
diff --git a/pages/classify/classify.vue b/pages/classify/classify.vue
index 06a29c0..c23a7ab 100644
--- a/pages/classify/classify.vue
+++ b/pages/classify/classify.vue
@@ -1,6 +1,177 @@
-
-
+
+
+
+
+
+
+
+
+
+
+ 为您推荐
+
+
+
+ 特惠专区
+
+
+
+ 时令春菜
+
+
+
+ 鸭货卤味
+
+
+
+ 鸡/鹅肉类
+
+
+
+ 轻食萨拉
+
+
+
+ 猪肉类
+
+
+
+ 羊肉肉类
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 够辣
+
+
+
+
+
+ 糖醋排骨
+ 乡下土猪
+
+ 仅剩3份
+ 劲辣胃浓
+
+
+ 43.959.9
+
+
+
+
+
+
+
+
+ 够辣
+
+
+
+
+
+ 糖醋排骨
+ 乡下土猪
+
+ 仅剩3份
+ 劲辣胃浓
+
+
+ 43.959.9
+
+
+
+
+
+
+
+
+ 香甜
+
+
+
+
+
+ 泡椒田鸡
+ 超大只田鸡
+
+ 仅剩3份
+ 劲辣胃浓
+ 劲辣胃浓
+
+
+ 43.959.9
+
+
+
+
+
+
+
+
+
+
+ 热销
+
+
+
+
+
+ 泡椒田鸡
+ 超大只田鸡
+
+ 仅剩3份
+ 劲辣胃浓
+
+
+ 43.959.9
+
+
+
+
+
+
+
+
+ 新鲜
+
+
+
+
+
+ 泡椒田鸡
+ 超大只田鸡
+
+ 仅剩3份
+ 劲辣胃浓
+
+
+ 43.959.9
+
+
+
+
+
+
+
+
+
@@ -11,9 +182,12 @@ import { storeToRefs } from 'pinia';//实现解构付值
import { onLoad,onShow,onPullDownRefresh,onReachBottom } from "@dcloudio/uni-app"
const counterStore = useCounterStore(); // 使用 Store
//使用pinia:storeToRefs方法包裹(保持响应式更新,不使用视图无法更新)
-// const { count,doubleCount } = storeToRefs(counterStore);
+//const { count,doubleCount } = storeToRefs(counterStore);
+const statusHeight = ref(uni.getMenuButtonBoundingClientRect()['height'])
+const headerHeight = ref(uni.getSystemInfoSync()['statusBarHeight'])
+const ScrollLeft = ref(0);
-// 使用 uni.onLoad 监听页面加载
+//使用 uni.onLoad 监听页面加载
onLoad((options) => {
});
@@ -21,11 +195,11 @@ onShow(() => {
});
onPullDownRefresh(()=>{
-
-})
+ uni.stopPullDownRefresh();
+});
onReachBottom(()=>{
-})
+});