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
a916c3bd
Commit
a916c3bd
authored
Nov 15, 2019
by
zujiaozhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修改index页面背景图片样式入口加入followUpId'
parent
8f9f3ea2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
index.css
wechat_lung_questionnaire/css/index.css
+3
-4
index.html
wechat_lung_questionnaire/index.html
+1
-1
rukou.js
wechat_lung_questionnaire/javaScript/rukou.js
+3
-1
No files found.
wechat_lung_questionnaire/css/index.css
View file @
a916c3bd
...
...
@@ -9,10 +9,9 @@ html,body {
width
:
100%
;
height
:
100%
;
background-color
:
#fff
;
background
:
url('../images/question_7yue_bg_png@2x.png')
no-repeat
fixed
center
;
background-size
:
cover
;
-webkit-background-size
:
cover
;
-o-background-size
:
cover
;
background
:
url('../images/question_7yue_bg_png@2x.png')
no-repeat
center
top
;
background-size
:
100%
100%
;
-webkit-background-size
:
100%
100%
;
background-position
:
center
0
;
}
#content_bg
.fill_write
{
...
...
wechat_lung_questionnaire/index.html
View file @
a916c3bd
...
...
@@ -38,7 +38,7 @@
<body>
<div
id=
"content_bg"
>
<button
class=
"fill_write"
>
开始填写
</button>
<div
class=
"mouth_title"
><span>
7
</span>
月
</div>
<div
class=
"mouth_title"
><span></span>
月
</div>
</div>
</body>
<script
type=
"text/javascript"
>
...
...
wechat_lung_questionnaire/javaScript/rukou.js
View file @
a916c3bd
define
([
'zepto'
,
'medtap'
],
function
(
$
,
medtap
){
var
rukou
=
{
wechatId
:
medtap
.
getRequest
(
'wechatId'
),
// 问卷id
followUpId
:
medtap
.
getRequest
(
'followUpId'
),
init
:
function
(){
rukou
.
getToken
()
},
...
...
@@ -18,7 +20,7 @@ define(['zepto','medtap'],function($,medtap){
var
info
=
res
.
content
.
wechatUser
;
if
(
info
.
hasOwnProperty
(
'userId'
)){
//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
{
window
.
location
.
replace
(
'https://review-formal.iplusmed.com/wechatForLungCancer/dev/wechat_lung_login/login.html?wechatId='
+
rukou
.
wechatId
)
}
...
...
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