Эх сурвалжийг харах

聊天用户头像默认为 hhb_small.png

shizhongqi 10 сар өмнө
parent
commit
9b00de933e

+ 1 - 1
hdApp/src/admin/chat/list.vue

@@ -84,7 +84,7 @@ export default {
   },
   onLoad(options) {
     const avatar = uni.getStorageSync('shopAvatar');
-    this.shopAvatar = avatar != '' ? this.$constant.imgUrl +'/'+ avatar + '?x-oss-process=image/resize,m_fill,h_130,w_130' : this.$constant.imgUrl + '/retail/default-img.png';
+    this.shopAvatar = avatar != '' ? this.$constant.imgUrl +'/'+ avatar + '?x-oss-process=image/resize,m_fill,h_130,w_130' : this.$constant.imgUrl + '/hhb_small.png?x-oss-process=image/resize,m_fill,h_130,w_130';
   },
   onShow() {
     this.getMyCustomList();

+ 1 - 1
mallApp/src/pages/chat/list.vue

@@ -91,7 +91,7 @@ export default {
     ...mapGetters(["getLoginInfo"]),
   },
   onLoad(options) {
-    this.shopAvatar = this.getLoginInfo.avatar != '' ? this.getLoginInfo.avatar : this.$constant.imgUrl + '/retail/default-img.png';
+    this.shopAvatar = this.getLoginInfo.avatar != '' ? this.getLoginInfo.avatar : this.$constant.imgUrl + '/hhb_small.png?x-oss-process=image/resize,m_fill,h_130,w_130';
 
   },
   onShow() {