refactor(api): 统一文章和导航查询接口命名

- 将getCmsArticleByCode重命名为getByCode
- 新增cmsNavigation的getByCode查询方法
- 统一返回数据处理逻辑

style(ui): 调整商品详情页底部按钮样式

- 减少底部按钮区域内边距
- 调整咨询按钮文字大小和内间距
- 缩小耳机图标尺寸

chore(app): 移除多余空行和调试信息

- 删除组件间无用空白行
- 将邀请提示改为控制台输出
- 保持导出语句格式一致
This commit is contained in:
2025-10-11 11:52:24 +08:00
parent ea5419dfb5
commit f808c22a22
4 changed files with 20 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ import { useConfig } from "@/hooks/useConfig"; // 引入新的自定义Hook
function App(props: { children: any; }) {
const { refetch: handleTheme } = useConfig(); // 使用新的Hook
const reload = () => {
Taro.login({
success: (res) => {
@@ -78,11 +78,7 @@ function App(props: { children: any; }) {
// 显示邀请提示
setTimeout(() => {
Taro.showToast({
title: `检测到邀请信息 ID:${inviteParams.inviter}`,
icon: 'success',
duration: 3000
})
console.log(`检测到邀请信息 ID:${inviteParams.inviter}`)
}, 1000)
} else {
@@ -102,4 +98,4 @@ function App(props: { children: any; }) {
return props.children
}
export default App
export default App