Commit a5001727 by 梁建民

css

parent 9db21323
......@@ -200,7 +200,7 @@
</div>
</div>
<div class="btn_div">
<div class="btn">登录,查看更多结果</div>
<a class="btn" href="passporticsales/login">登录,查看更多结果</a>
</div>
<div class="no_data" style="display: none">
......@@ -213,11 +213,6 @@
<include file="public/indexfoot" />
</div>
<include file="public/foot" />
<script>
$('.btn_div .btn').click(function () {
window.location.href = '/login'
})
</script>
</body>
......
......@@ -68,7 +68,7 @@
<a href="javascript:;" class="fl l">密码登录</a>
<p class="fr r">
<span>还没账户?</span>
<a href="javascript:;">免费注册</a>
<a href="passporticsales/register">免费注册</a>
</p>
</div>
</div>
......@@ -102,7 +102,7 @@
<a href="javascript:;" class="fl l">密码登录</a>
<p class="fr r">
<span>还没账户?</span>
<a href="javascript:;">免费注册</a>
<a href="passporticsales/register">免费注册</a>
</p>
</div>
</div>
......@@ -112,6 +112,8 @@
<b class="lineBlock emptys"></b>
<include file="public/foot"/>
<script src="__PUBLIC__/js/person/login.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -10,7 +10,7 @@
<div class="person-bar lineBlock va-m">
<div class="person">
<div class="wrap">
<div class="register layui-form" style="display: none">
<div class="register layui-form">
<p class="tit">
<em class="va-m lineBlock"></em>
<span class="va-m">注册账户</span>
......@@ -30,17 +30,22 @@
<input type="text" class="w w1 va-m" placeholder="请输入密码">
<i class="iconfont iconjuxing27 va-m lineBlock"></i>
</div>
<div class="input-wrap" id="verifiCode" style="display: none">
<i class="iconfont iconjuxing26 va-m"></i>
<input type="text" class="w w1 va-m" placeholder="请输入验证码">
<img src="" alt="" width="100" height="30" class="lineBlock va-m codepic">
</div>
<div class="input-wrap">
<i class="iconfont iconjuxing26 va-m"></i>
<input type="text" class="w w1 va-m" placeholder="请输入手机号">
<span class="lineBlock text va-m">发送验证码</span>
<input type="button" name="code" class="lineBlock text va-m" value="发送验证码" data-type="0"/>
</div>
<div class="btn-wrap">
<a href="javascript:;" class="btn">注册</a>
</div>
<p class="agree">点击注册即默认同意<a>《IC业务助手协议》</a></p>
</div>
<div class="success">
<div class="success" style="display: none">
<a href="javascript:;" class="text">暂不认证,跳过</a>
<i class="ico"></i>
<p class="t1">恭喜您,注册成功</p>
......@@ -53,6 +58,8 @@
<b class="lineBlock emptys"></b>
<include file="public/foot"/>
<script src="__PUBLIC__/js/person/register.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -11,11 +11,11 @@
<![endif]-->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/layui/css/layui.css">
<script>
var auth = 'authapi',
so = 'soapi',
user = 'userapi',
goods = 'goodsapi',
inquiry = 'inquiryapi',
var auth_url = 'authapi',
so_url = 'soapi',
user_url = 'userapi',
goods_url = 'goodsapi',
inquiry_url = 'inquiryapi',
dist = '__PUBLIC__';
</script>
......
......@@ -111,6 +111,12 @@
margin: 0 auto;
padding: 40px 0;
}
.search_wrapper .content .width_1190 .search_data_list .btn_div .btn {
display: block;
}
.search_wrapper .content .width_1190 .search_data_list .btn_div .btn:hover {
color: #fff;
}
.search_wrapper .content .width_1190 .no_data {
padding: 60px 0 203px;
}
......
{"version":3,"sources":["indexsearch.less"],"names":[],"mappings":"AAAA;EACI,yBAAA;;AADJ,eAGI,SACI,YACI;EACI,YAAA;EACA,cAAA;EACA,iBAAA;;AARhB,eAGI,SACI,YACI,gBAKI;EACI,YAAA;EACA,sBAAA;EACA,qDAAA;EACA,YAAA;;AAdpB,eAGI,SACI,YACI,gBAKI,YAMI;EACI,YAAA;EACA,YAAA;EACA,8BAAA;EACA,kBAAA;EACA,sBAAA;;AArBxB,eAGI,SACI,YACI,gBAKI,YAMI,WAOI;EACI,eAAA;EACA,kBAAA;EACA,QAAA;EACA,cAAA;EACA,UAAA;;AA5B5B,eAGI,SACI,YACI,gBAKI,YAMI,WAeI;EACI,YAAA;EACA,WAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;;AApC5B,eAGI,SACI,YACI,gBAKI,YA+BI;EACI,YAAA;EACA,8BAAA;;AA3CxB,eAGI,SACI,YA4CI;EACI,eAAA;;AAjDhB,eAGI,SACI,YA4CI,WAGI;EACI,cAAA;;AApDpB,eAGI,SACI,YAoDI;EACI,kBAAA;EACA,sBAAA;;AA1DhB,eAGI,SACI,YAoDI,kBAII;EACI,gCAAA;EACA,mBAAA;;AA9DpB,eAGI,SACI,YAoDI,kBAII,YAII;EACI,gBAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;;AAEA,eAnEpB,SACI,YAoDI,kBAII,YAII,GAMK;EACG,cAAA;EACA,gBAAA;;AAGJ,eAxEpB,SACI,YAoDI,kBAII,YAII,GAWK;EACG,iBAAA;;AA5E5B,eAGI,SACI,YAoDI,kBAyBI;EACI,eAAA;EACA,cAAA;EACA,kBAAA;EACA,gBAAA;;AArFpB,eAGI,SACI,YAoDI,kBAyBI,mBAMI;EACI,cAAA;EACA,kBAAA;EACA,MAAA;EACA,OAAA;EACA,SAAA;;AA5FxB,eAGI,SACI,YAoDI,kBAyBI,mBAeI;EACI,iBAAA;;AAjGxB,eAGI,SACI,YAoDI,kBAyBI,mBAeI,yBAGI;EACI,gBAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;;AAEA,eAtGxB,SACI,YAoDI,kBAyBI,mBAeI,yBAGI,IAMK;EACG,yBAAA;EACA,WAAA;EACA,kBAAA;;AAGJ,eA5GxB,SACI,YAoDI,kBAyBI,mBAeI,yBAGI,IAYK;EACG,cAAA;;AAhHhC,eAGI,SACI,YAmHI;EACI,aAAA;EACA,cAAA;;AAzHhB,eAGI,SACI,YAmHI,kBAGI;EACI,UAAA;;AA3HpB,eAGI,SACI,YAmHI,kBAGI,YAEI;EACI,yBAAA;EACA,6BAAA;EACA,cAAA;;AA/HxB,eAGI,SACI,YAmHI,kBAYI;EACI,YAAA;EACA,cAAA;EACA,eAAA;;AAtIpB,eAGI,SACI,YAuII;EACI,qBAAA","file":"indexsearch.css"}
\ No newline at end of file
{"version":3,"sources":["indexsearch.less"],"names":[],"mappings":"AAAA;EACI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A,eAtGxB,SACI,YAoDI,kBAyBI,mBAeI,yBAGI,IAMK;EACG,yBAAA;EACA,WAAA;EACA,kBAAA;;AAGJ,eA5GxB,SACI,YAoDI,kBAyBI,mBAeI,yBAGI,IAYK;EACG,cAAA;;AAhHhC,eAGI,SACI,YAmHI;EACI,aAAA;EACA,cAAA;;AAzHhB,eAGI,SACI,YAmHI,kBAGI;EACI,UAAA;;AA3HpB,eAGI,SACI,YAmHI,kBAGI,YAEI;EACI,yBAAA;EACA,6BAAA;EACA,cAAA;;AA/HxB,eAGI,SACI,YAmHI,kBAYI;EACI,YAAA;EACA,cAAA;EACA,eAAA;;AAtIpB,eAGI,SACI,YAmHI,kBAYI,SAII;EACI,cAAA;;AACA,eAtIpB,SACI,YAmHI,kBAYI,SAII,KAEK;EACG,WAAA;;AA1I5B,eAGI,SACI,YA6II;EACI,qBAAA","file":"indexsearch.css"}
\ No newline at end of file
......@@ -133,6 +133,12 @@
width: 220px;
margin: 0 auto;
padding: 40px 0;
.btn{
display: block;
&:hover{
color: #fff;
}
}
}
}
......
......@@ -337,6 +337,7 @@ body {
width: 112px;
text-align: left;
padding-left: 55px;
cursor: pointer;
}
.person .wrap .register .input-wrap {
height: 48px;
......@@ -377,11 +378,15 @@ body {
color: #515559 !important;
border: none !important;
}
.person .wrap .register .input-wrap .codepic {
cursor: pointer;
}
.person .wrap .register .input-wrap .text {
width: 100px;
font-size: 16px;
color: #0d84d1;
text-align: center;
background: none;
}
.person .wrap .register .btn-wrap {
margin-top: 30px;
......
......@@ -401,6 +401,7 @@ body {
width: 112px;
text-align: left;
padding-left: 55px;
cursor: pointer;
}
.input-wrap {
......@@ -446,11 +447,16 @@ body {
}
}
.codepic{
cursor: pointer;
}
.text {
width: 100px;
font-size: 16px;
color: #0d84d1;
text-align: center;
background: none;
}
}
......
......@@ -18,25 +18,33 @@
(function (window) {
apis = {
/**
* 获取图形验证码接口
*/
captchaInfo: auth_url + '/captchaInfo',
/**
* 注册获取短信验证码接口
*/
getRegistCode: auth_url + '/v1/getRegistCode',
/**
* 商品列表
*/
goodsInfo: goods + '/goods/info',
goodsInfo: goods_url + '/goods/info',
/**
* 商品搜索
*/
goodsSearch: goods + '/goods/search',
goodsSearch: goods_url + '/goods/search',
/**
* 商品数量
*/
goodsCount: goods + '/goods/count',
goodsCount: goods_url + '/goods/count',
/**
* 商品新增
*/
goodsAdd: goods + '/goods/add',
goodsAdd: goods_url + '/goods/add',
/**
* 商品修改
*/
goodsSave: goods + '/goods/save'
goodsSave: goods_url + '/goods/save'
};
if (typeof define === "function" && define.amd) {
......
!function () {
window.LoginController = {
init: function () {
this.created(this).mounted(this).handleBind(this);
},
created: function (opt) {
return this;
},
mounted: function (opt) {
return this;
},
handleBind: function (opt) {
return this;
},
}, $(function () {
LoginController.init();
})
}();
\ No newline at end of file
!function () {
window.RegisterController = {
init: function () {
this.created(this).mounted(this).handleBind(this);
},
created: function (opt) {
return this;
},
mounted: function (opt) {
return this;
},
handleBind: function (opt) {
//发送验证码
$(document).on('click', 'input[name="code"]', function () {
//判断是否输入验证码
var captchaInfo = $(this).attr('data-type');
captchaInfo == 0 ? $(this).attr('data-type', 1) : '';
IcController.getData(apis.captchaInfo,'GET',null,function (res) {
console.log(res)
})
});
return this;
},
}, $(function () {
RegisterController.init();
})
}();
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment