seam há 8 anos atrás
pai
commit
fe56830bf5

+ 10 - 6
www/webapp/moonclub/css/serviceList.css

@@ -1,8 +1,12 @@
 a:focus, a:hover {
 a:focus, a:hover {
-  text-decoration: none!important;
+  text-decoration: none !important;
+}
+
+.service-list-header {
+  width: 100%;
+  padding: 15px 15px 0 15px;
+  background-color: #fff;
+  position: fixed;
+  top: 0;
+  z-index: 55;
 }
 }
-.service-list-header{
-  top:0;
-  left: 0;
-  right: 0;
-}

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
www/webapp/moonclub/js/build/template.js


+ 6 - 1
www/webapp/moonclub/js/page/serviceList.js

@@ -56,7 +56,12 @@ define(['$', 'template', 'native', 'config', 'user', 'api'], function ($, templa
             }
             }
           });
           });
         }
         }
-      }, $view)
+      }, $view);
+      // TAB切换
+      $.newTouch('.control-item',function (event) {
+        event.preventDefault();
+        console.log();
+      },$view);
       // 模态框
       // 模态框
       $.newTouch('.model-content', function (event) {
       $.newTouch('.model-content', function (event) {
         if ($('.model-title')[0].innerHTML === '成功了棒棒哒∪0∪') {
         if ($('.model-title')[0].innerHTML === '成功了棒棒哒∪0∪') {

+ 5 - 11
www/webapp/moonclub/tpl/employe/serviceList.html

@@ -1,8 +1,11 @@
-<div style="width: 100%;padding:15px 15px 0 15px;background-color: #fff;position: fixed;top:0;z-index:55;">
-  <div class="segmented-control order-type-control">
+<div style="">
+  <div class="segmented-control order-type-control service-list-header">
     <a class="control-item {{if type == '1'}}active{{/if}}" data-order-type="1">进行中</a>
     <a class="control-item {{if type == '1'}}active{{/if}}" data-order-type="1">进行中</a>
     <a class="control-item {{if type == '2'}}active{{/if}}" data-order-type="2">已完成</a>
     <a class="control-item {{if type == '2'}}active{{/if}}" data-order-type="2">已完成</a>
   </div>
   </div>
+</div>
+<div style="">
+
 </div>
 </div>
 <div class="content" id="employeListScroll" style="background: #fff;">
 <div class="content" id="employeListScroll" style="background: #fff;">
   <div class="page-content">
   <div class="page-content">
@@ -12,15 +15,6 @@
       <div>
       <div>
         {{each order_info as item i}}
         {{each order_info as item i}}
         <div class="my-order-body btn-status-edit" data-index="{{i}}">
         <div class="my-order-body btn-status-edit" data-index="{{i}}">
-          <div>
-            <hr>
-            <hr>
-            <hr>
-            <hr>
-            <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
-            <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
-            <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
-          </div>
           <div>订单编号:{{item.num}}</div>
           <div>订单编号:{{item.num}}</div>
           <div>订单ID:{{item.xyh_order_id}}</div>
           <div>订单ID:{{item.xyh_order_id}}</div>
           <div>用户名:{{item.user_name}}</div>
           <div>用户名:{{item.user_name}}</div>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff