designerlist.wxml 6.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <view class="topbox" style="padding-top:{{top}}px;height:{{top*1+hgt*1}}px;">
  2. <!-- <view bindtap="goindextap" class="leftindexbox clearfix" style="top: {{top*1+8}}px;">
  3. <image class="leftgoto" src="../../../img/back.png"></image>
  4. <text></text>
  5. <image class="gotoindex" src="../../../img/goindex.png"></image>
  6. <view class="gotoidxbox"></view>
  7. </view> -->
  8. <view class="leftindexbox clearfix" style="top: {{top*1+8}}px;border: 1px solid #d1cfcf;">
  9. <image bindtap="golastap" class="leftgoto" src="../../../img/back.png"></image>
  10. <view bindtap="golastap" class="leftitbox"></view>
  11. <text></text>
  12. <image bindtap="goindextap" class="gotoindex" src="../../../img/goindex.png"></image>
  13. <view bindtap="goindextap" class="gotoidxbox"></view>
  14. </view>
  15. <view class="fontfpm fontr32 center maintitle" style="line-height: 44px;">设计师列表</view>
  16. </view>
  17. <view class="designertitle" style="top:{{top*1+hgt*1}}px;">
  18. <view bindtap="setinitap" class="pull-left lhr76">全部</view>
  19. <view bindtap="showorgtap" class="orgbox pull-left customerbtnbox fontr28 color384855 fontfpr lhr76 clearfix">
  20. <image class="filtericon ml5 pull-right" src="/img/filtericon.png"></image>
  21. <view class="pull-right ellipsis">{{(!orgName)?'部门筛选':orgName}}</view>
  22. </view>
  23. <view bindtap="showstyletap" class="pull-left stylebox customerbtnbox fontr28 color384855 fontfpr lhr76 clearfix">
  24. <image class="pull-right" src="/img/blackrangle.png"></image>
  25. <view class="pull-right">{{likestyle==''?'擅长风格':likestyle}}</view>
  26. </view>
  27. <view bindtap="housetap" class="pull-right customerbtnbox fontr28 color384855 fontfpr lhr76 clearfix">
  28. <image class="pull-right" src="/img/blackrangle.png"></image>
  29. <view class="pull-right">{{likehouse==''?'擅长户型':likehouse}}</view>
  30. </view>
  31. <inputalert selectarr='{{stylearr}}' nowarr="{{likestyle}}" flag="{{sourceflag}}" bind:run="setsourcetap"></inputalert>
  32. <inputalert selectarr='{{housearr}}' nowarr="{{likehouse}}" flag="{{houseflag}}" bind:run="sethousetap"></inputalert>
  33. </view>
  34. <view class="designlistbox" style="margin-top:{{top*1+hgt*1}}px;">
  35. <view wx:for="{{designlist}}" data-idx="{{index}}" bindtap="designertap" class="everylistbox clearfix">
  36. <image data-idx="{{index}}" class="headimg pull-left" wx:if="{{item.image_photo}}" src="{{item.image_photo}}" alt="设计师头像"></image>
  37. <image data-idx="{{index}}" class="headimg pull-left" wx:if="{{!item.image_photo}}" src="/share/img/unheadimg.jpg" alt="设计师头像"></image>
  38. <view data-idx="{{index}}" class="pull-left designermsgbox">
  39. <view data-idx="{{index}}" class="clearfix">
  40. <text data-idx="{{index}}" class="pull-left fontfpr fontw600 fontr32 color384855 lhr44">{{item.name}}</text>
  41. <text data-idx="{{index}}" class="pull-left ml8 fontfpr fontr24 color9DB6CF lhr34 relative top8">{{item.position?'['+item.position+']':''}}</text>
  42. <button data-idx="{{index}}" wx:if="{{item.make==1}}" class="pull-right appointbtn fontfpr fontr24 colorfff">已预约</button>
  43. <!-- <button data-idx="{{index}}" wx:if="{{item.make!=1&&phoneFlag==false}}" catchtap="apointap" class="pull-right appointbtn fontfpr fontr24 colorfff">预约Ta</button> -->
  44. <view data-idx="{{index}}" class="pull-right" catchtap="dothis">
  45. <!-- <button data-idx="{{index}}" wx:if="{{item.make!=1&&phoneFlag==true}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberTap" class="pull-right appointbtn fontfpr fontr24 colorfff">预约Ta</button> -->
  46. </view>
  47. </view>
  48. <view data-idx="{{index}}" class="mt10 clearfix fontfpr fontr24 color9DB6CF lhr34 ">
  49. <view data-idx="{{index}}" class="pull-left">{{item.work_years?item.work_years+'年设计经验':'暂无填写'}}</view>
  50. <p data-idx="{{index}}" class="pull-left lineboox">|</p>
  51. <view data-idx="{{index}}" class="pull-left">{{item.case_count?'共有'+item.case_count+'套案例':'暂无案例'}}</view>
  52. </view>
  53. <view data-idx="{{index}}" class="mgtr20 clearfix clearfix">
  54. <view data-idx="{{index}}" class="color9DB6CF fontfpr lhr36 fontr24 pull-left">擅长风格:</view>
  55. <view data-idx="{{index}}" wx:if="{{item.good_at}}" class="pull-left likestylebox flex color71C4FF fontr20 fontfpr clearfix {{item.good_at.length>=3?'justify-between':''}}">
  56. <text data-idx="{{index}}" wx:for="{{item.good_at}}" wx:for-index="gindex" wx:for-item="gitem" wx:if="{{gindex<3}}" class="ellipsis block align-center justify-center pull-left {{gindex>0&&item.good_at.length<3?'ml16':''}}">{{gitem}}</text>
  57. <text data-idx="{{index}}" wx:if="{{item.good_at.length>=3}}" class="{{item.good_at.length<3?'ml16':''}}" style="display: flex;" class="flex align-center justify-center fontbolder pull-left">...</text>
  58. </view>
  59. <view data-idx="{{index}}" wx:if="{{!item.good_at}}" class="pull-left likestylebox flex color71C4FF fontr20 lhr36">--</view>
  60. </view>
  61. </view>
  62. </view>
  63. <nonedata len="{{designlist.length}}" datashow="{{datashow}}"></nonedata>
  64. </view>
  65. <view wx:if="{{orgshow}}" class="mask" bindtap="closeMask">
  66. <view catchtap="dothis" class="maskStyle">
  67. <view class="departBox">
  68. <view class="dHeader">
  69. <image wx:if="{{levelIds.length > 1}}" bindtap="lastLevel" src="../../../img/last.png" mode="widthFix"></image>选择部门
  70. </view>
  71. <view class="dContent">
  72. <radio-group bindchange="radioChange">
  73. <view class="weui-cell weui-check__label relative" wx:for="{{orgarr}}" wx:key="{{item.id}}">
  74. <view class="weui-cell__hd">
  75. <radio value="{{item.id}}~{{item.name}}" checked="{{!item.name}}" />
  76. </view>
  77. <view bindtap="handleLevel" data-id="{{item.id}}" class="weui-cell__bd font28">{{item.name}} ({{item.employee_count ? item.employee_count : 0}})</view>
  78. <image class="childimg" wx:if="{{item.children.length}}" src="/img/last.png"></image>
  79. </view>
  80. </radio-group>
  81. </view>
  82. <view class="dFooter">
  83. <view class="dCancelBtn" bindtap="closeMask">取消</view>
  84. <view class="dConfirmBtn" bindtap="confirmDepart">确定</view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <sharefooter type='{{2}}' shareperson-msg="{{shareobj}}" companyobj="{{companyobj}}"></sharefooter>
  90. <mustlogin loginFlag="{{loginFlag}}" mobileflag="{{phoneFlag}}" orgname="{{companyobj.company_name}}" logo="{{companyobj.logo}}" id="loginbox" bind:run="login"></mustlogin>