
   <!-- 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/jz.png' 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>

