洪海涛 8 years ago
parent
commit
d249824117

+ 3 - 1
www/protected/modules/o2o/controllers/AdvisoryController.php

@@ -17,6 +17,7 @@ class AdvisoryController extends O2oBaseController {
     }
     //企业服务
     public function actionEnterprise(){
+        var_dump($_GET);
         $success = Yii::app()->request->getParam('success','');
         if ($success == 1) {
             CommonFn::requestAjax(true, '您的咨询已发送成功,请等待我们的企业管家与您联系,温馨提示,一般是一个工作日内,日间致电给您,请留意。');
@@ -25,6 +26,7 @@ class AdvisoryController extends O2oBaseController {
     }
 
     public function actionSaveAdvisory(){
+        echo 1;exit;
         $name = Yii::app()->request->getParam('user_name','');
         $area = Yii::app()->request->getParam('area','');
         $homeType = Yii::app()->request->getParam('homeType','');
@@ -39,7 +41,7 @@ class AdvisoryController extends O2oBaseController {
         $advisory->area =$area;
         $advisory->tech_content = $tech_content;
         if ($advisory->save()){
-            $this->redirect('http://commontest.yiguanjia.me/index.php?r=o2o/Advisory/SinglesDay&success=1');
+            $this->redirect('http://commontest.yiguanjia.me/index.php?r=o2o/Advisory/enterprise&success=1');
         }
 
     }

+ 6 - 1
www/protected/modules/o2o/views/advisory/SinglesDay.php

@@ -17,7 +17,12 @@
   <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-3.1.1.min.js"></script>
   <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/AngularJS v1.4.3.min.js"></script>
   <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-3.3.7.min.js"></script>
-
+  <!--修改title-->
+  <script>
+    $(function () {
+      document.title = "壹管家";
+    })
+  </script>
 </head>
 <body ng-controller="myctrl">
 <div class="">

+ 61 - 37
www/protected/modules/o2o/views/advisory/enterprise.php

@@ -10,17 +10,23 @@
   <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
   <meta http-equiv="Pragma" content="no-cache">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
-
-
+  <!--引入css文件-->
+  <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/webapp/o2o/dist/css/main.css?v=2016032401">
+  <link rel="stylesheet" href=" <?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap-3.3.7.min.css">
+  <!--引入js文件-->
+  <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-3.1.1.min.js"></script>
+  <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap-3.3.7.min.js"></script>
+  <!--修改title-->
+  <script>
+    $(function () {
+      document.title = "壹管家";
+    })
+  </script>
 </head>
 <body ng-controller="myctrl">
 <div class="">
-  <!--  <img style="width: 100%"-->
-  <!--       src="http://odulvej8l.bkt.clouddn.com/%E6%B0%91%E5%AE%BF%E4%BF%9D%E6%B4%81%E8%AF%A6%E6%83%85%E9%A1%B5.jpg"-->
-  <!--       alt="">-->
-  <h1></h1>
-  <form action="index.php?r=o2o/Advisory/SaveAdvisory" method='post'
-        class="container  form-horizontal  ng-valid ng-dirty ng-valid-parse" style="margin-bottom: 15%; ">
+  <form id="Enterprise" onsubmit="AddHandlingFeeToRefund()"
+        class="container  form-horizontal" style="margin-bottom: 15%; ">
     <div class="container">
       <!--姓名-->
       <div class="form-group">
@@ -38,26 +44,18 @@
       <!--房型-->
       <div class="form-group">
         <label>选择房型:</label>
-        <select name="type" class="form-control" ng-model="Type" ng-init="Type=TypeList[0].id"
-                ng-options="type.id as type.name for type in TypeList" id="">
-          <option value="">--请选择--</option>
-        </select>
-      </div>
-      <!--房源套数-->
-      <div class="form-group">
-        <label>选择房源套数:</label>
-        <select name="num" class="form-control" ng-model="Num" ng-init="Num=NumList[0].id"
-                ng-options="num.id as num.name for num in NumList" id="">
+        <select name="tech_content" class="form-control" ng-model="AechContent" ng-init="AechContent=AechContentList[0].id"
+                ng-options="type.id as type.name for type in AechContentList" id="">
           <option value="">--请选择--</option>
         </select>
       </div>
+
       <!--手机号码-->
       <div class="form-group">
         <label>手机号码:</label>
         <input type="text" name="phone" class="form-control"
                placeholder="请输入您的手机号码" ng-model="phone"/>
       </div>
-      <h2 style="text-align: center">你好</h2>
       <!--性别-->
       <div class="form-group">
         <div style="display: inline-block;max-width: 100%;margin-bottom: 5px;font-weight: 700;">性别:</div>
@@ -75,10 +73,10 @@
         <button
           style="background: rgb(42,36,0);color:rgb(178,143,0);border: 0"
           class="btn btn-success col-xs-12"
-          data-container="body"
-          data-toggle="popover"
-          data-placement="top"
-          data-content="{{btnContent}}">
+<!--          data-container="body"-->
+<!--          data-toggle="popover"-->
+<!--          data-placement="top"-->
+<!--          data-content="{{btnContent}}">-->
           提交
         </button>
       </div>
@@ -90,8 +88,8 @@
     <!--首页-->
     <div class="width-percent-33">
       <div class="title-container-square">
-        <a class="btn-home-action btn-action-my-order" href="/index.php?r=o2o/web/index#">
-          <div class="logo logo-my-order"></div>
+        <a class="btn-home-action btn-action-my-order" href="/index.php?r=o2o/web/index">
+          <div class="logo logo-my-order" style="margin-bottom: 0.5rem;"></div>
           <div class="name">首页</div>
         </a>
       </div>
@@ -108,7 +106,7 @@
     <div class="width-percent-33">
       <div class="title-container-square">
         <a class="btn-home-action btn-action-coupon">
-          <div class="logo logo-coupon"></div>
+          <div class="logo logo-coupon"style="margin-bottom: 0.5rem;"></div>
           <div class="name">我的</div>
         </a>
       </div>
@@ -128,15 +126,21 @@
 </div>
 </body>
 </html>
+<script src="//cdn.bootcss.com/angular.js/1.4.3/angular.min.js"></script>
 <script>
   var myapp = angular.module('myapp', []);
   myapp.controller('myctrl', ['$scope', function ($scope) {
+
+    /*点击关闭模态框*/
     $('.model-content').on('click', function () {
       $('.model').css('height', '0');
       $('.model-box').css('display', 'none');
     });
     /*表单提交进行判断*/
     $('button').on('click', function () {
+      console.log('input[name="name"]');
+//      alert($('#formAddHandlingFee').serialize());
+      return false;
         /*姓名是否为空*/
         if ($scope.username == undefined) {
           model('请重填', '确认您的姓名');
@@ -152,6 +156,21 @@
           model('请重新选择', '确认');
           return false;
         }
+     $.ajax({
+        cache: true,
+        type: "GET",
+        url:"<?php echo Yii::app()->request->baseUrl; ?>index.php?r=o2o/Advisory/SaveAdvisory",
+        data:$('#Enterprise').serialize(),
+        async: false,
+        error: function(request) {
+          console.log("Connection error")
+        },
+        success: function(data) {
+          model('您的咨询已发送成,请等待我们的企业管家与您联系','温馨提示,一般是一个工作日内,日间致电给您,请留意。')
+          console.log(data)
+        }
+      });
+
         /*model*/
         function model(title, content) {
           $('.model-box').css('display', 'inline');
@@ -159,6 +178,7 @@
           $('.model-title').html(title);
           $('.model-content').html(content);
         }
+
       }
     );
 
@@ -180,17 +200,21 @@
       {'id': 15, 'name': '青浦区', 'parent': 1, type: '2'},
       {'id': 16, 'name': '奉贤区', 'parent': 1, type: '2'}
     ];
-    $scope.TypeList=[
-      {'id': 1, 'name': '一户室', 'parent': 1, type: '3'},
-      {'id': 2, 'name': '两户室', 'parent': 1, type: '3'},
-      {'id': 3, 'name': '三户及以上', 'parent': 1, type: '3'},
-      {'id': 4, 'name': '单间', 'parent': 1, type: '3'},
-      {'id': 5, 'name': '多套多房型', 'parent': 1, type: '3'},
+    $scope.AechContentList=[
+      {'id': 1, 'name': '写字楼日常保洁', 'parent': 1, type: '3'},
+      {'id': 2, 'name': '展会日常保洁', 'parent': 1, type: '3'},
+      {'id': 3, 'name': '开荒保洁', 'parent': 1, type: '3'},
+      {'id': 4, 'name': '地毯清洁', 'parent': 1, type: '3'},
+      {'id': 5, 'name': '地板打蜡', 'parent': 1, type: '3'},
+      {'id': 6, 'name': '沙发清洗', 'parent': 1, type: '3'},
+      {'id': 7, 'name': '电器清洗', 'parent': 1, type: '3'},
+      {'id': 8, 'name': '玻璃清洗', 'parent': 1, type: '3'},
+      {'id': 9, 'name': '整体消毒', 'parent': 1, type: '3'},
+      {'id': 10, 'name': '电器消毒', 'parent': 1, type: '3'},
+      {'id': 11, 'name': '除尘除螨', 'parent': 1, type: '3'}
     ];
-    $scope.NumList=[
-      {'id': 1, 'name': '整房三套以下', 'parent': 1, type: '4'},
-      {'id': 2, 'name': '整房三套以上', 'parent': 1, type: '4'},
-      {'id': 3, 'name': '多套单间', 'parent': 1, type: '4'}
-    ]
+
   }])
+
+
 </script>

File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/build/template.js


File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/main.js


+ 1 - 1
www/webapp/o2o/dist/js/page/activities/day.js

@@ -1 +1 @@
-define(["$","template","IScroll","recharge","native","config","user","product"],function(e,t,n,r,i,s,o,u){function a(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){history.go(-1)}),e.newTouch(".back-button",function(e){history.go(-1)},r),r.on("tapBackButton",function(e){history.go(-1)}),e.newTouch(".btn-appliances",function(t){t.preventDefault();var n=parseInt(e(this).attr("data-product-type"));i.trigger("spa:navigate",{hash:"placeOrder",pushData:{product:u.allList[n-1],needReset:!0}})},r),e.newTouch(".btn-home-day",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"activity-day",pushData:{needReset:!0}})},r),e.newTouch(".btn-banner-coupon",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"myCoupon",pushData:{needReload:!0}})},r),e.newTouch(".btn-banner-recharge",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"recharge",pushData:{needReload:!0}})},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("activities/day",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#homeenterpriseScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});
+define(["$","template","IScroll","recharge","native","config","user","product"],function(e,t,n,r,i,s,o,u){function a(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){history.go(-1)}),e.newTouch(".back-button",function(e){history.go(-1)},r),r.on("tapBackButton",function(e){history.go(-1)}),e.newTouch(".btn-appliances",function(t){t.preventDefault();var n=parseInt(e(this).attr("data-product-type"));i.trigger("spa:navigate",{hash:"placeOrder",pushData:{product:u.allList[n-1],needReset:!0}})},r),e.newTouch(".btn-home-day",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"activity-day",pushData:{needReset:!0}})},r),e.newTouch(".btn-banner-coupon",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"myCoupon",pushData:{needReload:!0}})},r),e.newTouch(".btn-banner-recharge",function(e){e.preventDefault(),i.trigger("spa:navigate",{hash:"recharge",pushData:{needReload:!0}})},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("activities/day",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#activitiesScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});

+ 1 - 1
www/webapp/o2o/dist/js/page/homeenterprise.js

@@ -1 +1 @@
-define(["$","template","IScroll","recharge","native","config","user"],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){history.go(-1)}),e.newTouch(".back-button",function(e){history.go(-1)},r),r.on("tapBackButton",function(e){history.go(-1)}),e.newTouch(".o2o-btn-homestay",function(e){e.preventDefault(),window.location.href="/index.php?r=common/activity/Enterprise"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("homeenterprise/index",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#homeenterpriseScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});
+define(["$","template","IScroll","recharge","native","config","user"],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(".o2o-btn-homestay",function(e){e.preventDefault(),window.location.href="/index.php?r=o2o/advisory/enterprise"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("homeenterprise/index",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#homeenterpriseScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});

+ 1 - 1
www/webapp/o2o/dist/js/page/homestay.js

@@ -1 +1 @@
-define(["$","template","IScroll","recharge","native","config","user"],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){history.go(-1)}),e.newTouch(".back-button",function(e){history.go(-1)},r),r.on("tapBackButton",function(e){history.go(-1)}),e.newTouch(".o2o-btn-homestay",function(e){e.preventDefault(),window.location.href="/index.php?r=common/activity/SinglesDay"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("homestay/index",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#homestayScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});
+define(["$","template","IScroll","recharge","native","config","user"],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){history.go(-1)}),e.newTouch(".back-button",function(e){history.go(-1)},r),r.on("tapBackButton",function(e){history.go(-1)}),e.newTouch(".o2o-btn-homestay",function(e){e.preventDefault(),window.location.href="/index.php?r=o2o/advisory/SinglesDay"},r),n.resolve()},beforeopen:function(e,t){t.resolve()},afteropen:function(i,o){var u=this,a=e(document);i.pushData.dontNeedReload||(a.trigger("spa:openloader"),r.getRechargeList(function(r){a.trigger("spa:closeloader");if(r.success){var o=t("homestay/index",{showNavBar:!s.isWX,recharges:r.data});e(".spa-page-body",u).html(o);var f=e(".btn-add-recharge").attr("data-index");for(var l=f;l<2;l++);setTimeout(function(){i.scroll=new n("#homestayScroll")},500)}})),o.resolve()},beforeclose:function(e,t){t.resolve()}}});

File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/page/placeOrder.js


File diff suppressed because it is too large
+ 0 - 1
www/webapp/o2o/js/build/template.js


+ 1 - 1
www/webapp/o2o/js/page/activities/day.js

@@ -104,7 +104,7 @@ define(['$', 'template', 'IScroll', 'recharge', 'native', 'config', 'user','prod
 						for (var i = value; i < 2; i++) {
 						}
 						setTimeout(function () {
-							pageData.scroll = new IScroll('#homeenterpriseScroll');
+							pageData.scroll = new IScroll('#activitiesScroll');
 						}, 500);
 					}
 				});

+ 7 - 7
www/webapp/o2o/js/page/homeenterprise.js

@@ -24,22 +24,22 @@ define(['$', 'template', 'IScroll', 'recharge', 'native', 'config', 'user'], fun
 
             // 返回
             $view.on('swipeRight', function (event) {
-                //back.call(this, event);
-                history.go(-1);
+                back.call(this, event);
+                // history.go(-1);
             });
 
             $.newTouch('.back-button', function (event) {
-                //back.call(this, event);
-                history.go(-1);
+                back.call(this, event);
+                // history.go(-1);
             }, $view);
 
             $view.on('tapBackButton', function (event) {
-                //back.call(this, event);
-                history.go(-1);
+                back.call(this, event);
+                // history.go(-1);
             });
             $.newTouch('.o2o-btn-homestay',function (event) {
                 event.preventDefault();
-                window.location.href='/index.php?r=common/activity/Enterprise';
+                window.location.href='/index.php?r=o2o/advisory/enterprise';
                 // window.location.href='http://commontest.yiguanjia.me/index.php?r=common/activity/Enterprise';
                 // console.log('测试')
             },$view);

+ 1 - 1
www/webapp/o2o/js/page/homestay.js

@@ -150,7 +150,7 @@ define(['$', 'template', 'IScroll', 'recharge', 'native', 'config', 'user'], fun
 			});
 			$.newTouch('.o2o-btn-homestay',function (event) {
 				event.preventDefault();
-				window.location.href='/index.php?r=common/activity/SinglesDay';
+				window.location.href='/index.php?r=o2o/advisory/SinglesDay';
 				// console.log('测试')
 			},$view);
 			dtd.resolve();

+ 1 - 0
www/webapp/o2o/js/page/placeOrder.js

@@ -247,6 +247,7 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
 				if (product.name == "活动产品") {
 					$('.show-time-picker').css('display', 'none');
 					$('.show-coupon-picker').css('display', 'none');
+					$('.product-pic-o2o').css('display', 'none');
 					$('.o2o-singles-day').css('display', 'inline');
 				}
 			}, 50);

+ 4 - 4
www/webapp/o2o/tpl/activities/day.html

@@ -6,13 +6,13 @@
 	<h1 class="title">双十一活动</h1>
 </header>
 {{ /if }}
-<div id="activities-scroll" class="content">
+<div id="activitiesScroll" class="content">
 	<div class="scroller">
 		<div class="box-container">
 			<div class="box-container box box-vertical" style="background: #fff">
 				<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%801-%E7%AC%AC%E4%B8%80%E9%83%A8%E5%88%86.jpg" alt="">
 				<!--下单-->
-				<div style="position: relative;margin-top: -0.2rem;margin-bottom: -0.2rem;">
+				<div style="position: relative;margin-top: -0.22rem;margin-bottom: -0.22rem;">
 					<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%801.jpg" alt="">
 					<div style="    width: 32.7%;
     padding-bottom: 10.5%;
@@ -22,7 +22,7 @@
 				</div>
 				<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%803-%E7%AC%AC%E4%BA%8C%E9%83%A8%E5%88%86.jpg" alt="">
 				<!--优惠券-->
-				<div style="position: relative;margin-top: -0.2rem;margin-bottom: -0.2rem;">
+				<div style="position: relative;margin-top: -0.22rem;margin-bottom: -0.22rem;">
 					<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%802.jpg" alt="">
 					<div style="    width: 32.7%;
     padding-bottom: 10.5%;
@@ -32,7 +32,7 @@
 				</div>
 				<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%805-%E7%AC%AC%E4%B8%89%E9%83%A8%E5%88%86.jpg" alt="">
 				<!--充值卡-->
-				<div style="position: relative;margin-top: -0.2rem;margin-bottom: -0.2rem;">
+				<div style="position: relative;margin-top: -0.22rem;margin-bottom: -0.22rem;">
 					<img style="width: 100%;" src="http://odulvej8l.bkt.clouddn.com/%E5%8F%8C%E5%8D%81%E4%B8%803.jpg" alt="">
 					<div style="    width: 32.7%;
     padding-bottom: 10.5%;

+ 9 - 8
www/webapp/o2o/tpl/placeOrder/index.html

@@ -19,17 +19,18 @@
                                 <!--<div class="product-name">{{title}}详情及评价 <span id="hot">&gt;&gt;&gt;</span></div>-->
                                 <div class="product-img"></div>
                             </li>
-                            <li class="o2o-singles-day" style="display: none;">
-                                <h4 style="padding: 0 0 0 10px">本次活动明细</h4>
-                                <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">1、</label>11元活动产品仅于2016/11/11-2016/11/13在线销售,每日销售111份,共计333份。</p>
-                                <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">2、</label>本产品为日常保洁服务,不包含擦玻璃、家电清洁、大扫除等深层服务内容</p>
-                                <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">3、</label>每个微信号限购买1次,每个地址限使用1次,限虹口区地址的民用住宅使用,不限房型。</p>
-                                <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">4、</label>购买产品后,请于2016/11/11-2016/11/24之间拨打400-806-5111,预约服务时间,服务时间为2016/11/14-2016/12/23内。</p>
-                                <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">5、</label>在未使用的情况下,可于2016/11/14后拨打400-806-5111,申请退款。</p>
-                            </li>
                         </ul>
                         <!-- 选择extra -->
                         {{if extra}}
+                        <li class="o2o-singles-day" style="display: none;">
+                            <img src="http://odulvej8l.bkt.clouddn.com/11%E5%85%83banner.jpg" alt="双十一活动" style="width: 100%">
+                            <h4 style="padding: 0 0 0 10px">本次活动明细</h4>
+                            <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">1、</label>11元活动产品仅于2016/11/11-2016/11/13在线销售,每日销售111份,共计333份。</p>
+                            <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">2、</label>本产品为日常保洁服务,不包含擦玻璃、家电清洁、大扫除等深层服务内容</p>
+                            <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">3、</label>每个微信号限购买1次,每个地址限使用1次,限虹口区地址的民用住宅使用,不限房型。</p>
+                            <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">4、</label>购买产品后,请于2016/11/11-2016/11/24之间拨打400-806-5111,预约服务时间,服务时间为2016/11/14-2016/12/13内。</p>
+                            <p style="margin: 0 10px"><label style="font-weight:700;font-size: 14px;">5、</label>在未使用的情况下,可于2016/11/14后拨打400-806-5111,申请退款。</p>
+                        </li>
                         <div class="table-view main-service">
                             <p class="main-service-title">请选择</p>
                             {{each extra as e}}

Some files were not shown because too many files changed in this diff