|
@@ -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";
|