|
@@ -995,7 +995,7 @@ body .loading_ p span {
|
|
|
</div>
|
|
|
<div id="jyOriginalbox">
|
|
|
<van-dialog v-model="show" title="查看原文链接" confirm-button-color='#2ABDD1'
|
|
|
- cancel-button-color='#171826' class="custom-dialog Original-dialog" @confirm="goLink" show-cancel-button>
|
|
|
+ cancel-button-color='#171826' class="custom-dialog Original-dialog" confirm-button-text="确定" @confirm="goLink" show-cancel-button>
|
|
|
<div class="text-content">
|
|
|
<p class="con-text">确定消耗<span class="blue-color">1次</span>查看原文链接的机会吗?</p>
|
|
|
<p class="con-desc">您当前是免费用户,有1次查看原文链接的机会,如需更多查看次数,您可点击<span class="blue-color" @click="membership">升级大会员></span></p>
|
|
@@ -2159,7 +2159,7 @@ function setEntServiceInfo (res) {
|
|
|
} else {
|
|
|
if(res.data.status == '1'){
|
|
|
// 需要留资 留资提示即刻获得一次查看原文机会
|
|
|
- let url_ = '/weixin/frontPage/bigmember/free/perfect_info?source=wx_article_original_one&signId='+encodeURIComponent(id)
|
|
|
+ let url_ = '/weixin/frontPage/bigmember/free/perfect_info?source=wx_article_original_one&signId='+encodeURIComponent(id) + '&article='+ extractString_(location.href)
|
|
|
location.href = url_
|
|
|
|
|
|
} else if(res.data.status == '2'){
|
|
@@ -2219,6 +2219,11 @@ function setEntServiceInfo (res) {
|
|
|
});
|
|
|
|
|
|
}
|
|
|
+ function extractString_(str){
|
|
|
+ const regex = /\/article\/(.*?)\//;
|
|
|
+ const match = str.match(regex);
|
|
|
+ return match ? match[1] : null;
|
|
|
+ }
|
|
|
// 大会员引流文案
|
|
|
function getDrainInfo () {
|
|
|
$.ajax({
|