| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!--index.wxml-->
- <scroll-view scroll-y="{{ true }}" style="height: {{scrollH}}px" scroll-into-view="{{ toView }}" scroll-with-animation bindscrolltoupper="bindUpper">
- <view class="wrap_nr">
- <view class="tips">您好,在线客服很高兴为您服务</view>
- <view class="section_w" wx:for="{{ dataList }}" wx:key="index" id="{{ 'item'+ item.id }}">
- <view class="sec_time" wx:if="{{ index == 0 }}">{{ item.created_at }}</view>
- <view class="section from_user" wx:if="{{ item.type == 1 }}">
- <view class="item">
- <view class="item_wenzi">{{ item.content }}</view>
- <image class="icon" src="{{ userThumb }}"></image>
- </view>
- </view>
- <view class="section from_plat" wx:if="{{ item.type == 2 }}">
- <view class="item">
- <image class="icon" src="{{ kfThumb }}"></image>
- <view class="item_wenzi">{{ item.content }}</view>
- </view>
- </view>
- </view>
- </view>
- </scroll-view>
- <!-- <view class="tips">您好,在线客服很高兴为您服务</view>
- <view id="scrollView" style="height:{{ scrollH }}px;">
- <view class="section_w" wx:for="{{ dataList }}" wx:key="index">
- <view class="sec_time" wx:if="{{ index == 0 }}">{{ item.created_at }}</view>
- <view class="section from_user" wx:if="{{ item.type == 1 }}">
- <view class="item">
- <view class="item_wenzi">{{ item.content }}</view>
- <image class="icon" src="{{ userThumb }}"></image>
- </view>
- </view>
- <view class="section from_plat" wx:if="{{ item.type == 2 }}">
- <view class="item">
- <image class="icon" src="{{ kfThumb }}"></image>
- <view class="item_wenzi">{{ item.content }}</view>
- </view>
- </view>
- </view>
- </view> -->
- <view class="wrap_pub" style="bottom:{{keybordH}}px">
- <view class="pub_l">
- <van-field
- value="{{ content }}"
- placeholder=""
- bind:input="getContent"
- />
- <!-- bind:input="getContent" -->
- <!-- adjust-position="{{ false }}" -->
- <!-- bind:focus="bindFocus" -->
- <!-- bind:blur= "bindBlur" -->
- </view>
- <image class="icon_send" src="/statics/img/icon_send.png" bind:tap="bindSendContent"></image>
- </view>
- <!-- loading -->
- <!-- <van-overlay show="{{ loading }}" z-index="100">
- <van-loading custom-class="custom_loading" />
- </van-overlay> -->
|