forked from gxwebsoft/mp-10550
feat(shop): 添加文章详情页面并优化购物车样式
- 新增文章详情页面组件,用于显示文章内容 - 优化购物车页面样式,增加空购物车状态的透明背景 - 添加多个购物相关 API 接口,包括优惠券、订单等 - 更新环境配置,修改 API 基础 URL - 调整发现页面布局,增加文章详情入口
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user