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.
25 lines
1.5 KiB
25 lines
1.5 KiB
<view class="home">
|
|
<!-- <scroll-view class="tab">
|
|
<view wx:for="{{tabList}}"wx:for-item="item" wx:for-index="index" wx:key="index" data-index="{{index}}" bindtap="changeTab" class="tab-item">
|
|
<view class="tab-name{{index == currentTabIndex? ' active' : ''}}">{{item}}</view>
|
|
<view class="tab-line{{index == currentTabIndex? ' active' : ''}}"></view>
|
|
</view>
|
|
</scroll-view> -->
|
|
<view class="toptabs">
|
|
<wux-tabs controlled scroll current="{{ currentTabIndex }}" bindchange="changeTab">
|
|
<wux-tab wx:for="{{tabList}}" key="{{index}}" title="{{item}}"></wux-tab>
|
|
<!-- <wux-tab key="tab1" title="待处理"></wux-tab>
|
|
<wux-tab key="tab2" title="已结案"></wux-tab>
|
|
<wux-tab key="tab3" title="已关闭"></wux-tab> -->
|
|
</wux-tabs>
|
|
</view>
|
|
<view class="list">
|
|
<question-list id="question-list" class="questionList" questionList="{{questionList}}" currentTab="{{currentTabIndex}}" bind:submitAnswer="submitAnswer" bind:changeCurrentQuestion="openInput" currentQuestion="{{currentQuestion}}" bind:changeCollapse="changeCollapse"></question-list>
|
|
</view>
|
|
</view>
|
|
<!-- <view wx:if="{{tabList.length == 0 && isLoading == false}}" class="nothing-to-show">
|
|
<image src="../../images/property/nothing.png" class="nothing-img"></image>
|
|
<view style="color: #BCBCBC;">管理员暂未添加物业项目信息~</view>
|
|
</view> -->
|
|
<load-more loadMoreVisible="{{loadMoreVisible}}" loadMoreType="{{loadMoreType}}"></load-more>
|
|
|
|
|