set_info.wxml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!--pages/set_info/set_info.wxml-->
  2. <view class='container'>
  3. <image src='../../image/block.png' class='block' style="padding-top:{{statusBar+10}}px" bindtap='blockCtl'></image>
  4. <view class='wrapper' style="margin-top:{{statusBar-10}}px">
  5. <image src='../../image/nian_ling_bg.png' class='logo'></image>
  6. <view class="content" >
  7. <view class='age'>
  8. <view class="list-item">
  9. <view class="age-item-name">
  10. <text>姓名</text>
  11. <text class="age-item-name-border"></text>
  12. </view>
  13. <view class="age-item-inputs">
  14. <input class="age-item-input" placeholder="请输入真实姓名" placeholder-class="age-item-input-pl" type="text" value='{{name}}' bindblur='inputCtl' bindinput='' data-type='name'></input>
  15. </view>
  16. </view>
  17. <view class="list-item">
  18. <view class="age-item-name">
  19. <text>年龄</text>
  20. <text class="age-item-name-border"></text>
  21. </view>
  22. <view class="age-item-inputs">
  23. <input class="age-item-input" placeholder="请输入真实年龄" placeholder-class="age-item-input-pl" type="number" data-type='age' value='{{age}}' bindblur='' bindinput='inputCtl'></input>
  24. </view>
  25. </view>
  26. <view class="list-item {{isSex?'sex-active':''}}">
  27. <view class="age-item-name">
  28. <text>性别</text>
  29. <text class="age-item-name-border"></text>
  30. </view>
  31. <view style="width:65%;display: inline-block;" bindtap="selectSex" class="age-item-inputs">
  32. <input class="age-item-input" placeholder="请选择性别" placeholder-class="age-item-input-pl" type="text" style="width:90%" value='{{sex}}' bindblur='inputCtl' bindinput='' data-type='sex' disabled="ture"></input>
  33. <text class="{{isSex?'age-item-top':'age-item-bottom'}}"></text>
  34. </view>
  35. </view>
  36. <view class="list-pull-down" wx:if='{{isSex}}'>
  37. <view wx:for='{{sexList}}' wx:key='index' class="list-pull-item" data-sidx='{{index}}' data-sex='{{item.sexNum}}' bindtap="setSex">{{item.sexNum}}</view>
  38. </view>
  39. <view class="list-item" wx:if='{{!isSex}}'>
  40. <view class="age-item-name">
  41. <text>学校</text>
  42. <text class="age-item-name-border"></text>
  43. </view>
  44. <view class="age-item-inputs">
  45. <input class="age-item-input" placeholder="输入所在学校" placeholder-class="age-item-input-pl" type="text" value='{{school}}' bindblur='inputCtl' bindinput='' data-type='school'></input>
  46. </view>
  47. </view>
  48. <view class="list-item" wx:if='{{!isSex}}'>
  49. <view class="age-item-name">
  50. <text>电话</text>
  51. <text class="age-item-name-border"></text>
  52. </view>
  53. <view class="age-item-inputs">
  54. <input class="age-item-input" placeholder="输入电话号码" placeholder-class="age-item-input-pl" type="number" value='{{phone}}' bindblur='inputCtl' bindinput='' data-type='phone'></input>
  55. </view>
  56. </view>
  57. </view>
  58. <!-- <view class='age'>
  59. <image class='sex-img' src='../../image/you_sex.png'></image>
  60. <view>
  61. <view class='age-item' wx:for='{{sexList}}' wx:key='index'>
  62. <view class='age-item-num {{index==sexIdx?"age-active":""}}' data-sidx='{{index}}' data-sex='{{item.sexNum}}' bindtap='setSex'>
  63. <image src='{{item.img}}' class='age-item-image {{index==1?"women-img":""}}'></image>
  64. <text>{{item.sexNum}}</text>
  65. </view>
  66. </view>
  67. </view>
  68. </view> -->
  69. <view class='footer'>
  70. <image src='../../image/age_kai_shi.png' class='footer-img' bindtap='setInfo'></image>
  71. </view>
  72. </view>
  73. </view>
  74. </view>