Authored by hf

do cuxiao activity

  1 +<!DOCTYPE html>
  2 +<html>
  3 +<head>
  4 +<meta charset="UTF-8">
  5 +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
  6 +<meta content="yes" name="apple-mobile-web-app-capable">
  7 +<meta content="yes" name="apple-mobile-web-app-capable">
  8 +<meta content="telephone=no" name="format-detection">
  9 +<meta content="yes" name="apple-touch-fullscreen">
  10 +<meta content="black" name="apple-mobile-web-app-status-bar-style">
  11 +<link rel="stylesheet" href="./css/coupon-mobile.css">
  12 +<title>品牌发券</title>
  13 +<script type="text/javascript">
  14 + (function(doc, win) {
  15 + var docEl = doc.documentElement;
  16 + (function() {
  17 + var clientWidth = docEl.clientWidth;
  18 + if (!clientWidth) {
  19 + return;
  20 + }
  21 + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
  22 + }());
  23 + })(document, window);
  24 +</script>
  25 +</head>
  26 +<body>
  27 + <div class="coupon-container">
  28 + <div class="coupon-hd"></div>
  29 + <div class="coupon-bd">
  30 + <div class="bd-top"></div>
  31 + <div class="bd-bottom"></div>
  32 + <div class="coupon-rule">
  33 + <h2></h2>
  34 + <ul>
  35 + <li class="clearfix">
  36 + <span>如何领取</span>
  37 + <em>12.1-12.6期间,点击页面各品牌领券按钮,即可获得对应品牌的专属券。</em>
  38 + </li>
  39 + <li class="clearfix">
  40 + <span>使用方法</span>
  41 + <em>12.1-12.6期间,在结算页面选择使用相应的优惠券。</em>
  42 + </li>
  43 + <li class="clearfix">
  44 + <span>使用细则</span>
  45 + <em>在个人中心查看我的优惠券,每个订单限制用一张。</em>
  46 + </li>
  47 + </ul>
  48 + </div>
  49 + <div class="floor-header best-choice"></div>
  50 + <div class="img-coupon clearfix">
  51 + <ul class="img-coupon01">
  52 + <li>
  53 + <a class="enter-store" href="javascript:;"></a>
  54 + <a class="get-coupon" href="javascript:;"></a>
  55 + </li>
  56 + <li>
  57 + <a class="enter-store" href="javascript:;"></a>
  58 + <a class="get-coupon" href="javascript:;"></a>
  59 + </li>
  60 + </ul>
  61 + <ul class="img-coupon02">
  62 + <li>
  63 + <a class="enter-store" href="javascript:;"></a>
  64 + <a class="get-coupon" href="javascript:;"></a>
  65 + </li>
  66 + <li>
  67 + <a class="enter-store" href="javascript:;"></a>
  68 + <a class="get-coupon" href="javascript:;"></a>
  69 + </li>
  70 + </ul>
  71 + <ul class="img-coupon03">
  72 + <li>
  73 + <a class="enter-store" href="javascript:;"></a>
  74 + <a class="get-coupon" href="javascript:;"></a>
  75 + </li>
  76 + <li>
  77 + <a class="enter-store" href="javascript:;"></a>
  78 + <a class="get-coupon" href="javascript:;"></a>
  79 + </li>
  80 + </ul>
  81 + <ul class="img-coupon04">
  82 + <li>
  83 + <a class="enter-store" href="javascript:;"></a>
  84 + <a class="get-coupon" href="javascript:;"></a>
  85 + </li>
  86 + <li>
  87 + <a class="enter-store" href="javascript:;"></a>
  88 + <a class="get-coupon" href="javascript:;"></a>
  89 + </li>
  90 + </ul>
  91 + </div>
  92 + <div class="logo-coupon">
  93 + <ul>
  94 + <li class="logo-coupon01">
  95 + <a class="enter-store" href="javascript:;"></a>
  96 + <a class="get-coupon" href="javascript:;"></a>
  97 + </li>
  98 + <li class="logo-coupon02">
  99 + <a class="enter-store" href="javascript:;"></a>
  100 + <a class="get-coupon" href="javascript:;"></a>
  101 + </li>
  102 + <li class="logo-coupon03">
  103 + <a class="enter-store" href="javascript:;"></a>
  104 + <a class="get-coupon" href="javascript:;"></a>
  105 + </li>
  106 + <li class="logo-coupon04">
  107 + <a class="enter-store" href="javascript:;"></a>
  108 + <a class="get-coupon" href="javascript:;"></a>
  109 + </li>
  110 + <li class="logo-coupon05">
  111 + <a class="enter-store" href="javascript:;"></a>
  112 + <a class="get-coupon" href="javascript:;"></a>
  113 + </li>
  114 + <li class="logo-coupon06">
  115 + <a class="enter-store" href="javascript:;"></a>
  116 + <a class="get-coupon" href="javascript:;"></a>
  117 + </li>
  118 + </ul>
  119 + </div>
  120 + <div class="floor-header top-recommend"></div>
  121 + <div class="img-coupon clearfix">
  122 + <ul class="img-coupon05">
  123 + <li>
  124 + <a class="enter-store" href="javascript:;"></a>
  125 + <a class="get-coupon" href="javascript:;"></a>
  126 + </li>
  127 + <li>
  128 + <a class="enter-store" href="javascript:;"></a>
  129 + <a class="get-coupon" href="javascript:;"></a>
  130 + </li>
  131 + </ul>
  132 + <ul class="img-coupon06">
  133 + <li>
  134 + <a class="enter-store" href="javascript:;"></a>
  135 + <a class="get-coupon" href="javascript:;"></a>
  136 + </li>
  137 + <li>
  138 + <a class="enter-store" href="javascript:;"></a>
  139 + <a class="get-coupon" href="javascript:;"></a>
  140 + </li>
  141 + </ul>
  142 + <ul class="img-coupon07">
  143 + <li>
  144 + <a class="enter-store" href="javascript:;"></a>
  145 + <a class="get-coupon" href="javascript:;"></a>
  146 + </li>
  147 + <li>
  148 + <a class="enter-store" href="javascript:;"></a>
  149 + <a class="get-coupon" href="javascript:;"></a>
  150 + </li>
  151 + </ul>
  152 + <ul class="img-coupon08">
  153 + <li>
  154 + <a class="enter-store" href="javascript:;"></a>
  155 + <a class="get-coupon" href="javascript:;"></a>
  156 + </li>
  157 + <li>
  158 + <a class="enter-store" href="javascript:;"></a>
  159 + <a class="get-coupon" href="javascript:;"></a>
  160 + </li>
  161 + </ul>
  162 + </div>
  163 + <div class="logo-coupon">
  164 + <ul>
  165 + <li class="logo-coupon07">
  166 + <a class="enter-store" href="javascript:;"></a>
  167 + <a class="get-coupon" href="javascript:;"></a>
  168 + </li>
  169 + <li class="logo-coupon08">
  170 + <a class="enter-store" href="javascript:;"></a>
  171 + <a class="get-coupon" href="javascript:;"></a>
  172 + </li>
  173 + <li class="logo-coupon09">
  174 + <a class="enter-store" href="javascript:;"></a>
  175 + <a class="get-coupon" href="javascript:;"></a>
  176 + </li>
  177 + <li class="logo-coupon10">
  178 + <a class="enter-store" href="javascript:;"></a>
  179 + <a class="get-coupon" href="javascript:;"></a>
  180 + </li>
  181 + <li class="logo-coupon11">
  182 + <a class="enter-store" href="javascript:;"></a>
  183 + <a class="get-coupon" href="javascript:;"></a>
  184 + </li>
  185 + <li class="logo-coupon12">
  186 + <a class="enter-store" href="javascript:;"></a>
  187 + <a class="get-coupon" href="javascript:;"></a>
  188 + </li>
  189 + </ul>
  190 + </div>
  191 + </div>
  192 + <div class="coupon-ft">
  193 + <div class="other-coupon">
  194 + <a href="javascript:;">女生</a>
  195 + <a href="javascript:;">童装</a>
  196 + <a href="javascript:;">创意生活</a>
  197 + </div>
  198 + </div>
  199 + </div>
  200 + <div class="get-dialog-shade"></div>
  201 + <div class="get-dialog">
  202 + <p>你已领取过品牌优惠券</p>
  203 + <p>快去选购心仪的商品吧!</p>
  204 + <a href="javascript:;">返回</a>
  205 + </div>
  206 +</body>
  207 +</html>
  1 +<?php
  2 +
  3 +use Action\AbstractAction;
  4 +
  5 +/**
  6 + * 发券活动
  7 + */
  8 +class CouponsController extends AbstractAction
  9 +{
  10 +
  11 + /**
  12 + * 男生的品牌发券 - 上线时间 2015/12/01
  13 + */
  14 + public function boysbrandAction()
  15 + {
  16 +
  17 + }
  18 +
  19 + /**
  20 + * 女生的品牌发券 - 上线时间 2015/12/01
  21 + */
  22 + public function girlsbrandAction()
  23 + {
  24 +
  25 + }
  26 +
  27 + /**
  28 + * 潮童的品牌发券 - 上线时间 2015/12/01
  29 + */
  30 + public function kidsbrandAction()
  31 + {
  32 +
  33 + }
  34 +
  35 + /**
  36 + * 创意生活的品牌发券 - 上线时间 2015/12/01
  37 + */
  38 + public function lifestylebrandAction()
  39 + {
  40 +
  41 + }
  42 +
  43 +
  44 +}
@@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application" @@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application"
4 ;;website library 4 ;;website library
5 application.library = ROOT_PATH "/library" 5 application.library = ROOT_PATH "/library"
6 ;;模块配置 6 ;;模块配置
7 -application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart" 7 +application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart,Cuxiao"
8 ;;加载 8 ;;加载
9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" 9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
10 ;;view文件的扩展名 10 ;;view文件的扩展名
@@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application" @@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application"
4 ;;website library 4 ;;website library
5 application.library = ROOT_PATH "/library" 5 application.library = ROOT_PATH "/library"
6 ;;默认模块 6 ;;默认模块
7 -application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart" 7 +application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart,Cuxiao"
8 ;;加载 8 ;;加载
9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" 9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
10 ;;view文件的扩展名 10 ;;view文件的扩展名
@@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application" @@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application"
4 ;;website library 4 ;;website library
5 application.library = ROOT_PATH "/library" 5 application.library = ROOT_PATH "/library"
6 ;;默认模块 6 ;;默认模块
7 -application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart" 7 +application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart,Cuxiao"
8 ;;加载 8 ;;加载
9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" 9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
10 ;;view文件的扩展名 10 ;;view文件的扩展名
@@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application" @@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application"
4 ;;website library 4 ;;website library
5 application.library = ROOT_PATH "/library" 5 application.library = ROOT_PATH "/library"
6 ;;默认模块 6 ;;默认模块
7 -application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart" 7 +application.modules = "Index,Category,Channel,Guang,Passport,Product,Cart,Cuxiao"
8 ;;加载 8 ;;加载
9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" 9 application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
10 ;;view文件的扩展名 10 ;;view文件的扩展名