Authored by liangxs

限制码颜色尺寸选择

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