|
|
|
<!--pages/topics/index.wxml-->
|
|
|
|
<view class="content-wrapper">
|
|
|
|
<!-- <e-segment bind:tapSegment="tapSegment" headerTitles="{{headerTitles}}" defaultSelectIndex="{{selectedTitle}}"/> -->
|
|
|
|
<van-tabs bind:click="changeTabs" active="{{active}}" swipe-threshold="5">
|
|
|
|
<van-tab title="寻资源" name="1" >
|
|
|
|
<block wx:if="{{tab == '1'}}">
|
|
|
|
<view style="height:{{height}}px">
|
|
|
|
<center list="{{centerList}}" typeList="{{typeList}}" nodes="{{nodes}}"/>
|
|
|
|
</view>
|
|
|
|
<!-- <center list="{{centerList}}" typeList="{{typeList}}" nodes="{{nodes}}"/> -->
|
|
|
|
</block>
|
|
|
|
</van-tab>
|
|
|
|
<van-tab title="租房子" name="5">
|
|
|
|
<block wx:if="{{tab == '5'}}">
|
|
|
|
<view style="height:{{height}}px">
|
|
|
|
<rent list="{{apartment}}" nodes="{{rentNode}}"/>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</van-tab>
|
|
|
|
<van-tab title="找贷款" name="4">
|
|
|
|
<block wx:if="{{tab == '4'}}">
|
|
|
|
<loan detail="{{loan}}" style=""/>
|
|
|
|
</block>
|
|
|
|
</van-tab>
|
|
|
|
<van-tab title="报需求" name="2">
|
|
|
|
<talents />
|
|
|
|
</van-tab>
|
|
|
|
<van-tab title="交朋友" name="3">
|
|
|
|
<view style="height:{{height}}px">
|
|
|
|
<interactive list="{{topicList}}" bind:deleteTopic="deleteTopic"/>
|
|
|
|
</view>
|
|
|
|
</van-tab>
|
|
|
|
|
|
|
|
|
|
|
|
</van-tabs>
|
|
|
|
|
|
|
|
<!-- <mp-dialog title="用户协议" show="{{dialogShow}}" bindbuttontap="tapDialogButton" buttons="{{buttons}}" mask-closable="{{false}}" >
|
|
|
|
<view style="width:100%;text-align:left;height:600rpx">
|
|
|
|
<rich-text nodes="{{nodes}}"></rich-text>
|
|
|
|
</view>
|
|
|
|
</mp-dialog> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <goodIdea wx:if="{{segmentIndex==1}}" list="{{goodIdeaList}}" bind:tapGoodIdeaPraise="tapGoodIdeaPraise" bind:deleteTopicComment="deleteTopicComment"/> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <message wx:if="{{segmentIndex==2}}" /> -->
|
|
|
|
|
|
|
|
</view>
|