index.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <t-user-center-card
  2. userInfo="{{userInfo}}"
  3. isPhoneHide="{{true}}"
  4. name-class="custom-name-class"
  5. phone-class="custom-phone-class"
  6. avatar-class="customer-avatar-class"
  7. currAuthStep="{{currAuthStep}}"
  8. bind:gotoUserEditPage="gotoUserEditPage"
  9. />
  10. <view class="content-wrapper">
  11. <view class="order-group-wrapper">
  12. <t-order-group orderTagInfos="{{orderTagInfos}}" bind:onClickTop="jumpAllOrder" bind:onClickItem="jumpNav" />
  13. </view>
  14. <view wx:for="{{menuData}}" wx:key="item" class="cell-box">
  15. <t-cell-group>
  16. <t-cell
  17. wx:for="{{item}}"
  18. wx:for-item="xitem"
  19. wx:for-index="xindex"
  20. wx:key="xindex"
  21. title="{{xitem.title}}"
  22. arrow="{{!xitem.icon}}"
  23. note="{{xitem.tit}}"
  24. data-type="{{xitem.type}}"
  25. bordered="{{false}}"
  26. bind:click="onClickCell"
  27. t-class="t-cell-padding"
  28. t-class-note="order-group-note"
  29. t-class-left="order-group__left"
  30. >
  31. <t-icon name="{{xitem.icon}}" size="48rpx" slot="note" />
  32. </t-cell>
  33. </t-cell-group>
  34. </view>
  35. </view>
  36. <view class="footer__version" wx:if="{{versionNo !== ''}}">当前版本 {{versionNo}}</view>
  37. <t-popup visible="{{showMakePhone}}" placement="bottom" bind:visible-change="closeMakePhone" data-index="2">
  38. <view class="popup-content">
  39. <view class="popup-title border-bottom-1px" wx:if="{{customerServiceInfo.serviceTimeDuration}}">
  40. 服务时间: {{customerServiceInfo.serviceTimeDuration}}
  41. </view>
  42. <view class="popup-phone {{showKefu ? 'border-bottom-1px' : ''}}" bind:tap="call">电话客服</view>
  43. <button class="popup-phone border-bottom-1px online" open-type="contact" wx:if="{{showKefu}}">在线客服</button>
  44. <view class="popup-close" bind:tap="closeMakePhone">取消</view>
  45. </view>
  46. </t-popup>
  47. <t-toast id="t-toast" />