choice_guide.wxml 2.84 KB
<!-- 搜索导购顾问 -->
<view>
   <view class="flex sear_all">
        <view class="inp_div flex" style="position: relative">
            <image class="find_img" src="{{iurl}}/miniapp/images/search.png"></image>
            <input bindinput="get_input_val" class="fs32" placeholder="请输入关键字"  />
        </view>
        <view  class="sear_btn" bindtap="sear">查询</view>
   </view>
</view>


<view wx:if="{{list.length>0}}">
  <!-- 导购列表 -->
  <view class="big_box">
      <view class="item flex jc_sb ai-center"  wx:for="{{list}}">
          <!-- 左边 -->
          <view class="flex">
             <view><image class="head_pic" src="{{item.PhotoUrl?item.PhotoUrl:iurl+'/miniapp/images/no-head.jpg'}}"  binderror="img_err"  data-err_img="list[{{index}}].PhotoUrl" ></image></view>
             <view style="margin-left: 30rpx; margin-top: 20rpx">
                 <view class="fs35">{{item.StaffName}}</view>
                 <view class="fs28 ellipsis-3">{{item.Remark1?item.Remark1:'暂无介绍'}}</view>
             </view>
          </view>
          <!-- 右边 -->
          <view bindtap="pop_sele" data-index="{{index}}">
               <view class="choice_btn flex jc-center ai-center fs26">选择</view>
          </view>
      </view>
  </view>
</view>

<!-- 没有明细 -->
<view class="empty_order" wx:if="{{(!list || list.length<=0) && isload}}">
  <view class="flex-level" style="margin-top: 150rpx">
    <image src="{{iurl}}miniapp/images/order/empty_order.png" style="width: 260rpx; height: 260rpx"></image>
  </view>
  <view class="flex-level fs30 xc-ash" style="margin-top: 10rpx">暂无顾问明细</view>
  <view class="flex-level" style="margin-top: 10rpx">
    <navigator bindtap="back">
      <view class="flex-center fs30 white">返回</view>
    </navigator>
  </view>
</view>

<!-- 弹起来选择 -->
<view class="pop_sele" hidden="{{!show_pop}}" >
    <view class="cover-layer" bindtap="close_pop"></view>
    <view class="box">
        <view style="padding: 0 30rpx">
            <view class="flex ai-center" style="background: #f2f2f2;margin-top: 30rpx; padding: 10rpx">
                <image style="margin: 10rpx" class="head_pic pic2" src="{{iurl}}/miniapp/images/no-head.jpg"></image>
                <text class="fs35" style="margin-left: 10rpx">{{sele_item.StaffName}}</text>
            </view>
            <view class="flex ai-center" style="min-height: 160rpx; background:#f2f2f2; margin-top: 10rpx">
                <view class="fs28" style="margin-left: 10rpx">工作介绍:{{sele_item.Remark1}}</view>
            </view>
            <view  bindtap="go_user_info"  class="flex jc-center ai-center" style="margin-top: 20rpx; margin-bottom: 30rpx">
                  <view class="t_choice_btn flex jc-center ai-center">选择</view>
            </view>
        </view>
    </view>
</view>
<!-- 引入提示组件 -->
<warn id="warn"></warn>