<view class="page">
    <view class="page__bd">
        <wux-tabs current="{{ activeKey }}" controlled bind:change="onChange">
            <wux-tab key="0" title="全部"></wux-tab>
            <wux-tab key="1" title="待收货"></wux-tab>
            <wux-tab key="2" title="待评价"></wux-tab>
        </wux-tabs>
        <view class="content" hidden="{{ activeKey !== '0' }}">
            <wux-prompt visible="{{ activeKey === '0' }}" title="{{ msg1.title }}" text="{{ msg1.text }}" />
        </view>
        <view class="content" hidden="{{ activeKey !== '1' }}">
            <wux-prompt visible="{{ activeKey === '1' }}" icon="{{ msg2.icon }}" title="{{ msg2.title }}" text="{{ msg2.text }}" buttons="{{ msg2.buttons }}" bind:click="buttonClicked" />
        </view>
        <view class="content" hidden="{{ activeKey !== '2' }}">
            <wux-prompt visible="{{ activeKey === '2' }}" icon="{{ msg3.icon }}" title="{{ msg3.title }}" text="{{ msg3.text }}" buttons="{{ msg3.buttons }}" bind:getuserinfo="onGotUserInfo" />
        </view>
    </view>
</view>
