| | |
| | | <!-- v-if="currentInfo&&(currentInfo.id)" --> |
| | | <view class="flex user-info"> |
| | | <!-- 头像 --> |
| | | |
| | | <image class="user-icon" v-if=" |
| | | currentInfo.customerDTO&¤tInfo.customerDTO.cover |
| | | ||currentInfo.supplierDTO&¤tInfo.supplierDTO.cover |
| | | (currentInfo.customerDTO&¤tInfo.customerDTO.cover) |
| | | ||(currentInfo.supplierDTO&¤tInfo.supplierDTO.cover) |
| | | ||(currentInfo.partnerDTO&¤tInfo.partnerDTO.cover) |
| | | || currentInfo.picture |
| | | " :src=" |
| | | currentInfo.customerDTO&¤tInfo.customerDTO.cover |
| | | ||currentInfo.supplierDTO&¤tInfo.supplierDTO.cover |
| | | (currentInfo.customerDTO&¤tInfo.customerDTO.cover) |
| | | ||(currentInfo.supplierDTO&¤tInfo.supplierDTO.cover) |
| | | ||(currentInfo.partnerDTO&¤tInfo.partnerDTO.cover) |
| | | || currentInfo.picture |
| | | " mode="scaleToFill"></image> |
| | | |
| | | |
| | | |
| | | <image class="user-icon" v-else |
| | | src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png' |
| | | mode="scaleToFill"></image> |
| | |
| | | <uni-icons type="right"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="user-util m-t-12 flex" v-if="selftype==='partner'||!selftype" |
| | | @click="goto('/sub_pages/partner/partner-info/partner-info-personal',true)"> |
| | | <view class="title">个人资料</view> |
| | | <view class="right-icon"> |
| | | <uni-icons type="right"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="user-util m-t-12 flex" v-if="selftype==='partner'" |
| | | @click="goto('/sub_pages/partner/partner-info/partner-info',true)"> |
| | | <view class="title">合伙人信息</view> |
| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="user-util m-t-12 flex" |
| | | v-if="selftype==='supplier'||selftype==='customer' || !selftype" |
| | | @click="goto('/pages/customer_service/customer_service',false)"> |
| | | <view class="title">我的客服</view> |
| | | <view class="right-icon"> |
| | | <uni-icons type="right"></uni-icons> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | |
| | | |
| | | <view class="user-util m-t-12 " v-if="selftype==='supplier'||selftype==='customer' || !selftype"> |
| | | <!-- <view class="user-util m-t-12 " v-if="selftype==='supplier'||selftype==='customer' || !selftype"> |
| | | <view class="title">我的客服</view> |
| | | <view class="flex flex-wrap-normal"> |
| | | <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image> |
| | | <!-- @click="callTel" --> |
| | | |
| | | <button open-type="contact" class="component-button-contact" @handleContact="handleContact"> |
| | | <view class="name"> |
| | | 客服电话 : <span class="topic-gray">{{ tel }}</span> |
| | |
| | | </button> |
| | | |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <!-- <view class="user-util m-t-12 " @click="callTel" v-if="selftype==='partner'"> |
| | | <view class="name"> |
| | | 账号: <span class="topic-gray">{{tel}}</span> |
| | |
| | | onShow() { |
| | | this.cacheUserId = '' |
| | | this.getTj() |
| | | // #ifdef PUB_CUSTOMER |
| | | let that = this |
| | | this.$http.request('get', '/api/customer/point/sign/sign/today', {}).then(res => { |
| | | if (res.data) { |
| | | that.signToday = true |
| | | } |
| | | }) |
| | | |
| | | // #endif |
| | | //判断有没有签到 |
| | | |
| | | }, |
| | | onLoad(options) { |
| | |
| | | var url = '' |
| | | if (this.currentInfo.id) { |
| | | // #ifdef PUB_CUSTOMER |
| | | url = '/sub_pages/customer/customer-info/customer-info' |
| | | // url = '/sub_pages/customer/customer-info/customer-info' |
| | | |
| | | url = '/sub_pages/customer/setup/setup' |
| | | |
| | | // #endif |
| | | // #ifdef PUB_PARTNER |
| | | url = '/sub_pages/partner/partner-info/partner-info' |
| | |
| | | this.cacheUserId = this.currentInfo.id |
| | | let that = this |
| | | setTimeout(() => { |
| | | |
| | | |
| | | |
| | | // #ifdef PUB_CUSTOMER |
| | | this.$http.request('get', '/api/customer/center/tj', {}).then(res => { |
| | | if (res.code === 0) { |
| | |
| | | console.log('tj_order', that.tj_order) |
| | | } |
| | | }) |
| | | |
| | | //判断有没有签到 |
| | | let that = this |
| | | this.$http.request('get', '/api/customer/point/sign/sign/today', {}).then(res => { |
| | | if (res.data) { |
| | | that.signToday = true |
| | | } |
| | | }) |
| | | |
| | | // #endif |
| | | }, 200) |