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
f82041c9
authored
Jul 24, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
11
parent
3ec8a6e3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
Application/Home/View/GoodManage/gooddetail.html
dist/js/chat/index.js
dist/js/goodmanage/gooddetail.js
dist/js/quoteprice/inquirydetail.js
Application/Home/View/GoodManage/gooddetail.html
View file @
f82041c9
...
...
@@ -85,7 +85,7 @@
报价:
<
span
class
=
"bold"
>
21
次
<
/span
>
<
/div> --
>
<
/div
>
<
div
class
=
"gt_div fl btn btn_yellow"
imid
=
"{{d.im_username}}"
>
<
div
class
=
"gt_div fl btn btn_yellow"
imid
=
"{{d.im_username}}"
userid
=
"{{d.user_id}}"
avatar
=
"{{d.avatar}}"
>
<
span
class
=
"icon iconfont iconjuxing7 va-m"
><
/span
>
在线沟通
<
/div
>
...
...
dist/js/chat/index.js
View file @
f82041c9
...
...
@@ -493,7 +493,7 @@ $(function () {
onError
:
function
(
message
)
{
// console.log('Error', WebIM.utils.stringify(message));
console
.
log
(
'onError: '
,
message
);
layer
.
msg
(
'聊天系统出错'
);
//
layer.msg('聊天系统出错');
},
//失败回调;
});
},
...
...
dist/js/goodmanage/gooddetail.js
View file @
f82041c9
...
...
@@ -65,6 +65,8 @@ $(function () {
if
(
self
.
isClick
)
{
self
.
isClick
=
false
;
var
userId
=
$
(
this
).
attr
(
'imid'
),
id
=
$
(
this
).
attr
(
'userid'
),
userImg
=
$
(
this
).
attr
(
'avatar'
),
parent
=
$
(
'.goods_detail'
),
type
=
parent
.
find
(
'.goods_name'
).
text
(),
price
=
parent
.
find
(
'.price'
).
text
(),
...
...
@@ -73,7 +75,8 @@ $(function () {
num
=
parent
.
find
(
'.num'
).
find
(
'span'
).
text
(),
hq
=
parent
.
find
(
'.hq'
).
find
(
'span'
).
text
(),
time
=
parent
.
find
(
'.time'
).
find
(
'span'
).
text
(),
img
=
$
(
'.sp_img'
).
attr
(
'src'
)
img
=
$
(
'.sp_img'
).
attr
(
'src'
),
name
=
$
(
'.bj_item'
).
find
(
'.name'
).
text
(),
obj
=
{
userId
:
userId
,
type
:
type
,
...
...
@@ -83,8 +86,12 @@ $(function () {
num
:
num
,
hq
:
hq
,
time
:
time
,
image
:
img
goodImage
:
img
,
userName
:
name
,
targetId
:
id
,
userImg
:
userImg
};
Util
.
setCookie
(
'templateBoolean'
,
'1'
,
1
,
cookieHostname
)
Util
.
setCookie
(
'template'
,
JSON
.
stringify
(
obj
),
1
,
cookieHostname
)
window
.
location
.
href
=
'/chat'
}
else
{
...
...
dist/js/quoteprice/inquirydetail.js
View file @
f82041c9
...
...
@@ -91,7 +91,7 @@ $(function () {
hq
=
parent
.
find
(
'.hq'
).
find
(
'span'
).
text
(),
time
=
parent
.
find
(
'.time'
).
find
(
'span'
).
text
(),
img
=
$
(
'.xj_img'
).
attr
(
'src'
),
name
=
parent
.
find
(
'.name'
).
text
()
;
name
=
parent
.
find
(
'.name'
).
text
()
,
obj
=
{
userId
:
userId
,
...
...
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