Commit 62568702 by zujiaozhang

'问卷详情测试'

parent 55c726b5
......@@ -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
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);
}
......@@ -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)
}
}
})
......
......@@ -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)
}
})
}
......
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)
})
}
})
......
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)
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment