Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
379889c2
Commit
379889c2
authored
Nov 01, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改消息下拉功能2'
parent
ea26cdcd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
cardDetailForShare.js
medtap_bbs_lung/javaScript/cardDetailForShare.js
+10
-2
freeChat.js
wechat_lung_chat/javaScript/freeChat.js
+4
-3
No files found.
medtap_bbs_lung/javaScript/cardDetailForShare.js
View file @
379889c2
...
...
@@ -66,10 +66,18 @@ define(['zepto', 'medtap','../javaScript/beforeSubmitForLung.js'], function($, m
})
// 点击加入社区
$
(
'.join_now'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
if
(
chat
.
userId
){
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
}
else
{
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
}
})
$
(
'.top_tip_blue'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
if
(
chat
.
userId
){
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
}
else
{
window
.
location
.
href
=
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
card
.
wechatId
}
})
},
getToken
:
function
(){
...
...
wechat_lung_chat/javaScript/freeChat.js
View file @
379889c2
...
...
@@ -43,9 +43,10 @@ define([ 'zepto', 'medtap','mui'], function($, medtap,mui) {
chat
.
talkRelation
();
chat
.
getWechatTicket
();
chat
.
getAttention
();
document
.
body
.
addEventListener
(
'touchmove'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
document
.
querySelector
(
'body'
).
addEventListener
(
'touchmove'
,
function
(
e
)
{
if
(
!
document
.
querySelector
(
'.chat_list'
).
contains
(
e
.
target
))
{
e
.
preventDefault
();
}
},
{
passive
:
false
});
//1.获取到列表的dom,刷新显示部分的dom,列表父容器的dom
...
...
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