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
9920d8c0
authored
Jul 16, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1111
parent
33f370e3
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
15 deletions
Application/Home/View/QuotePrice/inquiry.html
dist/css/chat.css
dist/css/chat.less
dist/js/chat/index.js
dist/js/quoteprice/inquiry.js
dist/js/quoteprice/inquirydetail.js
Application/Home/View/QuotePrice/inquiry.html
View file @
9920d8c0
...
@@ -141,8 +141,27 @@
...
@@ -141,8 +141,27 @@
{{
#
}
}}
{{
#
}
}}
{{
item
.
price
}}
{{
item
.
price
}}
<
/div
>
<
/div
>
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
贸易商
<
/span><spa
n
<
div
class
=
"company fl ellipsis boxsiz"
><
span
class
=
"mark"
>
class
=
"name"
>
{{
item
.
company_name
||
'--'
}}
<
/span></
div
>
{{
#
if
(
item
.
company_type
!==
""
){
}}
{{
#
if
(
item
.
company_type
==
1
){
}}
贸易商
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
2
){
}}
代理商
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
3
){
}}
原厂
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
4
){
}}
制造商
{{
#
}
}}
{{
#
if
(
item
.
company_type
==
5
){
}}
个人用户
{{
#
}
}}
{{
#
}
else
{
}}
--
{{
#
}
}}
<
/span><span class="name">{{item.company_name||'--'}}</
span
><
/div
>
<
div
class
=
"fr wx"
>
<
div
class
=
"fr wx"
>
<
span
class
=
"icon iconfont iconjuxing7"
><
/span
>
<
span
class
=
"icon iconfont iconjuxing7"
><
/span
>
<
/div
>
<
/div
>
...
...
dist/css/chat.css
View file @
9920d8c0
...
@@ -266,20 +266,20 @@
...
@@ -266,20 +266,20 @@
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc1
div
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc1
div
{
width
:
60
%
;
width
:
55
%
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc1
div
.hq
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc1
div
.hq
{
width
:
4
0
%
;
width
:
4
5
%
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
{
padding
:
0
;
padding
:
0
;
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
div
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
div
{
width
:
60
%
;
width
:
55
%
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
div
.time
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
.desc2
div
.time
{
width
:
4
0
%
;
width
:
4
5
%
;
}
}
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
div
{
.chat_content
.content
.content_div
.notice_right
.notice_list
.notice_item
.notice_content
.template
.template_right
.template_right_bottom
div
{
color
:
#ADB6BF
;
color
:
#ADB6BF
;
...
...
dist/css/chat.less
View file @
9920d8c0
...
@@ -327,10 +327,10 @@
...
@@ -327,10 +327,10 @@
margin-top: 15px;
margin-top: 15px;
div {
div {
width:
60
%;
width:
55
%;
&.hq {
&.hq {
width: 4
0
%;
width: 4
5
%;
}
}
}
}
}
}
...
@@ -340,10 +340,10 @@
...
@@ -340,10 +340,10 @@
margin-top: 15px;
margin-top: 15px;
div {
div {
width:
60
%;
width:
55
%;
&.time {
&.time {
width: 4
0
%;
width: 4
5
%;
}
}
}
}
}
}
...
...
dist/js/chat/index.js
View file @
9920d8c0
...
@@ -229,8 +229,8 @@ $(function () {
...
@@ -229,8 +229,8 @@ $(function () {
'<div class="hq fl">货期:<i>'
+
html
.
hq
+
'</i></div>'
+
'<div class="hq fl">货期:<i>'
+
html
.
hq
+
'</i></div>'
+
'</div>'
+
'</div>'
+
'<div class="desc2 clr">'
+
'<div class="desc2 clr">'
+
'<div class="num fl">数量:<i class="bold">'
+
html
.
num
+
'
PCS
</i></div>'
+
'<div class="num fl">数量:<i class="bold">'
+
html
.
num
+
'</i></div>'
+
'<div class="time fl">时间:<i>
2019-05-23 15:57
</i></div>'
+
'<div class="time fl">时间:<i>
'
+
html
.
time
+
'
</i></div>'
+
'</div>'
+
'</div>'
+
'</div>'
+
'</div>'
+
'</div>'
+
'</div>'
+
...
...
dist/js/quoteprice/inquiry.js
View file @
9920d8c0
...
@@ -46,7 +46,7 @@ $(function () {
...
@@ -46,7 +46,7 @@ $(function () {
count
:
res
.
total
,
count
:
res
.
total
,
limit
:
7
,
limit
:
7
,
curr
:
page
,
curr
:
page
,
layout
:
[
'prev'
,
'page'
,
'next'
,
'refresh'
],
layout
:
[
'prev'
,
'page'
,
'next'
,
'refresh'
],
jump
:
function
(
obj
,
first
)
{
jump
:
function
(
obj
,
first
)
{
if
(
!
first
)
{
if
(
!
first
)
{
//分页回调调用
//分页回调调用
...
@@ -167,7 +167,7 @@ $(function () {
...
@@ -167,7 +167,7 @@ $(function () {
if
(
$
(
this
).
hasClass
(
'disabled'
))
{
if
(
$
(
this
).
hasClass
(
'disabled'
))
{
return
return
}
else
{
}
else
{
self
.
sxj
(
userId
,
1
)
self
.
sxj
(
userId
,
1
)
}
}
});
});
...
@@ -178,10 +178,14 @@ $(function () {
...
@@ -178,10 +178,14 @@ $(function () {
if
(
$
(
this
).
hasClass
(
'disabled'
))
{
if
(
$
(
this
).
hasClass
(
'disabled'
))
{
return
return
}
else
{
}
else
{
self
.
sxj
(
userId
,
2
)
self
.
sxj
(
userId
,
2
)
}
}
});
});
$
(
'.inquiry_data'
).
on
(
'click'
,
'.more_btn'
,
function
()
{
var
userid
=
$
(
this
).
parents
(
'.data_item'
).
attr
(
'userid'
);
window
.
location
.
href
=
"/inquirydetail?id="
+
userid
})
}
}
};
};
inquiry
.
init
()
inquiry
.
init
()
...
...
dist/js/quoteprice/inquirydetail.js
View file @
9920d8c0
...
@@ -84,6 +84,7 @@ $(function () {
...
@@ -84,6 +84,7 @@ $(function () {
fz
=
parent
.
find
(
'.fz'
).
find
(
'span'
).
text
(),
fz
=
parent
.
find
(
'.fz'
).
find
(
'span'
).
text
(),
num
=
parent
.
find
(
'.num'
).
find
(
'span'
).
text
(),
num
=
parent
.
find
(
'.num'
).
find
(
'span'
).
text
(),
hq
=
parent
.
find
(
'.hq'
).
find
(
'span'
).
text
(),
hq
=
parent
.
find
(
'.hq'
).
find
(
'span'
).
text
(),
time
=
parent
.
find
(
'.time'
).
find
(
'span'
).
text
(),
obj
=
{
obj
=
{
userId
:
userId
,
userId
:
userId
,
type
:
type
,
type
:
type
,
...
@@ -92,6 +93,7 @@ $(function () {
...
@@ -92,6 +93,7 @@ $(function () {
fz
:
fz
,
fz
:
fz
,
num
:
num
,
num
:
num
,
hq
:
hq
,
hq
:
hq
,
time
:
time
};
};
Util
.
setCookie
(
'template'
,
JSON
.
stringify
(
obj
),
1
,
cookieHostname
)
Util
.
setCookie
(
'template'
,
JSON
.
stringify
(
obj
),
1
,
cookieHostname
)
window
.
location
.
href
=
'/chat'
window
.
location
.
href
=
'/chat'
...
...
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