Quellcode durchsuchen

feat:hr数据对接

jianghaili vor 7 Monaten
Ursprung
Commit
df0feeb392
1 geänderte Dateien mit 16 neuen und 5 gelöschten Zeilen
  1. 16 5
      my/enterpriseInfo/enterpriseInfo.vue

+ 16 - 5
my/enterpriseInfo/enterpriseInfo.vue

@@ -78,10 +78,11 @@
 						<view class="address-box-c-add-l flex align-center">
 							<u-icon name="map" style="margin-right: 12rpx;" color="rgba(51, 51, 51, 1)"
 								size="24"></u-icon>
-							<text v-if="info.city">{{ info.province ? info.province : '' }}{{ info.city ? info.city : ''
+							<!-- <text v-if="info.companyAddress">{{ info.province ? info.province : '' }}{{ info.city ? info.city : ''
 							}}{{
 									info.district ? info.district : '' }}{{ info.companyAddress ? info.companyAddress : ''
-								}}</text>
+								}}</text> -->
+								<text v-if="info.companyAddress">{{ info.companyAddress }}</text>
 							<text v-else>暂无地址信息</text>
 						</view>
 						<!-- 
@@ -145,11 +146,17 @@
 				<view class="hr-list flex justify-between" v-if="info.hr && info.hr.length > 0">
 					<view class="hr-item" v-for="(hr, index) in info.hr" :key="index">
 						<view class="hr-content flex align-center">
-							<view class="hr-avatar-container">
+							<!-- <view class="hr-avatar-container">
 								<view class="hr-avatar" :style="{ backgroundColor: hr.color }">
 									<text class="avatar-text">{{ hr.name.charAt(0) }}</text>
 								</view>
 								<view class="online-dot"></view>
+							</view> -->
+							<view class="hr-avatar-container">
+								<view class="hr-avatar">
+									<image :src="hr.hrImg" mode="aspectFill"/>
+								</view>
+								<view class="online-dot"></view>
 							</view>
 							<view class="hr-text">
 								<view class="hr-name">{{ hr.name }}</view>
@@ -755,7 +762,7 @@ page {
 
 .address {
 	width: 100%;
-	margin-top: 50rpx;
+	margin-top: 80rpx;
 
 	.address-box {
 		width: 686rpx;
@@ -975,7 +982,11 @@ page {
 							align-items: center;
 							justify-content: center;
 							position: relative;
-
+							image{
+								width: 80rpx;
+								height: 80rpx;
+								border-radius: 50%;
+							}
 							.avatar-text {
 								color: #ffffff;
 								font-size: 32rpx;