<page-plugin loading="{{true}}" isLogin="{{true}}" isAuth="{{true}}">
  <text>pages/index/index.wxml</text>
  <t-button bind:tap="change">change</t-button>
  <t-button bind:tap="navToMy">my</t-button>
  <pagination-plugin
    curr_page="{{params.curr_page}}"
    total="{{total}}"
    page_count="{{params.page_count}}"
    bind:change="changePage"
  />
  <block wx:for="{{ menuList }}" wx:key="index" wx:for-item="item">
    <view style="display: flex;align-items: center;">
      <t-icon name="{{ item.icon }}" style="color: {{item.iconColor}};font-size: 1.2em;margin-right: 4px;" />
      <text style="font-weight: bold;font-size: 1.1em;">{{ item.title }}</text>
    </view>
    <view style="display: flex;align-items: center;flex-wrap: wrap;">
      <block wx:for="{{ item.children }}" wx:key="index" wx:for-item="child">
        <view class="menu-item" bindtap="nav" data-url="{{ child.url }}">
          <image class="nav-item-icon" src="/assets/icons/{{child.title}}.svg" mode="aspectFit" />
          <view>{{ child.title }}</view>
        </view>
      </block>
    </view>
  </block>
</page-plugin>
<tab-bar-plugin active="index" />
<select-plugin
  mode="single"
  value="{{current2}}"
  options="{{options}}"
  bind:change="changeSelect"
>
  <view style="display: block;">下拉选择</view>
</select-plugin>
<search-popup>
  <view slot="content">1111</view>
</search-popup>

