孙志雷 5 years ago
parent
commit
f9a937ea86
3 changed files with 9 additions and 6 deletions
  1. 1 1
      css/question.css
  2. 5 3
      index.html
  3. 3 2
      view/question.html

+ 1 - 1
css/question.css

@@ -162,7 +162,7 @@ canvas {
 }
 
 .baocun {
-    margin-left: 29%;
+    margin-left: 26%;
     margin-top: 0rem;
     margin-bottom: 0.3rem;
     font-size: 0.3rem;

+ 5 - 3
index.html

@@ -15,6 +15,7 @@
     </div>
     <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
     <script>
+
     //获取用户信息
      var jionData = {
         "code": GetQueryString('code')
@@ -27,8 +28,8 @@
             data: jionData,
             success: function (userData) {
                 //alert(JSON.stringify(userData.data))
-                $('.btn').show();
-                localStorage.setItem('userData', JSON.stringify(userData.data));
+                //$('.btn').show();
+                //localStorage.setItem('userData', JSON.stringify(userData.data));
             },
             error: function (e) {
                 //alert(JSON.stringify(e))
@@ -36,7 +37,8 @@
             }
         });
      } else {
-        window.location = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx75a6f8d1b4a850d7&redirect_uri=https%3A%2F%2Factivity.lingjiao.cn%2Fanswer%2Findex.html&response_type=code&scope=snsapi_userinfo&state=12345#wechat_redirect';
+        $('.btn').show();
+        //window.location = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx75a6f8d1b4a850d7&redirect_uri=https%3A%2F%2Factivity.lingjiao.cn%2Fanswer%2Findex.html&response_type=code&scope=snsapi_userinfo&state=12345#wechat_redirect';
      }
     </script>
 </body>

+ 3 - 2
view/question.html

@@ -56,8 +56,9 @@
             <div class="code">
                 <img src="../image/question/code.jpg" alt="">
                 <div class="text">
-                    <span>长按识别二维码</span>
-                    <span>即可获得小学课文朗读配音奖品</span>
+                    <span>* 如何提高孩子的洞察力</span>
+                    <span>* 学前阅读有方法,千万别走进误区</span>
+                    <span>长按左边二维码,获取答案</span>
                 </div>
             </div>
             <!--