Merge branch 'YOUFANGAPP1.1' of 192.168.0.27:dev0/youfang-app into YOUFANGAPP1.1
This commit is contained in:
+23
-14
@@ -176,22 +176,31 @@ em.down{color:#88D053;}
|
||||
.bar-tab .tab-item .icon ~ .tab-label{top:0.05rem;}
|
||||
|
||||
/* 登录 */
|
||||
i.loginIcon01{width:14px;height:26px;background:url(../images/loginIcon01.png) no-repeat center 1px;background-size:100%;display:block;}
|
||||
i.loginIcon02{width:15px;height:25px;background:url(../images/loginIcon02.png) no-repeat center 3px;background-size:100%;display:block;}
|
||||
i.loginIcon03{width:14px;height:24px;background:url(../images/loginIcon03.png) no-repeat center 3px;background-size:100%;display:block;}
|
||||
.item-content .item-inner .inpu{width:70px;height:24px;line-height:24px;float:left;margin:0 6px;text-align:center;border:solid 1px #d7d7d7;}
|
||||
.item-content .item-inner label i.loginCode{width:70px;height:25px;background:url(../images/loginCode.png) no-repeat center center;background-size:100%;display:block;margin-top:-2px;}
|
||||
.icon-login01{width:14px;height:20px;background:url(../images/icon-login01.png) no-repeat center center;background-size:100%;vertical-align:text-bottom;}
|
||||
.icon-login02{width:15px;height:19px;background:url(../images/icon-login02.png) no-repeat center center;background-size:100%;vertical-align:text-bottom;}
|
||||
.icon-login03{width:15px;height:18px;background:url(../images/icon-login03.png) no-repeat center center;background-size:100%;vertical-align:text-bottom;}
|
||||
.icon-loginMode01{width:30px;height:24px;background:url(../images/icon-loginMode01.png) no-repeat center center;background-size:100%;}
|
||||
.icon-loginMode02{width:30px;height:24px;background:url(../images/icon-loginMode02.png) no-repeat center center;background-size:100%;}
|
||||
.icon-loginMode03{width:22px;height:24px;background:url(../images/icon-loginMode03.png) no-repeat center center;background-size:100%;}
|
||||
#input_phoneNumber,#input_codeSms,#input_password{left:24px;width:80%;}
|
||||
#input_phoneNumber{width:50%;}
|
||||
#input_feedback{width:100%;height:100px;}
|
||||
.list-block .item-after .icon-eye-grey{width:0.9rem;height:0.65rem;margin-right:0;margin-top:0.25rem;}
|
||||
.list-block .item-after .icon-eye-orange{width:0.9rem;height:0.65rem;margin-right:0;margin-top:0.25rem;}
|
||||
.sendCode{padding:0 8px;height:27px;background:#fff;border:solid 1px #2db0fc;border-radius:3px;color:#2db0fc;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;}
|
||||
.waiting{padding:0 8px;height:27px;background:#0a8ddf;border:solid 1px #0a8ddf;border-radius:3px;color:#fff;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;}
|
||||
.content-block > p.agreement{font-size:0.75rem;color:#333;}
|
||||
.content-block > p.agreement a{font-size:0.75rem;}
|
||||
.check{width:18px;height:18px;border:solid 1px #a8a8a8;border-radius:4px;display:inline-block;vertical-align:middle;position:relative;}
|
||||
.checkImg{width:10px;height:10px;position:absolute;top:3px;left:3px;}
|
||||
#input_codeImg,#input_codeSms{width:35%;}
|
||||
#input_feedback{width:100%;height:100px;}
|
||||
#loginWX_btn{background:#64ac22;}
|
||||
#loginWX_btn .icon{width:25px;height:25px;background:url(../images/icon-wx.png) no-repeat center center;background-size:100%;margin-right:0.5rem;}
|
||||
|
||||
.agreement{font-size:0.65rem;color:#666;margin-left:0.75rem;}
|
||||
.agreement a{font-size:0.65rem;}
|
||||
.check{width:18px;height:18px;border:solid 1px #D7D7D7;border-radius:0.05rem;display:inline-block;vertical-align:middle;margin-right:0.2rem;position:relative;}
|
||||
.checkImg{width:10px;height:7px;position:absolute;top:5px;left:3px;}
|
||||
.loginBox p{text-align:center;margin:0;}
|
||||
.loginBox p .button{margin-top:2rem;margin-bottom:0.5rem;}
|
||||
.loginBox p a{font-size:0.65rem;color:#AA907A;}
|
||||
.loginMode{width:100%;position:absolute;bottom:4.5rem;}
|
||||
.loginMode p{font-size:0.65rem;color:#999;text-align:center;}
|
||||
.loginMode p a:nth-child(2){margin:0 2rem;}
|
||||
.line{width:100%;height:1px;background:#e5e5e5;margin-bottom:1.5rem;position:relative;}
|
||||
.line span{position:absolute;top:-10px;left:50%;margin-left:-57.5px;display:block;background:#fff;padding:0 25px;font-size:0.65rem;color:#999;}
|
||||
/* 首页 */
|
||||
.totalValue{padding:1rem 0;overflow:hidden;}
|
||||
.totalValue div:first-child{float:left;margin-left:0.75rem;}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 498 B |
Binary file not shown.
|
After Width: | Height: | Size: 823 B |
Binary file not shown.
|
After Width: | Height: | Size: 1003 B |
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
@@ -11,7 +11,7 @@ function plusReady(){
|
||||
ws=plus.webview.currentWebview();
|
||||
// Android处理返回键
|
||||
plus.key.addEventListener('backbutton',function(){
|
||||
if (ws.id == 'yfindex.html') {
|
||||
/*if (ws.id == 'yfindex.html') {
|
||||
plus.nativeUI.confirm("确认退出",function(e) {
|
||||
if(e.index == 0) {
|
||||
plus.runtime.quit();
|
||||
@@ -19,8 +19,8 @@ function plusReady(){
|
||||
});
|
||||
} else {
|
||||
back();
|
||||
}
|
||||
|
||||
}*/
|
||||
back();
|
||||
},false);
|
||||
compatibleAdjust();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,107 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>设置密码</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
|
||||
<link rel="stylesheet" href="../../css/sm.css">
|
||||
<link rel="stylesheet" href="../../css/main.css">
|
||||
<link rel="stylesheet" href="../../css/theme-orange.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-group">
|
||||
<div class="page page-current">
|
||||
<header class="bar bar-nav">
|
||||
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<h1 class="title">设置密码</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
<div class="list-block media-list">
|
||||
<ul>
|
||||
<li>
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-title-row">
|
||||
<div class="item-title"><i class="icon icon-login01"></i></div>
|
||||
<div class="item-after">
|
||||
<input type="number" id="input_phoneNumber" class="textAlignLeft" placeholder="请输入手机号码" value="13675696776" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-title-row">
|
||||
<div class="item-title"><i class="icon icon-login03"></i></div>
|
||||
<div class="item-after">
|
||||
<input type="password" id="input_password" class="textAlignLeft" placeholder="请输入6位以上数字或字母">
|
||||
<i class="icon icon-eye-grey"></i>
|
||||
<i class="icon icon-eye-orange dn"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="content-block loginBox">
|
||||
<p><a href="05_mine01_index.html" class="button button-big button-fill theme" id="confirm_btn">确认</a></p>
|
||||
<p><a href="05_mine01_index.html">跳过</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="../../js/zepto.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* 关闭路由,以实现不同页面之间的相互跳转(仅开发环境需要) */
|
||||
Zepto = $
|
||||
$.config = {router: false}
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="../../js/light7.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="../../js/cn.js" charset="utf-8"></script>
|
||||
|
||||
<script>
|
||||
|
||||
/* 密码显示&隐藏 */
|
||||
$(".list-block .item-after .icon-eye-grey").on("click", function () {
|
||||
$(".list-block .item-after .icon-eye-grey").hide();
|
||||
$(".list-block .item-after .icon-eye-orange").show();
|
||||
$("#input_password").attr("type","text");
|
||||
});
|
||||
$(".list-block .item-after .icon-eye-orange").on("click", function () {
|
||||
$(".list-block .item-after .icon-eye-orange").hide();
|
||||
$(".list-block .item-after .icon-eye-grey").show();
|
||||
$("#input_password").attr("type","password");
|
||||
});
|
||||
|
||||
/* 错误提示-设置密码 */
|
||||
$("#confirm_btn").on("click", function () {
|
||||
var a = $("#input_password").val();
|
||||
if(a == ""){
|
||||
$.toast("请输入6位以上数字或字母");
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user