designerlist.wxml 6.3 KB

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