Pārlūkot izejas kodu

修复反面图无法删除

18838166547 1 gadu atpakaļ
vecāks
revīzija
a4e63a925b
1 mainītis faili ar 20 papildinājumiem un 20 dzēšanām
  1. 20 20
      app/home/view/default/member/sellerjoininc2c/step1.html

+ 20 - 20
app/home/view/default/member/sellerjoininc2c/step1.html

@@ -60,7 +60,7 @@
 						  var district = '';//区
 							var lng = location.lng;
 							var lat = location.lat;
-							
+
 							document.getElementById("longitude").value = lng;
 							document.getElementById("latitude").value = lat;
 							//初始化定位
@@ -71,7 +71,7 @@
 							});
 							map.add(marker);
 							map.panTo([lng, lat]);
-							
+
 							//搜索定位
 							AMap.plugin(['AMap.PlaceSearch','AMap.AutoComplete'], function(){
 							    var auto = new AMap.AutoComplete({input:"company_address_detail"});
@@ -84,7 +84,7 @@
 							        placeSearch.search(e.poi.name);  //关键字查询查询
 							    }
 							});
-							
+
 							//点击定位
 							map.on('click', function(e) {
 								document.getElementById("longitude").value = e.lnglat.getLng();
@@ -115,13 +115,13 @@
 					var point = new BMap.Point(lng, lat);
 					map.centerAndZoom(point, 16);
 					map.addControl(new BMap.NavigationControl());
-					map.enableScrollWheelZoom();    
+					map.enableScrollWheelZoom();
 					var marker = new BMap.Marker(point);  // 创建标注
 					map.addOverlay(marker);              // 将标注添加到地图中
 					marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
 					document.getElementById("longitude").value = lng;
 					document.getElementById("latitude").value = lat;
-	
+
 				} else {
 					layer.msg('failed' + this.getStatus());
 				}
@@ -131,17 +131,17 @@
 					// 判断状态是否正确
 					if (local.getStatus() == BMAP_STATUS_SUCCESS){
 						if(results.getCurrentNumPois()>0){
-			
+
 							map.clearOverlays();  //清除标注  或者可以把market 放入数组
 							var point = new BMap.Point(results.getPoi(0).point.lng , results.getPoi(0).point.lat);
 							var marker = new BMap.Marker(point);
 							map.centerAndZoom(point, 16);
 							map.addOverlay(marker);
 							marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
-							
+
 							document.getElementById("longitude").value = results.getPoi(0).point.lng;
 							document.getElementById("latitude").value = results.getPoi(0).point.lat;
-							
+
 						}
 					}
 				}
@@ -154,12 +154,12 @@
 				var marker = new BMap.Marker(point);
 				map.addOverlay(marker);
 				marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
-				
+
 				document.getElementById("longitude").value = e.point.lng;
 				document.getElementById("latitude").value = e.point.lat;
 			});
 		}
-        
+
     })
 </script>
 <div class="breadcrumb"><span class="iconfont">&#xe6ff;</span><span><a href="">{$Think.lang.homepage}</a></span> <span class="arrow">></span> <span>{$Think.lang.merchant_entry_application}</span> </div>
@@ -196,7 +196,7 @@
             <ul>
                 <li>{$Think.lang.phone}:{$Think.config.ds_config.site_phone}</li>
                 <li>{$Think.lang.email}:{$Think.config.ds_config.site_email}</li>
-            </ul> 
+            </ul>
         </div>
     </div>
     <div class="right-layout">
@@ -336,7 +336,7 @@
                                      id="img_member_idcard_image3_url"/>
                             </p>
                             <a
-                                href="javascript:dropImage('member_idcard_image3')"
+                                href="javascript:dropImage3('member_idcard_image3')"
                                 class="drop-btn iconfont">&#xe6e6;</a>
                         </div>
 
@@ -408,33 +408,33 @@ $(document).ready(function(){
         rules : {
             company_name: {
                 required: true,
-                maxlength: 50 
+                maxlength: 50
             },
             company_address: {
                 required: true,
-                maxlength: 50 
+                maxlength: 50
             },
             company_address_detail: {
                 required: true,
-                maxlength: 50 
+                maxlength: 50
             },
 
             company_registered_capital: {
                 required: true,
-                digits: true 
+                digits: true
             },
             contacts_name: {
                 required: true,
-                maxlength: 20 
+                maxlength: 20
             },
             contacts_phone: {
                 required: true,
-                maxlength: 11, 
+                maxlength: 11,
                 minlength: 11,
             },
             contacts_email: {
                 required: true,
-                email: true 
+                email: true
             },
             business_licence_number: {
                 required: true,
@@ -450,7 +450,7 @@ $(document).ready(function(){
             member_idcard_image2: {
                 required:true
             }
-           
+
         },
         messages : {
             company_name: {