|
@@ -1,8 +1,4 @@
|
|
|
<view id="messageScroll">
|
|
|
- <view class="subscribe" wx:if="{{!subscribe}}">
|
|
|
- <image src="../../images/lb.png" mode="widthFix" class="notice"></image>
|
|
|
- <text class="noticeMsg" bindtap="subscribe">点我开通即时消息提醒!</text>
|
|
|
- </view>
|
|
|
<view class="list" wx:for="{{list}}" >
|
|
|
<view class="me" wx:if='{{item.user_id}}'>
|
|
|
<image src="{{item.user_avatar}}" ></image>
|
|
@@ -18,7 +14,8 @@
|
|
|
</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>
|
|
|
+ <button wx:if="{{!subscribe}}" bindtap="subscribe">提交</button>
|
|
|
+ <button wx:else bindtap="post">提交</button>
|
|
|
</view>
|
|
|
<view style="clear: both;"></view>
|
|
|
</view>
|