m (解决逻辑与问题。) |
(修改顶部轮播图,修正对话气泡语法。) |
||
Line 44: | Line 44: | ||
let data = [ | let data = [ | ||
{ | { | ||
− | "src": "https://static.igem.org/mediawiki/2018/ | + | "src": "https://static.igem.org/mediawiki/2018/1/1a/T--DLUT_China_B--Top1.jpg", |
− | "title": "DLUT China B | + | "title": "DLUT China B", |
− | "description": "DLUT China B | + | "description": "DLUT China B", |
}, | }, | ||
{ | { | ||
− | "src": "https://static.igem.org/mediawiki/2018/ | + | "src": "https://static.igem.org/mediawiki/2018/0/04/T--DLUT_China_B--Top2.jpg", |
− | "title": " | + | "title": "Principle", |
− | "description": " | + | "description": "Principle.", |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
]; | ]; | ||
Line 129: | Line 124: | ||
"We have a lot of significant updates.(Of course we cannot make it as cool as the Apple launch update)", | "We have a lot of significant updates.(Of course we cannot make it as cool as the Apple launch update)", | ||
"As an old friend, let me open the VIP channel for you.", | "As an old friend, let me open the VIP channel for you.", | ||
− | 'Click "Skip", then you will skip the | + | 'Click "Skip", then you will skip the Project Introduction section.', |
'Click "Listen", then you will acknowledge more details about our story.' | 'Click "Listen", then you will acknowledge more details about our story.' | ||
], | ], | ||
Line 179: | Line 174: | ||
says: [ | says: [ | ||
"Here is iGEM_DLUT_China_B.", | "Here is iGEM_DLUT_China_B.", | ||
− | "I | + | "I`ll introduce our project to you.", |
− | " | + | "Many diseases in the world severely threaten human health, but some of them can be predicted and cured.", |
− | " | + | "The first step to prevent disease is to figure out what kind of population may face higher risk.", |
− | "For example, diabetic and hypertensive patients | + | "For example, diabetic and hypertensive patients are more likely to suffer from chronic kidney disease.", |
− | " | + | "People older than 60 are more likely to develop Alzheimer`s disease." |
], | ], | ||
reply: [ | reply: [ | ||
Line 193: | Line 188: | ||
}, | }, | ||
"listen2": { | "listen2": { | ||
− | says: ["The second step is to | + | says: ["The second step is to monitor regularly to intervene the occurrence and development of diseases timely."], |
reply: [ | reply: [ | ||
{ | { | ||
− | question: "Yes, it makes sense | + | question: "Yes, it makes sense. But how can it be achieved?", |
answer: "listen3" | answer: "listen3" | ||
} | } | ||
Line 204: | Line 199: | ||
says: [ | says: [ | ||
"You may not believe that", | "You may not believe that", | ||
− | "we can know our physical condition through | + | "we can know our current physical condition through urine.", |
− | "Urine is | + | "Urine is considered to be \"gold mine\" for the identification of disease markers." |
], | ], | ||
reply: [ | reply: [ | ||
Line 216: | Line 211: | ||
"listen4": { | "listen4": { | ||
says: [ | says: [ | ||
− | "Absolutely | + | "Absolutely. It`s like a mirror that reflects one`s health.", |
− | "In the early stages of | + | "In the early stages of a disease, we can use the protein markers in the urine to screen the disease." |
], | ], | ||
reply: [ | reply: [ | ||
{ | { | ||
− | question: "But how do you | + | question: "But how do you screen it?", |
answer: "listen5" | answer: "listen5" | ||
} | } | ||
Line 227: | Line 222: | ||
}, | }, | ||
"listen5": { | "listen5": { | ||
− | says: [" | + | says: ["We use nano-antibody combining with liquid crystal sensor to show the results for us."], |
reply: [ | reply: [ | ||
{ | { | ||
Line 237: | Line 232: | ||
"listen6": { | "listen6": { | ||
says: [ | says: [ | ||
− | "In our daily life, we usually | + | "In our daily life, we usually find the LCD screen black. However, it becomes colorful when it works.", |
− | "Our products are similar in principle.", | + | "Our products are similar to it in principle.", |
− | "The combination of the nano-antibody and the protein in | + | "The combination of the nano-antibody and the marked protein in urine will result in a slight change in the liquid crystalline substrate.", |
− | " | + | "It also causes changes in the brightness and color of the liquid crystal film.", |
− | " | + | "So the liquid crystal brightness can reflect the antigen concentration directly." |
], | ], | ||
reply: [ | reply: [ | ||
{ | { | ||
− | question: "That means we can | + | question: "That means we can know whether we are sick and what extent the disease has progressed to.", |
answer: "listen7" | answer: "listen7" | ||
} | } | ||
Line 253: | Line 248: | ||
says: [ | says: [ | ||
"Yes, but we need to do a more accurate quantitative analysis.", | "Yes, but we need to do a more accurate quantitative analysis.", | ||
− | "We take photos, | + | "We take photos, then perform greyscale processing and analyze the average greyscale.", |
− | " | + | "In contrast to the concentration-gray curve we have obtained, we can obtain the concentration of the antigen accurately." |
], | ], | ||
reply: [ | reply: [ | ||
{ | { | ||
− | question: "You did something amazing!", | + | question: "You guys did something amazing!", |
answer: "last" | answer: "last" | ||
} | } | ||
Line 301: | Line 296: | ||
"projectIntroduction": { | "projectIntroduction": { | ||
says: [ | says: [ | ||
− | "Wow, you | + | "Wow, you selected Project as the destination.", |
"Are you ready to go?" | "Are you ready to go?" | ||
], | ], | ||
Line 317: | Line 312: | ||
"parts": { | "parts": { | ||
says: [ | says: [ | ||
− | "Didi, you are about to reach | + | "Didi, you are about to reach Parts.", |
"You will learn about the main components we use such as messages." | "You will learn about the main components we use such as messages." | ||
], | ], | ||
Line 333: | Line 328: | ||
"model": { | "model": { | ||
says: [ | says: [ | ||
− | " | + | "Have you decided to make Model as your destination?", |
"Project optimization and results will be exhibited here." | "Project optimization and results will be exhibited here." | ||
], | ], | ||
Line 342: | Line 337: | ||
}, | }, | ||
{ | { | ||
− | question: "I want | + | question: "I want another destination.", |
answer: "dest" | answer: "dest" | ||
} | } | ||
Line 349: | Line 344: | ||
"awards": { | "awards": { | ||
says: [ | says: [ | ||
− | "You will find the treasures of application | + | "You will find the treasures of application design at Awards office." |
], | ], | ||
reply: [ | reply: [ | ||
{ | { | ||
− | question: " | + | question: "Go. ( ̄)  ̄) ↗", |
answer: "goAwards" | answer: "goAwards" | ||
}, | }, | ||
Line 365: | Line 360: | ||
says: [ | says: [ | ||
"We are committed to education and publicity.", | "We are committed to education and publicity.", | ||
− | "Choose \"Learn more\" and will arrive at | + | "Choose \"Learn more\" and you will arrive at Human Practice.", |
− | "Choose \"Back\", | + | "Choose \"Back\", the destination will be reset." |
], | ], | ||
reply: [ | reply: [ | ||
Line 381: | Line 376: | ||
"teamworkAndCooperation": { | "teamworkAndCooperation": { | ||
says: [ | says: [ | ||
− | "Choose \"Learn more\" will | + | "Choose \"Learn more\", you will arrive at Team Introduction,", |
− | "and learn about team members and | + | "and learn about our team members and our collaborations with other teams.", |
− | "Choose \"Back\", | + | "Choose \"Back\", the destination will be reset." |
], | ], | ||
reply: [ | reply: [ | ||
Line 422: | Line 417: | ||
}; | }; | ||
goHumanPractice = function () { | goHumanPractice = function () { | ||
− | |||
window.location.href = "https://2018.igem.org/Team:DLUT_China_B/HumanPractice"; | window.location.href = "https://2018.igem.org/Team:DLUT_China_B/HumanPractice"; | ||
}; | }; | ||
Line 432: | Line 426: | ||
let winH = $(window).height(), /*获取窗口高度*/ | let winH = $(window).height(), /*获取窗口高度*/ | ||
scrollH = $(window).scrollTop(), /*获取窗口滚动高度*/ | scrollH = $(window).scrollTop(), /*获取窗口滚动高度*/ | ||
− | top = $el.offsetTop; | + | top = $el.offsetTop; /*获取元素距离窗口顶部偏移高度*/ |
− | + | ||
return top < scrollH + winH; | return top < scrollH + winH; | ||
} | } |
Revision as of 07:15, 5 October 2018
Circles
a
b
c
d
e
f