Commit 2800a3f8 by 梁建民

text

parent 3fb1134d
......@@ -21,7 +21,7 @@
</div>
<div class="gb">
<span class="icon iconfont iconjuxing19 va-m"></span>
<span>如实填写认证信息,不符合的认证将被拒绝</span>
<span>按要求提交真实认证信息,否则将审核不通过</span>
</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">
......@@ -45,7 +45,7 @@
<div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span>
<div class="input_parent">
<input type="text" placeholder="请输入个人名称" class="input boxsiz"
<input type="text" placeholder="请输入姓名或昵称" class="input boxsiz"
name="company_name">
</div>
</div>
......@@ -87,7 +87,7 @@
<i class="icon iconfont iconjuxing18 deleteicon"></i>
</div>
</div>
<p style="width: 197px;text-align: left;">*请上传名片/工作,任意材料, 证明您的身份信息</p>
<p id="tsv" style="width: 197px;text-align: left;">*请上传身份证、驾驶证、工牌、名片等扫描图片或照片,所提交资料越详尽,审核通过越快(单张图片大小不超过2M)</p>
</div>
</div>
</div>
......@@ -108,14 +108,14 @@
<div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span>
<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>
{{# } else { }}
<div class="hq input_div ">
<span class="input_title lineBlock">经营性质:</span>
<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="3" title="原厂" />
<input type="radio" name="company_type" value="4" title="制造商" />
......@@ -124,7 +124,7 @@
<div class="xh input_div ">
<span class="input_title lineBlock">个人名称:</span>
<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>
{{# } }}
......
......@@ -59,7 +59,7 @@
</div>
</div>
<div class="num input_div ">
<span class="input_title lineBlock">*数量:</span>
<span class="input_title lineBlock">*供应数量:</span>
<div class="input_parent">
<input type="text" name="number" placeholder="请输入实际供应数量" class="input boxsiz"
lay-verify="required|number|limitStock">
......@@ -85,7 +85,7 @@
<input type="radio" name="delivery_time" lay-filter="delivery" value="期货" title="期货" checked
id="daytext">
<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">
<i class="day"></i>
</div>
......@@ -235,7 +235,7 @@
</script>
<script type="text/html" id="deliveryHtml">
{{# 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>
{{# } }}
</script>
......
......@@ -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="期货" checked id="daytext"/>
<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>
</div>
</div>
......@@ -132,7 +132,7 @@
<script src="__PUBLIC__/js/quoteprice/releaseinquiry.js"></script>
<script type="text/html" id="deliveryHtml">
{{# 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>
{{# } }}
</script>
......
......@@ -22,7 +22,7 @@
<div class="top_section">
<div class="search_section">
<div class="width_1190">
<h3 class="bold">专注芯片交易,让交易更简单</h3>
<h3 class="bold">专注芯片交易,让元器件交易更简单</h3>
<p> 输入型号,搜一下</p>
<div class="search_div clr">
<div class="input_div fl">
......
......@@ -13,7 +13,7 @@
<div class="top">
<i class="logo"></i>
<p class="t1">芯掌柜</p>
<p class="t2">询报价更轻松、便捷</p>
<p class="t2">元器件询报价更便捷</p>
</div>
<!--微信绑定-->
<div class="wechat" style="display: none">
......
......@@ -32,7 +32,7 @@
$('#fileLoad').hide();
$('.sc_div').hide();
$('.upload_result').show();
$('.upload_result img').attr('src',res.data.auth_img)
$('.upload_result img').attr('src', res.data.auth_img)
}
layui.form.render();
......@@ -73,7 +73,6 @@
},
mounted: function (opt) {
return this;
},
uploadFun: function () {
......@@ -84,8 +83,8 @@
data: {
token: Util.getCookie('token'),
source: 2,
},
field: "upload",
before: function () {
......@@ -108,10 +107,10 @@
err: function () {
layer.closeAll('loading');
layer.msg('上传失败');
}
});
},
isIe: function (opt) {
if (navigator.appName == "Microsoft Internet Explorer" && (navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE8.0" || navigator.appVersion.split(";")[1].replace(/[ ]/g, "") == "MSIE9.0")) {
......@@ -123,7 +122,8 @@
iframe.attachEvent("onload", opt.iframeOnload);
} else {
iframe.onload = opt.iframeOnload;
};
}
;
opt.formSubmit();
$('#mineFiles').on('change', function () {
layer.load(1, {
......@@ -163,7 +163,7 @@
console.log(e)
layer.closeAll('loading');
layer.msg('上传失败');
}
if (json) {
layer.closeAll('loading');
......@@ -174,7 +174,7 @@
CertificationController.imgUrl = json.data[0] || '';
} else {
layer.msg(json.errmsg)
}
}
},
......@@ -183,6 +183,14 @@
//认证类型
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;
layui.laytpl(getTpl).render(data.value, function (html) {
......@@ -204,7 +212,7 @@
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) {
......@@ -229,6 +237,7 @@
}
});
//更新认证信息按钮
$(document).on('click', '.edit_info', function (e) {
......@@ -238,8 +247,9 @@
});
$('.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")) {
//ie版本
$('#fileLoad').show();
......@@ -250,10 +260,9 @@
$('.upload_result').hide();
$('.upload_result img').attr('src', '');
opt.imgUrl = "";
})
return this;
},
}, $(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