11import React , { useState } from 'react'
22import { Steps , Step , Button , Cell , pxTransform } from '@nutui/nutui-react-taro'
33import { Check , PickedUp , Service , WaitReceive } from '@nutui/icons-react-taro'
4+ import { View } from '@tarojs/components'
45
56const Demo9 = ( ) => {
67 const [ value , setValue ] = useState ( 2 )
@@ -13,7 +14,7 @@ const Demo9 = () => {
1314 marginTop : pxTransform ( 2 ) ,
1415 color : '#808080' ,
1516 fontSize : pxTransform ( 12 ) ,
16- lineHeight : pxTransform ( 18 ) ,
17+ lineHeight : 1.5 ,
1718 }
1819
1920 return (
@@ -31,11 +32,11 @@ const Demo9 = () => {
3132 title = "待取件"
3233 description = {
3334 < >
34- < p >
35+ < View >
3536 你的订单已由【深圳市福田区福华路京东快递自
3637 提点】上架完成,请上门自提
37- </ p >
38- < p style = { timeCustomStyle } > 2025-01-20 07:12:30</ p >
38+ </ View >
39+ < View style = { timeCustomStyle } > 2025-01-20 07:12:30</ View >
3940 </ >
4041 }
4142 icon = { < WaitReceive /> }
@@ -46,8 +47,8 @@ const Demo9 = () => {
4647 title = "运输中"
4748 description = {
4849 < >
49- < p > 订单在【淮安分拣中心】完成分拣</ p >
50- < p style = { timeCustomStyle } > 2025-01-20 07:12:30</ p >
50+ < View > 订单在【淮安分拣中心】完成分拣</ View >
51+ < View style = { timeCustomStyle } > 2025-01-20 07:12:30</ View >
5152 </ >
5253 }
5354 icon = { < PickedUp /> }
@@ -62,8 +63,8 @@ const Demo9 = () => {
6263 title = "待安装 工程师已接单"
6364 description = {
6465 < >
65- < p > 已分配工程师 XXX 为您服务,联系电话 136 **** 8618</ p >
66- < p style = { timeCustomStyle } > 2025-01-20 07:12:30</ p >
66+ < View > 已分配工程师 XXX 为您服务,联系电话 136 **** 8618</ View >
67+ < View style = { timeCustomStyle } > 2025-01-20 07:12:30</ View >
6768 </ >
6869 }
6970 icon = { < Service /> }
@@ -74,8 +75,8 @@ const Demo9 = () => {
7475 title = "已签收"
7576 description = {
7677 < >
77- < p > 京东快递 · 您的订单派送完成,已由家人签收</ p >
78- < p style = { timeCustomStyle } > 2025-01-20 07:12:30</ p >
78+ < View > 京东快递 · 您的订单派送完成,已由家人签收</ View >
79+ < View style = { timeCustomStyle } > 2025-01-20 07:12:30</ View >
7980 </ >
8081 }
8182 icon = { < Check /> }
0 commit comments