🌈 style:订单页搜索合成一个

This commit is contained in:
Haiyi
2022-09-26 19:05:42 +08:00
parent 113ac6b229
commit ba018b1d25
8 changed files with 69 additions and 55 deletions
+5
View File
@@ -82,6 +82,10 @@ export default () => {
const [infoObj, setInfoObj] = useState<any>({})
//获取订单详情
const getDetail = async () => {
Taro.showLoading({
title: '加载中...',
mask: true
})
const res = await infoFetch({ id: router.params.id })
setInfoObj(res.data)
orderMsg.map(it => {
@@ -100,6 +104,7 @@ export default () => {
})
setOrderMsg([...orderMsg])
setReceivingStatus(res.data.shipment_mode)
Taro.hideLoading()
}
//复制功能
const clipboardData = () => {