فهرست منبع

默认头像替换

codeMan 1 سال پیش
والد
کامیت
c4ea8e4cee

+ 1 - 1
cloud/businessCard/edit.vue

@@ -49,7 +49,7 @@ export default {
             uncomplete: true,
             onUpload: false,
             loading: false,
-            headportrait: "https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg",
+            headportrait: "https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp",
             userid: 0,
             isShow: true,
             isSubmit: false,

+ 2 - 2
cloud/businessCard/index.vue

@@ -28,7 +28,7 @@
                     </view>
                     <navigator class="right">
                         <image
-                            :src="userInfo.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                            :src="userInfo.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                             mode="aspectFill">
                         </image>
                     </navigator>
@@ -61,7 +61,7 @@
                     <view class="avatar">
                         <block v-for="item in userInfo.readusers">
                             <image
-                                :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                                :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                                 v-if="item.rowindex < 4" :key="item.rowindex" />
                         </block>
                         <text style="color:#BBBBBB">...</text>

+ 2 - 1
cloud/businessCard/share.vue

@@ -6,7 +6,7 @@
 
                 <lPainterView :css="'display: flex;flex-direction: column;margin:auto;align-items: center;position: absolute;bottom: '+tovw(25)+';width:'+tovw(140)">
                     <lPainterView :css="'width:'+tovw(56)+';height:'+tovw(56)+';border-radius:50%;background:#ffffff'">
-                        <lPainterImage :src="userInfo.headpoc || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'" :css="'width:'+tovw(56)+';height:'+tovw(56)+';border-radius:50%;border: 2px solid #FFFFFF'" object-fit="fill" />
+                        <lPainterImage :src="userInfo.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'" :css="'width:'+tovw(56)+';height:'+tovw(56)+';border-radius:50%;border: 2px solid #FFFFFF'" object-fit="fill" />
                     </lPainterView>
                     <lPainterView :css="'display: flex;align-items: center;align-content: center;font-family: Source Han Sans SC, Source Han Sans SC;padding-top:'+tovw(10)">
                         <lPainterText :text="userInfo.name||'暂无'" :css="'font-weight: 500;font-size: '+tovw(18)+';color: #333333;'"></lPainterText>
@@ -125,6 +125,7 @@ export default {
             })
             if (this.cutoff(res.msg)) return;
             this.userInfo = res.data
+            this.userInfo.headpic = this.userInfo.attinfos.find(v => v.usetype == "headportrait") && this.userInfo.attinfos.find(v => v.usetype == "headportrait").url || '';
             console.log(this.userInfo,'用户信息');
         },
         async getImages () {

+ 1 - 1
cloud/feedback/detail.vue

@@ -31,7 +31,7 @@
             <view class="content">
                 <view class="message-item" v-for="item in list" :key="item.sys_datacommentid">
                     <u-image
-                        :src="item.headpic ? item.headpic : 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="item.headpic ? item.headpic : 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         :width="tovw(32)" :height="tovw(32)" :lazy-load="true" radius="50%"></u-image>
                     <view class="user-info">
                         <text class="name">{{ item.name }}</text>

+ 1 - 1
cloud/mySubscription/list.vue

@@ -3,7 +3,7 @@
     <view class="item-box" v-for="item in list" :key="item.shareuserid">
         <navigator class="item-top" url="'#">
             <view class="avatar-info">
-                <u--image shape="circle" :width="tovw(44)" :height="tovw(44)" :lazy-load="true" :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'" mode="widthFix"></u--image>
+                <u--image shape="circle" :width="tovw(44)" :height="tovw(44)" :lazy-load="true" :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'" mode="widthFix"></u--image>
                 <view class="detail-info">
                     <text class="title">{{ item.name }}</text>
                     <view class="address">

+ 1 - 1
components/designList.vue

@@ -15,7 +15,7 @@
                 </block>
                 <view class="createby-box">
                     <image class="headpic"
-                        :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         mode="aspectFill" lazy-load="true" />
                     <view class="name u-line-1">{{ item.createby }}</view>
                 </view>

+ 1 - 1
components/userList.vue

@@ -3,7 +3,7 @@
         <view class="item" v-for="item in list" :key="item.sys_enterprise_hrid" hover-class="navigator-hover"
             @click="itemClick(item)">
             <u--image
-                :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                 :width="tovw(44)" :height="tovw(44)" shape="circle">
                 <template v-slot:loading>
                     <u-loading-icon color="red"></u-loading-icon>

+ 2 - 2
packageA/fullView/detail.vue

@@ -4,7 +4,7 @@
             <view class="changeby-box">
                 <view class="changeby">
                     <image class="headpic"
-                        :src="detail.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="detail.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         mode="aspectFill" />
                     <view class="name u-line-1">
                         {{ detail.changeby || '--' }}
@@ -34,7 +34,7 @@
             <view class="comment" v-for="item in comments" :key="item.sys_datacommentid">
                 <view class="user">
                     <image class="headpic"
-                        :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="item.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         mode="aspectFill" />
                     <view class="name">
                         {{ item.name }}

+ 1 - 1
pages/index/cloud/userInfo.vue

@@ -4,7 +4,7 @@
             <view class="avatar">
                 <view class="image">
                     <image
-                        :src="userInfoValue.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="userInfoValue.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         mode="aspectFill"></image>
                 </view>
                 <text class="title">{{ userInfoValue.rolenames }}</text>

+ 1 - 1
pages/index/index/index.vue

@@ -33,7 +33,7 @@
                 <view class="headpic">
                     <image v-if="shopDetail.headpic" class="image" :src="shopDetail.headpic" mode="aspectFill" lazy-load />
                     <image v-else class="image"
-                        src="https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg"
+                        src="https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp"
                         mode="aspectFill" lazy-load />
                 </view>
                 <view class="introduce">

+ 1 - 1
pages/index/modules/preloadedPicture.vue

@@ -24,7 +24,7 @@ export default {
                 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202405081715135815557B4db50f9.webp',
                 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202405291716965428111B4602d616.webp',
                 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202405281716863577428B1faf5081.webp',
-                'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg',
+                'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp',
                 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404241713944430197B47af9b2f.png',
             ]
         }

+ 1 - 1
store/storeQRCode/index.vue

@@ -8,7 +8,7 @@
                         css="width: 280px; height: 426px;position: absolute;" />
 
                     <l-painter-image
-                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         css="width: 56px; height:56px;border-radius: 50%;position: absolute;top:20px;left:20px;z-index:2;"
                         object-fit="fill" />
                     <l-painter-text :text="name"

+ 1 - 1
team/team/InviteUser.vue

@@ -16,7 +16,7 @@
                         css="width: 280px; height: 426px;position: absolute;" />
 
                     <l-painter-image
-                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         css="width: 56px; height:56px;border-radius: 50%;position: absolute;top:20px;left:20px;z-index:2;"
                         object-fit="fill" />
                     <l-painter-text :text="name"

+ 1 - 1
team/team/getInvite.vue

@@ -45,7 +45,7 @@ export default {
             attachmentids: [],
             uncomplete: true,
             loading: false,
-            headportrait: "https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg",
+            headportrait: "https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp",
             userid: 0,
             isShow: true,
         }

+ 1 - 1
team/userCenter/wechatbind.vue

@@ -7,7 +7,7 @@
                         src="https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202405151715764356769B1a729abd.webp"
                         css="width: 280px; height: 426px;position: absolute;" />
                     <l-painter-image
-                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202404231713854678447B26b4363.svg'"
+                        :src="userMsg.headpic || 'https://yossys06593.obs.cn-east-3.myhuaweicloud.com:443/202406011717209838416B6150695f.webp'"
                         css="width: 56px; height:56px;border-radius: 50%;position: absolute;top:20px;left:20px;z-index:2;"
                         object-fit="fill" />
                     <l-painter-text :text="name"