Browse Source

优化项目标签

liting2017 6 years ago
parent
commit
065672564f

+ 6 - 6
js/component/account/business/businessForm.jsx

@@ -130,8 +130,8 @@ const DemandDetailForm = Form.create()(
 				message.warning('项目简介字数不得超过40个字。');
 				return;
 			}
-			if(this.state.advertisement&&(this.state.advertisement).length>30){
-				message.warning('项目营销说明字数不得超过30个字。');
+			if(this.state.advertisement&&(this.state.advertisement).length>100){
+				message.warning('项目营销说明字数不得超过100个字。');
 				return;
 			}
 			if(this.state.introduce&&(this.state.introduce.length)>10000){
@@ -375,10 +375,10 @@ const DemandDetailForm = Form.create()(
 				return;
 			}
 			if(this.state.summary&&(this.state.summary).length>40){
-				message.warning('项目营销说明字数不得超过40个字。');
+				message.warning('项目简介字数不得超过40个字。');
 				return;
 			}
-			if(this.state.advertisement&&(this.state.advertisement).length>30){
+			if(this.state.advertisement&&(this.state.advertisement).length>100){
 				message.warning('项目营销说明字数不得超过30个字.');
 				return;
 			}
@@ -430,7 +430,7 @@ const DemandDetailForm = Form.create()(
 					minImgUrl: minPictureUrl.length ? minPictureUrl : '',
 					maxImgUrl: maxPictureUrl.length ? maxPictureUrl : '',
 					applyConditions: this.state.applyConditions,
-					tag:this.state.tagArr.join(',')
+					tag:(this.state.tagArr).length?this.state.tagArr.join(','):''
 				}
 			}).done(
 				function(data) {
@@ -822,7 +822,7 @@ const DemandDetailForm = Form.create()(
 						visible={this.state.visibleTag}
 						onOk={this.tagOk}
 						onCancel={this.tagCancel}
-						width="450px"
+						width="600px"
 						title="新建标签"
 						footer=""
 					>

+ 2 - 2
js/component/account/index/collection.less

@@ -33,7 +33,7 @@
 				box-sizing: border-box;
 				border: 1px solid rgba(180, 182, 182, 0.5);
 				position: relative;
-				height: 220px;
+				height: 320px;
 				width: 100%;
 				.imgBj{
 					box-sizing: border-box;
@@ -135,7 +135,7 @@
             }
             .imgHeader .divP{
                 opacity: 1;
-                height: 220px;
+                height: 320px;
                 transition: all .2s ease-in
             }
         }