Authored by unknown

密码提示样式

{{> layout/simple-header}}
{{> layout/simple-header}}
<div class="reset-pwd-page back-page passport-page yoho-page clearfix">
{{# resetPwd}}
{{> passport/cover}}
... ... @@ -14,8 +14,8 @@
<span class="pwd-intensity high">高</span>
</div>
<div id="pwd-tips" class="pwd-tips hide">
<div class="default" id="pwd-tip1">密码只支持6-20位字符</div>
<div class="default" id="pwd-tip2">建议由字母、 数字、 符号两种以上组合</div>
<div class="default" id="pwd-tip1"><i></i>密码只支持6-20位字符</div>
<div class="default" id="pwd-tip2"><i></i>建议由字母、 数字、 符号两种以上组合</div>
</div>
<span id="pwd-err" class="err-tip hide">
<i></i>
... ...
... ... @@ -50,10 +50,9 @@
</div>
{{/if}}
{{#if loginUrl}}
<a href="{{loginUrl}}">[请登录]</a>
<a href="{{regUrl}}">[免费注册]</a>
{{/if}}
{{# loginInfo}}
<a href="{{url}}">{{textCn}}</a>
{{/ loginInfo}}
</li>
{{/ tool}}
</ul>
... ...
... ... @@ -2,7 +2,6 @@
$tip: sprite-map("passport/tip/*.png", $spacing: 10px);
/**/
.passport-page {
width: 1150px;
margin-left: auto;
... ... @@ -92,6 +91,51 @@ $tip: sprite-map("passport/tip/*.png", $spacing: 10px);
}
}
.pwd-tips {
position: absolute;
top: -10px;
left: 285px;
width: 160px !important;
height: 72px;
padding-top: 7px;
font-size: 12px;
background: sprite($tip, block) no-repeat;
>div {
position: relative;
height: 22px;
line-height: 22px;
margin-left: 15px;
padding-left: 15px;
font-size: 12px;
color: #b9b9b9;
i {
position: absolute;
width: 14px;
height: 14px;
left: -2px;
top: 50%;
margin: -7px 0 0;
background: sprite($tip, info);
}
&.no {
color: red;
i {
background: sprite($tip, error);
}
}
&.yes {
i {
background: sprite($tip, success);
}
}
}
}
.tip-panel {
position: absolute;
display: none;
... ...
... ... @@ -18,8 +18,24 @@ class BackController extends AbstractAction
'tool' => array(
array(
'title' => 'Hi~',
'loginUrl' => 'www.yoho.com',
'regUrl' => ''
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
... ... @@ -91,8 +107,24 @@ class BackController extends AbstractAction
'tool' => array(
array(
'title' => 'Hi~',
'loginUrl' => 'www.yoho.com',
'regUrl' => ''
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
... ... @@ -144,8 +176,24 @@ class BackController extends AbstractAction
'tool' => array(
array(
'title' => 'Hi~',
'loginUrl' => 'www.yoho.com',
'regUrl' => ''
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
... ... @@ -195,8 +243,24 @@ class BackController extends AbstractAction
'tool' => array(
array(
'title' => 'Hi~',
'loginUrl' => 'www.yoho.com',
'regUrl' => ''
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
... ... @@ -245,12 +309,27 @@ class BackController extends AbstractAction
'tool' => array(
array(
'title' => 'Hi~',
'loginUrl' => 'www.yoho.com',
'regUrl' => ''
'loginInfo' => array(
array(
'textCn' => '2586****@qq.com',
'url' => ''
),
array(
'textCn' => '[请登录]',
'url' => ''
),
array(
'textCn' => '[免费注册]',
'url' => ''
),
array(
'textCn' => '[退出]',
'url' => ''
)
)
),
array(
'title' => 'MY有货',
'url' => 'http://www.yohobuy.com/home?t=1450070066.9024',
'options' => array(
array(
'textCn' => '我的收藏',
... ...