Explorar el Código

扩展标签选择数量

wkw hace 7 meses
padre
commit
6eca635a48

+ 3 - 3
package/jobIntention/jobSkills.vue

@@ -14,7 +14,7 @@
 		<!-- 主要内容 -->
 		<view class="main-content">
 			<view class="job-title">{{ jobTitle }}-跨境标签</view>
-			<view class="description">根据你的偏好设置,为你推荐更匹配的职位,最多选择8个</view>
+			<view class="description">根据你的偏好设置,为你推荐更匹配的职位,最多选择20个</view>
 
 			<!-- 运营方向 -->
 			<view class="skills-section" v-for="(it, ind) in operationOptions" :key="ind">
@@ -190,11 +190,11 @@
 				if (index > -1) {
 					this.selectedOperation.splice(index, 1)
 				} else {
-					if (this.selectedOperation.length + this.customTags.length < 8) {
+					if (this.selectedOperation.length + this.customTags.length < 20) {
 						this.selectedOperation.push(item)
 					} else {
 						uni.showToast({
-							title: '最多选择8个标签',
+							title: '最多选择20个标签',
 							icon: 'none'
 						})
 					}

+ 2 - 2
package/jobIntention/preferenceSetting.vue

@@ -94,9 +94,9 @@ export default {
 		togglePreference(name) {
 			const index = this.selectedPreferences.indexOf(name);
 			if (index === -1) {
-				if (this.selectedPreferences.length > 5) {
+				if (this.selectedPreferences.length > 19) {
 					uni.showToast({
-						title: '最多选择5个偏好!',
+						title: '最多选择20个偏好!',
 						icon: 'none'
 					})
 					return;