Browse Source

Merge branch 'master' of git.oschina.net:yiguanjia/php

north 7 năm trước cách đây
mục cha
commit
2763c6b92a

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
www/webapp/housekeeping/home/static/css/app.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
www/webapp/housekeeping/home/static/js/app.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
www/webapp/housekeeping/home/static/js/manifest.js.map


+ 8 - 4
www/webapp/housekeeping/src/components/reservation.vue

@@ -40,7 +40,8 @@
         <!--服务地址-->
         <div class="weui-cell">
           <div class="weui-cell__hd"><label class="weui-label">服务地址</label></div>
-          <div class="weui-cell__bd"><input v-model="userAddress" class="weui-input" type="text" required="" placeholder="输入您需要上门服务的地址">
+          <div class="weui-cell__bd"><input v-model="userAddress" class="weui-input" type="text" required=""
+                                            placeholder="输入您需要上门服务的地址">
           </div>
           <div class="weui-cell__ft"><i class="weui-icon-warn"></i></div>
         </div>
@@ -412,7 +413,6 @@
           skillsArray = [];
 
 
-
         // 用户名判断
         /*        if (!that.userName) {
                   weui.alert('请输入您的姓名');
@@ -498,11 +498,13 @@
           that.userAge = 1
         }
         let AM = time(that.serviceTimeAM)
+        // alert(AM);
+        return;
         let PM = time(that.serviceTimePM)
+
         // 字符串拼接
         let stitching = `&user_id=${config.user_id}&mobile=${that.mobile}&user_name=${that.userName}&type=${that.serviceType + 1}&skill=${JSON.stringify(skillsArray)}&cart=${that.resServiceArr}&age=${that.userAge}&address=${that.userAddress}&store_id=${that.storeId}&desc=${that.dec}&yc_time=${that.resTime}&server_start_time=${AM}&server_end_time=${PM}`;
-        alert(stitching);
-        return;
+
         if (that)
           axios.post(config.apiPath + 'j/HouseKeeping/Add' + stitching).then(res => {
             // console.log(res);
@@ -550,7 +552,9 @@
 
   function time(t) {
     let stringTime = '1970-01-01 ' + t + ':00';
+    alert(stringTime);
     let timestamp = Date.parse(new Date(stringTime));
+    alert(timestamp);
     timestamp = timestamp / 1000;
     return timestamp;
   }

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác