forked from gxwebsoft/mp-10550
fix(ui): 更新订单页面标题文本
- 将配送订单标题更改为送水订单 - 订单详情中显示票号而非订单ID - 我的订单标题更新为商城订单
This commit is contained in:
@@ -26,7 +26,7 @@ function UserOrder() {
|
||||
}}
|
||||
>
|
||||
<View className={'title-bar flex justify-between pt-2'}>
|
||||
<Text className={'title font-medium px-4'}>我的订单</Text>
|
||||
<Text className={'title font-medium px-4'}>商城订单</Text>
|
||||
<View
|
||||
className={'more flex items-center px-2'}
|
||||
onClick={() => navTo('/user/order/order', true)}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
navigationBarTitleText: '配送订单',
|
||||
navigationBarTitleText: '送水订单',
|
||||
navigationBarTextStyle: 'black'
|
||||
}
|
||||
|
||||
@@ -388,7 +388,7 @@ export default function RiderOrders() {
|
||||
<View className="w-full">
|
||||
<View className="flex justify-between items-center">
|
||||
<Text className="text-gray-800 font-bold text-sm">
|
||||
{o.id ? `送水订单#${o.id}` : '送水订单'}
|
||||
{o.userTicketId ? `票号#${o.userTicketId}` : '送水订单'}
|
||||
</Text>
|
||||
<Text className={`${getOrderStatusColor(o)} text-sm font-medium`}>{getOrderStatusText(o)}</Text>
|
||||
</View>
|
||||
|
||||
@@ -104,7 +104,7 @@ function Order() {
|
||||
</>
|
||||
}
|
||||
>
|
||||
<span>我的订单</span>
|
||||
<span>商城订单</span>
|
||||
</NavBar>
|
||||
{/* 搜索和筛选工具栏 */}
|
||||
<View className="bg-white px-4 py-3 flex justify-between items-center border-gray-100">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: '配送订单',
|
||||
navigationBarTitleText: '送水订单',
|
||||
navigationBarTextStyle: 'black',
|
||||
navigationBarBackgroundColor: '#ffffff'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user