<view class="main data-v-1d21aa13"><block wx:for="{{menuList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toCommon',['$0'],[[['menuList','',index,'route']]]]]]]}}" class="list data-v-1d21aa13" bindtap="__e"><view class="left data-v-1d21aa13"><text class="title data-v-1d21aa13">{{item.title||'暂无'}}</text></view><view class="right data-v-1d21aa13"><text class="t-icon t-icon-tiaozhuan data-v-1d21aa13"></text></view></view></block><view class="button data-v-1d21aa13"><block wx:if="{{user&&user.id}}"><button type="warn" data-event-opts="{{[['tap',[['toLogin',['1']]]]]}}" bindtap="__e" class="data-v-1d21aa13">退出登录</button></block><block wx:else><button type="warn" data-event-opts="{{[['tap',[['toLogin',['2']]]]]}}" bindtap="__e" class="data-v-1d21aa13">登录</button></block></view></view>