zs 1 سال پیش
والد
کامیت
46bca95e42
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      pages/my/index.vue
  2. 1 1
      pagesHome/customer/index.vue
  3. 1 1
      pagesMy/basic/index.vue

+ 1 - 1
pages/my/index.vue

@@ -3,7 +3,7 @@
 		<view class="one">
 			<view class="left">
 				<u-avatar :text="formatName(user.name||user.nickname)" shape="square" fontSize="20"
-					randomBgColor></u-avatar>
+					randomBgColor color-index="7"></u-avatar>
 			</view>
 			<view class="right" @tap="toLogin">
 				<text v-if="user._id">{{user.name||user.nickname}}</text>

+ 1 - 1
pagesHome/customer/index.vue

@@ -24,7 +24,7 @@
 						</view>
 						<view class="msg-m msg-right" v-else-if="item.speaker == user._id">
 							<u-avatar :text="formatName(user.name||user.nickname)" fontSize="22"
-								randomBgColor></u-avatar>
+								randomBgColor color-index="7"></u-avatar>
 							<!-- 文字 -->
 							<view class="message" v-if="item.msg_type =='0'">
 								<view class="msg-text">{{item.content}}</view>

+ 1 - 1
pagesMy/basic/index.vue

@@ -12,7 +12,7 @@
 					<view class="title">头像</view>
 					<view class="label">
 						<u-avatar :text="formatName(form.name||form.nickname)" shape="square" fontSize="20"
-							randomBgColor></u-avatar>
+							randomBgColor color-index="7"></u-avatar>
 					</view>
 				</view>
 				<view class="remark">