<view class="item {{ is_prompt ? 'prompt' : '' }}">
    <view wx:if="{{ ! is_prompt }}" class="icon">
        <image src="/static/chatlogo.png"></image>
    </view>
    <view class="content {{ is_prompt ? 'prompt' : '' }}">
        <view wx:for="{{ visible_content }}" wx:key="index">
            <view wx:if="{{ item.type == 'text'}}" class="text {{ item.classes }}" data-index="{{ index }}" bindtap="handle_onclick">
                <text wx:if="{{ item.mark == 'tick' }}" class="green">✓</text><text class="{{ item.classes }}">{{ item.content }}</text>
            </view>
            <view wx:if="{{ item.type == 'scanguidecss' }}" class="media">
                <scanguidecss wx:if="{{ item.type == 'scanguidecss' }}" hide_title="1"></scanguidecss>
            </view>
            <view wx:if="{{ item.type == 'splitline' }}" class="splitline"></view>
            <view wx:if="{{ item.type == 'suggestion' }}" class="suggestion" data-index="{{ index }}" bindtap="handle_onclick">{{ item.title }}</view>
        </view>
    </view>
</view>