lhl 2 yıl önce
ebeveyn
işleme
8076d9695d

+ 7 - 4
pages/modelData/modeltemplate/model_1.vue

@@ -62,9 +62,9 @@
 							<view class="info-item-b">
 								学<text class="qianger"></text>历: {{cardInfo.education || '暂无'}}
 							</view>
-							<!-- <view class="info-item-b">
-								综 <text class="laner"></text> 合<text class="laner"></text>分: 50
-							</view> -->
+							<view class="info-item-b">
+								服务次数: {{cardInfo.service_count || '0'}}
+							</view>
 							<view class="info-item-q flex" style="align-items: flex-start;">
 								<text style="flex-shrink: 0;">服务地区:</text>
 								<view class="fwdz flex">
@@ -239,7 +239,8 @@
 						'https://api.myjie.cn/resource/user/user1/fw3.png',
 						'https://api.myjie.cn/resource/user/user1/fw4.png'
 					],
-					is_type_audit: 1
+					is_type_audit: 1,
+					service_count: 0
 				}
 			}
 		},
@@ -499,6 +500,8 @@
 				padding-top: 10rpx;
 				padding-left: 18rpx;
 				text-align: justify;
+				word-wrap: break-word;
+				white-space: pre-line;
 			}
 
 		}

+ 13 - 8
pages/modelData/modeltemplate/model_2.vue

@@ -39,30 +39,32 @@
 						<view class="user-info-t flex">
 			
 							<view class="info-item-b">
-								年龄: {{cardInfo.age|| '暂无'}}
+								年龄:{{cardInfo.age|| '暂无'}}
 							</view>
 							<view class="info-item-b">
 								属相: {{cardInfo.twelve|| '暂无'}}
 							</view>
 							<view class="info-item-b">
-								从业: {{(cardInfo.work_year + '年')|| '暂无'}}
+								从业:{{(cardInfo.work_year + '年')|| '暂无'}}
 							</view>
 							<view class="info-item-b">
-								星座: {{cardInfo.constellation.replace('座','') || '暂无'}}
+								星座:{{cardInfo.constellation.replace('座','') || '暂无'}}
 							</view>
 							<!-- <view class="info-item-b">
 								职业: {{cardInfo.user_work_type_title || '暂无'}}
 							</view> -->
 							<view class="info-item-b">
-								籍贯: {{cardInfo.ancestral_place || '暂无'}}
+								籍贯:{{cardInfo.ancestral_place || '暂无'}}
 							</view>
 							<view class="info-item-b">
-								民族: {{cardInfo.minority || '暂无'}}
+								民族:{{cardInfo.minority || '暂无'}}
 							</view>
 							<view class="info-item-b">
-								学历: {{cardInfo.education || '暂无'}}
+								学历:{{cardInfo.education || '暂无'}}
+							</view>
+							<view class="info-item-b">
+								服务次数:{{cardInfo.service_count || '0'}}
 							</view>
-							
 						</view>
 						<view class="user-info flex">
 							<view class="info-item-q flex" style="align-items: flex-start;">
@@ -247,7 +249,8 @@
 						'https://api.myjie.cn/resource/user/user2/fw7.png',
 						'https://api.myjie.cn/resource/user/user2/fw8.png'
 					],
-					is_type_audit: 1
+					is_type_audit: 1,
+					service_count: 0
 				}
 			}
 		},
@@ -505,6 +508,8 @@
 				padding-top: 10rpx;
 				padding-left: 18rpx;
 				text-align: justify;
+				word-wrap: break-word;
+				white-space: pre-line;
 			}
 
 		}

+ 8 - 2
pages/modelData/modeltemplate/model_3.vue

@@ -69,6 +69,9 @@
 					</view>
 					<view class="list-item">
 						民族: {{cardInfo.minority || '暂无'}}
+					</view>
+					<view class="list-item">
+						服务次数: {{cardInfo.service_count || '0'}}
 					</view>
 				</view>
 			</view>
@@ -259,7 +262,8 @@
 						'https://api.myjie.cn/resource/user/user3/fw5.png',
 						'https://api.myjie.cn/resource/user/user3/fw6.png',
 					],
-					is_type_audit: 1
+					is_type_audit: 1,
+					service_count: 0
 				}
 			}
 		},
@@ -470,7 +474,9 @@
 				.fw-content {
 					padding-top: 10rpx;
 					padding-left: 18rpx;
-					text-align: justify;
+					text-align: justify;
+					word-wrap: break-word;
+					white-space: pre-line;
 				}
 			
 			}