Commit 14282aa4bc8e83e536e813960ec4456cf0db2363

Authored by zouyang0921
1 parent 00569f68

[年会抽奖]修改细节

Showing 2 changed files with 5 additions and 5 deletions
mobile.html
@@ -72,8 +72,8 @@ @@ -72,8 +72,8 @@
72 .info-bg {width: 100%;height: 3.26rem;background: url('./img/mobile/home_info_bg.png') no-repeat center bottom;background-size: 100% 100%;} 72 .info-bg {width: 100%;height: 3.26rem;background: url('./img/mobile/home_info_bg.png') no-repeat center bottom;background-size: 100% 100%;}
73 .info-lantern {position: absolute;top: 0;right: 0;width: 100%;height: 2.72rem;background: url('./img/mobile/home_lantern.png') no-repeat;background-size: 100%;} 73 .info-lantern {position: absolute;top: 0;right: 0;width: 100%;height: 2.72rem;background: url('./img/mobile/home_lantern.png') no-repeat;background-size: 100%;}
74 .info-center {position: absolute;top: .4rem;left: 50%;transform: translateX(-50%);} 74 .info-center {position: absolute;top: .4rem;left: 50%;transform: translateX(-50%);}
75 - .user-avatar {position: relative;width: 1.34rem;height: 1.4rem;box-sizing: border-box;padding-top: .2rem;padding-left: .14rem;margin: 0 auto;overflow: hidden;}  
76 - .user-avatar .avatar-img {width: 1.2rem;height: 1.2rem;border-radius: 50%;} 75 + .user-avatar {position: relative;width: 1.34rem;height: 1.4rem;box-sizing: border-box;padding-top: .24rem;padding-left: .18rem;margin: 0 auto;overflow: hidden;}
  76 + .user-avatar .avatar-img {width: 1.14rem;height: 1.14rem;border-radius: 50%;}
77 .user-avatar .avatar-border {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: url('./img/mobile/home_avatar.png') no-repeat;background-size: contain;} 77 .user-avatar .avatar-border {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: url('./img/mobile/home_avatar.png') no-repeat;background-size: contain;}
78 .info-center .user-name {text-align: center;font-size: .36rem;font-weight: 500;color: #C93120;margin-top: .1rem;} 78 .info-center .user-name {text-align: center;font-size: .36rem;font-weight: 500;color: #C93120;margin-top: .1rem;}
79 .info-main {position: absolute;bottom: .8rem;left: 50%;transform: translateX(-50%); width: 6.3rem; height: .82rem;display: flex;align-items: center;} 79 .info-main {position: absolute;bottom: .8rem;left: 50%;transform: translateX(-50%); width: 6.3rem; height: .82rem;display: flex;align-items: center;}
@@ -153,7 +153,7 @@ @@ -153,7 +153,7 @@
153 <div class="pic-img-bg"></div> 153 <div class="pic-img-bg"></div>
154 <input type="hidden" class="data-img" /> 154 <input type="hidden" class="data-img" />
155 </div> 155 </div>
156 - <div class="pic-btn-wrap hide" id="upload_unavailable"> 156 + <div class="pic-btn-wrap" id="upload_unavailable">
157 <!-- 自拍出境 --> 157 <!-- 自拍出境 -->
158 <div class="common-btn"> 158 <div class="common-btn">
159 <img class="common-btn-bg" src="./img/mobile/pic_btn1.png"> 159 <img class="common-btn-bg" src="./img/mobile/pic_btn1.png">
@@ -164,7 +164,7 @@ @@ -164,7 +164,7 @@
164 <i class="pic-arrow"></i> 164 <i class="pic-arrow"></i>
165 </div> 165 </div>
166 </div> 166 </div>
167 - <div class="pic-btn-wrap" id="upload_available"> 167 + <div class="pic-btn-wrap hide" id="upload_available">
168 <!-- 完美提交 --> 168 <!-- 完美提交 -->
169 <div class="common-btn"> 169 <div class="common-btn">
170 <img class="common-btn-bg" src="./img/mobile/pic_btn2.png"> 170 <img class="common-btn-bg" src="./img/mobile/pic_btn2.png">
mobile.js
@@ -48,7 +48,7 @@ var action = { @@ -48,7 +48,7 @@ var action = {
48 var WECHAT_JS_SIGN_URL = baseURL + '/api.WechatJsSign.php'; 48 var WECHAT_JS_SIGN_URL = baseURL + '/api.WechatJsSign.php';
49 var sign = function(data) { 49 var sign = function(data) {
50 wx.config({ 50 wx.config({
51 - debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 51 + debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
52 appId: data.appId, // 必填,公众号的唯一标识 52 appId: data.appId, // 必填,公众号的唯一标识
53 timestamp: data.timestamp, // 必填,生成签名的时间戳 53 timestamp: data.timestamp, // 必填,生成签名的时间戳
54 nonceStr: data.nonceStr, // 必填,生成签名的随机串 54 nonceStr: data.nonceStr, // 必填,生成签名的随机串