李广朋 hace 9 años
padre
commit
507e8e4318

+ 15 - 1
core/src/web/staticres/css/dev-qfw.css

@@ -2884,4 +2884,18 @@ style="color:#D03102;margin-right:5px;"
 }
 /*图标*/
 .jhtb{color:#FF5A5F; font-size:18px;top:4px;}
-.jhtbtype{color:#FF5A5F; font-size:18px; top:7px;}
+.jhtbtype{color:#FF5A5F; font-size:18px; top:7px;}
+
+.notetips{
+	z-index: 99999;
+	display:none;
+	top: 100px;
+	position: fixed;
+	border: 1px solid #ccc;
+	margin-left: 36%;
+	width: 230px;
+	height: 75px;
+	line-height: 75px;
+	text-align: center;
+	background: #FFF;
+}

BIN
core/src/web/staticres/images/u14.png


+ 8 - 3
core/src/web/templates/service/appointment.html

@@ -140,6 +140,9 @@
 		</div>
 	</div>
 </div>
+<div class="notetips">
+	<img src="{{Msg "seo" "cdn"}}/images/u28.png"/>预约服务成功
+</div>
 <script type="text/javascript">
 //未注册用户提交
 function appointment(){		
@@ -175,9 +178,11 @@ $(document).ready(function(){
 			    $('#appointmentModal').modal('hide');
 				alert("您不能预约自己公司发布的服务!");
 		  	}else if(status == "y"){
-			    $('#appointmentModal').modal('hide');
-				alert("预约成功!");
-		        window.location.href = "/market/detail/{{.T.sinfo._id}}.html";	
+				$(".notetips").show();
+				$('#appointmentModal').modal('hide');
+				setTimeout(function(){
+					window.location.href = "/market/detail/{{.T.sinfo._id}}.html";	
+				},2000)
 		  	}else{
 				alert("预约失败!"); 
 		        window.location.href = "/market/detail/{{.T.sinfo._id}}.html";	

+ 8 - 3
core/src/web/templates/service/bid.html

@@ -79,6 +79,9 @@
 		</div>
 	</div>
 </div>
+<div class="notetips">
+	<img src="{{Msg "seo" "cdn"}}/images/u28.png"/>竞标成功
+</div>
 <script src="/js/validform-min.js"></script>
 <script type="text/javascript">
 function reLoadCaptcha(){
@@ -116,12 +119,14 @@ $(function(){
 			}
 			var msg = null;
 			if(flag == "y"){
-				msg = "投标成功!";
+				$(".notetips").show();
 			}else{
 				msg = "投标失败!";
+				alert(msg);
 			}
-			alert(msg);
-			window.location.href = window.location.href;
+			 setTimeout(function(){
+					window.location.href = window.location.href;
+				},2000)
 		}
 	},"m-tbform");
 });

+ 8 - 2
core/src/web/templates/service/demand.html

@@ -194,6 +194,9 @@
 		</div>
 	</div>
 </div>
+	<div class="notetips">
+		<img src="{{Msg "seo" "cdn"}}/images/u28.png"/>发布成功
+	</div>
 	{{include "/common/bottom.html"}}
 	<!-- inner Js-->
 <script>
@@ -259,8 +262,11 @@ $(function(){
 			isPic=1;
 			var status=data.responseText;
 			if(status.indexOf("y,")>-1){
-				alert("发布成功");
-				window.location.href="/market/demandview/"+status.split(",")[1]+".html";
+				$(".notetips").show();
+				setTimeout(function(){
+							window.location.href="/market/demandview/"+status.split(",")[1]+".html";
+				},2000)
+				
 			}else if(status.indexOf("ident,")>-1){
 				$("#myModal").modal();
 			  setTimeout(function(){