feat: 一体机适配

This commit is contained in:
2025-12-15 15:11:11 +08:00
parent 4983d9cbc7
commit 330eec226f
36 changed files with 2863 additions and 376 deletions

View File

@@ -12,7 +12,7 @@
</view>
</view>
<view class="header-input btn-feel">
<uni-icons class="iconsearch" color="#666666" type="search" size="18"></uni-icons>
<my-icons class="iconsearch" color="#666666" type="search" size="36"></my-icons>
<input
v-model="pageState.zphmc"
confirm-type="search"
@@ -100,7 +100,7 @@
<empty v-if="!fairList.length" content="暂时没有结果,下一天也许就有惊喜"></empty>
</scroll-view>
</view>
<Tabbar :currentpage="1"></Tabbar>
<Tabbar v-show="showTabbar" :currentpage="1"></Tabbar>
</view>
</view>
</template>
@@ -114,6 +114,19 @@ import { storeToRefs } from 'pinia';
import config from '@/config';
const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore());
const { $api, navTo, cloneDeep, debounce } = inject('globalFunction');
import useScreenStore from '@/stores/useScreenStore'
const screenStore = useScreenStore()
const showTabbar = ref(false)
watch(
() => screenStore.isWideScreen,
(newVal) => {
showTabbar.value = newVal
},
{ immediate: true }
)
const weekList = ref([]);
const fairList = ref([]);
const currentDay = ref({});