Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
liangxs
2016-05-05 10:25:25 +0800
Commit
d2851e3be668630dc1e02ed5582b1e94e97b5549
1 parent
6b33eed6
限制码颜色尺寸选择
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
template/m.yohobuy.com/actions/index/help/limitcode-colsize.phtml
yohobuy/m.yohobuy.com/application/controllers/Help.php
template/m.yohobuy.com/actions/index/help/limitcode-colsize.phtml
0 → 100644
View file @
d2851e3
{{!-- 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
...
...
yohobuy/m.yohobuy.com/application/controllers/Help.php
View file @
d2851e3
...
...
@@ -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
()
...
...
Please
register
or
login
to post a comment