refactor: 产品大图迁移OSS,小图标本地打包,资源基址改为.env配置
This commit is contained in:
@@ -174,7 +174,7 @@ export default function OrdersPage() {
|
||||
|
||||
{filteredOrders.length === 0 && (
|
||||
<View className='empty-state'>
|
||||
<Image className='empty-icon-img' src='/icon/包裹.png' mode='aspectFit' />
|
||||
<Image className='empty-icon-img' src={assetUrl('/icon/包裹.png')} mode='aspectFit' />
|
||||
<Text className='empty-text'>暂无订单</Text>
|
||||
<Text className='empty-sub'>去首页开始定制吧</Text>
|
||||
<View className='btn-gradient' onTap={() => Taro.switchTab({ url: '/pages/index/index' })}>
|
||||
|
||||
Reference in New Issue
Block a user