Authored by liangxs

Merge branch 'develop' into release/4.4

  1 +{{!-- APP 限购码选择颜色和尺寸 --}}
  2 +<!DOCTYPE html>
  3 +<html lang="en">
  4 +<head>
  5 + <meta charset="UTF-8">
  6 + <title>限购码选择颜色和尺寸</title>
  7 + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
  8 + <meta http-equiv="cleartype" content="on">
  9 + <meta content="telephone=no" name="format-detection" />
  10 + <script type="text/javascript">
  11 + (function(doc, win) {
  12 + var docEl = doc.documentElement;
  13 + (function() {
  14 + var clientWidth = docEl.clientWidth;
  15 + if (!clientWidth) {
  16 + return;
  17 + }
  18 + docEl.style.fontSize = 20 * (clientWidth / 320) + 'px';
  19 + }());
  20 + })(document, window);
  21 + </script>
  22 + <style>
  23 + html, body{
  24 + margin: 0;
  25 + padding: 0;
  26 + font-family: helvetica,Arial,"黑体";
  27 + }
  28 + .container {
  29 + width: 100%;
  30 + padding: 0.6rem;
  31 + background-color: #fff;
  32 + box-sizing: border-box;
  33 + }
  34 + p {
  35 + font-size: 0.65rem;
  36 + color: #444;
  37 + line-height: 0.8rem;
  38 + }
  39 + </style>
  40 +</head>
  41 +<body>
  42 + <div class="container">
  43 + <p>1.部分活动可在限定商品详情页选择颜色和尺码。</p>
  44 + <p>2.已选择的颜色尺码在活动结束前都可修改。</p>
  45 + <p>3.排队活动结束后,不管中没中奖都不可修改颜色和尺码。</p>
  46 + <p>4.如排队中奖或者分享获得限购码,将会匹配到之前选择的颜色和尺寸,仅可购买选中的颜色和尺码,不可跟换其他。</p>
  47 + </div>
  48 +</body>
  49 +</html>
@@ -29,6 +29,16 @@ class HelpController extends AbstractAction @@ -29,6 +29,16 @@ class HelpController extends AbstractAction
29 } 29 }
30 30
31 /** 31 /**
  32 + * 选择限购码颜色和尺寸 (APP使用)
  33 + */
  34 + public function limitcodeColSizeAction()
  35 + {
  36 + $this->_view->html('help/limitcodecolsize');
  37 + // 渲染模板并输出
  38 + $this->_view->display('limitcode-colsize');
  39 + }
  40 +
  41 + /**
32 * 什么是限购码 (APP使用) 42 * 什么是限购码 (APP使用)
33 */ 43 */
34 public function limitcodeIntroAction() 44 public function limitcodeIntroAction()