From 9be5dd01e01c53e54eb10de4c1dfa5fd0bb6e1c6 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 24 九月 2024 15:55:45 +0800 Subject: [PATCH] 1.合伙人-工作台-首页-头像变形调整 --- pages/home/supplier-home.vue | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue index 581e7a3..02eec7a 100644 --- a/pages/home/supplier-home.vue +++ b/pages/home/supplier-home.vue @@ -13,11 +13,28 @@ </view> <view class="flex user-info" v-if="currentInfo&&(currentInfo.id)"> + + <image class="user-icon" v-if=" + (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.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> + <!-- 头像 --> - <image class="user-icon" v-if="!currentInfo.picture" + <!-- <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> + <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> --> <view class="name"> <view class="t1"> @@ -111,12 +128,12 @@ <view class="tj-panel pink flex1" @click="goto('/pages/order/order-delivery?status=PENDING&range=today',true)"> <view class="name">今日待配送</view> - <view class="title">{{tj.deliverCount||0}}单</view> + <view class="title">{{tj.deliverCount||0}}扎</view> </view> <view class="tj-panel green flex1" @click="goto('/pages/order/order-delivery?range=today',true)"> <view class="name green">今日配送汇总</view> - <view class="title">{{tj.deliverTotal||0}}单</view> + <view class="title">{{tj.deliverTotal||0}}扎</view> </view> </view> <view class="m-t-12" @click="getNoticeMore"> -- Gitblit v1.9.3