feat(dealer): 新增电费收益页面并优化订单展示

- 在应用配置中添加电费收益页面路由- 创建电费收益页面组件及配置文件- 修改订单页面标题为"电费订单"- 订单列表增加用户ID筛选条件
- 调整订单详情中的收益比率显示为税费
- 更新空状态提示文案以区分不同页面内容
This commit is contained in:
2025-10-13 09:22:43 +08:00
parent 1453e79104
commit e867537375
5 changed files with 201 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ const DealerOrders: React.FC = () => {
const result = await pageShopDealerOrder({
isInvalid: 0,
userId: Taro.getStorageSync('UserId'),
page,
limit: 10
})
@@ -119,7 +120,7 @@ const DealerOrders: React.FC = () => {
{order.comments}
</Text>
<Text className="text-sm text-gray-400">
{order.rate}
{order.rate}
</Text>
</View>
@@ -179,7 +180,7 @@ const DealerOrders: React.FC = () => {
)}
</>
) : (
<Empty description="暂无收益" style={{
<Empty description="暂无电费订单" style={{
backgroundColor: 'transparent'
}}/>
)}