| | |
| | | <!-- v-if="currentInfo&&(currentInfo.id)" -->
|
| | | <view class="flex user-info">
|
| | | <!-- 头像 -->
|
| | | <image class="user-icon" v-if="!currentInfo.picture" src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png'
|
| | | <image class="user-icon" v-if="!currentInfo.picture"
|
| | | src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png'
|
| | | mode="aspectFit"></image>
|
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image>
|
| | |
|
| | |
|
| | |
|
| | | <view class="name" v-if="currentInfo.id">
|
| | | <view class="t1" >
|
| | | {{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
|
| | | {{
|
| | | (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
|
| | | }}<span
|
| | | v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'">
|
| | | ({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span>
|
| | | </view>
|
| | | <view class="t2">{{currentInfo.tel || '暂无电话'}}</view>
|
| | | </view>
|
| | | <view class="name" v-if="!currentInfo.id" open-type="getUserInfo" @click.stop="getUserProfile" style="font-size: 48rpx;margin-top: 16rpx;">
|
| | | <view class="name" v-if="!currentInfo.id" open-type="getUserInfo" @click.stop="getUserProfile"
|
| | | style="font-size: 48rpx;margin-top: 16rpx;">
|
| | | {{'点击登陆'}}
|
| | | </view>
|
| | | <image class="icon-setting" src="../../static/common/icon-setting.png" mode="aspectFit"></image>
|
| | |
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | | <view class="customer-info-records">
|
| | | <view class="item">
|
| | | <view class="num">59</view>
|
| | | <view class="num">{{ tj.collectNum || 0 }}</view>
|
| | | <view class="name">我的收藏</view>
|
| | | </view>
|
| | | <view class="line"></view>
|
| | | <view class="item">
|
| | | <view class="num">5</view>
|
| | | <view class="num">{{ tj.followNum || 0 }}</view>
|
| | | <view class="name">关注店铺</view>
|
| | | </view>
|
| | | <view class="line"></view>
|
| | | <view class="item">
|
| | | <view class="num">87</view>
|
| | | <view class="num">{{ tj.browseNum || 0 }}</view>
|
| | | <view class="name">浏览记录</view>
|
| | | </view>
|
| | | </view>
|
| | |
| | | <view class="user-util m-t-12">
|
| | | <view class="title flex">
|
| | | <view class="flex1">我的订单</view>
|
| | | <view class="m-r-a m-r-0 more">全部订单<uni-icons class="" type="right"
|
| | | size="12"></uni-icons></view>
|
| | | <view class="m-r-a m-r-0 more">全部订单
|
| | | <uni-icons class="" type="right"
|
| | | size="12"></uni-icons>
|
| | | </view>
|
| | | </view>
|
| | | <view class="flex order-icons-container">
|
| | | <view class="order-icons">
|
| | |
| | | <view>我的服务</view>
|
| | | </view>
|
| | | <view class="flex service-icons-container">
|
| | | <view class="service-icons">
|
| | | <view class="service-icons" @click="goto('/sub_pages/customer/follow/follow',true)">
|
| | | <image src="../../static/images/customer/service/service-icon-1.png" class="service-icon ">
|
| | | </image>
|
| | | <view>关注店铺</view>
|
| | | </view>
|
| | | <view class="service-icons">
|
| | | <view class="service-icons" @click="goto('/sub_pages/customer/collect/collect',true)">
|
| | | <image src="../../static/images/customer/service/service-icon-2.png" class="service-icon ">
|
| | | </image>
|
| | | <view>我的收藏</view>
|
| | |
| | | <view class="name">
|
| | | 客服电话 : <span class="topic-gray">{{tel}}</span>
|
| | | </view>
|
| | | <view class="right-icon" @click="goto('/pages/help/help',false)">
|
| | | <uni-icons type="right"></uni-icons>
|
| | | </view>
|
| | | </view>
|
| | | </view>
|
| | | <!-- <view class="user-util m-t-12 " @click="callTel" v-if="selftype==='partner'">
|
| | |
| | | </view>
|
| | | </view> -->
|
| | | </view>
|
| | |
|
| | |
|
| | |
|
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | |
| | | <!-- #endif -->
|
| | |
|
| | |
|
| | |
|
| | | </view>
|
| | | </template>
|
| | |
|
| | |
| | | tcode: '',
|
| | | inviterName: '',
|
| | | // StatusBar:0,
|
| | | tel: '15974805814'
|
| | | tel: '15974805814',
|
| | | tj: {},
|
| | | };
|
| | | },
|
| | |
|
| | | onLoad(options) {
|
| | | const url = options.q ? decodeURIComponent(options.q) : '';
|
| | | const urlcode = options.url && decodeURIComponent(options.url) || ''
|
| | | // const url = options.q ? decodeURIComponent(options.q) : '';
|
| | | // const urlcode = options.url && decodeURIComponent(options.url) || ''
|
| | |
|
| | | // #ifdef PUB_CUSTOMER
|
| | | if (this.currentInfo.id) {
|
| | | let that = this
|
| | | setTimeout(() => {
|
| | | this.$http.request('get', '/api/customer/center/tj', {}).then(res => {
|
| | | if (res.code === 0) {
|
| | | that.tj = res.data || {}
|
| | | }
|
| | | })
|
| | | }, 200)
|
| | | }
|
| | | // #endif
|
| | |
|
| | | },
|
| | | created() {
|
| | |
|