|
@@ -1,20 +1,19 @@
|
|
|
-<view class="list" wx:for="{{list}}">
|
|
|
- <view class="me" wx:if='{{item.user_id}}'>
|
|
|
- <image src="{{item.user_avatar}}" ></image>
|
|
|
- <view class="content">{{item.content}}</view>
|
|
|
- </view>
|
|
|
- <view class="wz" wx:else>
|
|
|
- <image src="../../images/wz.jpg" ></image>
|
|
|
- <view>
|
|
|
- <text class="name">顽主</text>
|
|
|
- <view class="content">{{item.reply_content}}</view>
|
|
|
+<view id="messageScroll">
|
|
|
+ <view class="list" wx:for="{{list}}" >
|
|
|
+ <view class="me" wx:if='{{item.user_id}}'>
|
|
|
+ <image src="{{item.user_avatar}}" ></image>
|
|
|
+ <view class="content">{{item.content}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="wz" wx:else>
|
|
|
+ <image src="../../images/wz.jpg" ></image>
|
|
|
+ <view>
|
|
|
+ <text class="name">顽主</text>
|
|
|
+ <view class="content">{{item.reply_content}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-</view>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-<view class="post">
|
|
|
- <input confirm-type='send' bindconfirm='post' value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" type="text" placeholder="我要咨询"/>
|
|
|
- <button bindtap="post">提交</button>
|
|
|
+ <view class="post">
|
|
|
+ <input confirm-type='send' bindconfirm='post' value="{{comment}}" placeholder-style="color:#999" maxlength="500" bindinput="inputchange" type="text" placeholder="我要咨询"/>
|
|
|
+ <button bindtap="post">提交</button>
|
|
|
+ </view>
|
|
|
</view>
|