Commit 2800a3f8 by 梁建民

text

parent 3fb1134d
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</div> </div>
<div class="gb"> <div class="gb">
<span class="icon iconfont iconjuxing19 va-m"></span> <span class="icon iconfont iconjuxing19 va-m"></span>
<span>如实填写认证信息,不符合的认证将被拒绝</span> <span>按要求提交真实认证信息,否则将审核不通过</span>
</div> </div>
<div class="certis certification-show clr" style="display: none"></div> <div class="certis certification-show clr" style="display: none"></div>
<div class="certisno form_content clr layui-form" style="display: none;" lay-filter="editauth"> <div class="certisno form_content clr layui-form" style="display: none;" lay-filter="editauth">
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="xh input_div "> <div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span> <span class="input_title lineBlock">个人名称:</span>
<div class="input_parent"> <div class="input_parent">
<input type="text" placeholder="请输入个人名称" class="input boxsiz" <input type="text" placeholder="请输入姓名或昵称" class="input boxsiz"
name="company_name"> name="company_name">
</div> </div>
</div> </div>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<i class="icon iconfont iconjuxing18 deleteicon"></i> <i class="icon iconfont iconjuxing18 deleteicon"></i>
</div> </div>
</div> </div>
<p style="width: 197px;text-align: left;">*请上传名片/工作,任意材料, 证明您的身份信息</p> <p id="tsv" style="width: 197px;text-align: left;">*请上传身份证、驾驶证、工牌、名片等扫描图片或照片,所提交资料越详尽,审核通过越快(单张图片大小不超过2M)</p>
</div> </div>
</div> </div>
</div> </div>
...@@ -108,14 +108,14 @@ ...@@ -108,14 +108,14 @@
<div class="xh input_div "> <div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span> <span class="input_title lineBlock">个人名称:</span>
<div class="input_parent"> <div class="input_parent">
<input type="text" placeholder="请输入个人名称" class="input boxsiz" name="company_name"> <input type="text" placeholder="请输入姓名或昵称" class="input boxsiz" name="company_name">
</div> </div>
</div> </div>
{{# } else { }} {{# } else { }}
<div class="hq input_div "> <div class="hq input_div ">
<span class="input_title lineBlock">经营性质:</span> <span class="input_title lineBlock">经营性质:</span>
<div class="input_parent"> <div class="input_parent">
<input type="radio" name="company_type" value="1" title="贸易商" checked /> <input type="radio" name="company_type" value="1" title="经销商" checked />
<input type="radio" name="company_type" value="2" title="代理商" /> <input type="radio" name="company_type" value="2" title="代理商" />
<input type="radio" name="company_type" value="3" title="原厂" /> <input type="radio" name="company_type" value="3" title="原厂" />
<input type="radio" name="company_type" value="4" title="制造商" /> <input type="radio" name="company_type" value="4" title="制造商" />
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<div class="xh input_div "> <div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span> <span class="input_title lineBlock">个人名称:</span>
<div class="input_parent"> <div class="input_parent">
<input type="text" placeholder="请输入公司名称" class="input boxsiz" name="company_name"> <input type="text" placeholder="请输入营业执照上完整的公司名称" class="input boxsiz" name="company_name">
</div> </div>
</div> </div>
{{# } }} {{# } }}
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</div> </div>
</div> </div>
<div class="num input_div "> <div class="num input_div ">
<span class="input_title lineBlock">*数量:</span> <span class="input_title lineBlock">*供应数量:</span>
<div class="input_parent"> <div class="input_parent">
<input type="text" name="number" placeholder="请输入实际供应数量" class="input boxsiz" <input type="text" name="number" placeholder="请输入实际供应数量" class="input boxsiz"
lay-verify="required|number|limitStock"> lay-verify="required|number|limitStock">
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<input type="radio" name="delivery_time" lay-filter="delivery" value="期货" title="期货" checked <input type="radio" name="delivery_time" lay-filter="delivery" value="期货" title="期货" checked
id="daytext"> id="daytext">
<div class="lineBlock" id="day"> <div class="lineBlock" id="day">
<input type="text" placeholder="输入时间" class="boxsiz day_input input" <input type="text" placeholder="输入数字或范围" class="boxsiz day_input input"
lay-verify="required" name="day"> lay-verify="required" name="day">
<i class="day"></i> <i class="day"></i>
</div> </div>
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</script> </script>
<script type="text/html" id="deliveryHtml"> <script type="text/html" id="deliveryHtml">
{{# if (d=='期货') { }} {{# if (d=='期货') { }}
<input type="text" placeholder="输入时间" class="boxsiz day_input input" lay-verify="required" name="day"> <input type="text" placeholder="输入数字或范围" class="boxsiz day_input input" lay-verify="required" name="day">
<i class="day"></i> <i class="day"></i>
{{# } }} {{# } }}
</script> </script>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<input type="radio" name="delivery_time" lay-filter="delivery" value="现货" title="现货"/> <input type="radio" name="delivery_time" lay-filter="delivery" value="现货" title="现货"/>
<input type="radio" name="delivery_time" lay-filter="delivery" value="期货" title="期货" checked id="daytext"/> <input type="radio" name="delivery_time" lay-filter="delivery" value="期货" title="期货" checked id="daytext"/>
<div class="lineBlock" id="day"> <div class="lineBlock" id="day">
<input type="text" placeholder="输入时间" class="boxsiz day_input input" lay-verify="required" name="day" /> <input type="text" placeholder="输入数字或范围" class="boxsiz day_input input" lay-verify="required" name="day" />
<i class="day"></i> <i class="day"></i>
</div> </div>
</div> </div>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
<script src="__PUBLIC__/js/quoteprice/releaseinquiry.js"></script> <script src="__PUBLIC__/js/quoteprice/releaseinquiry.js"></script>
<script type="text/html" id="deliveryHtml"> <script type="text/html" id="deliveryHtml">
{{# if (d=='期货') { }} {{# if (d=='期货') { }}
<input type="text" placeholder="输入时间" class="boxsiz day_input input" lay-verify="required" name="day"> <input type="text" placeholder="输入数字或范围" class="boxsiz day_input input" lay-verify="required" name="day">
<i class="day"></i> <i class="day"></i>
{{# } }} {{# } }}
</script> </script>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div class="top_section"> <div class="top_section">
<div class="search_section"> <div class="search_section">
<div class="width_1190"> <div class="width_1190">
<h3 class="bold">专注芯片交易,让交易更简单</h3> <h3 class="bold">专注芯片交易,让元器件交易更简单</h3>
<p> 输入型号,搜一下</p> <p> 输入型号,搜一下</p>
<div class="search_div clr"> <div class="search_div clr">
<div class="input_div fl"> <div class="input_div fl">
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class="top"> <div class="top">
<i class="logo"></i> <i class="logo"></i>
<p class="t1">芯掌柜</p> <p class="t1">芯掌柜</p>
<p class="t2">询报价更轻松、便捷</p> <p class="t2">元器件询报价更便捷</p>
</div> </div>
<!--微信绑定--> <!--微信绑定-->
<div class="wechat" style="display: none"> <div class="wechat" style="display: none">
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
$('#fileLoad').hide(); $('#fileLoad').hide();
$('.sc_div').hide(); $('.sc_div').hide();
$('.upload_result').show(); $('.upload_result').show();
$('.upload_result img').attr('src',res.data.auth_img) $('.upload_result img').attr('src', res.data.auth_img)
} }
layui.form.render(); layui.form.render();
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
}, },
mounted: function (opt) { mounted: function (opt) {
return this; return this;
}, },
uploadFun: function () { uploadFun: function () {
...@@ -123,7 +122,8 @@ ...@@ -123,7 +122,8 @@
iframe.attachEvent("onload", opt.iframeOnload); iframe.attachEvent("onload", opt.iframeOnload);
} else { } else {
iframe.onload = opt.iframeOnload; iframe.onload = opt.iframeOnload;
}; }
;
opt.formSubmit(); opt.formSubmit();
$('#mineFiles').on('change', function () { $('#mineFiles').on('change', function () {
layer.load(1, { layer.load(1, {
...@@ -183,6 +183,14 @@ ...@@ -183,6 +183,14 @@
//认证类型 //认证类型
layui.form.on('radio(auth_type)', function (data) { layui.form.on('radio(auth_type)', function (data) {
var value = data.value;
if (value == 1) {
$("#tsv").text('*请上传身份证、驾驶证、工牌、名片等扫描图片或照片,所提交资料越详尽,审核通过越快(单张图片大小不超过2M)');
} else if (value == 2) {
$("#tsv").text('*请上传企业营业执照、商用租赁合同、相关证明资料等扫描图片或照片,所提交资料越详尽,审核通过越快(单张图片大小不超过2M)');
}
var getTpl = certtHtml.innerHTML; var getTpl = certtHtml.innerHTML;
layui.laytpl(getTpl).render(data.value, function (html) { layui.laytpl(getTpl).render(data.value, function (html) {
...@@ -204,7 +212,7 @@ ...@@ -204,7 +212,7 @@
opt.isClick = true; opt.isClick = true;
var params = $.extend({}, data.field, {token: opt.token,auth_img:opt.imgUrl}); //新增参数 var params = $.extend({}, data.field, {token: opt.token, auth_img: opt.imgUrl}); //新增参数
IcController.getData(apis.addAuth, 'GET', params, function (res) { IcController.getData(apis.addAuth, 'GET', params, function (res) {
...@@ -229,6 +237,7 @@ ...@@ -229,6 +237,7 @@
} }
}); });
//更新认证信息按钮 //更新认证信息按钮
$(document).on('click', '.edit_info', function (e) { $(document).on('click', '.edit_info', function (e) {
...@@ -238,6 +247,7 @@ ...@@ -238,6 +247,7 @@
}); });
$('.certification_content').on('click', '.deleteicon', function () { $('.certification_content').on('click', '.deleteicon', function () {
if (navigator.appName == "Microsoft Internet Explorer" && (navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE8.0" || navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE9.0")) { if (navigator.appName == "Microsoft Internet Explorer" && (navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE8.0" || navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE9.0")) {
...@@ -253,7 +263,6 @@ ...@@ -253,7 +263,6 @@
}) })
return this; return this;
}, },
}, $(function () { }, $(function () {
......
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