83 lines
3.7 KiB
Plaintext
83 lines
3.7 KiB
Plaintext
<view class="container">
|
|
<header-nav>英国学生公寓</header-nav>
|
|
<view class="page-header">
|
|
<image src="{{ banner }}" mode="widthFix"></image>
|
|
</view>
|
|
|
|
<view class="hot-apartment">
|
|
<view class="title">热门公寓</view>
|
|
|
|
<view class="city-list">
|
|
<view wx:for="{{ hotCity }}" bindtap="changeHotCity" wx:key="index" data-index="{{ index }}" data-id="{{ item.cityid }}" data-name="{{ item.cityName }}" data-beforeLength="{{ item.beforeLength }}" class="item {{ activeCity==item.cityid ? 'active' :''}}">
|
|
<view class="text">{{ item.cityName }}</view>
|
|
</view>
|
|
<view class="item" data-path="/pages/search/index" bindtap="tominiProgram" data-id="all" data-type="city">
|
|
<view class="text">所有城市
|
|
<image class="you" src="/img/you.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="card-container">
|
|
|
|
<swiper next-margin="50px" style="height:{{ swiperHeight }}px" circular="true" current="{{ current }}" bindchange="changeSwiper">
|
|
<block wx:for="{{ hotHouseList }}" wx:key="index">
|
|
<swiper-item wx:for="{{ item.houseList }}" wx:for-item="s" wx:for-index="i" wx:key="i">
|
|
<hot-card bindtap="tominiProgram" data-path="/pages/house/index?id={{ s.id }}" data-name="{{ s.title }}" data-type="house" data-id="{{ s.id }}" bindloadHeight="loadHeight" item="{{ s }}"></hot-card>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
|
|
<view class="indicator-dots">
|
|
<view wx:for="{{ hotHouseList[activeCityIndex].houseList.length }}" wx:key="index" class="item {{ activeSwiperIndex==index ? 'active' :''}}"></view>
|
|
</view>
|
|
|
|
<view class="btn">
|
|
<view data-id="{{ activeCity }}" data-name="{{ hotCity[activeCityIndex].cityName }}" data-type="city" data-path="/pages/house/list?word={{ hotCity[activeCityIndex].cityName }}" class="item" bindtap="tominiProgram">
|
|
<view class="text">
|
|
<view>更多{{ hotCity[activeCityIndex].cityName }}公寓</view>
|
|
<image src="/img/hk-right.png"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
<view class="uk-strategy">
|
|
<view class="title">英国攻略</view>
|
|
<view class="list">
|
|
<navigator hover-class="hover" url="/{{ item.url }}" class="item {{ item.icon }}" wx:for="{{ strategy }}" wx:key="index" bindtap="statBtn" data-id="{{ item.icon }}" data-name="{{ item.name }}" data-type="strategy">
|
|
<view class="order">
|
|
<view class="text">{{ index + 1 }}</view>
|
|
</view>
|
|
<view class="icon">
|
|
<image src="/img/hk-{{ item.icon }}.png"></image>
|
|
</view>
|
|
<view class="name">{{ item.name }}</view>
|
|
</navigator>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="about-belloliving">
|
|
<view class="title">关于八楼校舍</view>
|
|
<view class="list">
|
|
<view class="item {{ item.icon }}" wx:for="{{ aboutBelloliving }}" wx:key="index">
|
|
<view class="sub">
|
|
<view class="icon"><image src="/img/hk-{{ item.icon}}.png"></image></view>
|
|
<view class="name" wx:if="{{ item.icon !='year' }}">{{ item.name }}</view>
|
|
<view class="name" wx:if="{{ item.icon =='year' }}"><view class="num">6</view>年</view>
|
|
</view>
|
|
<view class="text">{{ item.text }}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="contact">
|
|
<view class="name">欢迎联系</view>
|
|
<view class="belloliving-wechat">官方客服微信号: <view class="num">{{ wechat}}</view> </view>
|
|
<view class="tips">备注:<view class="text">寄托</view>,获优先咨询</view>
|
|
<view class="button" bindtap="copy" data-wechat="{{wechat}}"> <image src="/img/wechat.png"></image> 复制微信号</view>
|
|
</view>
|
|
</view>
|
|
|
|
</view> |