4.4首页新公寓样式和轮播图,公寓列表标签筛选

This commit is contained in:
DESKTOP-RQ919RC\Pc 2025-04-16 18:59:05 +08:00
parent ced718c079
commit 6132cd8db2
5 changed files with 32 additions and 5 deletions

View File

@ -22,6 +22,10 @@
<tab StudentapartmentNew="{{ StudentapartmentNew }}" page="brandApartmentlist" listTab="{{ listTab }}"></tab>
</view>
<scroll-view class="label">
<view class="item" wx:for="{{ 10 }}" wx:key="index">单人间</view>
</scroll-view>
<view id="annex-school" class="annex-school flexacenter">
<view class="annex-school-name flexacenter">学校附近</view>
<scroll-view scroll-x="{{ true }}" style=" width: 60%; white-space: nowrap;" class="flex1" scroll-left="{{ schoolScrollLeft }}" scroll-into-view="{{ scrollView }}">

View File

@ -1,5 +1,6 @@
/* list */
@import '../common/common.wxss';
@import './brandApartmentListLess.wxss';
.irent-list-box {
min-height: 100vh;

View File

@ -0,0 +1,13 @@
.label {
white-space: nowrap;
.item {
display: inline-flex;
height: 60rpx;
line-height: 60rpx;
padding: 0 24rpx;
background-color: rgba(242, 242, 242, 1);
border-radius: 15rpx;
}
}

View File

@ -0,0 +1,11 @@
.label {
white-space: nowrap;
}
.label .item {
display: inline-flex;
height: 60rpx;
line-height: 60rpx;
padding: 0 24rpx;
background-color: #f2f2f2;
border-radius: 15rpx;
}

View File

@ -12,6 +12,9 @@
<header-nav inner-text="Some text" isIndexPage="index" headerSrc="{{ miniProgram == 'gx' ? 'top-image1.png' : 'top-image.png' }}" bgcolor="{{ operationsTop ? 'rgba(246, 246, 246, 1)' : 'linear-gradient(0deg, rgba(246, 246, 246, 1) 2%, rgba(98, 177, 255, 1) 333%)'}}" topImage="{{ !operationsTop }}"></header-nav>
<!-- 新的 首页轮播图 -->
<xin-head-swiper class="xin-head-swiper" data="{{ banner }}" page="index"></xin-head-swiper>
<!-- 搜索框 -->
<view url="/pages/search/search" hover-class="hover">
<view class="search-box flexacenter" bindtap="publicJumps" data-url="/pages/search/search">
@ -26,11 +29,6 @@
</view>
</view>
<!-- 新的 首页轮播图 -->
<xin-head-swiper class="xin-head-swiper" data="{{ banner }}"></xin-head-swiper>
<!-- 分类 -->
<view class="types-tab">
<navigator wx:for="{{ tabs }}" wx:key="index" class="item" url="{{ item.url }}" hover-class="hover">