|
@@ -36,13 +36,15 @@
|
|
class="content-abstract-module"
|
|
class="content-abstract-module"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
/>
|
|
/>
|
|
- <ContentAbstractEntList
|
|
|
|
- v-if="!IsCustomTopNet"
|
|
|
|
- class="content-abstract-ent-list-module"
|
|
|
|
- :beforeLeavePage="beforeLeavePage"
|
|
|
|
- />
|
|
|
|
- <section class="data-export-banner-module bg-white" :class="{ borderTop: IsCustomTopNet}">
|
|
|
|
- <DataExportBanner :beforeLeavePage="beforeLeavePage" />
|
|
|
|
|
|
+ <section class="content-abstract-other bg-white">
|
|
|
|
+ <ContentAbstractEntList
|
|
|
|
+ v-if="!IsCustomTopNet"
|
|
|
|
+ class="content-abstract-ent-list-module"
|
|
|
|
+ :beforeLeavePage="beforeLeavePage"
|
|
|
|
+ />
|
|
|
|
+ <section class="data-export-banner-module">
|
|
|
|
+ <DataExportBanner :beforeLeavePage="beforeLeavePage" />
|
|
|
|
+ </section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</van-tab>
|
|
</van-tab>
|
|
@@ -52,7 +54,11 @@
|
|
class="tab-module"
|
|
class="tab-module"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
/>
|
|
/>
|
|
- <NpsCard class="nps-module" ref="npsCard" v-if="canShowNpsModule" />
|
|
|
|
|
|
+ <NpsCard
|
|
|
|
+ class="nps-module"
|
|
|
|
+ ref="npsCard"
|
|
|
|
+ v-if="canShowNpsModule"
|
|
|
|
+ />
|
|
</van-tab>
|
|
</van-tab>
|
|
<!-- 进度 -->
|
|
<!-- 进度 -->
|
|
<van-tab
|
|
<van-tab
|
|
@@ -123,7 +129,7 @@
|
|
</div>
|
|
</div>
|
|
</van-skeleton>
|
|
</van-skeleton>
|
|
<!-- 客服-->
|
|
<!-- 客服-->
|
|
- <customer-corner :scroll-status="scrollStatus" bottom-position="12%"/>
|
|
|
|
|
|
+ <customer-corner :scroll-status="scrollStatus" bottom-position="12%" />
|
|
<ThirdPartyVerifyPopup
|
|
<ThirdPartyVerifyPopup
|
|
v-model="popup.thirdPartyVerify"
|
|
v-model="popup.thirdPartyVerify"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
:beforeLeavePage="beforeLeavePage"
|
|
@@ -176,7 +182,10 @@ import CustomerCorner from '@/components/customer/index'
|
|
import Error from '@/views/article/components/Error.vue'
|
|
import Error from '@/views/article/components/Error.vue'
|
|
import { throttle } from 'lodash'
|
|
import { throttle } from 'lodash'
|
|
import { mapState, mapMutations, mapActions, mapGetters } from 'vuex'
|
|
import { mapState, mapMutations, mapActions, mapGetters } from 'vuex'
|
|
-import { getArticleShareInfo, getContentShareEncrypt } from '@/api/modules/article'
|
|
|
|
|
|
+import {
|
|
|
|
+ getArticleShareInfo,
|
|
|
|
+ getContentShareEncrypt
|
|
|
|
+} from '@/api/modules/article'
|
|
import { LINKS } from '@/data'
|
|
import { LINKS } from '@/data'
|
|
import { openAppOrWxPage } from '@/utils/'
|
|
import { openAppOrWxPage } from '@/utils/'
|
|
import setPageTdk from '@/utils/mixins/modules/set-tdk'
|
|
import setPageTdk from '@/utils/mixins/modules/set-tdk'
|
|
@@ -291,7 +300,7 @@ export default {
|
|
expandModel: (state) => state.article.expandModel,
|
|
expandModel: (state) => state.article.expandModel,
|
|
otherModel: (state) => state.article.otherModel
|
|
otherModel: (state) => state.article.otherModel
|
|
}),
|
|
}),
|
|
- IsCustomTopNet() {
|
|
|
|
|
|
+ IsCustomTopNet() {
|
|
return this.content.IsCustomTopNet || false
|
|
return this.content.IsCustomTopNet || false
|
|
},
|
|
},
|
|
openid() {
|
|
openid() {
|
|
@@ -307,7 +316,7 @@ export default {
|
|
canRead() {
|
|
canRead() {
|
|
return this.content.isCanRead
|
|
return this.content.isCanRead
|
|
},
|
|
},
|
|
- canShowNpsModule () {
|
|
|
|
|
|
+ canShowNpsModule() {
|
|
if (this.IsCustomTopNet) {
|
|
if (this.IsCustomTopNet) {
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
@@ -318,7 +327,9 @@ export default {
|
|
},
|
|
},
|
|
advancedModuleShow() {
|
|
advancedModuleShow() {
|
|
return Object.assign({}, this.expandModel.moduleShow, {
|
|
return Object.assign({}, this.expandModel.moduleShow, {
|
|
- tbService: this.IsCustomTopNet ? false : this.expandModel.moduleShow.tbService
|
|
|
|
|
|
+ tbService: this.IsCustomTopNet
|
|
|
|
+ ? false
|
|
|
|
+ : this.expandModel.moduleShow.tbService
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 客户推荐模块是否展示
|
|
// 客户推荐模块是否展示
|
|
@@ -353,7 +364,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
...mapMutations('article', [
|
|
...mapMutations('article', [
|
|
'setOtherModelChild',
|
|
'setOtherModelChild',
|
|
- 'setMainContentModelChild',
|
|
|
|
|
|
+ 'setMainContentModelChild'
|
|
]),
|
|
]),
|
|
...mapActions('article', [
|
|
...mapActions('article', [
|
|
'pageStateReset',
|
|
'pageStateReset',
|
|
@@ -598,10 +609,10 @@ export default {
|
|
if (id) {
|
|
if (id) {
|
|
try {
|
|
try {
|
|
const data = await getContentShareEncrypt({ id })
|
|
const data = await getContentShareEncrypt({ id })
|
|
- if(data.flag === 'T'){
|
|
|
|
|
|
+ if (data.flag === 'T') {
|
|
encryptid = data.sid_openid
|
|
encryptid = data.sid_openid
|
|
this.wxShareCache.encryptid = encryptid
|
|
this.wxShareCache.encryptid = encryptid
|
|
- var add1 = subhref.substring(0,subhref.indexOf('/content/'))
|
|
|
|
|
|
+ var add1 = subhref.substring(0, subhref.indexOf('/content/'))
|
|
var add2 = subhref.substring(subhref.indexOf('.html'))
|
|
var add2 = subhref.substring(subhref.indexOf('.html'))
|
|
subhref = add1 + '/content/' + encryptid + add2
|
|
subhref = add1 + '/content/' + encryptid + add2
|
|
this.wxShareCache.subhref = subhref
|
|
this.wxShareCache.subhref = subhref
|
|
@@ -616,17 +627,16 @@ export default {
|
|
} else {
|
|
} else {
|
|
link = window.location.href
|
|
link = window.location.href
|
|
}
|
|
}
|
|
- if (link.indexOf('?') === -1){
|
|
|
|
|
|
+ if (link.indexOf('?') === -1) {
|
|
link += '?'
|
|
link += '?'
|
|
} else {
|
|
} else {
|
|
link += '&'
|
|
link += '&'
|
|
}
|
|
}
|
|
- if(!encryptid){
|
|
|
|
|
|
+ if (!encryptid) {
|
|
link += `openid=${openid}&`
|
|
link += `openid=${openid}&`
|
|
}
|
|
}
|
|
link += 'source=wx_infocontentshare'
|
|
link += 'source=wx_infocontentshare'
|
|
|
|
|
|
-
|
|
|
|
this.shareConf.title = title
|
|
this.shareConf.title = title
|
|
this.shareConf.content = content
|
|
this.shareConf.content = content
|
|
this.shareConf.link = link
|
|
this.shareConf.link = link
|
|
@@ -761,15 +771,10 @@ export default {
|
|
|
|
|
|
.content-abstract-ent-list-module + .data-export-banner-module {
|
|
.content-abstract-ent-list-module + .data-export-banner-module {
|
|
padding-top: 0;
|
|
padding-top: 0;
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
-.data-export-banner-module {
|
|
|
|
- padding: 8px 12px 12px;
|
|
|
|
- &.borderTop{
|
|
|
|
- border-top: 0.5px solid rgba(0, 0, 0, 0.05);
|
|
|
|
- padding-top:12px;
|
|
|
|
- }
|
|
|
|
|
|
+.content-abstract-other {
|
|
|
|
+ border-top: 0.5px solid rgba(0, 0, 0, 0.05);
|
|
|
|
+ padding: 12px;
|
|
}
|
|
}
|
|
|
|
|
|
.share-subtitle-container {
|
|
.share-subtitle-container {
|