Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f191e62d
authored
Nov 21, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
多张图片
parent
4a17132e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
Application/Home/View/Certification/index.html
dist/js/certification/index.js
Application/Home/View/Certification/index.html
View file @
f191e62d
...
@@ -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
>
...
...
dist/js/certification/index.js
View file @
f191e62d
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment