Showing
1 changed file
with
10 additions
and
1 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-06-28 10:33:00 | 2 | * @Date: 2025-06-28 10:33:00 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-07-16 09:37:40 | 4 | + * @LastEditTime: 2025-07-16 09:50:03 |
| 5 | * @FilePath: /jgdl/src/pages/index/index.vue | 5 | * @FilePath: /jgdl/src/pages/index/index.vue |
| 6 | * @Description: 捡个电驴首页 | 6 | * @Description: 捡个电驴首页 |
| 7 | --> | 7 | --> |
| ... | @@ -121,6 +121,15 @@ const onGoodCarClick = () => { | ... | @@ -121,6 +121,15 @@ const onGoodCarClick = () => { |
| 121 | }) | 121 | }) |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | +/** | ||
| 125 | + * 点击最新上架 | ||
| 126 | + */ | ||
| 127 | +const onNewCarClick = () => { | ||
| 128 | + Taro.navigateTo({ | ||
| 129 | + url: '/pages/newCarList/index' | ||
| 130 | + }) | ||
| 131 | +} | ||
| 132 | + | ||
| 124 | // 生命周期钩子 | 133 | // 生命周期钩子 |
| 125 | useDidShow(() => { | 134 | useDidShow(() => { |
| 126 | console.warn('index onShow') | 135 | console.warn('index onShow') | ... | ... |
-
Please register or login to post a comment