|
@@ -4,7 +4,14 @@
|
|
|
class="content-customer-recommend"
|
|
|
v-if="showModule"
|
|
|
>
|
|
|
- <MaskCard v-if="showMask"></MaskCard>
|
|
|
+ <MaskCard
|
|
|
+ v-if="showMask"
|
|
|
+ :title="maskConf.title"
|
|
|
+ :exampleImage="maskConf.exampleImage"
|
|
|
+ :desc="maskConf.desc"
|
|
|
+ @headerActionClick="headerActionClick"
|
|
|
+ @footerBtnClick="footerBtnClick"
|
|
|
+ ></MaskCard>
|
|
|
<template v-else>
|
|
|
<div class="customer-list">
|
|
|
<CustomerCell
|
|
@@ -48,6 +55,11 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ maskConf: {
|
|
|
+ title: '大会员专家版权益',
|
|
|
+ exampleImage: 'mask/example/customer-list-example-img@2x.png',
|
|
|
+ desc: '根据区域、业务范围、客户类型帮助企业快速找到目标地区潜在业务需求客户及联系方式。'
|
|
|
+ },
|
|
|
// entList: [
|
|
|
// {
|
|
|
// id: 'e-1111',
|
|
@@ -117,7 +129,7 @@ export default {
|
|
|
},
|
|
|
showModule() {
|
|
|
if (this.hasBigMemberPower7) {
|
|
|
- return this.entList.length
|
|
|
+ return this.entList.length > 0
|
|
|
} else {
|
|
|
return true
|
|
|
}
|
|
@@ -133,9 +145,6 @@ export default {
|
|
|
return !this.hasBigMemberPower7
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
- window.t = this
|
|
|
- },
|
|
|
methods: {
|
|
|
toDetail(item) {
|
|
|
const query = {
|
|
@@ -177,6 +186,21 @@ export default {
|
|
|
} catch (error) {
|
|
|
console.log(error)
|
|
|
}
|
|
|
+ },
|
|
|
+ headerActionClick() {
|
|
|
+ openAppOrWxPage(LINKS.大会员落地页面)
|
|
|
+ },
|
|
|
+ footerBtnClick() {
|
|
|
+ const source = `${this.$env.platform}_article_CustomerRecommend`
|
|
|
+ // 留资页面
|
|
|
+ // this.$leaveInfo.toLeaveInfoPage({
|
|
|
+ // source
|
|
|
+ // })
|
|
|
+ openAppOrWxPage(LINKS.留资, {
|
|
|
+ query: {
|
|
|
+ source
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|