Refactor(首页):改版重构-界面完成
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user