纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

53 lines
3.0 KiB

<!--pages/message/index.wxml-->
<wxs module="formate" src="../../../pages/formate.wxs"></wxs>
<view class="cu-custom top-bg" style="height:{{customHeight}}rpx;z-index: 99;">
<view class="cu-bar fixed " style="height:{{customHeight}}rpx;padding-top:{{StatusBar}}rpx;border-bottom:none;padding-right: 0px;width: {{customWidth}}px">
<view class="flex flex-center" style="margin-left: 32rpx;width: 100%;">
<view class="flex flex-center" catchtap="chooseCity">
<text class="text-white text-lg">{{cityName}}</text>
<text class="cuIcon-unfold text-white" style="font-size:16px;padding-top: 8rpx;margin-left: 8rpx;"></text>
</view>
<view class="bg-white flex flex-center" style="margin-left:24rpx;flex: 1;border-radius: 16rpx;height: 64rpx;" catchtap="searchList">
<image src="/assets/image/icon-search.png" style="height: 30rpx;width: 30rpx;margin-left: 16rpx"></image>
<text class="text-gray text-sm" style="flex: 1;margin-left: 8rpx">输入关键字搜索</text>
</view>
<image src="/assets/image/icon-calendar.png" style="height: 44rpx;width: 44rpx;margin: 0px 24rpx;" bindtap="chooseCalendar"></image>
</view>
</view>
</view>
<view class="bg-white flex flex-center" style="height:80rpx;padding:16rpx 24rpx;background-color: #FFFBE8">
<image src="/assets/image/icon-notice.png" style="height: 24rpx;width: 32rpx;" wx:if="{{noticeList.length}}"></image>
<swiper vertical="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="3000" class="tui-swiper">
<swiper-item wx:for="{{noticeList}}" wx:key="index" class="flex flex-center" catchtouchmove="stopTouchMove" style="justify-content: flex-start">
<view class="flex flex-justify" style="width: 100%;height: 100%;" data-index="{{index}}" bindtap="toNotice">
<view class="tui-news-item">{{item.content}}</view>
<image src="/assets/image/icon-arrow.png" style="height: 24rpx;width: 24rpx;margin-left: 8rpx;"></image>
</view>
</swiper-item>
</swiper>
</view>
<view class="bg-white" style="height:90rpx;border-bottom:2rpx solid #f3f3f3;border-top:2rpx solid #f3f3f3">
<wux-tabi tab-data="{{tabList}}" tab-index="{{tabIndex}}" line-height="{{4}}" scroll="{{false}}" bind:change="onTabChange"></wux-tabi>
</view>
<swiper current="{{tabIndex}}" duration="0" style="height:{{height - 167 - customHeight}}rpx">
<swiper-item catchtouchmove="stopTouchMove">
<recommend id="recommend" height="{{height - 167 - customHeight}}"/>
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<attention id="attention" height="{{height - 167 - customHeight}}"/>
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<theall id="theall" height="{{height - 167 - customHeight}}"/>
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<information id="information" height="{{height - 167 - customHeight}}"/>
</swiper-item>
</swiper>
<view class="booking-tool" style="bottom:{{200 + safeBottom}}rpx" bindtap="feedback">
<view class="roder-add flex flex-center">
<image src="/assets/image/icon-feedback.png" style="width: 100rpx;height: 100rpx;"></image>
</view>
</view>