brokerindex.wxml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <view class="brokerIndex {{!agentBackgroundImg&&loadimg?'bgColors':''}}">
  2. <block wx:if="{{agentBackgroundImg}}">
  3. <image wx:if="{{loadimg}}" class="bg-image" mode="widthFix" src="{{agentBackgroundImg}}"></image>
  4. </block>
  5. <block wx:else="">
  6. <image wx:if="{{loadimg}}" class="bg-image" mode="widthFix" src="{{imgUrl}}/xcx/aaa/bj.jpg"></image>
  7. </block>
  8. <view class="msgadd">
  9. <view class="headerFixed">
  10. <view class="headerTitle">
  11. <view class="hCircle"></view>
  12. <view class="hName">信息填写</view>
  13. <view class="hCircle"></view>
  14. </view>
  15. <image mode="widthFix" src="../../img/headericon.png"></image>
  16. </view>
  17. <view class="msgxminput">
  18. <input type="text" value="{{name}}" bindinput="nameInput" placeholder="请填写好友姓名"/>
  19. </view>
  20. <view class="msgxminput1 mt20">
  21. <text class="requiredRed">*</text>
  22. <input type="text" value="{{phone}}" bindinput="phoneInput" placeholder="请填写好友手机号码"/>
  23. </view>
  24. <view class="msgxminput mt20 msgxminput2">
  25. <input type="text" value="{{community_name}}" bindinput="communityNameInput" placeholder="小区"/>
  26. </view>
  27. <button bindtap="addCustomer" wx:if="{{brokeflag}}" loading="{{loading}}" disabled="{{loading}}" class="msgConfirmBtn">立即推荐</button>
  28. <button wx:if="{{!brokeflag}}" bindgetphonenumber="getPhoneNumberTap" open-type="getPhoneNumber" loading="{{loading}}" disabled="{{loading}}" class="msgConfirmBtn">立即推荐</button>
  29. </view>
  30. <view wx:if="{{false}}" class="customer_pm">
  31. <view class="headerFixed">
  32. <view class="headerTitle">
  33. <view class="hCircle"></view>
  34. <view class="hName">客户排行</view>
  35. <view class="hCircle"></view>
  36. </view>
  37. <image mode="widthFix" src="../../img/headericon.png"></image>
  38. </view>
  39. <view wx:for="{{brokerRanklist}}" wx:key="{{index}}" class="pm_item_box">
  40. <view class="pm_num">
  41. <image wx:if="{{index == 0}}" mode="widthFix" src="../../img/pmicon1.png"></image>
  42. <image wx:if="{{index == 1}}" mode="widthFix" src="../../img/pmicon2.png"></image>
  43. <image wx:if="{{index == 2}}" mode="widthFix" src="../../img/pmicon3.png"></image>
  44. <text wx:if="{{index>2}}">{{index+1}}</text>
  45. </view>
  46. <view class="pm_avatar">
  47. <image src="{{item.user && item.user.headimgurl ? item.user.headimgurl : '../../../img/default.png'}}"></image>
  48. <view wx:if="{{item.type_name}}" class="pm_type">{{item.type_name}}</view>
  49. </view>
  50. <view class="pm_msg">{{agentName||'装修推荐官'}}:{{item.agent_name}} | 提供{{item.reccont}}个客户</view>
  51. </view>
  52. </view>
  53. <!-- 顶部swiper -->
  54. <view wx:if="{{swiperData.length}}" class="swiperBoxFixed">
  55. <swiper indicator-dots="{{false}}" vertical="{{true}}"
  56. autoplay="{{true}}" interval="{{3000}}" duration="{{500}}" circular="{{true}}" style="height: 70rpx;">
  57. <swiper-item wx:for="{{swiperData}}" wx:key="{{index}}" class="swiper-item">
  58. <view class="swiper-item-msg">
  59. <image src="{{item.user && item.user.headimgurl ? item.user.headimgurl : '../../../img/default.png'}}"></image>
  60. <view>恭喜 {{item.agent_name}} 成功邀请好友 获得奖励</view>
  61. </view>
  62. </swiper-item>
  63. </swiper>
  64. </view>
  65. <!-- 底部导航 -->
  66. <view class="tabBar">
  67. <view class="tabItem">
  68. <image mode="widthFix" src="../../img/b_index_2.png"></image>
  69. <view class="activePage">推荐客户</view>
  70. </view>
  71. <view class="tabItem" bindtap="jumpSharePage">
  72. <image mode="widthFix" src="../../img/b_share.png"></image>
  73. <view class="defaultStyle">分享任务</view>
  74. </view>
  75. <view class="tabItem tabItem2" bindtap="jumpscreenshot">
  76. <image mode="widthFix" src="../../img/screenshotno.png"></image>
  77. <view class="defaultStyle">上传分享截图</view>
  78. </view>
  79. <view class="tabItem tabItem1" bindtap="jumpMinePage">
  80. <image src="../../img/b_mine_1.png" mode="widthFix"></image>
  81. <view class="defaultStyle">我的</view>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- 隐私协议授权 -->
  86. <privacy-popup bind:agree="agreePrivacy"></privacy-popup>