瀏覽代碼

添加双十一活动页面

洪海涛 8 年之前
父節點
當前提交
023ed3f47f

+ 1 - 1
www/protected/modules/common/controllers/ActivityController.php

@@ -31,7 +31,7 @@ class ActivityController extends O2oBaseController  {
     }
     //扫码跳转11元订单页面,回掉微信接口,注册用户信息,然后生成订单
     public function actionScanCoupon(){
-        echo "hello world";
+        $this->renderpartial('SinglesDay');
     }
 
 

+ 46 - 0
www/protected/modules/common/views/activity/SinglesDay.php

@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<!--HTML5 doctype-->
+<html>
+<head>
+  <title>壹管家</title>
+  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
+  <meta name="apple-mobile-web-app-capable" content="yes">
+  <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; ?><!--/css/bootstrap.min.css">-->
+  <link href="//cdn.bootcss.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" rel="stylesheet">
+  <!--引入js文件-->
+  <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.10.2.min.js"></script>
+</head>
+<body>
+<!--
+<div align="center">
+<h1>扫码关注壹管家获取更多资讯</h1>
+<img src="<?php /*echo Yii::app()->request->baseUrl; */?>/images/qryiguanjia.jpg" class="index_logo" style="width: 100%"/>
+</div>-->
+<div class="container">
+  <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="">
+  <form action="" class="form-horizontal  ng-valid ng-dirty ng-valid-parse">
+    <div class="form-group">
+      <label>姓名</label>
+      <input type="text" class="form-control" placeholder="请输入您的姓名">
+    </div>
+    <div class="form-group">
+      <label>地址</label>
+      <input type="text" class="form-control" placeholder="请输入您的地址">
+    </div>
+    <div class="form-group">
+      <label>手机号码</label>
+      <input type="text" class="form-control" placeholder="请输入您的手机号码">
+    </div>
+    <div class="form-group">
+      <button class="btn btn-success col-xs-2" style="width: 100%">提交</button>
+    </div>
+  </form>
+</div>
+</body>
+
+</html>