Pārlūkot izejas kodu

修改简化需求

306132416@qq.com 4 gadi atpakaļ
vecāks
revīzija
ed6d4ab30b
1 mainītis faili ar 23 papildinājumiem un 23 dzēšanām
  1. 23 23
      pages/index/customPage/index.vue

+ 23 - 23
pages/index/customPage/index.vue

@@ -20,7 +20,7 @@
 			</view>		
 		</view>
 		
-		<view class="info-box" style="height: 150rpx;">
+	<!-- 	<view class="info-box" style="height: 150rpx;">
 			<view class="info-title-box">
 				<image src="/static/require-icon.png" mode="aspectFill"></image>
 				<text>性别</text>
@@ -31,7 +31,7 @@
 					<label class="radio"><radio value="0" :checked="userSex==='0'"  color="#00A1B4" class="form-radio"/>女</label>
 				</radio-group>
 			</view>		
-		</view>
+		</view> -->
 		<view class="info-box" style="height: 390rpx;">
 			<view class="info-title-box">
 				<image src="/static/require-icon.png" mode="aspectFill"></image>
@@ -57,12 +57,12 @@
 								<image src="/static/right-arrow.png" mode="aspectFill"></image>
 							</picker> -->
 						</view>
-					<view class="textarea-box" v-show="!addressShow">
+					<!-- <view class="textarea-box" v-show="!addressShow">
 					     <textarea  auto-height   placeholder="请输入详细地址" v-model="addressDetail" maxlength="26" @blur="testLength" />
-					 </view>
+					 </view> -->
 			</view>		
 		</view>
-		<view class="info-box">
+	<!-- 	<view class="info-box">
 			<view class="info-title-box">
 				<image src="/static/require-icon.png" mode="aspectFill"></image>
 				<text>行业</text>
@@ -72,7 +72,7 @@
 				        <view class="uni-input">{{tradeValue}}</view>
 				  </picker>
 			</view>		
-		</view>
+		</view> -->
 		
 	<!-- 	<view class="info-box">
 			<view class="info-title-box">
@@ -152,7 +152,7 @@
 			}
 		},
 		onLoad() {
-			this.getTradeRequest();
+			//this.getTradeRequest();
 		},
 		onShow() {
 		},
@@ -246,23 +246,23 @@
 			  			checkType: "notnull",
 			  			errorMsg: "姓名不能为空"
 			  		},
-			  		{
-			  			name: "selfName",
-			  			checkType: "string",
-			  			checkRule: "2,15",
-			  			errorMsg: "姓名不能少于2个汉字"
-			  		},
+			  		// {
+			  		// 	name: "selfName",
+			  		// 	checkType: "string",
+			  		// 	checkRule: "2,15",
+			  		// 	errorMsg: "姓名不能少于2个汉字"
+			  		// },
 			  		{
 			  			name: "selfName",
 			  			checkType: "reg",
 			  			checkRule: "[\u4e00-\u9fa5]",
 			  			errorMsg: "姓名需为中文"
-			  		},
-					{
-						name: "trade",
-						checkType: "notnull",
-						errorMsg: "行业不能为空"
-					}
+			  		}
+					// {
+					// 	name: "trade",
+					// 	checkType: "notnull",
+					// 	errorMsg: "行业不能为空"
+					// }
 			  	];
 			  	//进行表单检查
 			  	var formData = e.detail.value;
@@ -298,11 +298,11 @@
 							phone:getApp().globalData.userPhone,
 							wxopenid:getApp().globalData.openId,
 							name:params.selfName,
-							sex:that.userSex,//0-女 1-男
+							//sex:that.userSex,//0-女 1-男
 							province:that.addressObj.province.id,//省份id
 							city:that.addressObj.city.id,//城市id
-							detailaddress:that.addressDetail,
-							hangye:Number(params.trade) + 1,
+							//detailaddress:that.addressDetail,
+							//hangye:Number(params.trade) + 1,
 				 		},
 				 		success: res => {
 				 			console.log(res)
@@ -401,7 +401,7 @@
 		width: 90%;
 		margin: 3% auto;
 		height: 180rpx;
-		border-bottom: 1px solid #f7f7f7;
+		// border-bottom: 1px solid #f7f7f7;
 	}
 	.info-title-box {
 		width: 100%;