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
2800a3f8
authored
Oct 22, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
text
parent
3fb1134d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
18 deletions
Application/Home/View/Certification/index.html
Application/Home/View/QuotePrice/quotedetail.html
Application/Home/View/QuotePrice/releaseinquiry.html
Application/Index/View/Index/index.html
Application/Passport/View/Login/index.html
dist/js/certification/index.js
Application/Home/View/Certification/index.html
View file @
2800a3f8
...
...
@@ -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
>
{{
#
}
}}
...
...
Application/Home/View/QuotePrice/quotedetail.html
View file @
2800a3f8
...
...
@@ -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>
...
...
Application/Home/View/QuotePrice/releaseinquiry.html
View file @
2800a3f8
...
...
@@ -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>
...
...
Application/Index/View/Index/index.html
View file @
2800a3f8
...
...
@@ -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"
>
...
...
Application/Passport/View/Login/index.html
View file @
2800a3f8
...
...
@@ -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"
>
...
...
dist/js/certification/index.js
View file @
2800a3f8
...
...
@@ -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
()
{
...
...
@@ -123,7 +122,8 @@
iframe
.
attachEvent
(
"onload"
,
opt
.
iframeOnload
);
}
else
{
iframe
.
onload
=
opt
.
iframeOnload
;
};
}
;
opt
.
formSubmit
();
$
(
'#mineFiles'
).
on
(
'change'
,
function
()
{
layer
.
load
(
1
,
{
...
...
@@ -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,6 +247,7 @@
});
$
(
'.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"
))
{
...
...
@@ -253,7 +263,6 @@
})
return
this
;
},
},
$
(
function
()
{
...
...
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