<view id="messageScroll">
    <view class="list" wx:for="{{list}}">
        <view class="me" wx:if='{{item.user_id}}'>
            <image class="mehead" src="{{item.user_avatar}}" ></image>
            <view wx:if="{{item.width > 0}}">
              <image mode="widthFix" class="contentimage" src="{{item.content}}" catchtap="preview" data-urls='{{item.content}}'></image>
            </view>
            <view wx:else class="content">{{item.content}}</view>

        </view>
        <view class="wz" wx:else>
            <image class="wzhead" src="../../images/wz.jpg" ></image>
            <view>
                <!-- <text class="name">顽主</text> -->
                <view  wx:if="{{item.width > 0}}">
                  <image mode="widthFix" class="huipic" src="{{item.reply_content}}" catchtap="preview" data-urls='{{item.reply_content}}'></image>
                </view>
                <view wx:else class="content">{{item.reply_content}}</view>
            </view>
        </view>
    </view>
    <view class="post">
        <image class="add" catchtap="uploadImg" src="../../images/add.png"></image>
        <input confirm-type='send' bindconfirm='post' value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" type="text" placeholder="我要咨询"/>
        <button wx:if="{{!subscribe}}" disabled="{{disable}}" bindtap="subscribe">提交</button>
        <button wx:else bindtap="post" disabled="{{disable}}">提交</button>
    </view>
    <view style="clear: both;"></view>
</view>