zhjx 6 anos atrás
pai
commit
b2ad8bf6f5
1 arquivos alterados com 14 adições e 2 exclusões
  1. 14 2
      resources/views/web/order/index.blade.php

+ 14 - 2
resources/views/web/order/index.blade.php

xqd xqd
@@ -126,23 +126,33 @@
     }
     function tijiao(){
             window.url = '';
+            window.downurl = '';
             var tanc=document.getElementById("tanchuang")
                 tanc.style="display:auto;"
                 var status = 0
             var tbox = document.getElementsByClassName("status");
-            
+            var ttt = '';
             if(status==0){
                 tbox[0].style="display:auto;"
                 tbox[1].style="display:none;"
                 tbox[2].style="display:none;"
+                var txt1 = document.getElementById("txt1");
+                txt1.value = ttt;
+                console.log(txt1)
             }else if(status==1){
                 tbox[1].style="display:auto;"
                 tbox[0].style="display:none;"
                 tbox[2].style="display:none;"
+                var txt2 = document.getElementById("txt2");
+                txt2.value = ttt;
+                console.log(txt2)
             }else{
                 tbox[1].style="display:none;"
                 tbox[0].style="display:none;"
                 tbox[2].style="display:auto;"
+                var txt3 = document.getElementById("txt3");
+                txt3.value = ttt;
+                console.log(txt3)
             }
         }
         function thebtn(e){
@@ -263,14 +273,16 @@
                         <div style="width: 20px;height: 20px;text-align: center;position: absolute;top: -5px;right: -5px;background: #000;font-weight:700;color:#fff;border-radius: 20px;" onclick="closebox()">X</div>
                         <div class="status b0">
                             <text class="title">提交失败!!</text>
-                            <text style="font-size: 10px;color: #999;">请重新提交!!</text>
+                            <input id="txt1" style="font-size: 10px;color: #999;border:none;text-align: center;width: 100%;" type="text" disabled></input>
                         </div>
                         <div class="status b1">
                             <text class="title">提交成功!!</text>
+                            <input id="txt2" style="font-size: 10px;background: #fff; border:none;text-align: center;width: 100%;" type="text" value="" disabled/>
                             <button class="btn btn-default" id="yeah" type="button" onclick="thebtn(this)">下一页!</button>
                         </div>
                         <div class="status b2">
                             <text class="title">下载****!!</text>
+                            <input id="txt3" style="font-size: 10px;background: #fff; border:none;text-align: center;width: 100%;" type="text" value="" disabled/>
                             <button class="btn btn-default" id="next" type="button" onclick="thebtn(this)">下一页!</button>
                             <button class="btn btn-default" id="download" type="button" onclick="thebtn(this)">下载!</button>
                         </div>