Authored by unknown

@review by 徐祁

... ... @@ -1170,6 +1170,8 @@
### 注册页
## 站点头部
{
registerPage: true, //用于加载js
passport: {
... ... @@ -1189,4 +1191,27 @@
coverHref' => '/passport', //右侧封面跳转链接
coverImg' => '##', //右侧封面地址
}
}
### 登录注册页公用简化头部
{
simpleHeader: {
logo: {
img:'', //头部logo图片
url:''
},
tool: {
user: '', //用户名字
userCenter: '', //用户中心链接
loginHref: '', //登录链接,已登录不传
registerHref: '', //注册链接,已登录不传
logoutHref: '', //登出链接,未登录不传
favoriteHref: '', //我的收藏链接
couponHref: '', //我的优惠券链接
orderHref: '', //订单中心连接
helpHref: '' //帮助中心连接
}
}
}
\ No newline at end of file
... ...
{{> layout/simple-header}}
<div class="back-page passport-page yoho-page clearfix">
{{# back}}
<div class="back-page passport-page yoho-page clearfix">
{{# back}}
{{> passport/cover}}
<div class="content">
<div class="back-header clearfix">
... ...
{{> layout/simple-header}}
<div class="reset-pwd-page back-page passport-page yoho-page clearfix">
{{# resetPwd}}
{{> passport/cover}}
{{> passport/cover}}
<div class="content">
<h2 class="title2">重置密码</h2>
<form id="reset-pwd-form" class="reset-pwd-form" method="POST" action="/passport/back/update">
... ...
... ... @@ -27,32 +27,42 @@
{{/ logo}}
<ul class="header-tool clearfix">
{{# tool}}
<li {{#if options}}class="tool-options"{{/if}}{{#if loginUrl}}class="login-box"{{/if}}>
{{# tell}}
<i class="tell-icon iconfont">&#xe61c;</i>
{{/ tell}}
<li>
<span>Hi~</span>
{{# user}}
<a href="{{userCenter}}">{{.}}</a>
{{/ user}}
{{# loginHref}}
<a href="{{.}}">[请登录]</a>
{{/ loginHref}}
{{#if url}}
<a href="{{url}}">{{title}}</a>
{{/if}}
{{#unless url}}
<span>{{title}}</span>
{{/unless}}
{{# logoutHref}}
<a href="{{.}}">[退出]</a>
{{/ logoutHref}}
{{#if options}}
{{# registerHref}}
<a href="{{.}}">[免费注册]</a>
{{/ registerHref}}
</li>
<li class="tool-options">
<span>MY有货</span>
<i class="options-icon down iconfont">&#xe604;</i>
<i class="options-icon up iconfont">&#xe603;</i>
<div class="tool-select">
{{# options}}
<a href="{{url}}">{{textCn}}</a>
{{/ options}}
<a href="{{favoriteHref}}">我的收藏</a>
<a href="{{couponHref}}">优惠券</a>
</div>
{{/if}}
{{# loginInfo}}
<a href="{{url}}">{{textCn}}</a>
{{/ loginInfo}}
</li>
<li>
<a href="{{orderHref}}">订单中心</a>
</li>
<li>
<a href="{{helpHref}}">帮助中心</a>
</li>
<li>
<i class="tell-icon iconfont">&#xe61c;</i>
<span>400-9889-9646</span>
</li>
{{/ tool}}
</ul>
... ...
... ... @@ -16,52 +16,14 @@ class BackController extends AbstractAction
'url' => 'http://www.yohobuy.com'
),
'tool' => array(
array(
'title' => 'Hi~',
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'options' => array(
array(
'textCn' => '我的收藏',
'url' => ''
),
array(
'textCn' => '优惠券',
'url' => ''
),
)
),
array(
'title' => '订单中心',
'url' => 'http://www.yohobuy.com/home/orders?t=1449801433.5294'
),
array(
'title' => '帮助中心',
'url' => 'http://www.yohobuy.com/help'
),
array(
'title' => '400-9889-9646',
'tell' => true
)
'user' => '2586703@qq.com',
'userCenter' => '',
'loginHref' => '',
'registerHref' => '',
'favoriteHref' => '',
'couponHref' => '',
'orderHref' => '',
'helpHref' => ''
)
);
$data = array(
... ... @@ -105,52 +67,15 @@ class BackController extends AbstractAction
'url' => 'http://www.yohobuy.com'
),
'tool' => array(
array(
'title' => 'Hi~',
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'options' => array(
array(
'textCn' => '我的收藏',
'url' => ''
),
array(
'textCn' => '优惠券',
'url' => ''
),
)
),
array(
'title' => '订单中心',
'url' => 'http://www.yohobuy.com/home/orders?t=1449801433.5294'
),
array(
'title' => '帮助中心',
'url' => 'http://www.yohobuy.com/help'
),
array(
'title' => '400-9889-9646',
'tell' => true
)
'user' => '2586703@qq.com',
'userCenter' => '',
'loginHref' => '',
'logoutHref' => '',
'registerHref' => '',
'favoriteHref' => '',
'couponHref' => '',
'orderHref' => '',
'helpHref' => ''
)
);
$data = array(
... ... @@ -174,52 +99,15 @@ class BackController extends AbstractAction
'url' => 'http://www.yohobuy.com'
),
'tool' => array(
array(
'title' => 'Hi~',
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'options' => array(
array(
'textCn' => '我的收藏',
'url' => ''
),
array(
'textCn' => '优惠券',
'url' => ''
),
)
),
array(
'title' => '订单中心',
'url' => 'http://www.yohobuy.com/home/orders?t=1449801433.5294'
),
array(
'title' => '帮助中心',
'url' => 'http://www.yohobuy.com/help'
),
array(
'title' => '400-9889-9646',
'tell' => true
)
'user' => '2586703@qq.com',
'userCenter' => '',
'loginHref' => '',
'logoutHref' => '',
'registerHref' => '',
'favoriteHref' => '',
'couponHref' => '',
'orderHref' => '',
'helpHref' => ''
)
);
$data = array(
... ... @@ -241,52 +129,15 @@ class BackController extends AbstractAction
'url' => 'http://www.yohobuy.com'
),
'tool' => array(
array(
'title' => 'Hi~',
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'options' => array(
array(
'textCn' => '我的收藏',
'url' => ''
),
array(
'textCn' => '优惠券',
'url' => ''
),
)
),
array(
'title' => '订单中心',
'url' => 'http://www.yohobuy.com/home/orders?t=1449801433.5294'
),
array(
'title' => '帮助中心',
'url' => 'http://www.yohobuy.com/help'
),
array(
'title' => '400-9889-9646',
'tell' => true
)
'user' => '2586703@qq.com',
'userCenter' => '',
'loginHref' => '',
'logoutHref' => '',
'registerHref' => '',
'favoriteHref' => '',
'couponHref' => '',
'orderHref' => '',
'helpHref' => ''
)
);
$data = array(
... ... @@ -307,52 +158,15 @@ class BackController extends AbstractAction
'url' => 'http://www.yohobuy.com'
),
'tool' => array(
array(
'title' => 'Hi~',
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'options' => array(
array(
'textCn' => '我的收藏',
'url' => ''
),
array(
'textCn' => '优惠券',
'url' => ''
),
)
),
array(
'title' => '订单中心',
'url' => 'http://www.yohobuy.com/home/orders?t=1449801433.5294'
),
array(
'title' => '帮助中心',
'url' => 'http://www.yohobuy.com/help'
),
array(
'title' => '400-9889-9646',
'tell' => true
)
'user' => '2586703@qq.com',
'userCenter' => '',
'loginHref' => '',
'logoutHref' => '',
'registerHref' => '',
'favoriteHref' => '',
'couponHref' => '',
'orderHref' => '',
'helpHref' => ''
)
);
$data = array(
... ...