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
773e663d
Commit
773e663d
authored
Dec 02, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修复收起键盘页面不恢复问题'
parent
cb1293a2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
geneDetection.js
wechat_lung_questionnaire/javaScript/geneDetection.js
+4
-0
generalPage.js
wechat_lung_questionnaire/javaScript/generalPage.js
+4
-1
otherTreatment.js
wechat_lung_questionnaire/javaScript/otherTreatment.js
+4
-0
No files found.
wechat_lung_questionnaire/javaScript/geneDetection.js
View file @
773e663d
...
@@ -30,6 +30,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
...
@@ -30,6 +30,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 医生对检测结果的说明
// 医生对检测结果的说明
testDescription
:
''
,
testDescription
:
''
,
init
:
function
(){
init
:
function
(){
// 解决键盘收起页面不恢复问题
$
(
'textarea'
).
on
(
'blur'
,
function
(){
window
.
scroll
(
0
,
0
);
});
var
text
=
geneDetection
.
questionNo
+
'、最近一个月有没有做过基因检测?'
var
text
=
geneDetection
.
questionNo
+
'、最近一个月有没有做过基因检测?'
$
(
'.content_body_title'
).
text
(
text
)
$
(
'.content_body_title'
).
text
(
text
)
// 点击删除图片
// 点击删除图片
...
...
wechat_lung_questionnaire/javaScript/generalPage.js
View file @
773e663d
...
@@ -29,7 +29,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
...
@@ -29,7 +29,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 6题数据文字
// 6题数据文字
dataText
:
''
,
dataText
:
''
,
init
:
function
(){
init
:
function
(){
// 解决键盘收起页面不恢复问题
$
(
'textarea'
).
on
(
'blur'
,
function
(){
window
.
scroll
(
0
,
0
);
});
switch
(
generalPage
.
questionId
){
switch
(
generalPage
.
questionId
){
case
'6'
:
case
'6'
:
var
text
=
generalPage
.
questionNo
+
'、请拍照上传血液检查结果'
var
text
=
generalPage
.
questionNo
+
'、请拍照上传血液检查结果'
...
...
wechat_lung_questionnaire/javaScript/otherTreatment.js
View file @
773e663d
...
@@ -19,6 +19,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
...
@@ -19,6 +19,10 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 具体疗法和药物
// 具体疗法和药物
specificTherapy
:
''
,
specificTherapy
:
''
,
init
:
function
(){
init
:
function
(){
// 解决键盘收起页面不恢复问题
$
(
'textarea'
).
on
(
'blur'
,
function
(){
window
.
scroll
(
0
,
0
);
});
var
text
=
otherTreatment
.
questionNo
+
'、是否在联合其他治疗?'
var
text
=
otherTreatment
.
questionNo
+
'、是否在联合其他治疗?'
$
(
'.content_body_title'
).
text
(
text
)
$
(
'.content_body_title'
).
text
(
text
)
// 用户点击了无
// 用户点击了无
...
...
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