<view class="container">
    <view class="chatlog {{ show_modal.length > 0 ? 'hidden' : '' }}">
        <contentstream id="prompt" wx:if="{{ prompt.length > 0 }}" content="{{ prompt }}" is_prompt="1"></contentstream>
        <contentstream id="response" content="{{ response }}"></contentstream>
    </view>
    <view class="bottom">
        <view class="quick-actions">
            <view bindtap="show_channel" class="quick-action">
                关注公众号
            </view>
            <servicemodal wechat_channel="1" show_hide_button="1" bindhide="hide_modal" wx:if="{{ show_modal == 'channel' }}" />
            <view bindtap="show_service" class="quick-action">
                人工客服
            </view>
            <servicemodal show_hide_button="1" bindhide="hide_modal" wx:if="{{ show_modal == 'service' }}" />
        </view>
        <view class="inputbox" bindtap="goto_camera">
            <view class="placeholder">开启AI验证</view>
            <view class="icon">
                <image src="/static/up-button.png" class="up"></image>
            </view>
        </view>
    </view>
</view>