<view class="wrap"><view class="header"><block wx:for="{{header}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeActive',['$0',index],[[['header','',index]]]]]]]}}" class="{{['header_item',active===index?'active':'']}}" bindtap="__e"><view class="header_title">{{item.title}}</view><view class="line"></view><block wx:if="{{item.news===1}}"><view class="message_num">{{replyNumber}}</view></block></view></block></view><block wx:if="{{active==0}}"><view class="my_message"><view class="inp"><input class="inp_title" placeholder="输入您的留言标题" placeholder-class="inp_title_place" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['from']]]]]}}" value="{{from.title}}" bindinput="__e"/><textarea class="inp_text" placeholder="输入您的留言信息" placeholder-class="inp_title_place" data-event-opts="{{[['input',[['__set_model',['$0','content','$event',[]],['from']]]]]}}" value="{{from.content}}" bindinput="__e"></textarea><view class="inp_btn clear"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="btn_submit" bindtap="__e">提交</view><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="btn_reset" bindtap="__e">重置</view></view></view><view class="message_list"><block wx:for="{{allData.reedback}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="message_list_item"><view class="message_list_item_wrap"><view class="content" style="{{(item.txtStyle)}}" data-index="{{index}}" data-event-opts="{{[['touchstart',[['touchS',['$event']]]],['touchmove',[['touchM',['$event']]]],['touchend',[['touchE',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="message_list_item_header clear"><view class="item_header_lf">{{item.title}}</view><view class="item_header_rg">{{item.date}}</view></view><view class="item_content">{{item.content}}</view></view><view class="delete">删除</view></view></view></block></view></view></block><block wx:else><view class="feedback"><view class="message_list"><block wx:for="{{message}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="message_list_item"><view class="message_list_item_header clear"><view class="item_header_lf">{{item.tips+''}}<view class="logo"><view class="logo_white"></view></view></view><view class="item_header_rg">{{item.date}}</view></view><view class="item_content">{{item.reply}}</view></view></block></view></view></block></view>