Commit a916c3bd by zujiaozhang

'修改index页面背景图片样式入口加入followUpId'

parent 8f9f3ea2
...@@ -9,10 +9,9 @@ html,body { ...@@ -9,10 +9,9 @@ html,body {
width:100%; width:100%;
height:100%; height:100%;
background-color: #fff; background-color: #fff;
background: url('../images/question_7yue_bg_png@2x.png') no-repeat fixed center; background: url('../images/question_7yue_bg_png@2x.png') no-repeat center top;
background-size: cover; background-size: 100% 100%;
-webkit-background-size: cover; -webkit-background-size: 100% 100%;
-o-background-size: cover;
background-position: center 0; background-position: center 0;
} }
#content_bg .fill_write{ #content_bg .fill_write{
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<body> <body>
<div id="content_bg"> <div id="content_bg">
<button class="fill_write">开始填写</button> <button class="fill_write">开始填写</button>
<div class="mouth_title"><span>7</span></div> <div class="mouth_title"><span></span></div>
</div> </div>
</body> </body>
<script type="text/javascript"> <script type="text/javascript">
......
define(['zepto','medtap'],function($,medtap){ define(['zepto','medtap'],function($,medtap){
var rukou = { var rukou = {
wechatId:medtap.getRequest('wechatId'), wechatId:medtap.getRequest('wechatId'),
// 问卷id
followUpId: medtap.getRequest('followUpId'),
init:function(){ init:function(){
rukou.getToken() rukou.getToken()
}, },
...@@ -18,7 +20,7 @@ define(['zepto','medtap'],function($,medtap){ ...@@ -18,7 +20,7 @@ define(['zepto','medtap'],function($,medtap){
var info = res.content.wechatUser; var info = res.content.wechatUser;
if(info.hasOwnProperty('userId')){ if(info.hasOwnProperty('userId')){
//medtap.pushWindow('index.html?wechatId=' + rukou.wechatId) //medtap.pushWindow('index.html?wechatId=' + rukou.wechatId)
window.location.replace('index.html?wechatId=' + rukou.wechatId) window.location.replace('index.html?wechatId=' + rukou.wechatId+rukou.followUpId)
}else{ }else{
window.location.replace('https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId=' + rukou.wechatId) window.location.replace('https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId=' + rukou.wechatId)
} }
......
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