<view class="main">
  <view class="top" wx:if="{{frameStyle.useTop}}">
    <top frameStyle="{{frameStyle}}" bind:back="back"></top>
  </view>
  <view class="info" style='height:{{infoHeight}}px'>
    <slot name="info"></slot>
  </view>
  <view class="foot" wx:if="{{frameStyle.useBar}}">
    <foot tabSelectid="{{frameStyle.tabSelectid}}" bind:tabPath="tabPath"></foot>
  </view>
</view>