|
@@ -87,8 +87,8 @@
|
|
|
>
|
|
|
</div>
|
|
|
<div class="mg">
|
|
|
- <p class="user-name-text">千落</p>
|
|
|
- <span class="time list-right">2021-12-12 09:36:23</span>
|
|
|
+ <p class="user-name-text"></p>
|
|
|
+ <span class="time list-right"></span>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -146,7 +146,7 @@
|
|
|
alt=""
|
|
|
>
|
|
|
<div class="name user-info-box">
|
|
|
- <p id="userName">王憨憨爱修仙</p>
|
|
|
+ <p id="userName"></p>
|
|
|
<span>送你7天超级订阅!</span>
|
|
|
</div>
|
|
|
<div class="wx">
|
|
@@ -168,6 +168,13 @@
|
|
|
{{include "/big-member/commonjs.html"}}
|
|
|
<!-- <script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/common-module/area-pack/js/buy.js?v={{Msg "seo" "version"}}'></script> -->
|
|
|
<!--E-当前页面的资源-->
|
|
|
+ <script>
|
|
|
+ // 模板变量格式
|
|
|
+ var templateVars = {
|
|
|
+ type: {{ session "i_type" }},
|
|
|
+ nickname: {{ session "s_nickname" }}
|
|
|
+ }
|
|
|
+ </script>
|
|
|
<script type="text/javascript">
|
|
|
// 动态插入分享标签
|
|
|
$(".header-right").addClass('show-share')
|
|
@@ -265,24 +272,24 @@
|
|
|
function execShare(thisIndex) {
|
|
|
var shareType = thisIndex + 1;
|
|
|
var content = "您的好友";
|
|
|
- if (shareType != 2 && {{session "i_type" }} == 2) {
|
|
|
- content += {{session "s_nickname" }};
|
|
|
+ if (shareType != 2 && templateVars.type == 2) {
|
|
|
+ content += templateVars.nickname
|
|
|
}
|
|
|
- content += "向您推荐了剑鱼标讯";
|
|
|
- var link = shareLink + '?source=app_infocontentshare';
|
|
|
- var shareTitle = "邀好友,免费获得超级订阅";
|
|
|
- shareTitle = shareTitle.replace(/<\/?.+?>/g, "");
|
|
|
- shareTitle = shareTitle.replace(/ /g, "");
|
|
|
- if (shareType == 3) {
|
|
|
- if (forceShareFlag) {
|
|
|
- link += "&qrcodeType=app_infocontent_timeline_b";
|
|
|
- } else {
|
|
|
- link += "&qrcodeType=app_infocontent_timeline_z";
|
|
|
+ content += "向您推荐了剑鱼标讯";
|
|
|
+ var link = shareLink + '?source=app_infocontentshare';
|
|
|
+ var shareTitle = "邀好友,免费获得超级订阅";
|
|
|
+ shareTitle = shareTitle.replace(/<\/?.+?>/g, "");
|
|
|
+ shareTitle = shareTitle.replace(/ /g, "");
|
|
|
+ if (shareType == 3) {
|
|
|
+ if (forceShareFlag) {
|
|
|
+ link += "&qrcodeType=app_infocontent_timeline_b";
|
|
|
+ } else {
|
|
|
+ link += "&qrcodeType=app_infocontent_timeline_z";
|
|
|
+ }
|
|
|
+ shareTitle = getShareText();
|
|
|
+ updateShareStatus();
|
|
|
}
|
|
|
- shareTitle = getShareText();
|
|
|
- updateShareStatus();
|
|
|
- }
|
|
|
- JyObj.share(shareType, shareTitle, content, link);
|
|
|
+ JyObj.share(shareType, shareTitle, content, link);
|
|
|
}
|
|
|
function updateShareStatus() {
|
|
|
var shareProperty = forceShareFlag ? 1 : 2;//1-被动分享 2-主动分享
|