leminem 5 years ago
parent
commit
1cc301bd50

File diff suppressed because it is too large
+ 34 - 12
src/main/resources/static/css/bske.css


BIN
src/main/resources/static/img/btn.png


BIN
src/main/resources/static/img/download.png


BIN
src/main/resources/static/img/indecBottom.png


BIN
src/main/resources/static/img/indexL.png


BIN
src/main/resources/static/img/show.png


BIN
src/main/resources/static/img/subBottom.png


BIN
src/main/resources/static/img/subTop.png


BIN
src/main/resources/static/img/title.png


+ 1 - 5
src/main/resources/templates/index.html

@@ -19,11 +19,8 @@
19 19
 </head>
20 20
 <body>
21 21
 <div class="con">
22
-		<div class="centerWhite"></div>
23
-		<div class="centerBg"></div>
24 22
 		<div class="indecBottom"></div>
25 23
 		<img class="indexL" src="./img/indexL.png" />
26
-		<img class="indexR" src="./img/indexR.png" />
27 24
 		<div class="indexTop">
28 25
 			<img class="titleImg" src="./img/title.png" />
29 26
 			<div class="centerText">
@@ -32,13 +29,12 @@
32 29
 			</div>
33 30
 			<div class="testBtn">
34 31
 				<p>立即测试</p>
35
-				<span class="btnBg"></span>
36 32
 			</div>
37 33
 		</div>
38 34
 </div>
39 35
 <script type="text/javascript">
40 36
 	$(".testBtn").on("click",function(e){
41
-		window.location.href='subject';
37
+		window.location.href='./textSubject.html';
42 38
 	});
43 39
 </script>
44 40
 </body>

+ 4 - 27
src/main/resources/templates/testShare.html

@@ -6,7 +6,6 @@
6 6
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7 7
 <title>测测你国庆该去哪里玩</title>
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
9
-<!-- <link rel="shortcut icon" href="favicon.ico"> -->
10 9
 <meta name="apple-mobile-web-app-capable" content="yes">
11 10
 <meta content="yes" name="apple-touch-fullscreen">
12 11
 <meta name="apple-mobile-web-app-status-bar-style" content="black">
@@ -21,9 +20,6 @@
21 20
 <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
22 21
 <script src="http://sdk.talkingdata.com/app/h5/v1?appid=55696ECC49B147B3875E753098E88B24&vn=name&vc=1.0.1"></script>
23 22
 </head>
24
-<style type="text/css">
25
-    body{background-color:#018fe9;}
26
-</style>
27 23
 <body>
28 24
 <div class="content" id="content">
29 25
 	<div class="share" id="canvas">
@@ -56,9 +52,6 @@
56 52
             </div>
57 53
         </div>
58 54
 	</div>
59
-    
60
-	
61
-
62 55
 </div>
63 56
 <div class="mask">
64 57
     <div class='maskBox'></div>
@@ -72,21 +65,6 @@
72 65
 </div>
73 66
 <script>
74 67
     $(function(){
75
-        TDAPP.onEvent('完成测试人数');
76
-        function onBridgeReady(){
77
-           WeixinJSBridge.call('hideToolbar');
78
-        }
79
-        if (typeof WeixinJSBridge == "undefined"){
80
-            if( document.addEventListener ){
81
-                document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
82
-            }else if (document.attachEvent){
83
-                document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
84
-                document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
85
-            }
86
-        }else{
87
-            onBridgeReady();
88
-        }
89
-
90 68
         function getUrlParms(name){
91 69
            var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
92 70
            var r = window.location.search.substr(1).match(reg);
@@ -174,13 +152,12 @@
174 152
             })
175 153
         };
176 154
         wx_share({
177
-            title: "1分享标题分享标题1",
178
-            desc: "分享描述分享描述" ,
155
+            title: "测一测|国庆假期,你适合去哪儿玩!",
156
+            desc: "为什么有人要扮鬼被毒打900次才能出游?" ,
179 157
             link: "http://wx.yingyinglicai.com/index",
180
-            imgUrl: "http://talent-test.yinghuahua.com/jituan/img/share_icon.png",
158
+            imgUrl: "http://talent-test.yinghuahua.com/jituan/img/share_icon.jpg",
181 159
             successFn: function(){
182 160
                 // 用户确认分享后执行的回调函数
183
-                TDAPP.onEvent('分享次数');
184 161
 
185 162
             },
186 163
             cancelFn: function(){
@@ -235,7 +212,7 @@
235 212
             });
236 213
         };
237 214
         $("#goWeChat").on('click',function(){
238
-        	window.location.href='https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzA5OTM2MTQxOA==&scene=126#wechat_redirect';
215
+            // window.location.href='https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU3MjcyODUxMw==#wechat_redirect';
239 216
         })
240 217
     });
241 218
 </script>

+ 16 - 30
src/main/resources/templates/textSubject.html

@@ -25,31 +25,31 @@
25 25
 		<div class="noteBox">
26 26
 			<div class="notebook">
27 27
 				<img src="img/first.png" />
28
-				<p class="subject">你的旅游习惯是什么样的?</p>
29
-				<p class="choice option" id="A">A.来场说走就走的旅程,随心所致</p>
30
-				<p class="choice option" id="B">B.还是详细计划攻略,安排好所有行程和后备方案</p>
28
+				<p class="subject">宝贝在旅行前的表现?</p>
29
+				<p class="choice option" id="A">A.说走就走,非常淡定,丝毫不慌</p>
30
+				<p class="choice option" id="B">B.异常兴奋,激动到半夜睡不着觉</p>
31 31
 			</div>
32 32
 			<div class="notebook" style="display:none">
33 33
 				<img src="img/second.png" />
34
-				<p class="subject">你的旅游时间和其他人相比? </p>
35
-				<p class="choice option" id="A">A.基本跟着法定节假日的安排走,人山人海也没办法</p>
36
-				<p class="choice option" id="B">B.一般挑淡季的时候去,不随大流哪怕为此攒假期</p>
34
+				<p class="subject">宝贝在旅行中和其他人相比?  </p>
35
+				<p class="choice option" id="A">A.按部就班,听从安排</p>
36
+				<p class="choice option" id="B">B.十分活跃,哪怕人山人海也要凑进去一谈究竟</p>
37 37
 			</div>
38 38
 			<div class="notebook" style="display:none">
39 39
 				<img src="img/third.png" />
40
-				<p class="subject">你觉得现在的生活?</p>
41
-				<p class="choice option" id="A">A.很安稳,平淡却幸福</p>
42
-				<p class="choice option" id="B">B.很迷茫,看不到未来</p>
43
-				<p class="choice option" id="C">C.很焦虑,在努力却没办法进步</p>
40
+				<p class="subject">你觉得宝贝在生活中的状态?</p>
41
+				<p class="choice option" id="A">A.很乖,很听话</p>
42
+				<p class="choice option" id="B">B.呆萌,每天处在另一个次元</p>
43
+				<p class="choice option" id="C">C.经常犯错,令人捉急</p>
44 44
 				<p class="choice option" id="D">D.很开心,每天总能给自己快乐</p>
45 45
 			</div>
46 46
 			<div class="notebook" style="display:none">
47 47
 				<img src="img/fouth.png" />
48
-				<p class="subject">选择一个你相对更喜欢的旅途景象,请以第一印象为准。</p>
49
-				<p class="choice option" id="A">A.享受森林里的阳光</p>
50
-				<p class="choice option" id="B">B.从太空看向地球</p>
51
-				<p class="choice option" id="C">C.漫步在人类博物馆</p>
52
-				<p class="choice option" id="D">D.寺庙的钟声悠扬</p>
48
+				<p class="subject">选择一个你认为宝贝相对更喜欢的旅途景象。</p>
49
+				<p class="choice option" id="A">A.鸟语花香的森林里,和花蝴蝶窃窃私语</p>
50
+				<p class="choice option" id="B">B.遨游外太空,看到各式各样的星球</p>
51
+				<p class="choice option" id="C">C.漫步在人类博物馆,学习各类知识</p>
52
+				<p class="choice option" id="D">D.玩遍游乐园里每一项好玩的</p>
53 53
 			</div>
54 54
 			<div class="subBtn" id="subBtn" style="margin-top:1.2rem;">
55 55
 				<p>下一步</p>
@@ -64,20 +64,6 @@
64 64
 </div>
65 65
 <script type="text/javascript">
66 66
 	$(function(){
67
-		function onBridgeReady(){
68
-		   WeixinJSBridge.call('hideToolbar');
69
-		}
70
-		if (typeof WeixinJSBridge == "undefined"){
71
-		    if( document.addEventListener ){
72
-		        document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
73
-		    }else if (document.attachEvent){
74
-		        document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
75
-		        document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
76
-		    }
77
-		}else{
78
-		    onBridgeReady();
79
-		}
80
-
81 67
 		var index = 0,pick = '',pickCol = '';
82 68
 		$("#subBtn").on("click",function(e){
83 69
 			if(pickCol != ''){
@@ -97,7 +83,7 @@
97 83
 		$("#submit").on("click",function(e){
98 84
 			if(pickCol != ''){
99 85
 				pick = pick +','+pickCol;
100
-				window.location.href='shared?pick='+pick;
86
+				window.location.href='./testShare.html?pick='+pick;
101 87
 				index = 0,pick = '',pickCol = '';
102 88
 			}
103 89
 		});