Refactor(首页):改版重构-界面完成

This commit is contained in:
lifizer
2024-07-30 18:14:59 +08:00
parent b264e04e8f
commit 37fa7fab05
7 changed files with 1682 additions and 884 deletions
+8 -2
View File
@@ -1,5 +1,5 @@
<template>
<view class="have-fun">
<view class="have-fun tabbar-page">
<view class="top-box">
<view class="search-box flex jc-between ai-center">
<input
@@ -73,6 +73,7 @@
:show-avatar="false"
/>
</view>
<xdd-tabbar :curr-index="4" />
</view>
</template>
<script>
@@ -80,9 +81,11 @@ import { getHotelList, getHotelTypeList } from "@/api/inn.js"
import { getCurAddress, getLocation } from "@/utils/common"
import FunHotelItem from './components/HotelItem'
import { pageListenMixins } from '@/mixins/pageListenMixins'
import XddTabbar from '@/components/xdd-tabbar'
export default {
components: {
FunHotelItem
FunHotelItem,
XddTabbar
},
mixins: [pageListenMixins],
data() {
@@ -291,4 +294,7 @@ export default {
}
}
}
.tabbar-page {
padding: 0 0 180rpx 0;
}
</style>