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
62568702
Commit
62568702
authored
Nov 20, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'问卷详情测试'
parent
55c726b5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
124 additions
and
4 deletions
+124
-4
common.css
wechat_lung_questionnaire/css/common.css
+69
-0
questionnaireDetails.css
wechat_lung_questionnaire/css/questionnaireDetails.css
+47
-0
question_view_banner@2x.png
wechat_lung_questionnaire/images/question_view_banner@2x.png
+0
-0
discomfort.js
wechat_lung_questionnaire/javaScript/discomfort.js
+1
-1
discomfortGeneralPage.js
...at_lung_questionnaire/javaScript/discomfortGeneralPage.js
+1
-1
myQuestionnaireList.js
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
+3
-1
questionnaireDetails.js
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
+0
-0
submitSuccessfully.js
wechat_lung_questionnaire/javaScript/submitSuccessfully.js
+3
-1
questionnaireDetails.html
wechat_lung_questionnaire/pages/questionnaireDetails.html
+0
-0
No files found.
wechat_lung_questionnaire/css/common.css
View file @
62568702
...
...
@@ -24,4 +24,72 @@
font-weight
:
400
;
color
:
rgba
(
51
,
51
,
51
,
1
);
line-height
:
.28rem
;
}
/* 问卷详情通用样式 */
.question
{
padding
:
0
.32rem
.32rem
;
background-color
:
#fff
;
border-radius
:
.08rem
;
margin-top
:
.2rem
;
}
.que_title
{
height
:
1.04rem
;
width
:
100%
;
border-bottom
:
.01rem
solid
#DDDDDD
;
text-align
:
center
;
font-size
:
.4rem
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
rgba
(
17
,
17
,
17
,
1
);
line-height
:
1.04rem
;
}
.que_content_title
{
font-size
:
.36rem
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
rgba
(
17
,
17
,
17
,
1
);
margin
:
.4rem
0
;
}
.body_title
{
width
:
100%
;
height
:
.32rem
;
font-size
:
.32rem
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
rgba
(
17
,
17
,
17
,
1
);
line-height
:
.32rem
;
}
.body_content
{
width
:
100%
;
line-height
:
.42rem
;
font-size
:
.32rem
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
rgba
(
102
,
102
,
102
,
1
);
margin
:
10px
0
20px
;
}
.body_img
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.body_img
li
{
height
:
1.36rem
;
width
:
1.36rem
;
margin
:
.2rem
.1rem
0
0
;
}
.body_img
li
img
{
height
:
100%
;
width
:
100%
;
}
/* 详情中的单独样式 */
.left_line
{
border-left
:
.08rem
solid
#2CBCA0
;
padding-left
:
.16rem
}
.top_margin
{
margin-top
:
.48rem
;
}
.que_content_body
{
overflow
:
hidden
;
}
\ No newline at end of file
wechat_lung_questionnaire/css/questionnaireDetails.css
0 → 100644
View file @
62568702
body
{
background-color
:
#AEE4C0
;
padding-bottom
:
.2rem
;
}
.queDetails_header
img
{
width
:
100%
;
height
:
1.7rem
;
}
.queDetails_header
{
position
:
relative
;
}
.queDetails_header_title
{
position
:
absolute
;
top
:
.24rem
;
right
:
.76rem
;
font-size
:
.76rem
;
font-family
:
Alibaba-PuHuiTi-H
,
Alibaba-PuHuiTi
;
font-weight
:
normal
;
color
:
rgba
(
16
,
84
,
71
,
1
);
}
.queDetails_body
{
padding
:
0
.32rem
;
}
.question_one
{
display
:
flex
;
justify-content
:
space-around
;
align-items
:
center
;
width
:
100%
;
height
:
1.6rem
;
margin-top
:
.3rem
;
background-color
:
#fff
;
text-align
:
center
;
border-radius
:
.08rem
;
}
.height
,
.weight
,
.bmi
{
flex
:
1
;
}
.height_title
,
.weight_title
,
.bmi_title
{
font-size
:
.28rem
;
margin-bottom
:
.1rem
;
}
.height_text
,
.weight_text
,
.bmi_text
{
font-size
:
24px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
rgba
(
51
,
51
,
51
,
1
);
}
wechat_lung_questionnaire/images/question_view_banner@2x.png
0 → 100644
View file @
62568702
5.07 KB
wechat_lung_questionnaire/javaScript/discomfort.js
View file @
62568702
...
...
@@ -363,7 +363,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
medtap
.
pushWindow
(
'discomfortGeneralPage.html?followUpId='
+
discomfort
.
followUpId
+
'&questionNo='
+
questionNo
+
'&questionId='
+
questionId
+
'&parentId='
+
parentId
+
'&lastChecks='
+
discomfort
.
checks
)
break
;
default
:
medtap
.
pushWindow
(
'submitSuccessfully.html
'
)
medtap
.
pushWindow
(
'submitSuccessfully.html
?followUpId='
+
discomfort
.
followUpId
)
}
}
})
...
...
wechat_lung_questionnaire/javaScript/discomfortGeneralPage.js
View file @
62568702
...
...
@@ -506,7 +506,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
data
:
data
,
success
:
function
(
res
){
console
.
log
(
res
)
medtap
.
pushWindow
(
'submitSuccessfully.html
'
)
medtap
.
pushWindow
(
'submitSuccessfully.html
?followUpId='
+
discomfortGeneralPage
.
followUpId
)
}
})
}
...
...
wechat_lung_questionnaire/javaScript/myQuestionnaireList.js
View file @
62568702
define
([
'zepto'
,
'medtap'
,
'mui'
,
'mui.picker'
],
function
(
$
,
medtap
,
mui
)
{
var
myQuestionnaireList
=
{
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
init
:
function
(){
$
(
".tabbox li"
).
click
(
function
()
{
...
...
@@ -45,7 +47,7 @@ define(['zepto', 'medtap', 'mui', 'mui.picker'], function($, medtap, mui) {
// 点击进入详情
$
(
'.my_questionnaire_box'
).
on
(
'tap'
,
'.my_questionnaire_list'
,
function
(){
console
.
log
(
'跳转'
)
// medtap.pushWindow(
)
medtap
.
pushWindow
(
'../pages/questionnaireDetails.html?followUpId='
+
myQuestionnaireList
.
followUpId
)
})
}
})
...
...
wechat_lung_questionnaire/javaScript/questionnaireDetails.js
0 → 100644
View file @
62568702
This diff is collapsed.
Click to expand it.
wechat_lung_questionnaire/javaScript/submitSuccessfully.js
View file @
62568702
define
([
'zepto'
,
'medtap'
,
'mui'
],
function
(
$
,
medtap
,
mui
)
{
var
submitSuccessfully
=
{
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
init
:
function
(){
$
(
'.tip_contact_service'
).
on
(
'tap'
,
function
(){
medtap
.
pushWindow
(
'../pages/myQuestionnaireList.html
'
)
medtap
.
pushWindow
(
'../pages/myQuestionnaireList.html
?followUpId='
+
submitSuccessfully
.
followUpId
)
})
}
}
...
...
wechat_lung_questionnaire/pages/questionnaireDetails.html
0 → 100644
View file @
62568702
This diff is collapsed.
Click to expand it.
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