作者 anyv
1 个管道 的构建 通过 耗费 30 秒

56

@@ -71,10 +71,10 @@ @@ -71,10 +71,10 @@
71 <input type="text" id="end_time" value="" placeholder="请输入结束配送时间"/> 71 <input type="text" id="end_time" value="" placeholder="请输入结束配送时间"/>
72 </div> 72 </div>
73 </div>--> 73 </div>-->
74 - <div class="log_three_model_one logistic"> 74 + <div class="log_three_model_one logistic excompany">
75 <div class="log_three_model_left">选择快递</div> 75 <div class="log_three_model_left">选择快递</div>
76 <div class="log_psong log_psong_select"> 76 <div class="log_psong log_psong_select">
77 - <div class="log_ps_title">请选择快递公司</div> 77 + <div class="log_ps_title excompany_word">请选择快递公司</div>
78 <div class="log_ps_img"> 78 <div class="log_ps_img">
79 <img src="__TMPL__/public/assets/images/29.png"/> 79 <img src="__TMPL__/public/assets/images/29.png"/>
80 <input type="hidden" id="logistic_name" placeholder="请选择快递公司"/> 80 <input type="hidden" id="logistic_name" placeholder="请选择快递公司"/>
@@ -94,31 +94,31 @@ @@ -94,31 +94,31 @@
94 </div> 94 </div>
95 </div> 95 </div>
96 <!--选择快递--> 96 <!--选择快递-->
97 -<div class="tx_mask_kuaidi">  
98 - <div class="tx_maskCon_school">  
99 - <div class="three_model_school">  
100 - <div class="three_model_school_title">  
101 - 选择快递  
102 - </div>  
103 - <div>  
104 - <div class="three_model_school_data" style="display: block;">  
105 - <div class="three_model_school_name" data-name="SF">顺丰快递</div>  
106 - <div class="three_model_school_name" data-name="YTO">圆通快递</div>  
107 - <div class="three_model_school_name" data-name="ZTO">中通快递</div>  
108 - <div class="three_model_school_name there_unActive" data-name="STO">申通快递</div>  
109 - <div class="three_model_school_name" data-name="YD">韵达快递</div>  
110 - <div class="three_model_school_name" data-name="HHTT">天天快递</div>  
111 - <div class="three_model_school_name" data-name="HTKY">百世快递</div>  
112 - <div class="three_model_school_name" data-name="YZPY">邮政快递包裹</div>  
113 - <div class="three_model_school_name" data-name="EMS">EMS</div>  
114 - <div class="three_model_school_name" data-name="DBL">德邦快递</div>  
115 - <div class="three_model_school_name" data-name="ZJS">宅急送</div>  
116 - <div class="three_model_school_name" data-name="TNT">TNT快递</div>  
117 - </div>  
118 - </div>  
119 - </div>  
120 - </div>  
121 -</div> 97 +<!--<div class="tx_mask_kuaidi">-->
  98 + <!--<div class="tx_maskCon_school">-->
  99 + <!--<div class="three_model_school">-->
  100 + <!--<div class="three_model_school_title">-->
  101 + <!--选择快递-->
  102 + <!--</div>-->
  103 + <!--<div>-->
  104 + <!--<div class="three_model_school_data" style="display: block;">-->
  105 + <!--<div class="three_model_school_name" data-name="SF">顺丰快递</div>-->
  106 + <!--<div class="three_model_school_name" data-name="YTO">圆通快递</div>-->
  107 + <!--<div class="three_model_school_name" data-name="ZTO">中通快递</div>-->
  108 + <!--<div class="three_model_school_name there_unActive" data-name="STO">申通快递</div>-->
  109 + <!--<div class="three_model_school_name" data-name="YD">韵达快递</div>-->
  110 + <!--<div class="three_model_school_name" data-name="HHTT">天天快递</div>-->
  111 + <!--<div class="three_model_school_name" data-name="HTKY">百世快递</div>-->
  112 + <!--<div class="three_model_school_name" data-name="YZPY">邮政快递包裹</div>-->
  113 + <!--<div class="three_model_school_name" data-name="EMS">EMS</div>-->
  114 + <!--<div class="three_model_school_name" data-name="DBL">德邦快递</div>-->
  115 + <!--<div class="three_model_school_name" data-name="ZJS">宅急送</div>-->
  116 + <!--<div class="three_model_school_name" data-name="TNT">TNT快递</div>-->
  117 + <!--</div>-->
  118 + <!--</div>-->
  119 + <!--</div>-->
  120 + <!--</div>-->
  121 +<!--</div>-->
122 <!-- 地址信息 --> 122 <!-- 地址信息 -->
123 <div class="log_four_input"> 123 <div class="log_four_input">
124 <div class="log_four_input_title" style="margin-bottom: 0.2rem;"> 124 <div class="log_four_input_title" style="margin-bottom: 0.2rem;">
@@ -286,6 +286,58 @@ @@ -286,6 +286,58 @@
286 <script src="__TMPL__/public/assets/js/mui.picker.min.js"></script> 286 <script src="__TMPL__/public/assets/js/mui.picker.min.js"></script>
287 <script src="__TMPL__/public/assets/js/city.data-3.js"></script> 287 <script src="__TMPL__/public/assets/js/city.data-3.js"></script>
288 <script> 288 <script>
  289 + var excompanypicker = new mui.PopPicker();
  290 + excompanypicker.setData([{
  291 + value: 'SF',
  292 + text: '顺丰快递'
  293 + }, {
  294 + value: 'YTO',
  295 + text: '圆通快递'
  296 + }, {
  297 + value: 'ZTO',
  298 + text: '中通快递'
  299 + }, {
  300 + value: 'STO',
  301 + text: '申通快递'
  302 + }, {
  303 + value: 'YD',
  304 + text: '韵达快递'
  305 + }, {
  306 + value: 'HHTT',
  307 + text: '天天快递'
  308 + }, {
  309 + value: 'HTKY',
  310 + text: '百世快递'
  311 + }, {
  312 + value: 'YZPY',
  313 + text: '邮政快递包裹'
  314 + }, {
  315 + value: 'EMS',
  316 + text: 'EMS'
  317 + }, {
  318 + value: 'DBL',
  319 + text: '德邦快递'
  320 + }, {
  321 + value: 'ZJS',
  322 + text: '宅急送'
  323 + }, {
  324 + value: 'TNT',
  325 + text: 'TNT快递'
  326 + }]);
  327 + var excompany_word
  328 + $(".excompany").click(function () {
  329 + excompanypicker.show(function (e) {
  330 + console.log(e, '3333')
  331 + console.log(e[0].value);
  332 + console.log(e[0].text);
  333 + school_name = e[0].value
  334 + $(".excompany_word").text(e[0].text);
  335 + $("#logistic_name").val(e[0].value);
  336 + $('.excompany_word').css('color', '#333333');
  337 + });
  338 + })
  339 +</script>
  340 +<script>
289 function zZFun(e) { 341 function zZFun(e) {
290 window.event ? (window.event.cancelBubble = true) : e.stopPropagation(); 342 window.event ? (window.event.cancelBubble = true) : e.stopPropagation();
291 } 343 }
@@ -388,9 +440,9 @@ @@ -388,9 +440,9 @@
388 </script> 440 </script>
389 <script> 441 <script>
390 var dtpicker = new mui.DtPicker({ 442 var dtpicker = new mui.DtPicker({
391 - type: "datetime", //设置日历初始视图模式 443 + type: "date", //设置日历初始视图模式
392 beginDate: new Date(), //设置开始日期 444 beginDate: new Date(), //设置开始日期
393 - labels: ['年', '月', '日', '时', '分', '秒'], //设置默认标签区域提示语 445 + labels: ['年', '月', '日'], //设置默认标签区域提示语
394 }) 446 })
395 //统一配送选择时间 447 //统一配送选择时间
396 $(".tongyi_start_time").click(function () { 448 $(".tongyi_start_time").click(function () {