message.wxml
981 字节
<block wx:if="{{token==''}}">
<navigator class="no_login" catchtap="go_login" url="/pages/register/register" hover-class="none">请先登录</navigator>
</block>
<block wx:elif="{{login_new==''}}">
<navigator class="no_login" catchtap="go_login" url="/pages/login/login" hover-class="none">请先绑定会员</navigator>
</block>
<block wx:else>
<view class="empty" wx:if="{{messagelist.length==0}}">暂无更多数据</view>
<view class="messagelist" wx:else>
<view class='mssageitem' wx:for="{{messagelist}}" wx:key="" bindtap="ordertail" data-id="{{item.id}}">
<view class="messageitemtop flextwo">
<view class="messtopleft {{item.status==1?'activeleft':''}}">{{item.title}}</view>
<view class="messtopright">{{item.createtime}}</view>
</view>
<view class="messagename">{{item.content}}</view>
</view>
</view>
</block>
<v-tab-bar selected="{{selected}}" text="2" list="{{list}}"></v-tab-bar>