Przeglądaj źródła

Merge remote-tracking branch 'origin/master'

littleblue55 6 dni temu
rodzic
commit
5f98b21939

+ 10 - 10
pages/chat/chat.vue

@@ -31,11 +31,11 @@
 						<view class="text">
 							{{item.content}}
 						</view>
-						<view class="tag" v-show="item.isRead"></view>
+						<view class="tag" v-show="item.read"></view>
 					</view>
 					<view class="other-box">
 						<view class="date">
-							{{item.time}}
+							{{item.createTime}}
 						</view>
 					</view>
 				</view>
@@ -71,32 +71,32 @@
 			title: '会费缴交成功通知',
 			content: '尊敬的用户,您在2023年8月16日15:00成交缴交会费……',
 			type: 'zhifu',
-			time: '8/21',
-			isRead: true
+			createTime: '8/21',
+			read: true
 		},
 		{
 			id: '2',
 			title: '继续教育通知',
 			content: '尊敬的用户,您预约2023年8月16日《广州市存量房网……',
 			type: 'jiaoyu',
-			time: '8/20',
-			isRead: true
+			createTime: '8/20',
+			read: true
 		},
 		{
 			id: '3',
 			title: '课程购买成功通知',
 			content: '尊敬的用户,您在成功购买2023年8月16日《广州市存……',
 			type: 'goumai',
-			time: '8/19',
-			isRead: true
+			createTime: '8/19',
+			read: true
 		},
 		{
 			id: '4',
 			title: '个人会员生日祝福',
 			content: '尊敬的用户,今日是您的生日,协会祝你在……',
 			type: 'shengri',
-			time: '8/16',
-			isRead: false
+			createTime: '8/16',
+			read: false
 		},
 	])
 	

+ 1 - 2
pages/chatDetail/chatDetail.vue

@@ -28,8 +28,7 @@
 		id: '1',
 		title: '课程提醒',
 		content: '尊敬的用户,您预约2023年8月16日《广州市存量房网……》直播课堂已经开始,请及时观看!',
-		type: 'jiaoyu',
-		time: '8/16',
+		createTime: '8/16',
 	})
 	
 	onLoad((load) => {

+ 6 - 6
pages/personalCenter/personalCenter.vue

@@ -3,7 +3,7 @@
 		<view class="user-box">
 			<view class="icon-name-box">
 				<view class="icon-box">
-					<cover-image class="icon" :src="`/static/images/avatar-img/${user.icon}.png`"></cover-image>
+					<cover-image class="icon" :src="user.icon"></cover-image>
 				</view>
 				<view class="name-box">
 					<view class="name" v-if="isLogin">
@@ -28,7 +28,7 @@
 						任职机构:
 					</view>
 					<view class="text">
-						{{isLogin ? user.employment : ''}}
+						{{isLogin ? user.corpName : ''}}
 					</view>
 				</view>
 				<view class="info-item-box">
@@ -36,7 +36,7 @@
 						机构备案证号:
 					</view>
 					<view class="text">
-						{{isLogin ? user.recordCertificateNumber : ''}}
+						{{isLogin ? user.corpRegNo : ''}}
 					</view>
 				</view>
 			</view>
@@ -164,10 +164,10 @@
 	
 	// 用户信息
 	const user = ref({
-		icon: '1',
+		userIcon: '1',
 		username: '某某某',
-		employment: '广州市xx地产有限公司',
-		recordCertificateNumber: '123xxxx',
+		corpName: '广州市xx地产有限公司',
+		corpRegNo: '123xxxx',
 		zhongjierenzheng: true, // 中介认证
 		anjierenzheng: true // 按揭认证
 	})