feat(shop): 添加文章详情页面并优化购物车样式

- 新增文章详情页面组件,用于显示文章内容
- 优化购物车页面样式,增加空购物车状态的透明背景
- 添加多个购物相关 API 接口,包括优惠券、订单等
- 更新环境配置,修改 API 基础 URL
- 调整发现页面布局,增加文章详情入口
This commit is contained in:
2025-08-13 01:37:07 +08:00
parent 1802a27234
commit 1c2e00b7ba
21 changed files with 1072 additions and 179 deletions

View File

@@ -67,7 +67,7 @@ const Address = () => {
})
setTimeout(() => {
Taro.navigateBack()
},500)
}, 500)
}
useDidShow(() => {
@@ -144,6 +144,17 @@ const Address = () => {
/>
</Cell.Group>
))}
<View
className="fixed z-50 bottom-0 left-0 right-0 bg-white border-t border-gray-200 px-4 py-3 safe-area-bottom">
<Button
type="success"
size="large"
block
className="px-6"
onClick={() => Taro.navigateTo({url: '/user/address/add'})}>
</Button>
</View>
</>
);
};