index.wxml
4.8 KB
<view><view class="head" style="font-weight:700;"><u-navbar vue-id="8dd740cc-1" title="首页" autoBack="{{true}}" leftIconSize="0rpx" bind:__l="__l"></u-navbar></view><view class="main"><view data-event-opts="{{[['tap',[['tologin',['$event']]]]]}}" class="swiper" bindtap="__e"><u-swiper vue-id="8dd740cc-2" list="{{list5}}" height="320rpx" radius="24rpx" data-event-opts="{{[['^change',[['e0']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['indicator']}}"><view class="indicator" slot="indicator"><block wx:for="{{list5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['indicator__dot',index===current&&'indicator__dot--active']}}"></view></block></view></u-swiper></view><view class="mainList"><view class="listName">生物质列表</view><view><u-tabs vue-id="8dd740cc-3" list="{{list1}}" activeStyle="{{({color:'rgba(0,0,0,0.9)',fontWeight:'bold',transform:'scale(1.05)'})}}" scrollable="{{false}}" lineWidth="{{43}}" lineHeight="{{4}}" data-event-opts="{{[['^click',[['switchTAb']]]]}}" bind:click="__e" bind:__l="__l"></u-tabs><block wx:if="{{cur==0}}"><view class="sellerList"><view class="sellerListhead"><ren-dropdown-filter vue-id="8dd740cc-4" filterData="{{filterData}}" defaultIndex="{{defaultIndex}}" height="{{24}}" data-event-opts="{{[['^ed',[['ed']]]]}}" bind:ed="__e" bind:__l="__l"></ren-dropdown-filter></view><block wx:for="{{sellerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tosellerMessageDetail',['$0'],[[['sellerList','',index]]]]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">{{item.name}}</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>{{item.address}}</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>{{''+item.title+''}}</view><view class="cardTitletime">{{''+item.time+''}}</view></view></view></view></block></view></block><block wx:if="{{cur==1}}"><view class="buyerList"><block wx:for="{{4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toauditPagetype',['$event']]]]]}}" class="buyerCard flexJ" bindtap="__e"><view class="cardLeft"><view class="cardLeftname">作物-玉米</view><view class="cardTitletime">2022-05-28 15:30</view></view><view class="cardTitlePimg flexA" style="margin-right:24rpx;"><image src="/static/ic_6@2x.png" alt class="_img"></image>张小曼</view></view></block></view></block><block wx:if="{{cur==2}}"><view class="sellerList"><block wx:for="{{landList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tolandDetail',['$event']]]]]}}" class="listCard flexA" bindtap="__e"><view class="cardImg"><image src="/static/ic_4@2x.png" alt class="_img"></image></view><view class="cardTitle"><view class="cardTitlename">{{item.name}}</view><view class="cardTitleadress flexA"><image src="/static/ic-loc@2x.png" alt class="_img"></image><text>{{item.address}}</text></view><view class="cardTitleP flexJ"><view class="cardTitlePimg flexA"><image src="/static/ic_6@2x.png" alt class="_img"></image>{{''+item.title+''}}</view><view class="cardTitletime">{{''+item.time+''}}</view></view></view></view></block></view></block></view></view></view><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="release" bindtap="__e"><image src="/static/ic_7@2x.png" alt class="_img"></image></view><view><u-popup vue-id="8dd740cc-5" show="{{show}}" mode="bottom" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="wraper"><view class="flexC popup1"><view data-event-opts="{{[['tap',[['tosellerRelease',['$event']]]]]}}" class="popItem" bindtap="__e"><view class="popImg"><image src="/static/ic_13@2x.png" alt class="_img"></image></view><view class="popName">我是卖家</view></view><view data-event-opts="{{[['tap',[['tobuyersRelease',['$event']]]]]}}" class="popItemT" bindtap="__e"><view class="popImg"><image src="/static/ic_14@2x.png" alt class="_img"></image></view><view class="popName">我是买家</view></view><view data-event-opts="{{[['tap',[['tolandRelease',['$event']]]]]}}" class="popItem" bindtap="__e"><view class="popImg"><image src="/static/ic_15@2x.png" alt class="_img"></image></view><view class="popName">土地信息发布</view></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="tui" bindtap="__e"><image src="/static/ic-close@2x.png" alt class="_img"></image></view></view></u-popup></view><view style="height:200rpx;"></view><view><tabbar vue-id="8dd740cc-6" idx="{{0}}" bind:__l="__l"></tabbar></view></view>