<view class="menu">
  <block wx:for='{{menu}}' wx:key='{{index}}'>
    <navigator url="../{{item.imagename}}/{{item.imagename}}">
      <view class="menu-list" style="background-image: linear-gradient(to right, {{item.left}} , {{item.right}});">
        <image class="menu-icon" src='/images/{{item.imagename}}.png'></image>
        <view class='menu-title'>{{item.title}}</view>
      </view>
    </navigator>
  </block>
</view>
<view class="list">
  <block wx:for='{{list}}' wx:key='{{index}}'>
    <navigator url="../{{item.url}}/{{item.url}}">
      <view class="line">
        <view class="list-title">
          <image src='/images/{{item.nav}}.png'></image>
          <view>{{item.title}}</view>
        </view>
        <image src='/images/jiantou.png'></image>
      </view>
    </navigator>
  </block>
</view>