me.wxml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!--login.wxml-->
  2. <o2-navi title="我的" ></o2-navi>
  3. <view class="me">
  4. <image class="avatar" src="{{avatarUrl}}" bindtap="bindTapAvatar"></image>
  5. <!--
  6. <view style="position: absolute;top: 30rpx;right: 0rpx;width: 128rpx;height: 64rpx;background-color:#ffffff;border-radius:">
  7. <view>联系我们</view>
  8. <button open-type="contact" bindcontact="handleContact" style="display: inline-block;position: absolute;width: 100%;background: salmon;opacity: 0;"></button>
  9. </view>
  10. -->
  11. <view class="line">
  12. <text class="label">姓名</text>
  13. <view class="right">
  14. <text>{{person.name}}</text>
  15. </view>
  16. </view>
  17. <view class="line">
  18. <text class="label">工号</text>
  19. <view class="right">
  20. <text>{{person.employee}}</text>
  21. </view>
  22. </view>
  23. <view class="line" bindtap="bindTapLine" data-param="mail">
  24. <text class="label">邮件地址</text>
  25. <view class="right">
  26. <image src="../../assets/img/icon_arrow.png"></image>
  27. <text>{{person.mail}}</text>
  28. </view>
  29. </view>
  30. <view class="line" bindtap="bindTapLine" data-param="mobile">
  31. <text class="label">手机号码</text>
  32. <view class="right">
  33. <image src="../../assets/img/icon_arrow.png"></image>
  34. <text>{{person.mobile}}</text>
  35. </view>
  36. </view>
  37. <view class="line" bindtap="bindTapLine" data-param="officePhone">
  38. <text class="label">办公电话</text>
  39. <view class="right">
  40. <image src="../../assets/img/icon_arrow.png"></image>
  41. <text>{{person.officePhone}}</text>
  42. </view>
  43. </view>
  44. <view class="line" bindtap="bindTapLine" data-param="signature">
  45. <text class="label">个人签名</text>
  46. <view class="right">
  47. <image src="../../assets/img/icon_arrow.png"></image>
  48. <text>{{person.signature}}</text>
  49. </view>
  50. </view>
  51. <view class="weui-btn-area">
  52. <button class="weui-btn" style="background-color: #fb4747;" type="primary" bindtap="bindTapLogout">退出登录</button>
  53. </view>
  54. </view>
  55. <mp-dialog title="修改{{dialogLabel}}" show="{{showDialog}}" bindbuttontap="tapDialogButton" buttons="{{[{text: '取消'}, {text: '确认'}]}}">
  56. <!-- <view>
  57. <mp-cell prop="qq" title="{{dialogLabel}}" ext-class="">
  58. <input data-field="qq" class="weui-input" value="{{dialogValue}}" />
  59. </mp-cell> -->
  60. <view class="page-section">
  61. <!-- <view class="weui-cells__title">{{dialogLabel}}</view> -->
  62. <view class="weui-cells weui-cells_after-title">
  63. <view class="weui-cell weui-cell_input">
  64. <input class="weui-input" name="dialogInput" placeholder="{{dialogPlaceholder}}" value="{{dialogValue}}" bindinput="getDialogInputValue" />
  65. </view>
  66. </view>
  67. </view>
  68. <!-- </view> -->
  69. </mp-dialog>
  70. <mp-dialog title="提示" show="{{showLogoutDialog}}" bindbuttontap="tapDialogLogoutButton" buttons="{{[{text: '取消'}, {text: '确认'}]}}">
  71. <view>确定要退出登录吗?</view>
  72. </mp-dialog>
  73. <!-- <view class="zixun" ><contact-button type="default-dark" size="100" class="kf"></contact-button></view>
  74. <view class="zixun_text">联系我们</view> -->