<view class="{{'ios' === platform ? 'ios-voice-box' : ''}}">
    <view class="mark gov-mark
        {{showPanel ? 'show-mark' : ''}}"
        bind:tap="cancel">
    </view>
    <view
        s-if="showPanel"
        class="
            voice-panel gov-voice-panel
            {{isFullScreen ? 'voice-panel-ipx' : ''}}"
            animation="{{animationData}}"
        >
        <view class="btn-close" bind:tap="cancel">
            <view class="icon-close"></view>
        </view>
        <!--预加载图片-->
        <view class="preloading">
            <image class="image" src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-voice.gif"></image>
            <image class="image" src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-err.gif"></image>
            <image class="image" src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-init.gif"></image>
        </view>
        <view class="panel-content">
            <view class="
                    word-box gov-word-box
                    {{delMargin ? 'no-margin-top' : ''}}"
                    style="justify-content: {{verticalAlign}}"
            >
                <view s-if="msg">{{msg}}</view>
                <scroll-view class="result-cont" s-if="content" scroll-y style="height:auto;">
                    {{content}}
                </scroll-view>
            </view>
            <view class="animate-box">
                <image class="image" s-if="showAnimate === 1" src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-voice.gif"></image>
                <image class="image" s-elif="showAnimate === 2" src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-err.gif"></image>
                <image class="image" s-else src="https://b.bdstatic.com/searchbox/icms/searchbox/img/ripple-init.gif"></image>
            </view>
            <gov-button
                gov-button="button-voice"
                gov-button-icon="button-icon-voice"
                bind:tap="{{eventType}}"
                button-size="large"
                button-color="default"
                button-text="{{btnText}}"
                button-icon="{{iconVoice}}"
            >
            </gov-button>
        </view>
    </view>
</view>