Merge pull request '优化' (#645) from feature/testing_apply_top_promote into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/645
master
廖金灵 3 years ago
commit 748a3d85d8

@ -10,7 +10,7 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="{:get_cover(C('CH_SET_ICO'),'path')}" type="image/x-icon" rel="shortcut icon"> <link href="{:get_cover(C('CH_SET_ICO'),'path')}" type="image/x-icon" rel="shortcut icon">
<script src="__JS__/jquery-1.11.3.min.js"></script> <script src="__JS__/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="text/javascript" src="__JS__/getRem.js"></script> <script type="text/javascript" src="__JS__/getRem.js"></script>
<script type="text/javascript" src="__JS__/swiper.min.js"></script> <script type="text/javascript" src="__JS__/swiper.min.js"></script>
<script type="text/javascript" src="__JS__/ladingpage.js"></script> <script type="text/javascript" src="__JS__/ladingpage.js"></script>
@ -1534,7 +1534,7 @@ function getCurUserId() {
timestamp: response.data.time, timestamp: response.data.time,
nonceStr: response.data.randStr, nonceStr: response.data.randStr,
signature: response.data.sign, signature: response.data.sign,
jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareWeibo'] jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'onMenuShareWeibo']
}) })
var title = $('[name=title]').val(); var title = $('[name=title]').val();
var description = $('[name=desc]').val(); var description = $('[name=desc]').val();
@ -1546,7 +1546,7 @@ function getCurUserId() {
function wxReady(title, description, img) { function wxReady(title, description, img) {
wx.ready(function () { wx.ready(function () {
wx.updateAppMessageShareData({ wx.onMenuShareAppMessage({
title: title, title: title,
desc: description, desc: description,
link: window.location.href, link: window.location.href,
@ -1554,7 +1554,7 @@ function getCurUserId() {
success: function () { success: function () {
} }
}); });
wx.updateTimelineShareData({ wx.onMenuShareTimeline({
title: title, title: title,
link: window.location.href, link: window.location.href,
imgUrl: img, imgUrl: img,

@ -8,7 +8,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<script type="text/javascript" src="__JS__/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="__JS__/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="text/javascript" src="__JS__/getRem.js"></script> <script type="text/javascript" src="__JS__/getRem.js"></script>
<link href="{:get_cover(C('CH_SET_ICO'),'path')}" type="image/x-icon" rel="shortcut icon"> <link href="{:get_cover(C('CH_SET_ICO'),'path')}" type="image/x-icon" rel="shortcut icon">
<title>{$game['relation_game_name']}</title> <title>{$game['relation_game_name']}</title>
@ -213,7 +213,7 @@
timestamp: response.data.time, timestamp: response.data.time,
nonceStr: response.data.randStr, nonceStr: response.data.randStr,
signature: response.data.sign, signature: response.data.sign,
jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData', 'onMenuShareWeibo'] jsApiList: ['onMenuShareAppMessage', 'onMenuShareTimeline', 'onMenuShareWeibo']
}) })
var title = $('[name=title]').val(); var title = $('[name=title]').val();
var description = $('[name=desc]').val(); var description = $('[name=desc]').val();
@ -225,7 +225,7 @@
function wxReady(title, description, img) { function wxReady(title, description, img) {
wx.ready(function () { wx.ready(function () {
wx.updateAppMessageShareData({ wx.onMenuShareAppMessage({
title: title, title: title,
desc: description, desc: description,
link: window.location.href, link: window.location.href,
@ -233,7 +233,7 @@
success: function () { success: function () {
} }
}); });
wx.updateTimelineShareData({ wx.onMenuShareTimeline({
title: title, title: title,
link: window.location.href, link: window.location.href,
imgUrl: img, imgUrl: img,

Loading…
Cancel
Save