| | |
| | | <view class="container"> |
| | | <!-- 顶部 Tabs --> |
| | | <!-- <view class="tabs"> |
| | | <view class="tabs"> |
| | | <view class="tab" bindtap="switchTab" data-tab="0" id="tab0"> |
| | | 问题反馈 |
| | | <view class="indicator" wx:if="{{currentTab === 0}}"></view> |
| | |
| | | 已提问题 |
| | | <view class="indicator" wx:if="{{currentTab === 1}}"></view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <view class="container-feedBack" wx:if="{{currentTab === 0}}"> |
| | | <view class="container-item"> |
| | | <text class="fb-text">反馈详情:</text> |
| | | <textarea class="input-class" value="{{contentValue}}" /> |
| | | <textarea class="input-class" bindinput="contentInput" /> |
| | | </view> |
| | | <view class="divider"></view> |
| | | <view class="container-item"> |
| | |
| | | </view> |
| | | <!-- 录音中 --> |
| | | <view wx:if="{{isShowVoiceMask}}" class="voice_starting">录音中{{contDownTime}}秒</view> |
| | | <view class="container-phone"> |
| | | <text class="fb-text">手机号:</text> |
| | | <input class="input-phone" type="number" placeholder="联系电话(选填)" bindinput="phoneInput" maxlength="11" /> |
| | | </view> |
| | | <button class="fb-submit" bind:tap="submit">提交</button> |
| | | </view> |
| | | |
| | | <!-- <scroll-view class="container-scroll" wx:if="{{currentTab === 1}}" scroll-y="true" refresher-enabled="true" refresher-threshold="50" bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isRefreshing}}"> |
| | | <block wx:for="{{feedBackList}}" wx:key="index"> |
| | | <scroll-view class="container-scroll" wx:if="{{currentTab === 1}}" scroll-y="true" refresher-enabled="true" refresher-threshold="50" bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isRefreshing}}" bindscrolltolower="loadMore"> |
| | | <block wx:for="{{listData}}" wx:key="index"> |
| | | <t-swipe-cell style="width: 100%;" class="swipe-cell-base"> |
| | | <view class="item"> |
| | | <view class="item-data"> |
| | | <text>提问时间:</text> |
| | | <text>{{item.createTime}}</text> |
| | | <text>{{item.reportTime}}</text> |
| | | </view> |
| | | <view class="item-data"> |
| | | <text>响应时间:</text> |
| | | <text>{{item.responseTime}}</text> |
| | | <text>{{item.replyTime}}</text> |
| | | </view> |
| | | </view> |
| | | <view slot="right" class="delete-btn" bind:tap="onDelete" data-item="{{item}}">删除</view> |
| | | </t-swipe-cell> |
| | | </block> |
| | | <view wx:if="{{feedBackList.length === 0}}" class="noMore-View"> |
| | | <image class="noMore-img" src="/images/no_more.svg" /> |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | </scroll-view> --> |
| | | <view wx:if="{{loading}}" class="loading">加载中...</view> <!-- 加载指示器 --> |
| | | </scroll-view> |
| | | |
| | | |
| | | </view> |