44 lines
2.5 KiB
Plaintext
44 lines
2.5 KiB
Plaintext
<t-user-center-card userInfo="{{userInfo}}" isPhoneHide="{{true}}" name-class="custom-name-class" phone-class="custom-phone-class" avatar-class="customer-avatar-class" currAuthStep="{{currAuthStep}}" bind:gotoUserEditPage="gotoUserEditPage" />
|
|
|
|
|
|
<view class="content-wrapper">
|
|
<!-- 收藏和足迹 -->
|
|
<view class="order-history-box">
|
|
<view class="order-history-content-box" bind:tap="jumpCollect">
|
|
<view class="order-history-content-num">{{collectData.collectCount}}</view>
|
|
<view class="order-history-content-text">收藏</view>
|
|
</view>
|
|
<view class="order-history-content-line"></view>
|
|
<view class="order-history-content-box" bind:tap="jumpHistory">
|
|
<view class="order-history-content-num">{{collectData.historyCount}}</view>
|
|
<view class="order-history-content-text">浏览记录</view>
|
|
</view>
|
|
</view>
|
|
<!-- <button type="primary" bind:tap="getOpenIdFun">获取OpenID</button> -->
|
|
|
|
<view wx:for="{{menuData}}" wx:key="item" class="cell-box">
|
|
<t-cell-group>
|
|
<t-cell wx:for="{{item}}" wx:for-item="xitem" wx:for-index="xindex" wx:key="xindex" title="{{xitem.title}}" arrow="{{!xitem.icon}}" note="{{xitem.tit}}" data-type="{{xitem.type}}" bordered="{{false}}" bind:click="onClickCell" t-class="t-cell-padding" t-class-note="order-group-note" t-class-left="order-group__left">
|
|
<t-icon name="{{xitem.icon}}" size="48rpx" slot="note" />
|
|
</t-cell>
|
|
</t-cell-group>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{CustomerService}}">
|
|
<view class="footer__version" style="margin-top: 50rpx;">客服电话 {{CustomerService.customerServicePhone}}</view>
|
|
<view class="footer__version">工作时间 {{CustomerService.workingHoursBeginTime}}-{{CustomerService.workingHoursEndTime}}</view>
|
|
</view>
|
|
<t-popup visible="{{showMakePhone}}" placement="bottom" bind:visible-change="closeMakePhone" data-index="2">
|
|
<view class="popup-content">
|
|
<view class="customer-service-img" wx:if="{{CustomerService.customerServiceImg}}">
|
|
<image src="{{CustomerService.customerServiceImg}}" mode="widthFix" />
|
|
</view>
|
|
<!-- <view class="popup-title border-bottom-1px" wx:if="{{customerServiceInfo.serviceTimeDuration}}">
|
|
服务时间: {{customerServiceInfo.serviceTimeDuration}}
|
|
</view>
|
|
<view class="popup-phone {{showKefu ? 'border-bottom-1px' : ''}}" bind:tap="call">电话客服</view>
|
|
<button class="popup-phone border-bottom-1px online" open-type="contact" wx:if="{{showKefu}}">在线客服</button> -->
|
|
<view class="popup-close" bind:tap="closeMakePhone">取消</view>
|
|
</view>
|
|
</t-popup>
|
|
<t-toast id="t-toast" /> |