feat: 首页显示用户区域

This commit is contained in:
gcd 2025-04-01 16:28:56 +08:00
parent 73ee8cf986
commit 6e7d927c1e
2 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,7 @@
{{item.order_info.address}}
</view>
<view class="address flex-l">
安徽省蚌埠市禹会区
{{helpers.removeCommas(item.order_info.area.merge_name)}}
</view>
<view class="time-ctr flex-l" v-if="item.order_info.plan_time !== null">
<me-icon type="icon-time" color="var(--themeColor)" size="40rpx"></me-icon>

View File

@ -122,5 +122,9 @@ class helpers {
unit: unit
}
}
static removeCommas(str) {
return str.replace(/,/g, '');
}
}
export default helpers