打开超市tabbar
This commit is contained in:
1 parent
ed79db43ab
commit
ac855b089e
4 files changed
+37
-35
No files matched your search
@@ -27,10 +27,10 @@ onShow(() => {
|
||||
})
|
||||
|
||||
const toDetail = async (v: any) => {
|
||||
const isLogin = await hooks.useCheckLogin()
|
||||
if (isLogin) {
|
||||
router.jump("/pages/shop/detail", { id: v.id })
|
||||
}
|
||||
// const isLogin = await hooks.useCheckLogin()
|
||||
// if (isLogin) {
|
||||
// router.jump("/pages/shop/detail", { id: v.id })
|
||||
// }
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -57,11 +57,12 @@ const toDetail = async (v: any) => {
|
||||
<view class="flex-1 flex-col m-l-20rpx">
|
||||
<view class="flex-row items-center justify-between">
|
||||
<view class="flex-row-center sub-text-34">{{ v.name }}</view>
|
||||
<tm-tag size="s">{{ v.deptName }}</tm-tag>
|
||||
<!-- <tm-tag size="s">{{ v.deptName }}</tm-tag> -->
|
||||
<tm-tag size="s">老县府超市</tm-tag>
|
||||
</view>
|
||||
<view class="second-text-24">{{ v.phone }}</view>
|
||||
<view class="second-text-24">
|
||||
<view class="second-text-28">营业时间:</view>
|
||||
<view v-if="v.jobTime != ',,'" class="second-text-28">营业时间:</view>
|
||||
<view>{{ v.jobTime?.split(",")[0] ? "早:" + v.jobTime?.split(",")[0] : "" }}</view>
|
||||
<view>{{ v.jobTime?.split(",")[1] ? "中:" + v.jobTime?.split(",")[1] : "" }}</view>
|
||||
<view>{{ v.jobTime?.split(",")[2] ? "晚:" + v.jobTime?.split(",")[2] : "" }}</view>
|
||||
|
||||
Reference in new issue
Block a user