feat:修复样式
This commit is contained in:
+9
-1
@@ -48,7 +48,8 @@
|
||||
</view>
|
||||
<!-- 分类 -->
|
||||
<view class="home_sort_warp">
|
||||
<view class="sort_comm_warp" v-if="sortList && sortList.length !== 0">
|
||||
<view class="sort_comm_warp" v-if="sortList && sortList.length !== 0 && isBlockedDate">
|
||||
|
||||
<view v-for="item in sortList" :key="item.id" class="sort_item_comm" @click="jumpSort(item)">
|
||||
<up-image :src="item.icon" width="40" height="32" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="sort_item_title_comm">{{ item.name }}</view>
|
||||
@@ -211,6 +212,7 @@ import { getCascadeCategory, checkAppVersion, getCarouselImage } from '@/api/com
|
||||
import { SEARCH_TYPE, APP_PAGE_TYPE } from '@/utils/enumUtils.js'
|
||||
import CustomTabBar from '@/components/custom-tab-bar.vue'; // 引入自定义组件路径可能需要根据项目结构调整
|
||||
import dayjs from 'dayjs';
|
||||
import useTabber from "tabber-component";
|
||||
import { comparisonVersionHandler } from '@/utils/index.js';
|
||||
|
||||
export default {
|
||||
@@ -472,7 +474,13 @@ export default {
|
||||
url: '/pages/other_package/productInfo/productInfo?id=' + item.id,
|
||||
})
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isBlockedDate() {
|
||||
return !useTabber(10);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user