4.6新样式

This commit is contained in:
DESKTOP-RQ919RC\Pc 2025-04-17 18:54:19 +08:00
parent 6132cd8db2
commit 6d57b07cef
21 changed files with 3344 additions and 1731 deletions

View File

@ -410,24 +410,23 @@ Page({
},
// 拉去广告
getAd() {
let that = this;
let url = app.globalData.config.studentapartment.quarantineBanner
miucms.request(url, {}).then(data => {
that.setData({
data.data[0].image = "https://app.gter.net/image/miniApp/HKRenting/md5__a65c6e69fa6d5cad6ee45aeaf147028f.svg"
this.setData({
attachment: data.data
})
wx.hideLoading()
// that.getverifiedList()
}).catch(res => {})
})
},
getverifiedList() {
let that = this;
miucms.request(app.globalData.config.adv.verifiedList, {}).then(data => {
that.setData({
this.setData({
verifiedList: data.data
})
}).catch(res => {})
})
},
// 获取地域列表
getLocationList() {

View File

@ -6,14 +6,10 @@
<to-top wx:if="{{ showTOTOP }}"></to-top>
<view class="header-bj"></view>
<header-nav bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">{{ miniProgram == 'xg' ? '寄托香港租房' : '寄托港校租房' }}</header-nav>
<view id="list-header-search">
<template is="list-header-search" data="{{ kw:'',disabled: true,isNeedMap: isMapFindState }}"></template>
</view>
<xin-head-swiper bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
<!-- 临时隔断用的 -->
<view style="height: 48rpx; width: 100vw;"></view>
<xin-head-swiper class="xin-head-swiper" bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
<template is="list-header-search" data="{{ kw:'',disabled: true,isNeedMap: isMapFindState }}"></template>
<tab StudentapartmentNew="{{ StudentapartmentNew }}" page="quarantineLists" listTab="{{ listTab }}"></tab>
<view id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight - 1 }}px;">

View File

@ -154,7 +154,6 @@ Page({
}
this.setData({
isMapFindState: app.globalData.isMapFindState,
irentCouponBig: app.globalData.irentCouponBig,
options: options || {},
school: this.data.school || '',
@ -219,6 +218,7 @@ Page({
initState: true,
miniProgram: app.globalData.miniProgram,
popwindow: app.globalData.popwindow,
isMapFindState: app.globalData.isMapFindState,
})
let screen_data = this.data.screen_data
@ -412,6 +412,7 @@ Page({
content: data.message,
})
} else {
data.data[0].image = "https://app.gter.net/image/miniApp/HKRenting/md5__a65c6e69fa6d5cad6ee45aeaf147028f.svg"
that.setData({
imgUrls: data.data
})

View File

@ -5,7 +5,7 @@
"form-id": "../../template/formId/formId",
"go-login": "../../template/goLogin/goLogin",
"head-swiper": "../../template/headSwiper/headSwiper",
"tab": "../personList/tab/tab",
"tab": "/pages/personList/tab/tab",
"to-top": "../../template/toTop/toTop",
"select-single": "../../template/selectSingle/selectSingle",
"range-box": "../../template/rangeBox/rangeBox",

View File

@ -5,25 +5,22 @@
<image class="to-top-icon" src="/img/totop.png" mode="widthFix"></image>
</view>
<!-- <to-top wx:if="{{ showTOTOP }}"></to-top> -->
<header-nav bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">{{ miniProgram == 'xg' ? '寄托香港租房' : '寄托港校租房' }}
</header-nav>
<header-nav bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">{{ miniProgram == 'xg' ? '寄托香港租房' : '寄托港校租房' }}</header-nav>
<template is="irenCouponReceive" data="{{ irentCouponBig:irentCouponBig,hideCoupon:hideCoupon,irenCouponReceive:irenCouponReceive }}"></template>
<view class='irent-list-box'>
<view class="header-bj"></view>
<view id="list-header-search">
<template is="list-header-search" data="{{ isNeedMap: isMapFindState }}"></template>
</view>
<xin-head-swiper bindrecordSwiperHeight="recordSwiperHeight" data="{{ imgUrls }}"></xin-head-swiper>
<view style="height: 48rpx; width: 100vw;"></view>
<xin-head-swiper class="xin-head-swiper" bindrecordSwiperHeight="recordSwiperHeight" data="{{ imgUrls }}"></xin-head-swiper>
<template is="list-header-search" data="{{ isNeedMap: isMapFindState }}"></template>
<view class="tab-box">
<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 wx:if="{{ false }}" class="label" scroll-x="{{ true }}">
<view class="item {{ index == 1 ? 'pitch' : '' }}" wx:for="{{ 20 }}" wx:key="index">单人间</view>
</scroll-view>
<view id="annex-school" class="annex-school flexacenter">
@ -36,7 +33,7 @@
</scroll-view>
</view>
<view id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight }}px;">
<view id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight - 1 }}px;">
<list-operations id="list-operations-components" tabTitle="品牌公寓" operationstype="student" money="{{ money }}" brands="{{ brands }}" screen_data="{{ screen_data }}" roomtype="{{ roomtype }}" roomlistings="{{ roomlistings }}" bindsubmit="submitOperations" bindisOpenOperations="isOpenOperations"></list-operations>
</view>

View File

@ -5,6 +5,7 @@
.irent-list-box {
min-height: 100vh;
box-sizing: border-box;
padding-top: 20rpx;
}
.house-list {
@ -29,7 +30,6 @@
.bottom-already .text {
color: #999;
font-size: 24rpx;
}
.bottom-already .text::before,
@ -152,7 +152,7 @@
}
.annex-school .annex-school-name {
color: rgb(51, 51, 51);
color: #000000;
font-weight: 650;
font-size: 24rpx;
height: 60rpx;
@ -162,8 +162,8 @@
.annex-school .annex-school-item {
border: 1rpx solid rgb(235, 235, 235);
color: rgb(127, 127, 127);
border: 1rpx solid rgb(215, 215, 215);
color: #7F7F7F;
border-radius: 45rpx;
width: 90rpx;
height: 60rpx;
@ -173,9 +173,10 @@
}
.annex-school .annex-school-item.pitch {
background-color: rgb(231, 251, 247);
border: none;
color: rgb(80, 227, 194);
/* background-color: rgb(231, 251, 247); */
background-color: rgba(80, 227, 194, 1);
border-color: rgba(80, 227, 194, 1);
color: #FFFFFF;
}
.tab-box {

View File

@ -1,6 +1,12 @@
.xin-head-swiper {
margin-top: 20rpx;
margin-bottom: 30rpx;
display: block;
}
.label {
white-space: nowrap;
margin-bottom: 40rpx;
.item {
display: inline-flex;
@ -9,5 +15,22 @@
padding: 0 24rpx;
background-color: rgba(242, 242, 242, 1);
border-radius: 15rpx;
margin-right: 15rpx;
font-size: 24rpx;
color: #333333;
&:first-of-type {
margin-left: 30rpx;
}
&:last-of-type {
margin-right: 30rpx;
}
&.pitch {
background-color: rgba(80, 227, 194, 1);
border-color: rgba(80, 227, 194, 1);
color: #FFFFFF;
}
}
}

View File

@ -1,5 +1,11 @@
.xin-head-swiper {
margin-top: 20rpx;
margin-bottom: 30rpx;
display: block;
}
.label {
white-space: nowrap;
margin-bottom: 40rpx;
}
.label .item {
display: inline-flex;
@ -8,4 +14,18 @@
padding: 0 24rpx;
background-color: #f2f2f2;
border-radius: 15rpx;
margin-right: 15rpx;
font-size: 24rpx;
color: #333333;
}
.label .item:first-of-type {
margin-left: 30rpx;
}
.label .item:last-of-type {
margin-right: 30rpx;
}
.label .item.pitch {
background-color: #50e3c2;
border-color: #50e3c2;
color: #FFFFFF;
}

1586
pages/common/common.less Normal file

File diff suppressed because it is too large Load Diff

View File

@ -14,12 +14,10 @@
</template>
<template name="list">
<navigator class='info-list'
url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : ''}}">
<navigator class='info-list' url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : ''}}">
<form bindsubmit="send_form_id" report-submit='true' data-types="confirm" class='submit-form'>
<view class='title'>
<image class='authentication' wx:if="{{ item.verified == 1 }}" mode="heightFix"
src="/img/authentication.jpg" />
<image class='authentication' wx:if="{{ item.verified == 1 }}" mode="heightFix" src="/img/authentication.jpg" />
<image class='newbtn' wx:if="{{ item.isnew }}" src="../../img/newbtn.png" />
<image class='hotbtn' wx:if="{{ item.ishot }}" src="../../img/hotbtn.png" />
<image class='videobtn' wx:if="{{ item.isvideo }}" src="../../img/videologo.png" />
@ -34,7 +32,8 @@
</view>
<view class='i' wx:if="{{ item.gender }}">{{ item.gender }}</view>
<view class='i' wx:if="{{ item.leaseterm }}">
{{ item.leaseterm ==1 ?'长租':(item.leaseterm ==2 ?'短租' :'')}}</view>
{{ item.leaseterm ==1 ?'长租':(item.leaseterm ==2 ?'短租' :'')}}
</view>
</view>
<view class='footer'>
<view class='l'>
@ -74,23 +73,19 @@
<view class='select-options2' wx:if="{{ data.show }}">
<view class='black' bindtap='close_alert' bindtap='close_alert' data-box="{{ data.title }}"></view>
<view class='tab-box'>
<view class="{{ data.tab=='level1' ?'tab active' :'tab red'}}" bindtap='change_select_tab'
data-title="{{ data.title }}" data-tab="level1">
{{ data.tab=='level1' ?(data.title=='location' ? '区域' :'一级'):data.level1_name }}</view>
<view class="{{ data.tab=='level2' ?'tab active' :'tab'}}" bindtap='change_select_tab'
data-title="{{ data.title }}" data-tab="level2">{{ data.title=='location' ? '范围' :'二级' }}</view>
<view class="{{ data.tab=='level1' ?'tab active' :'tab red'}}" bindtap='change_select_tab' data-title="{{ data.title }}" data-tab="level1">
{{ data.tab=='level1' ?(data.title=='location' ? '区域' :'一级'):data.level1_name }}
</view>
<view class="{{ data.tab=='level2' ?'tab active' :'tab'}}" bindtap='change_select_tab' data-title="{{ data.title }}" data-tab="level2">{{ data.title=='location' ? '范围' :'二级' }}</view>
</view>
<view class='box' wx:if="{{ data.tab=='level1' }}">
<view class='li' wx:for="{{ data.level1 }}" data-name="{{ item }}" data-title="{{ data.title }}"
data-value="{{ index }}" wx:key="index" bindtap='select_options2_value' data-tab="level1">
<view class='li' wx:for="{{ data.level1 }}" data-name="{{ item }}" data-title="{{ data.title }}" data-value="{{ index }}" wx:key="index" bindtap='select_options2_value' data-tab="level1">
{{ item }}
<image src='../../img/right.png' wx:if="{{ index == data.level1_value }}"></image>
</view>
</view>
<view class='box' wx:if="{{ data.tab=='level2' }}">
<view class='li' wx:key="index" wx:for="{{ data.level2[data.level1_value] }}" data-name="{{ item }}"
data-title="{{ data.title }}" data-value="{{ index }}" bindtap='select_options2_value'
data-tab="level2">
<view class='li' wx:key="index" wx:for="{{ data.level2[data.level1_value] }}" data-name="{{ item }}" data-title="{{ data.title }}" data-value="{{ index }}" bindtap='select_options2_value' data-tab="level2">
{{ item }}
<image src='../../img/right.png' wx:if="{{ index==data.level2_value }}"></image>
</view>
@ -105,8 +100,7 @@
<view class='select-options1' wx:if="{{ data.show }}">
<view class='black' bindtap='close_alert' data-box="{{ data.title }}"></view>
<view class='box'>
<view class='li' wx:for="{{ data.list }}" wx:key="index" data-title="{{ data.title }}"
data-name="{{ item }}" data-value="{{ index }}" catchtap='select_value'>
<view class='li' wx:for="{{ data.list }}" wx:key="index" data-title="{{ data.title }}" data-name="{{ item }}" data-value="{{ index }}" catchtap='select_value'>
{{ item }}
<image src='../../img/right.png' wx:if="{{ index == data.value }}"></image>
</view>
@ -131,8 +125,7 @@
</view>
<view class="tips">{{ irenCouponReceive.writings.tips }}</view>
<view class="btn" bindtap="tominiProgram" data-types="irenCouponReceive">
<image class="img" src="https://app.gter.net/image/miniApp/HKRenting/irent_btn.png"
mode="widthFix"></image>
<image class="img" src="https://app.gter.net/image/miniApp/HKRenting/irent_btn.png" mode="widthFix"></image>
<view class="text">{{ irenCouponReceive.writings.button }}</view>
</view>
<view class="close" bindtap="showIrentCoupon">
@ -153,13 +146,11 @@
<!-- 个人房源列表 -->
<template name="personalList">
<navigator class='info-list personalList'
url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : 0}}">
<navigator class='info-list personalList' url="../show/show?tid={{ item.tid }}&uniqid={{ item.uniqid }}&cityid={{ item.currency == '港元' ? 1 : 0}}">
<view class="submit-form">
<view class="personalList-top">
<view class='title'>
<image class='authentication' wx:if="{{ item.verified == 1 }}" mode="heightFix"
src="/img/authentication.jpg" />
<image class='authentication' wx:if="{{ item.verified == 1 }}" mode="heightFix" src="/img/authentication.jpg" />
<image class='newbtn' wx:if="{{ item.isnew }}" src="../../img/newbtn.png" />
<image class='hotbtn' wx:if="{{ item.ishot }}" src="../../img/hotbtn.png" />
{{ item.subject }}
@ -175,7 +166,8 @@
<view class='tips'>
<view class='i' wx:if="{{ item.type }}">{{ item.type }}</view>
<view class='i' wx:if="{{ item.acreage }}">
{{ item.acreage }}平方{{ item.currency == '港元' ? '呎' : '米'}}</view>
{{ item.acreage }}平方{{ item.currency == '港元' ? '呎' : '米'}}
</view>
<view class='i' wx:if="{{ item.gender }}">{{ item.gender }}</view>
<!-- <view class='i' wx:if="{{ item.leaseterm }}">{{ item.leaseterm ==1 ?'长租':(item.leaseterm ==2 ?'短租' :'')}}</view> -->
<view class='i' wx:if="{{ item.leaseterm }}">{{ item.leaseterm }}</view>
@ -225,8 +217,7 @@
<!-- 触发规则1时 重复发布 -->
<view class="repeatedRelease">
<view class="repeatedRelease-box">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png"
catchtap="triggerRulesClose">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
</image>
<view class="repeatedRelease-headline">
<text>提交失败</text>
@ -279,11 +270,9 @@
</view>
</view>
<view class="repeatedRelease-message">
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text
class="underline">“顶上去”功能可将房源实时推送到房源列表的首位</text>
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text class="underline">“顶上去”功能可将房源实时推送到房源列表的首位</text>
</view>
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text
class="underline">通过“<text class="daheise">我的-发布</text>”中找到房源,点击“顶上去”</text>
<view class="repeatedRelease-message-item"><i class="yellow-dot"></i><text class="underline">通过“<text class="daheise">我的-发布</text>”中找到房源,点击“顶上去”</text>
</view>
</view>
@ -309,13 +298,11 @@
<template name="submitFailuretwo">
<view class="submitFailure" bindtap="triggerRulesClose">
<view class="submitFailure-box" catchtap="1">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png"
catchtap="triggerRulesClose">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
</image>
<!-- 提示 -->
<view class="submitFailure-reminder">
<image class="submitFailure-icon" mode="widthFix"
src="https://app.gter.net/image/miniApp/HKRenting/u82.png"></image>
<image class="submitFailure-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/u82.png"></image>
<view class="submitFailure-title">
<text>提交失败</text>
<text>
@ -360,13 +347,11 @@
<template name="submitFailurethree">
<view class="submitFailure" bindtap="triggerRulesClose">
<view class="submitFailure-box" catchtap="1">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png"
catchtap="triggerRulesClose">
<image class="trigger-rules-close-icon" mode="widthFix" src="/img/plusgrey.png" catchtap="triggerRulesClose">
</image>
<!-- 提示 -->
<view class="submitFailure-reminder">
<image class="submitFailure-icon" mode="widthFix"
src="https://app.gter.net/image/miniApp/HKRenting/u82.png"></image>
<image class="submitFailure-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/u82.png"></image>
<view class="submitFailure-title">
<text>提交失败</text>
<text>
@ -421,8 +406,7 @@
<view class="wrong-micro-signal-method-text">
<image src="/img/u876.png" mode="widthFix"></image><text>如何获取微信二维码、修改微信号?</text>
</view>
<image class="wrong-micro-signal-method-image" mode="widthFix" catchtap="methodPreview"
src="https://oss.gter.net/attachment/Zvt57TuJSUvkyhw-xG7Y2l-T_pIqc3nqqsgFptxhXa6RWi26P-BuTQdCF7eV7tkb8MVYZjQ0Mjk~">
<image class="wrong-micro-signal-method-image" mode="widthFix" catchtap="methodPreview" src="https://oss.gter.net/attachment/Zvt57TuJSUvkyhw-xG7Y2l-T_pIqc3nqqsgFptxhXa6RWi26P-BuTQdCF7eV7tkb8MVYZjQ0Mjk~">
</image>
</view>
</view>
@ -442,9 +426,7 @@
<view class="succeed-hint">激活专属认证标识</view>
<view class="succeed-hint">不占用普通房源的发布条数</view>
<view class="succeed-btn flexcenter" catchtap="publicJumps"
data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/propertyAuth">前往认证<image
class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
<view class="succeed-btn flexcenter" catchtap="publicJumps" data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/propertyAuth">前往认证<image class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
</view>
</block>
<block wx:else>
@ -454,9 +436,7 @@
<view class="succeed-hint">发布上限马上提升到 <text>20</text> 条</view>
<view class="succeed-hint">可以搜索、筛选求房源信息</view>
<view class="succeed-btn flexcenter" catchtap="publicJumps"
data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/middlemanAuth">前往认证<image
class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
<view class="succeed-btn flexcenter" catchtap="publicJumps" data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/middlemanAuth">前往认证<image class="succeed-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
</view>
</block>
<view class="succeed-btn-no flexcenter" catchtap="goShowPage">暂不认证</view>
@ -489,10 +469,8 @@
<!-- <view class="fail-btn flexcenter">房源管理<image class="fail-btn-icom" mode="widthFix" src="/img/arrows-right-white.png"></image> -->
<!-- </view> -->
<view class="fail-btn flexcenter" wx:if="{{ state == 'user' }}" catchtap="setValue" data-key="failPopState"
data-value="{{ false }}">关闭</view>
<navigator wx:else class="fail-btn flexcenter" hover-class="none" open-type="redirect"
url="/pages/user/user?tab=publish">
<view class="fail-btn flexcenter" wx:if="{{ state == 'user' }}" catchtap="setValue" data-key="failPopState" data-value="{{ false }}">关闭</view>
<navigator wx:else class="fail-btn flexcenter" hover-class="none" open-type="redirect" url="/pages/user/user?tab=publish">
房源管理<image class="fail-btn-icom" mode="widthFix" src="/img/arrows-right-white.png"></image>
</navigator>
</view>
@ -506,8 +484,7 @@
<image class="search-icon" src="../../img/search-icon.svg"></image>
<input disabled placeholder='搜索房源或输入房源ID'></input>
</view>
<view class="map-btn flexcenter" wx:if="{{ isNeedMap }}" bindtap="publicJumps"
data-url="/mapFind/pages/placeMap/index">
<view class="map-btn flexcenter" wx:if="{{ isNeedMap }}" bindtap="publicJumps" data-url="/mapFind/pages/placeMap/index">
<image class="map-btn-icon" mode="widthFix" src="/img/map-icon.png"></image>
</view>
</view>
@ -535,12 +512,10 @@
<view class="asking-housing-explain">发布上限马上提升到 <text class="bold">20</text> 条</view>
<view class="asking-housing-explain">可以搜索、筛选求房源信息</view>
<view class="fail-btn flexcenter" bindtap="publicJumps"
data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/middlemanAuth">
<view class="fail-btn flexcenter" bindtap="publicJumps" data-url="/pages/webViewwebweb/index?url=https://app.gter.net/special/middlemanAuth">
前往认证<image class="fail-btn-icom" mode="widthFix" src="/img/arrows-right-black.png"></image>
</view>
<view class="asking-housing-no" bindtap="setValue" data-key="authenticationPopState"
data-value="{{ false }}">暂不认证</view>
<view class="asking-housing-no" bindtap="setValue" data-key="authenticationPopState" data-value="{{ false }}">暂不认证</view>
</view>
</view>
</template>
@ -548,11 +523,7 @@
<!-- 瀑布流列表的广告 -->
<template name="adv">
<image class="pinterest-list-item" mode="widthFix" bindload="pinterestImgLoad" lazy-load="{{ true }}"
src="{{ item.imageLocal || item.image }}" bindtap="handleSwiper" data-type="{{ item.type }}"
data-advtype="{{ item.advtype }}" data-appid="{{ item.appid }}" data-finderUserName="{{ item.finderUserName }}"
data-feedId="{{ item.feedId }}" data-advertisingtype="{{ 'lazyloading' }}" data-statid="{{ item.statid }}"
data-id="{{ item.id }}" data-url="{{ item.path || item.url }}"></image>
<image class="pinterest-list-item" mode="widthFix" bindload="pinterestImgLoad" lazy-load="{{ true }}" src="{{ item.imageLocal || item.image }}" bindtap="handleSwiper" data-type="{{ item.type }}" data-advtype="{{ item.advtype }}" data-appid="{{ item.appid }}" data-finderUserName="{{ item.finderUserName }}" data-feedId="{{ item.feedId }}" data-advertisingtype="{{ 'lazyloading' }}" data-statid="{{ item.statid }}" data-id="{{ item.id }}" data-url="{{ item.path || item.url }}"></image>
</template>
<!-- 瀑布流列表的公寓 -->
@ -563,8 +534,7 @@
<image class="apartment-icon" mode="widthFix" src="/img/apartment-icon.png"></image>
<image class="apartment-text" mode="widthFix" src="/img/apartment-text.png"></image>
</view>
<image class="apartment-img" lazy-load mode="aspectFill" bindload="pinterestImgLoad"
src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<image class="apartment-img" lazy-load mode="aspectFill" bindload="pinterestImgLoad" src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<view class="apartment-name one-line-display">{{ item.title }}</view>
<view class="apartment-introduce one-line-display">{{ item.propaganda }}</view>
<view class="apartment-price">
@ -589,8 +559,7 @@
<view bindtap="publicJumps" data-url="/pages/brandApartmentDetail/brandApartmentDetail?uniqid={{ item.id }}" hover-class="none">
<view class="apartmentApartment pinterest-list-item apartment">
<view class="apartmentApartment-subject flexflex">
<image class="apartment-img" lazy-load mode="aspectFill" bindload="pinterestImgLoad"
src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<image class="apartment-img" lazy-load mode="aspectFill" bindload="pinterestImgLoad" src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<view class="apartment-name one-line-display">{{ item.title }}</view>
<view class="apartment-introduce one-line-display">{{ item.propaganda }}</view>
<view class="apartment-price">
@ -622,13 +591,10 @@
<template name="general">
<view bindtap="publicJumps" data-url="/pages/show/show?uniqid={{ item.uniqid }}" hover-class="none">
<view class="pinterest-list-item general">
<image wx:if="{{ item['isintermediary'] == 1 }}"
class="top-right-corner top-right-corner-authentication flexcenter" mode="heightFix"
src="/img/certifying-agent.png"></image>
<image wx:if="{{ item['isintermediary'] == 1 }}" class="top-right-corner top-right-corner-authentication flexcenter" mode="heightFix" src="/img/certifying-agent.png"></image>
<view wx:else class="top-right-corner flexcenter">{{ item.intermediarytext || '其他' }}</view>
<image class="general-img" mode="widthFix" mode="aspectFill" bindload="pinterestImgLoad"
src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<image class="general-img" mode="widthFix" mode="aspectFill" bindload="pinterestImgLoad" src="{{ item.imageLocal || item.image }}" lazy-load="{{ true }}"></image>
<view class="general-authentication-mark flexacenter" wx:if="{{ item['verified'] == 1 }}">
<image class="general-authentication-mark1" mode="heightFix" src="/img/certified-listings-icon.png">
</image>
@ -657,53 +623,58 @@
<!-- v4 品牌公寓列表 的 item -->
<template name="apartment-item">
<view class="apartment-item apartment-list" bindtap="publicJumps"
data-url="/pages/brandApartmentDetail/brandApartmentDetail?uniqid={{ item.uniqid }}{{ schoolSidObj[school] ? '&school=' + schoolSidObj[school] : '' }}">
<view class="apartment-item apartment-list" bindtap="publicJumps" data-url="/pages/brandApartmentDetail/brandApartmentDetail?uniqid={{ item.uniqid }}{{ schoolSidObj[school] ? '&school=' + schoolSidObj[school] : '' }}">
<view class="apartment-top flexflex">
<image class="apartment-select" src="https://app.gter.net/image/miniApp/HKRenting/gter-select.png"></image>
<view class="apartment-top-collect flexcenter" catch:tap="bindCollect" data-index="{{ index }}">
<image wx:if="{{ isUser }}" class="apartment-top-collect-ico" style="width: 66rpx;height: 66rpx;"
mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/collecting-yellow-shadows.svg">
</image>
<block wx:else>
<image wx:if="{{ item.iscollect == 1 }}" class="apartment-top-collect-ico"
style="width: 66rpx;height: 66rpx;" mode="widthFix"
src="https://app.gter.net/image/miniApp/HKRenting/collecting-yellow-shadows.svg"></image>
<image wx:else class="apartment-top-collect-icon" mode="widthFix"
src="https://app.gter.net/image/miniApp/HKRenting/collecting-shadows.svg"></image>
<!-- {{ item.collectnum == 0 ? '' : item.collectnum }} -->
</block>
<image wx:if="{{ item.iscollect == 1 }}" class="apartment-top-collect-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/collect-pitch-icon.svg"></image>
<image wx:else class="apartment-top-collect-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/collect-icon.svg"></image>
</view>
<view class="apartment-name flexcenter">{{ item.title }}</view>
<image class="apartment-icon" lazy-load src="{{ item.image || item.imageurl }}"></image>
</view>
<view class="apartment-bottom">
<view class="apartment-introduce flexacenter">
<view class="apartment-tag flexcenter" wx:if="{{ item.company }}">{{ item.company }}</view>
<view class="flex1 one-line-display">{{ item.propaganda }}</view>
<!-- <view class="apartment-tag flexcenter" wx:if="{{ item.company }}">{{ item.company }}</view> -->
<!-- <view class="flex1 one-line-display">{{ item.propaganda }}</view> -->
<view class="remark-on flexacenter">
<image class="fang-icon" src="https://oss.x-php.com/Zvt57TuJSUvkyhw-xG7Y2l-d_Zwocn3qqsgFptxhcq_cQnrld6YjDgwVBq_D-81qNDQyOQ~~"></image>
方同学点评
</view>
<view class="remark-text flex1 one-line-display">交通和生活都非常便利,房间整洁完善…交通和生活都非常便利,房间整洁完善…交通和生活都非常便利,房间整洁完善…</view>
</view>
<view class="apartment-content flexflex">
<image class="apartment-arc" src="/img/arc-shadow.png"></image>
<view class="apartment-label-list flexacenter">
<view class="apartment-label-item blue flexacenter">
<image class="safety-icon" src="https://app.gter.net/image/miniApp/HKRenting/safety-icon.png"></image>
20年品牌
</view>
<view class="apartment-label-item violet">0服务费</view>
<view class="apartment-label-item" wx:for="{{ 5 }}" wx:key="index">费用全包</view>
</view>
<view class="apartment-message flex1 flexacenter">
<view class="apartment-quantity flexacenter" wx:if="{{ item.roomnum != 0 }}">共 {{ item.roomnum }}
个房型</view>
<view class="apartment-place flexacenter flex1 one-line-display"
wx:if="{{ item.address || item.distance }}">
<!-- <view class="apartment-quantity flexacenter" wx:if="{{ item.roomnum != 0 }}">共 {{ item.roomnum }}
个房型</view> -->
<view class="apartment-place flexacenter flex1 one-line-display" wx:if="{{ item.address || item.distance }}">
<image class="apartment-place-icon" mode="widthFix" src="/img/orientation.png"></image>
<!-- <view class="apartment-place-address one-line-display" style="max-width: {{ item.distance ? '400rpx' : ''}};">{{ item.address }}</view> -->
<view wx:if="{{ item.address }}" class="apartment-place-address one-line-display">
{{ item.address }}</view>
<block wx:if="{{ item.distance }}">
<view wx:if="{{ item.address }}" class="apartment-place-address one-line-display flex1">{{ item.address }}</view>
<!-- <block wx:if="{{ item.distance }}">
<view class="area-vertical"></view>
<view class="area-distance">{{ item.distance }}km</view>
</block>
</block> -->
</view>
<!-- <view class="distance">
<view class="distance-item">
距离
<view class="">城大</view>
<view class="">1.3km</view>
</view>
</view> -->
</view>
<view class="apartment-price">
<view class="apartment-price-item flexacenter" wx:for="{{ item.roomlist }}" wx:for-item="it"
wx:key="id">
<view class="apartment-price-item flexacenter" wx:for="{{ item.roomlist }}" wx:for-item="it" wx:key="id">
<view class="apartment-price-name one-line-display" style="max-width: 350rpx;">{{ it.name }}
</view>
<view class="flexacenter">
@ -723,8 +694,7 @@
<view class="getWechatQRCode">
<view class="getWechatQRCode-box flexflex">
<view class="getWechatQRCode-title">如何获取微信二维码?</view>
<image class="getWechatQRCode-image" src="https://offer.gter.net/image/gter/img/zufang-QRcode.png"
mode="widthFix"></image>
<image class="getWechatQRCode-image" src="https://offer.gter.net/image/gter/img/zufang-QRcode.png" mode="widthFix"></image>
<view class="getWechatQRCode-close flexcenter">
<view class="getWechatQRCode-close-btn flexcenter" bindtap="handleWechatQRCodeState">关闭</view>
</view>
@ -756,13 +726,10 @@
<view class="consultation-hint">{{ popwindow.node }}</view>
<view class="consultation-info flexcenter">
<image class="product-frame" src="https://app.gter.net/image/miniApp/HKRenting/product-frame.svg"
mode="widthFix"></image>
<image class="consultation-QR-code" src="{{ popwindow.qrcode }}" show-menu-by-longpress="{{ true }}"
mode="widthFix"></image>
<image class="product-frame" src="https://app.gter.net/image/miniApp/HKRenting/product-frame.svg" mode="widthFix"></image>
<image class="consultation-QR-code" src="{{ popwindow.qrcode }}" show-menu-by-longpress="{{ true }}" mode="widthFix"></image>
<view class="consultation-username flexacenter">
<image class="weChat-icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon.svg"
mode="widthFix"></image>
<image class="weChat-icon" src="https://app.gter.net/image/miniApp/HKRenting/WeChat-icon.svg" mode="widthFix"></image>
{{ popwindow.name }}
</view>
</view>
@ -773,8 +740,7 @@
<!-- 弹窗按钮 -->
<template name="popwindow-box">
<view class="popwindow-box {{ popwindowBtnAnimationState && 'popwindow-btn-animation'}}" bind:tap="openInitiativePopwindow"
wx:if="{{ popwindowBtnState && popwindow.status == 1 }}">
<view class="popwindow-box {{ popwindowBtnAnimationState && 'popwindow-btn-animation'}}" bind:tap="openInitiativePopwindow" wx:if="{{ popwindowBtnState && popwindow.status == 1 }}">
<view class="popwindow-btn flexacenter">
<image class="popwindow-avatar" mode="widthFix" src="{{ popwindow.avatar }}"></image>
<view class="popwindow-text flexcenter">咨询公寓</view>

File diff suppressed because it is too large Load Diff

View File

@ -131,7 +131,7 @@ Page({
if (el['select']) listType = el['type']
})
data.apartment = data.apartment.slice(0, 5)
data.banner[0].imageurl = "https://app.gter.net/image/miniApp/HKRenting/md5__a65c6e69fa6d5cad6ee45aeaf147028f.svg"
this.setData({
...data,
listType,

View File

@ -2,16 +2,15 @@
<view class="container">
<header-nav bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">求房源</header-nav>
<view class="header-bj"></view>
<xin-head-swiper class="xin-head-swiper" bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
<view wx:if="{{ identity == 1 }}" style="position: relative;">
<view class="" style="width: 100%;height: 100%;position: absolute;z-index: 111;" catchtap="publicJumps" data-url="/pages/search/search?isAskingSearch=true"></view>
<view style="width: 100%;height: 100%;position: absolute;z-index: 111;" catchtap="publicJumps" data-url="/pages/search/search?isAskingSearch=true"></view>
<view wx:if="{{ !allowsearch }}" catchtap="setValue" data-key="authenticationPopState" data-value="{{ true }}" class="mengcheng"></view>
<template is="list-header-search" data="{{ kw:'', isNeedMap: isMapFindState,disabled: true }}"></template>
</view>
<view class="xin-head-swiper">
<xin-head-swiper bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
</view>
<view wx:if="{{ identity == 1 }}" id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight }}px;">
<view wx:if="{{ !allowsearch }}" class="mengcheng" bindtap="setValue" data-key="authenticationPopState" data-value="{{ true }}"></view>
<list-operations operationstype="askinghousing" tabTitle="求房源" property="{{ property }}" school="{{ school }}" types="{{ types }}" location="{{ {value: requestData.location, data:langs.location} }}" money="{{ money }}" screen_data="{{ screen_data }}" roomtype="{{ roomtype }}" roomlistings="{{ roomlistings }}" bindsubmit="submitOperations" moreCondition="{{ moreCondition }}" orderbyy="{{ orderby }}" bindisOpenOperations="isOpenOperations"></list-operations>

View File

@ -1,6 +1,16 @@
/* pages/restOfWorld/restOfWorld.wxss */
@import '/pages/common/common.wxss';
.xin-head-swiper {
display: block;
margin-top: 20rpx;
margin-bottom: 30rpx;
}
.header-search {
padding-bottom: 12rpx;
}
.hot-text {
padding: 40rpx 30rpx;
display: flex;
@ -98,10 +108,6 @@
background-color: red;
}
.xin-head-swiper {
margin-bottom: 12rpx;
}
.list.new-list {
border-radius: 60rpx 60rpx 0 0;
background-color: rgb(246, 246, 246);

View File

@ -5,15 +5,12 @@
<!-- <to-top wx:if="{{ showTOTOP }}"></to-top> -->
<view class="header-bj"></view>
<header-nav bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">{{ miniProgram == 'xg' ? '寄托香港租房' : '寄托港校租房' }}</header-nav>
<view id="list-header-search">
<template is="list-header-search" data="{{ kw:'',disabled: true,isNeedMap: isMapFindState }}"></template>
</view>
<xin-head-swiper bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
<!-- 临时隔断用的 -->
<view style="height: 48rpx; width: 100vw;"></view>
<xin-head-swiper class="xin-head-swiper" bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
<tab StudentapartmentNew="{{ StudentapartmentNew }}" page="{{ intermediary == 0 ? 'personList' : 'quarantineLists' }}" listTab="{{ listTab }}"></tab>
<template is="list-header-search" data="{{ kw:'',disabled: true,isNeedMap: isMapFindState }}"></template>
<tab StudentapartmentNew="{{ StudentapartmentNew }}" page="personList" listTab="{{ listTab }}"></tab>
<view id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight - 1 }}px;">
<list-operations tabTitle="{{ intermediary == 1 ? '中介' : '个人' }}房源" property="{{ property }}" school="{{ school }}" types="{{ types }}" location="{{ location }}" operationstype="{{ intermediary == 1 ? 'intermediaryhousing' : 'personhousing' }}" money="{{ money }}" screen_data="{{ screen_data }}" roomtype="{{ roomtype }}" roomlistings="{{ roomlistings }}" bindsubmit="submitOperations" moreCondition="{{ moreCondition }}" orderbyy="{{ orderby }}"></list-operations>

View File

@ -385,4 +385,10 @@
#index-sidebar {
z-index: 1000;
position: relative;
}
.xin-head-swiper {
margin-top: 20rpx;
margin-bottom: 30rpx;
display: block;
}

View File

@ -1,4 +1,3 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1,137 @@
/* pages/index/tab/tab.wxss */
/* 公共的flex 布局方法 */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.tab-list {
// height: 73rpx;
// background: linear-gradient(2deg, rgba(232, 244, 255, 1) -4%, rgba(176, 216, 255, 1) 148%);
// border-radius: 132rpx;
// margin: 0 18rpx;
// justify-content: space-between;
// font-size: 30rpx;
// color: #000000;
// margin-bottom: 15rpx;
width: 750rpx;
height: 78rpx;
background-color: rgba(98, 177, 255, 1);
border-radius: 13.5rpx 13.5rpx 0 0;
align-items: flex-end;
.tab-item {
width: 225rpx;
height: 78rpx;
text-align: center;
font-size: 30rpx;
color: #FFFFFF;
position: relative;
z-index: 1;
.name {
position: absolute;
top: 50%;
left: 50%;
width: fit-content;
transform: translate(-50%, -50%);
z-index: 1;
white-space: nowrap;
}
&.pitch {
width: 300rpx;
height: 96rpx;
font-family: 'Arial-BoldMT', 'Arial Bold', 'Arial', sans-serif;
font-weight: 700;
font-style: normal;
font-size: 33rpx;
color: #000000;
&.personList {
.name {
top: 37rpx;
left: 66rpx;
transform: none;
}
.tab-line {
left: 51rpx;
}
}
&.quarantineLists {
.name {
top: 37rpx;
left: 82.5rpx;
transform: none;
}
.tab-line {
left: 67.5rpx;
}
}
&.brandApartmentlist {
.name {
top: 37rpx;
left: 103.5rpx;
transform: none;
}
.tab-line {
left: 88.5rpx;
}
.tab-icon {
left: 4rpx;
}
}
}
.tab-icon {
width: 301.5rpx;
height: 97.5rpx;
position: absolute;
left: 0;
bottom: -2rpx;
z-index: -1;
}
.tab-line {
position: absolute;
top: 58.5rpx;
width: 163.5rpx;
height: 39rpx;
}
}
}
// .tab-list .tab-item {
// width: 210rpx;
// height: 100%;
// line-height: 100%;
// }
// .tab-list .tab-item.pitch {
// color: #fff;
// font-size: 33rpx;
// font-weight: 650;
// background-color: rgb(98, 177, 255);
// border-radius: 132rpx;
// }

View File

@ -1,3 +1,9 @@
<view class="tab-list flexacenter">
<view class="tab-item flexcenter {{ page == item.value ? 'pitch' : '' }}" wx:for="{{ tabList }}" wx:key="index" bindtap="toPage" data-page="{{ item.value }}" data-url="{{ item.url }}">{{ item.name }}</view>
</view>
<view class="tab-list flexflex">
<view class="tab-item {{ item.value }} {{ page == item.value ? 'pitch' : '' }}" wx:for="{{ tabList }}" wx:key="index" bindtap="toPage" data-page="{{ item.value }}" data-url="{{ item.url }}">
<view class="name">{{ item.name }}</view>
<image wx:if="{{ page == 'personList' && page == item.value }}" class="tab-icon" mode="widthFix" style="transform: scaleX(-1)" src="https://app.gter.net/image/miniApp/HKRenting/tab-frame.svg"></image>
<image wx:if="{{ page == 'quarantineLists' && page == item.value }}" class="tab-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/tab-frame-centre.svg"></image>
<image wx:if="{{ page == 'brandApartmentlist' && page == item.value }}" class="tab-icon" mode="widthFix" src="https://app.gter.net/image/miniApp/HKRenting/tab-frame.svg"></image>
<image wx:if="{{ page == item.value }}" class="tab-line" src="https://app.gter.net/image/miniApp/HKRenting/tab-line.png" mode="widthFix"></image>
</view>
</view>

View File

@ -1,27 +1,92 @@
/* pages/index/tab/tab.wxss */
@import '/app.wxss';
.tab-list {
height: 73rpx;
background: linear-gradient(2.84217e-14deg, rgb(232, 244, 255) -4%, rgb(176, 216, 255) 148%);
border-radius: 132rpx;
margin: 0 18rpx;
justify-content: space-between;
font-size: 30rpx;
color: #000000;
margin-bottom: 15rpx;
}
.tab-list .tab-item {
width: 210rpx;
height: 100%;
line-height: 100%;
}
.tab-list .tab-item.pitch {
color: #fff;
font-size: 33rpx;
font-weight: 650;
background-color: rgb(98, 177, 255);
border-radius: 132rpx;
}
/* pages/index/tab/tab.wxss */
/* 公共的flex 布局方法 */
.flexflex {
display: flex;
}
.flexcenter {
display: flex;
justify-content: center;
align-items: center;
}
.flexacenter {
display: flex;
align-items: center;
}
.flex1 {
flex: 1;
}
.tab-list {
width: 750rpx;
height: 78rpx;
background-color: #62b1ff;
border-radius: 13.5rpx 13.5rpx 0 0;
align-items: flex-end;
}
.tab-list .tab-item {
width: 225rpx;
height: 78rpx;
text-align: center;
font-size: 30rpx;
color: #FFFFFF;
position: relative;
z-index: 1;
}
.tab-list .tab-item .name {
position: absolute;
top: 50%;
left: 50%;
width: fit-content;
transform: translate(-50%, -50%);
z-index: 1;
white-space: nowrap;
}
.tab-list .tab-item.pitch {
width: 300rpx;
height: 96rpx;
font-family: 'Arial-BoldMT', 'Arial Bold', 'Arial', sans-serif;
font-weight: 700;
font-style: normal;
font-size: 33rpx;
color: #000000;
}
.tab-list .tab-item.pitch.personList .name {
top: 37rpx;
left: 66rpx;
transform: none;
}
.tab-list .tab-item.pitch.personList .tab-line {
left: 51rpx;
}
.tab-list .tab-item.pitch.quarantineLists .name {
top: 37rpx;
left: 82.5rpx;
transform: none;
}
.tab-list .tab-item.pitch.quarantineLists .tab-line {
left: 67.5rpx;
}
.tab-list .tab-item.pitch.brandApartmentlist .name {
top: 37rpx;
left: 103.5rpx;
transform: none;
}
.tab-list .tab-item.pitch.brandApartmentlist .tab-line {
left: 88.5rpx;
}
.tab-list .tab-item.pitch.brandApartmentlist .tab-icon {
left: 4rpx;
}
.tab-list .tab-item .tab-icon {
width: 301.5rpx;
height: 97.5rpx;
position: absolute;
left: 0;
bottom: -2rpx;
z-index: -1;
}
.tab-list .tab-item .tab-line {
position: absolute;
top: 58.5rpx;
width: 163.5rpx;
height: 39rpx;
}

View File

@ -1,6 +1,6 @@
<view class="headSwiper">
<!-- <swiper class='headSwiper-swiper' current="{{ swiperCurrent }}" autoplay="{{ true }}" circular interval="{{ 3000 }}" duration="{{ 500 }}" bindanimationfinish="bindchangeSwiper" style="height: {{ HeadSwiperHeight + 5 }}px;"> -->
<swiper class='headSwiper-swiper' current="{{ swiperCurrent }}" autoplay="{{ false }}" circular interval="{{ 3000 }}" duration="{{ 500 }}" bindanimationfinish="bindchangeSwiper" style="height: {{ swiperHeightObj[swiperCurrent] }}px;">
<swiper class='headSwiper-swiper' current="{{ swiperCurrent }}" autoplay="{{ true }}" circular interval="{{ 3000 }}" duration="{{ 500 }}" bindanimationfinish="bindchangeSwiper" style="height: {{ swiperHeightObj[swiperCurrent] }}px;">
<swiper-item wx:for="{{ data }}" wx:key="index">
<form class="form" bindsubmit="handleSwiper" report-submit='true' data-types="confirm" data-type="{{ item.type }}" data-appid="{{ item.appid }}" data-url="{{ item.url }}" data-statid="{{ item.statid }}" data-finderUserName="{{ item.finderUserName }}" data-feedId="{{ item.feedId }}">
<image class="headSwiper-img" lazy-load mode="widthFix" src="{{ item.imageurl || item.image }}" bindload="loadHeadSwiper" data-index="{{ index }}"></image>
@ -9,10 +9,10 @@
</swiper-item>
</swiper>
<view class="red-point" wx:if="{{ page == 'index' }}">
<view class="red-point">
<view class="item {{ index == swiperCurrent ? 'pitch' : '' }}" wx:for="{{ data }}" wx:key="index"></view>
</view>
<view class="indication-point flexacenter" wx:else>
<!-- <view class="indication-point flexacenter" wx:else>
<view wx:for="{{ data }}" wx:key="index" class="indication-point-item {{ index == swiperCurrent ? 'pitch' : '' }}"></view>
</view>
</view> -->
</view>