<!--packageE/others/case_library/mycomponents/head.wxml-->
<view class="idhead">
  <view class="head">
    <view class="left" catchtap="goBack">
      <icon class="iconfont icon-back"></icon>
    </view>
    <view class="middle">
      <view>{{text}}</view>
    </view>
    <view class="left">
      <icon class="iconfont icon-caidan" catchtap="openMenu" style="font-size: 40rpx;color:background-color: #616161;" >
      </icon>
    </view>
  </view>
  <view style="height:80rpx"></view>
  <van-popup show="{{show}}" position="right" custom-style="width:300rpx;height:100%" bind:click-overlay='close'>
    <view class="menu">
      <view catchtap="gotoOther" data-name='home' class="{{choosed=='home'?'li-selected':''}} li">首页</view>
      <view catchtap="gotoOther" data-name='category' class="{{choosed=='category'?'li-selected':''}} li">分类</view>
      <view catchtap="gotoOther" data-name='ranking' class="{{choosed=='ranking'?'li-selected':''}} li">排行榜</view>
      <view catchtap="gotoOther" data-name='subject' class="{{choosed=='subject'?'li-selected':''}} li">专题</view>
    </view>
  </van-popup>
</view>