transact.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 店铺名称:<select name="shop" class="select">
  8. <option value="">请选择</option>
  9. {loop usershop() as $val}
  10. <option value="{$val['id']}">{$val['shopname']}</option>
  11. {/loop}</select>
  12. </li>
  13. <li>
  14. 快递公司:<select name="express" class="select">
  15. <option value="">请选择</option>
  16. {loop express(100) as $val}
  17. <option value="{$val['id']}">{$val['servicename']}</option>
  18. {/loop}</select>
  19. </li>
  20. <li>订单号:<input value="" name="orderinfo" type="text" ></li>
  21. <li>编号:<input value="" name="number" type="text" ></li>
  22. <li>运单号:<input value="" name="waybill" type="text" ></li>
  23. <li><span>确 定</span></li>
  24. </ul>
  25. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  26. <tr>
  27. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  28. <td>店铺名称</td>
  29. <td>订单号</td>
  30. <td>编号</td>
  31. <td>交易号</td>
  32. <td>物流方式</td>
  33. <td>运单号</td>
  34. <td>是否同步</td>
  35. <!-- <td>物流状态</td> -->
  36. <!-- <td>操作</td> -->
  37. </tr>
  38. </table>
  39. </div>
  40. <table class="datatext data" border="0" style="border-collapse:collapse;">
  41. </table>
  42. <div class="lbwlxq"></div>
  43. <div class="bomf"></div>
  44. </div>
  45. <script>
  46. var dataurl = "/transact"; var operate = "/transact";
  47. var customon = 1;
  48. function custom(){
  49. $(".data tr").each(function() {
  50. $(this).find('td:eq(0)').css("width","1%");
  51. $(this).find('td:eq(2)').css("width","%");
  52. $(this).find('td:eq(1)').css("width","7%");
  53. $(this).find('td:eq(5)').css("width","9%");
  54. $(this).find('td:eq(6)').css("width","6%");
  55. $(this).find('td:eq(8)').css("width","5%");
  56. $(this).find('td:eq(9)').css("width","6%");
  57. $(this).find('td:eq(11)').css("width","4%");
  58. $(this).find('td:eq(12)').css("width","10%");
  59. $(this).find('td:eq(13)').css("width","6%");
  60. $(this).find('td:eq(14)').css("width","6%");
  61. });}
  62. $(".datatext").on('mouseover mouseout',".method",function(event) {
  63. if (event.type === "mouseover") {
  64. $(this).parent().parent("td").append('<font style="position: absolute;z-index: 1;border-radius:3px;border: 1px solid #39F;padding:0 10px;background-color: #FFF;box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 24px;">'+$(this).data("t")+'</font>');
  65. }else if(event.type == "mouseout"){
  66. $(this).parent().siblings("font").remove();
  67. }
  68. });
  69. $(".data").on('mouseover',".lbwlxx",function() {
  70. var offset = $(this).offset();
  71. ///得到位置
  72. var left1 = offset.left + 20;
  73. ///得到位置
  74. var top1 = offset.top + 20;
  75. $(".lbwlxq").css({'top': top1, 'left': left1});
  76. $(".lbwlxx").mouseover(function(){
  77. $(".lbwlxq").html($(this).find('font').html());
  78. $(".lbwlxq").show();
  79. });
  80. $(".data").on('mouseout',".lbwlxx",function() {
  81. $(".lbwlxq").html("");
  82. $(".lbwlxq").hide();
  83. });
  84. });
  85. </script>
  86. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  87. {Template footer}