Commit f191e62d by 梁建民

多张图片

parent 4a17132e
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<div class="list clr" style="margin-bottom: 40px;"> <div class="list clr" style="margin-bottom: 40px;">
<div class="fl l"> <div class="fl l">
<div class="pic lineBlock va-m"> <div class="pic lineBlock va-m">
<img src="{{d.auth_img.split(',')[0]}}" alt="{{d.company_name}}" title="{{d.company_name}}"> <img src="{{d.auth_img[0]}}" alt="{{d.company_name}}" title="{{d.company_name}}">
</div> </div>
<div class="lineBlock va-m"> <div class="lineBlock va-m">
<p class="t1">{{d.company_name}}</p> <p class="t1">{{d.company_name}}</p>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
}); });
if (res.data.auth_img) { if (res.data.auth_img) {
CertificationController.imgUrl=res.data.auth_img.split(','); CertificationController.imgUrl=res.data.auth_img;
var getTpl = piclist.innerHTML; var getTpl = piclist.innerHTML;
layui.laytpl(getTpl).render(CertificationController.imgUrl, function (html) { layui.laytpl(getTpl).render(CertificationController.imgUrl, function (html) {
if (CertificationController.imgUrl.length < 6) { if (CertificationController.imgUrl.length < 6) {
...@@ -215,9 +215,8 @@ ...@@ -215,9 +215,8 @@
opt.isClick = true; opt.isClick = true;
var imgUrl = opt.imgUrl.join(',');
var params = $.extend({}, data.field, {token: opt.token, auth_img: imgUrl}); //新增参数 var params = $.extend({}, data.field, {token: opt.token, auth_img: JSON.stringify(opt.imgUrl)}); //新增参数
IcController.getData(apis.addAuth, 'GET', params, function (res) { IcController.getData(apis.addAuth, 'GET', params, function (res) {
......
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