Browse Source

样式优化

wkw 6 months ago
parent
commit
3afbc71b40
1 changed files with 4 additions and 9 deletions
  1. 4 9
      my/enterpriseInfo/enterpriseInfo.vue

+ 4 - 9
my/enterpriseInfo/enterpriseInfo.vue

@@ -143,15 +143,9 @@
 					</view>
 				</view>
 
-				<view class="hr-list flex justify-between" v-if="info.hr && info.hr.length > 0">
+				<view class="hr-list flex" 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" :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" />
@@ -970,9 +964,10 @@ page {
 
 		.hr-list {
 			padding: 0 0 30rpx 0;
-
+			flex-wrap: wrap;
+			gap: 20rpx;
 			.hr-item {
-				flex: 1;
+				// flex: 1;
 
 				.hr-content {
 					align-items: center;