diff --git a/src/pages.json b/src/pages.json
index e06bb25..e60fb95 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -53,6 +53,12 @@
"style": {
"navigationBarTitleText": "hot"
}
+ },
+ {
+ "path": "pages/goods/goods",
+ "style": {
+ "navigationBarTitleText": "goods"
+ }
}
],
// 全局样式
diff --git a/src/pages/goods/goods.vue b/src/pages/goods/goods.vue
new file mode 100644
index 0000000..3099ec7
--- /dev/null
+++ b/src/pages/goods/goods.vue
@@ -0,0 +1,7 @@
+
+ goods
+
+
+
+
+
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 549d9e7..4a425e4 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -47,10 +47,10 @@ const getHotList = async () => {
hotList.value = res.result
}
-// 猜你喜欢 实例
+// 猜你喜欢滚动到底加载更多
+// 获取实例
const guessRef = ref()
-
-// 滚动到底部调用子组件的方法
+// 调用子组件的方法
const onScrollToLower = () => {
guessRef.value?.getMore()
}