洪海涛 8 yıl önce
ebeveyn
işleme
7babf74cdc

+ 3 - 3
www/protected/modules/moonclub/views/reserve/month.php

@@ -71,7 +71,7 @@
 			<div class="form-group">
 				<input name="num" class="form-control" style="background-color: #fff;" id="demo1" type="text" readonly=""
 				       placeholder="请选择日期"/>
-				<input type="hidden" name="user_id" id="userId">
+<!--				<input type="hidden" name="user_id" id="userId">-->
 			</div>
 			<!--按钮-->
 			<div class="form-group">
@@ -119,8 +119,8 @@
 		/*表单提交进行判断*/
 		$('#SinglesDayBtn').on('click', function () {
 			/*获取user_id*/
-			var ref=window.location.href.split("=");
-			$("#userId").val(ref[2]);
+//			var ref=window.location.href.split("=");
+//			$("#userId").val(ref[2]);
 				/*姓名是否为空*/
 				if ($scope.username == undefined) {
 					model('请重填', '确认您的姓名');

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
www/webapp/moonclub/dist/js/main.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
www/webapp/moonclub/dist/js/page/home.js


+ 1 - 1
www/webapp/moonclub/dist/js/page/month/four.js

@@ -1 +1 @@
-define(["$","template","IScroll","native","config","user","product"],function(e,t,n,r,i,s,o){function u(t){t.preventDefault(),e(document).trigger("spa:navigate",{hash:"",pushData:{dontNeedReload:!0}})}return{title:"双十一活动",body:"",init:function(t,n){var r=this,i=e(document);r.on("swipeRight",function(e){u.call(this,e)}),e.newTouch(".back-button",function(e){u.call(this,e)},r),r.on("tapBackButton",function(e){u.call(this,e)}),e.newTouch(".appointment",function(e){e.preventDefault(),window.location.href="/index.php?r=moonclub/reserve/month&user_id="+s.id},r),e.newTouch(".im",function(e){e.preventDefault(),console.log("测试"),window.location.href="/index.php?r=moonclub/reserve/xyhIm"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(r,s){var o=this,u=e(document);u.trigger("spa:openloader");if(!r.pushData.dontNeedReload){var a=t("month/four",{showNavBar:!i.isWX,title:"至尊套餐"});e(".spa-page-body",o).html(a),setTimeout(function(){r.scroll=new n("#monthFourScroll")},500),u.trigger("spa:closeloader"),s.resolve()}s.resolve()},beforeclose:function(e,t){t.resolve()}}});
+define(["$","template","IScroll","native","config","user","product"],function(e,t,n,r,i,s,o){function u(t){t.preventDefault(),e(document).trigger("spa:navigate",{hash:"",pushData:{dontNeedReload:!0}})}return{title:"双十一活动",body:"",init:function(t,n){var r=this,i=e(document);r.on("swipeRight",function(e){u.call(this,e)}),e.newTouch(".back-button",function(e){u.call(this,e)},r),r.on("tapBackButton",function(e){u.call(this,e)}),e.newTouch(".appointment",function(e){e.preventDefault(),window.location.href="/index.php?r=moonclub/reserve/month"},r),e.newTouch(".im",function(e){e.preventDefault(),console.log("测试"),window.location.href="/index.php?r=moonclub/reserve/xyhIm"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(r,s){var o=this,u=e(document);u.trigger("spa:openloader");if(!r.pushData.dontNeedReload){var a=t("month/four",{showNavBar:!i.isWX,title:"至尊套餐"});e(".spa-page-body",o).html(a),setTimeout(function(){r.scroll=new n("#monthFourScroll")},500),u.trigger("spa:closeloader"),s.resolve()}s.resolve()},beforeclose:function(e,t){t.resolve()}}});

+ 1 - 1
www/webapp/moonclub/dist/js/page/month/one.js

@@ -1 +1 @@
-define(["$","template","IScroll","native","config","user","product"],function(e,t,n,r,i,s,o){function u(t){t.preventDefault(),e(document).trigger("spa:navigate",{hash:"",pushData:{dontNeedReload:!0}})}return{title:"至惠套餐",body:"",init:function(t,n){var r=this,i=e(document);r.on("swipeRight",function(e){u.call(this,e)}),e.newTouch(".back-button",function(e){u.call(this,e)},r),r.on("tapBackButton",function(e){u.call(this,e)}),e.newTouch(".appointment",function(e){e.preventDefault(),window.location.href="/index.php?r=moonclub/reserve/month&user_id="+s.id},r),e.newTouch(".im",function(e){e.preventDefault(),console.log("测试"),window.location.href="/index.php?r=moonclub/reserve/xyhIm"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(r,s){var o=this,u=e(document);u.trigger("spa:openloader");if(!r.pushData.dontNeedReload){var a=t("month/one",{showNavBar:!i.isWX,title:"至惠套餐"});e(".spa-page-body",o).html(a),setTimeout(function(){r.scroll=new n("#monthOneScroll")},500),u.trigger("spa:closeloader"),s.resolve()}s.resolve()},beforeclose:function(e,t){t.resolve()}}});
+define(["$","template","IScroll","native","config","user","product"],function(e,t,n,r,i,s,o){function u(t){t.preventDefault(),e(document).trigger("spa:navigate",{hash:"",pushData:{dontNeedReload:!0}})}return{title:"至惠套餐",body:"",init:function(t,n){var r=this,i=e(document);r.on("swipeRight",function(e){u.call(this,e)}),e.newTouch(".back-button",function(e){u.call(this,e)},r),r.on("tapBackButton",function(e){u.call(this,e)}),e.newTouch(".appointment",function(e){e.preventDefault(),window.location.href="/index.php?r=moonclub/reserve/month"},r),e.newTouch(".im",function(e){e.preventDefault(),console.log("测试"),window.location.href="/index.php?r=moonclub/reserve/xyhIm"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(r,s){var o=this,u=e(document);u.trigger("spa:openloader");if(!r.pushData.dontNeedReload){var a=t("month/one",{showNavBar:!i.isWX,title:"至惠套餐"});e(".spa-page-body",o).html(a),setTimeout(function(){r.scroll=new n("#monthOneScroll")},500),u.trigger("spa:closeloader"),s.resolve()}s.resolve()},beforeclose:function(e,t){t.resolve()}}});

+ 1 - 1
www/webapp/moonclub/js/page/home.js

@@ -122,7 +122,7 @@ define(['$', 'template', 'IScroll', 'product', 'user', 'native', 'config', 'addr
 			//预约
 			$.newTouch('.appointment', function (event) {
 				event.preventDefault();
-				window.location.href = '/index.php?r=moonclub/reserve/month&user_id=' + user.id;
+				window.location.href = '/index.php?r=moonclub/reserve/month';
 			}, $view);
 			// 咨询
 			$.newTouch('.im', function (event) {

+ 1 - 1
www/webapp/moonclub/js/page/month/four.js

@@ -32,7 +32,7 @@ define(['$', 'template', 'IScroll', 'native', 'config', 'user', 'product'], func
 			//预约
 			$.newTouch('.appointment', function (event) {
 				event.preventDefault();
-				window.location.href = '/index.php?r=moonclub/reserve/month&user_id=' + user.id;
+				window.location.href = '/index.php?r=moonclub/reserve/month' ;
 			}, $view);
 			// 咨询
 			$.newTouch('.im', function (event) {

+ 1 - 1
www/webapp/moonclub/js/page/month/one.js

@@ -31,7 +31,7 @@ define(['$', 'template', 'IScroll', 'native', 'config', 'user', 'product'], func
 			//预约
 			$.newTouch('.appointment', function (event) {
 				event.preventDefault();
-				window.location.href = '/index.php?r=moonclub/reserve/month&user_id=' + user.id;
+				window.location.href = '/index.php?r=moonclub/reserve/month' ;
 			}, $view);
 			// 咨询
 			$.newTouch('.im', function (event) {

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor