123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <!-- scroll-top="{{scrollTopVal}}"
- bindscrolltoupper="upper"
- bindscrolltolower="lower"
- bindscroll="scroll" -->
- <!-- bindscroll="ceshi" -->
- <!-- bindtouchend="cheshi" -->
- <view class='Load_img_box' hidden="{{hiddenName}}">
- <view class='Load_img'><image src='/image/jz1.gif' mode="aspectFill"></image></view>
- </view>
- <scroll-view class="history" scroll-top="{{scrollTopVal}}" scroll-y="true" bindtap="resetInputStatus" bindscrolltoupper="upper" scroll-into-view="{{toView}}" >
- <!-- 自己 -->
- <block wx:for='{{Receive_news}}' wx:key="item">
- <view class='my_right c' wx:if="{{item.isMy === true}}" id="{{item.hooks}}">
- <text class='time' wx:if="{{item.time}}">{{item.time}}</text>
- <!-- 文字-->
- <view class='information' wx:if="{{item.type == 1}}">
- <!-- 加载 -->
- <!-- <view class='m_state'>
- <image class='m_jz' src='/image/jz.png'></image>
- </view> -->
- <!-- 失败 -->
- <view class='m_state' bindtap="retransmission" wx:if="{{item.send == false}}">
- <image class='m_jz' src='/image/send_fail.png' mode="aspectFill"></image>
- </view>
- <text>{{item.content}}</text>
- <image class='m_tx' src='{{myheadurl}}' mode="aspectFill"></image>
-
- </view>
- <!-- 图片 -->
- <view class='m_img' wx:if="{{item.type == 2}}">
- <!-- 加载 -->
- <!-- <view class='m_state'>
- <image class='m_jz' src='/image/jz.png'></image>
- </view> -->
- <!-- 失败 -->
- <view class='m_state' bindtap="retransmission" wx:if="{{item.send == false}}">
- <image class='m_jz' src='/image/send_fail.png' mode="aspectFill"></image>
- </view>
- <image class='m_picture' src='{{item.content}}' mode="aspectFill" data-src='{{item.content}}' bindtap='enlarge'></image>
- <image class='m_tx' src='{{myheadurl}}'></image>
- </view>
- </view>
- <!-- 他人 -->
- <view class='my_left c' wx:if="{{item.isMy === false}}" id="{{item.hooks}}">
- <text class='l_time' wx:if="{{item.time}}">{{item.time}}</text>
-
- <view class='l_information' wx:if="{{item.type == 1}}">
- <image class='l_tx' src='{{headUrl}}'></image>
- <text>{{item.content}}</text>
- </view>
-
- <view class='l_img' wx:if="{{item.type == 2}}">
- <image class='l_tx' src='{{headUrl}}'></image>
- <image class='l_picture' src='{{item.content}}' data-src='{{item.content}}' mode="widthFix" bindtap='enlarge'></image>
- </view>
- </view>
- </block>
- </scroll-view>
- <!-- 功能栏 -->
- <view class='my_bottom_box'>
- <view class='my_bottom c'>
-
- <!-- 表情 -->
- <image class='l_img' src='/image/bq1.png' catchtap="ExpressionClickEvent"></image>
-
- <!-- 输入框 -->
- <view class="textarea-wrp " style='width:{{_width}}rpx'>
- <input
- type='text'
- value="{{inputValue}}"
- bindinput="Telephone"
- confirm-type="send"
- cursor-spacing="{{KeyboardHeight}}"
- adjust-position="true"
- bindconfirm="Sendout"
- bindfocus="bindfocusclick"
-
-
- ></input>
- </view>
- <!-- 菜单 -->
- <view hover-class="press-style-opacity" catchtap="chatInputExtraClickEvent" wx:if="{{menushow}}">
- <image class='r_img' src='/image/jh1.png'></image>
- </view>
- <!-- 发送按钮 -->
- <view class='Send_out' wx:if="{{Sendoutshow}}" bindtap="Sendout">发送</view>
- </view>
- <block wx:if="{{menu}}">
- <view class="extra-super c" >
- <view class="flex-column" style="width: 25%" bindtap='chooseImageTap' data-index="{{index}}">
- <image class="extra-image-size" src="/image/m_chat/extra/choose_picture.png" />
- <text class="extra-text-size">图片</text>
- </view>
- <!-- <view class="flex-column" style="width: 25%" bindtap="chatInputExtraItemClickEvent" data-index="{{index}}">
- <image class="extra-image-size" src="/image/m_chat/extra/choose_picture.png" />
- <text class="extra-text-size">图片</text>
- </view>
- <view class="flex-column" style="width: 25%" bindtap="chatInputExtraItemClickEvent" data-index="{{index}}">
- <image class="extra-image-size" src="/image/m_chat/extra/choose_picture.png" />
- <text class="extra-text-size">图片</text>
- </view>
- <view class="flex-column" style="width: 25%" bindtap="chatInputExtraItemClickEvent" data-index="{{index}}">
- <image class="extra-image-size" src="/image/m_chat/extra/choose_picture.png" />
- <text class="extra-text-size">图片</text>
- </view> -->
- </view>
- </block>
- <block wx:if="{{Expression}}">
- <view class="Expression_box c">
- <block wx:for='{{connectemojiO}}' wx:key="item">
- <view class='Expression_img' bindtap='Expression' data-id='{{item}}'>{{item}}</view>
- </block>
- </view>
- </block>
- </view>
|