chat.wxml 2.3 KB
<!--pages/main/smartchat/chat.wxml-->
<view hidden='{{showModal}}'>
  <scroll-view style='background:#fff;margin-bottom:150rpx'>
    <view wx:for="{{datas}}">
      <view style='margin:50rpx 60rpx 0 36rpx;display:flex;flex-direction:row'>
        <image style='width:136rpx;height:92rpx' src="/images/icon_robot.png"></image>
        <view class='receive_bg'>
          <text class='text_receive_wrap'>您要计算工资薪金的还是劳务报酬的个您要计算工资薪金的还是劳务报酬的</text>
        </view>

      </view>
      <view style='margin:50rpx 36rpx 0 60rpx;display:flex;flex-direction:row'>
        <view class='send_bg'>
          <text class='text_send_wrap'>您要计算工资薪金的还是劳务报酬的个您要计算工资薪金的还是劳务报酬的</text>
        </view>
        <view style='width:136rpx;height:92rpx'>
          <open-data type="userAvatarUrl"></open-data>
        </view>
      </view>
    </view>
  </scroll-view>
  <view class='bottom_wrap'>
    <input class='input_wrap' confirm-type="send" bindinput="bindKeyInput"></input>
    <view class='btn_send_wrap' bindtap='sendMsg'>发送</view>
  </view>
</view>

<!-- 自定义弹窗 -->
<view class="mask" catchtouchmove="preventTouchMove" hidden="{{!showModal}}"></view>
<view class='modal_lg' hidden="{{!showModal}}">
  <text class="text_title">您在多个单位有任职信息,请选择您要在哪家单位资讯问题。</text>
  <view class='divide_line_f5f5f5'></view>
  <view style='width:100%;display:flex;flex-direction:column;align-items:center;max-height:450rpx'>
    <block wx:for="{{datas}}" wx:for-index="idx">
      <view wx:if="{{idx!=1}}">
        <text class='text_item_black float_left'>北京小爱智能科技有限公司</text>
      </view>
      <view wx:else>
        <text class='text_item_blue float_left'>北京小爱智能科技有限公司</text>
        <image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
      </view>
      <view class='divide_line_f5f5f5'></view>
    </block>
  </view>

  <view class='divide_line_f5f5f5'></view>
  <view style='width:100%;display: flex;'>
    <text class='text_cancel' bindtap='cancelhandle'>取消</text>
    <view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
    <text class='text_confirm' bindtap='confirmhandle'>确定</text>
  </view>
</view>