|
@@ -85,33 +85,74 @@
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
</DropFilter>
|
|
</DropFilter>
|
|
- <div v-if="tabSwitchShow" class="tab-switch bg-white border-line-b">
|
|
|
|
- <van-tabs
|
|
|
|
- v-model="listTabActive"
|
|
|
|
- class="tab-left"
|
|
|
|
- :ellipsis="false"
|
|
|
|
- :before-change="beforeTabActiveChange"
|
|
|
|
- @change="onListTabChange"
|
|
|
|
- >
|
|
|
|
- <van-tab
|
|
|
|
- v-for="(tab, index) in conf.tabList"
|
|
|
|
- :key="index"
|
|
|
|
- :name="tab.name"
|
|
|
|
- :title="tab.title"
|
|
|
|
- />
|
|
|
|
- </van-tabs>
|
|
|
|
- <div class="tab-right">
|
|
|
|
- <div
|
|
|
|
- v-if="listState.count > 0"
|
|
|
|
- class="data-export clickable"
|
|
|
|
- @click="dataExport"
|
|
|
|
|
|
+ <div v-if="tabSwitchShow && listState.count > 0" class="tab-switch">
|
|
|
|
+ <div class="tab-switch-container">
|
|
|
|
+ <div class="flex flex-items-center tab-left">
|
|
|
|
+ <div class="tab-search-info">
|
|
|
|
+ <p v-if="listState.count > 0" class="search-total-count">
|
|
|
|
+ 搜索到<span class="highlight-text">
|
|
|
|
+ {{ calcListTotalText(listState.count) }} </span
|
|
|
|
+ >条信息
|
|
|
|
+ </p>
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="listState.count > 0"
|
|
|
|
+ class="data-export clickable"
|
|
|
|
+ @click="dataExport"
|
|
|
|
+ >
|
|
|
|
+ <AppIcon name="shujudaochu_xiao1" />
|
|
|
|
+ <span class="text">导出</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- <van-tabs
|
|
|
|
+ v-model="listTabActive"
|
|
|
|
+ class="tab-left"
|
|
|
|
+ :ellipsis="false"
|
|
|
|
+ :before-change="beforeTabActiveChange"
|
|
|
|
+ @change="onListTabChange"
|
|
>
|
|
>
|
|
- <AppIcon name="shujudaochu_xiao1" />
|
|
|
|
- <span class="text">数据导出</span>
|
|
|
|
|
|
+ <van-tab
|
|
|
|
+ v-for="(tab, index) in conf.tabList"
|
|
|
|
+ :key="index"
|
|
|
|
+ :name="tab.name"
|
|
|
|
+ :title="tab.title"
|
|
|
|
+ />
|
|
|
|
+ </van-tabs> -->
|
|
|
|
+ <div class="tab-right">
|
|
|
|
+ <van-popover
|
|
|
|
+ v-model="showPopover"
|
|
|
|
+ trigger="click"
|
|
|
|
+ :actions="conf.tabList"
|
|
|
|
+ :offset="[6, 16]"
|
|
|
|
+ placement="bottom-end"
|
|
|
|
+ get-container=".tab-switch-container"
|
|
|
|
+ >
|
|
|
|
+ <div class="tab-column">
|
|
|
|
+ <div
|
|
|
|
+ v-for="(tab, index) in conf.tabList"
|
|
|
|
+ :key="index"
|
|
|
|
+ class="tab-column-item"
|
|
|
|
+ :class="{ active: listTabActive === tab.name }"
|
|
|
|
+ :name="tab.name"
|
|
|
|
+ @click.stop="onListTabClick(tab.name)"
|
|
|
|
+ >
|
|
|
|
+ {{ tab.title }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <template #reference>
|
|
|
|
+ <div class="selected-tab-content">
|
|
|
|
+ <span>{{ listTabActiveText }}</span>
|
|
|
|
+ <van-icon name="arrow-down" color="#2ABED1" />
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </van-popover>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="">
|
|
|
|
|
|
+ <div
|
|
|
|
+ class="recommend-card-container"
|
|
|
|
+ :style="{ opacity: cardLoaded ? 'unset' : '0' }"
|
|
|
|
+ >
|
|
<!-- 超前项目推荐 & 定制化分析报告 -->
|
|
<!-- 超前项目推荐 & 定制化分析报告 -->
|
|
<RecommendCard
|
|
<RecommendCard
|
|
v-if="recommendInfo.show"
|
|
v-if="recommendInfo.show"
|
|
@@ -131,6 +172,9 @@
|
|
class="j-main subscribe-list"
|
|
class="j-main subscribe-list"
|
|
@scroll="scrollWrapFn"
|
|
@scroll="scrollWrapFn"
|
|
>
|
|
>
|
|
|
|
+ <div v-if="preloadTipText" class="text-center preload-tip">
|
|
|
|
+ {{ preloadTipText }}
|
|
|
|
+ </div>
|
|
<van-list
|
|
<van-list
|
|
v-show="listTabActive === 'list' || listTabActive === 'detailedList'"
|
|
v-show="listTabActive === 'list' || listTabActive === 'detailedList'"
|
|
ref="vanList"
|
|
ref="vanList"
|
|
@@ -143,13 +187,13 @@
|
|
:class="{ 'calc-height-1px': !hasMorePage }"
|
|
:class="{ 'calc-height-1px': !hasMorePage }"
|
|
@load="getList"
|
|
@load="getList"
|
|
>
|
|
>
|
|
- <div class="tab-search-info">
|
|
|
|
|
|
+ <!-- <div class="tab-search-info">
|
|
<p v-if="listState.count > 0" class="search-total-count">
|
|
<p v-if="listState.count > 0" class="search-total-count">
|
|
搜索到<span class="highlight-text">
|
|
搜索到<span class="highlight-text">
|
|
{{ calcListTotalText(listState.count) }} </span
|
|
{{ calcListTotalText(listState.count) }} </span
|
|
>条信息
|
|
>条信息
|
|
</p>
|
|
</p>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
<div class="list-wrapper">
|
|
<div class="list-wrapper">
|
|
<van-popup
|
|
<van-popup
|
|
v-model="showBidStatus"
|
|
v-model="showBidStatus"
|
|
@@ -268,7 +312,8 @@
|
|
</div>
|
|
</div>
|
|
<AppEmpty
|
|
<AppEmpty
|
|
v-show="listState.list.length === 0 && listState.finished"
|
|
v-show="listState.list.length === 0 && listState.finished"
|
|
- state="sleep"
|
|
|
|
|
|
+ state="back"
|
|
|
|
+ style="background: transparent"
|
|
>
|
|
>
|
|
<!-- 有订阅管理权限的 -->
|
|
<!-- 有订阅管理权限的 -->
|
|
<div v-if="showSubscribeManageButton">
|
|
<div v-if="showSubscribeManageButton">
|
|
@@ -288,7 +333,9 @@
|
|
<!-- 有关键词未有数据 -->
|
|
<!-- 有关键词未有数据 -->
|
|
<template v-else>
|
|
<template v-else>
|
|
<div class="empty-text">
|
|
<div class="empty-text">
|
|
- 对不起,没有匹配到数据,请修改订阅设置
|
|
|
|
|
|
+ <!-- 对不起,没有匹配到数据,请修改订阅设置 -->
|
|
|
|
+ 未匹配到您关注的商机(最近15天发布)<br />
|
|
|
|
+ 建议您完善订阅关键词
|
|
</div>
|
|
</div>
|
|
<van-button
|
|
<van-button
|
|
class="to-keyset-page-button mt-24"
|
|
class="to-keyset-page-button mt-24"
|
|
@@ -296,7 +343,7 @@
|
|
type="primary"
|
|
type="primary"
|
|
@click="toSubManagePage"
|
|
@click="toSubManagePage"
|
|
>
|
|
>
|
|
- <span class="text">前往订阅设置</span>
|
|
|
|
|
|
+ <span class="text">去修改</span>
|
|
</van-button>
|
|
</van-button>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -462,7 +509,7 @@
|
|
v-if="vipNoticeBarShow"
|
|
v-if="vipNoticeBarShow"
|
|
theme="red"
|
|
theme="red"
|
|
:right-text="noticeBar.vipRightText"
|
|
:right-text="noticeBar.vipRightText"
|
|
- @clickLeft="noticeBar.vipShow = false"
|
|
|
|
|
|
+ @clickLeft="onVipNoticeClickLeft"
|
|
@clickRight="toBuyVip"
|
|
@clickRight="toBuyVip"
|
|
>
|
|
>
|
|
{{ noticeBar.vipContentText }}
|
|
{{ noticeBar.vipContentText }}
|
|
@@ -496,12 +543,50 @@
|
|
/>
|
|
/>
|
|
<PopupDataexport ref="popup_dataExport" @next="next_export" />
|
|
<PopupDataexport ref="popup_dataExport" @next="next_export" />
|
|
<CheckUserDialog />
|
|
<CheckUserDialog />
|
|
|
|
+ <!-- 推送提醒提示 -->
|
|
|
|
+ <NoticeBar
|
|
|
|
+ v-if="noticeBar.pushSetShow"
|
|
|
|
+ class="push-notice-bar"
|
|
|
|
+ right-text="去设置"
|
|
|
|
+ @clickLeft="noticeBar.pushSetShow = false"
|
|
|
|
+ @clickRight="toPushSetPage"
|
|
|
|
+ >
|
|
|
|
+ <p class="push-set-tips">
|
|
|
|
+ 新增商机可通过邮件、微信、APP进行推送提醒,为保证您能及时接收信息,请进行推送设置。
|
|
|
|
+ </p>
|
|
|
|
+ </NoticeBar>
|
|
|
|
+ <!-- 订阅引导 -->
|
|
|
|
+ <van-overlay :show="showGuide" @click="showGuide = false">
|
|
|
|
+ <div class="subscribe-guide">
|
|
|
|
+ <div class="guide-tips">
|
|
|
|
+ <div v-if="$envs.inApp" class="tabbar-header-top-placeholder" />
|
|
|
|
+ <div class="tips-button">订阅管理</div>
|
|
|
|
+ <div class="tips-popover">
|
|
|
|
+ <div class="tips-popover-content">
|
|
|
|
+ <p class="tips-text">您可点击此处修改订阅条件</p>
|
|
|
|
+ <span class="know-btn" @click="onGuideKnow">我知道了</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </van-overlay>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { mapActions, mapGetters, mapState } from 'vuex'
|
|
import { mapActions, mapGetters, mapState } from 'vuex'
|
|
-import { Badge, Button, List, Popup, Tab, Tabs, Tag } from 'vant'
|
|
|
|
|
|
+import {
|
|
|
|
+ Badge,
|
|
|
|
+ Button,
|
|
|
|
+ List,
|
|
|
|
+ Popup,
|
|
|
|
+ Tab,
|
|
|
|
+ Tabs,
|
|
|
|
+ Tag,
|
|
|
|
+ Overlay,
|
|
|
|
+ Popover,
|
|
|
|
+ Icon
|
|
|
|
+} from 'vant'
|
|
import dayjs from 'dayjs'
|
|
import dayjs from 'dayjs'
|
|
import qs from 'qs'
|
|
import qs from 'qs'
|
|
import { throttle } from 'lodash'
|
|
import { throttle } from 'lodash'
|
|
@@ -557,7 +642,9 @@ import {
|
|
getUserSubscribeSomeInfo,
|
|
getUserSubscribeSomeInfo,
|
|
selectEnt,
|
|
selectEnt,
|
|
setSubscribePageAreaPackTipClose,
|
|
setSubscribePageAreaPackTipClose,
|
|
- setUserSubscribeListVisited
|
|
|
|
|
|
+ setUserSubscribeListVisited,
|
|
|
|
+ ajaxGetTipInfo,
|
|
|
|
+ getPushSet
|
|
} from '@/api/modules'
|
|
} from '@/api/modules'
|
|
import { leadGetDate } from '@/api/modules/leadGeneration'
|
|
import { leadGetDate } from '@/api/modules/leadGeneration'
|
|
|
|
|
|
@@ -584,6 +671,9 @@ export default {
|
|
[Tab.name]: Tab,
|
|
[Tab.name]: Tab,
|
|
[Tag.name]: Tag,
|
|
[Tag.name]: Tag,
|
|
[Popup.name]: Popup,
|
|
[Popup.name]: Popup,
|
|
|
|
+ [Overlay.name]: Overlay,
|
|
|
|
+ [Popover.name]: Popover,
|
|
|
|
+ [Icon.name]: Icon,
|
|
[AppIcon.name]: AppIcon,
|
|
[AppIcon.name]: AppIcon,
|
|
[Ad.name]: Ad,
|
|
[Ad.name]: Ad,
|
|
[AppEmpty.name]: AppEmpty,
|
|
[AppEmpty.name]: AppEmpty,
|
|
@@ -619,12 +709,12 @@ export default {
|
|
listTabActiveStorageKey: 'subscribe_listTabActive',
|
|
listTabActiveStorageKey: 'subscribe_listTabActive',
|
|
tabList: [
|
|
tabList: [
|
|
{
|
|
{
|
|
- title: '精简列表',
|
|
|
|
|
|
+ title: '精简',
|
|
cardType: 'simplify',
|
|
cardType: 'simplify',
|
|
name: 'list'
|
|
name: 'list'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '详细列表',
|
|
|
|
|
|
+ title: '详细',
|
|
name: 'detailedList',
|
|
name: 'detailedList',
|
|
cardType: 'detailed',
|
|
cardType: 'detailed',
|
|
needPower: true
|
|
needPower: true
|
|
@@ -725,7 +815,8 @@ export default {
|
|
settingKeywordsShow: true,
|
|
settingKeywordsShow: true,
|
|
vipShow: true,
|
|
vipShow: true,
|
|
vipRightText: '',
|
|
vipRightText: '',
|
|
- vipContentText: ''
|
|
|
|
|
|
+ vipContentText: '',
|
|
|
|
+ pushSetShow: false
|
|
},
|
|
},
|
|
// 页面筛选器其他状态
|
|
// 页面筛选器其他状态
|
|
searchState: {
|
|
searchState: {
|
|
@@ -844,7 +935,18 @@ export default {
|
|
mergedKeywords: [],
|
|
mergedKeywords: [],
|
|
alreadyLeave: false, // 免费用户是否已经留资. true为已留资,false为未留资或者留资信息不全
|
|
alreadyLeave: false, // 免费用户是否已经留资. true为已留资,false为未留资或者留资信息不全
|
|
scrollStatus: true,
|
|
scrollStatus: true,
|
|
- showTutorial: false
|
|
|
|
|
|
+ showTutorial: false,
|
|
|
|
+ showGuide: false,
|
|
|
|
+ pushSwitch: {
|
|
|
|
+ wx: false,
|
|
|
|
+ mail: false,
|
|
|
|
+ app: false
|
|
|
|
+ },
|
|
|
|
+ showPopover: false,
|
|
|
|
+ // 预加载提醒文案
|
|
|
|
+ preloadTipText: '',
|
|
|
|
+ // 市场分析报告是否加载完成
|
|
|
|
+ cardLoaded: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -1076,6 +1178,19 @@ export default {
|
|
},
|
|
},
|
|
isHasKey() {
|
|
isHasKey() {
|
|
return this.mergedKeywords.length > 0
|
|
return this.mergedKeywords.length > 0
|
|
|
|
+ },
|
|
|
|
+ listTabActiveText() {
|
|
|
|
+ // list/detailedList/table
|
|
|
|
+ const listTabActive = this.listTabActive
|
|
|
|
+ if (listTabActive === 'list') {
|
|
|
|
+ return '精简'
|
|
|
|
+ } else if (listTabActive === 'detailedList') {
|
|
|
|
+ return '详细'
|
|
|
|
+ } else if (listTabActive === 'table') {
|
|
|
|
+ return '表格'
|
|
|
|
+ } else {
|
|
|
|
+ return '精简'
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -1097,9 +1212,16 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$toast.clear()
|
|
this.$toast.clear()
|
|
}
|
|
}
|
|
|
|
+ this.moveRecommendCard(n)
|
|
},
|
|
},
|
|
disabledFilters(newVal) {
|
|
disabledFilters(newVal) {
|
|
this.changeFiltersPower(newVal)
|
|
this.changeFiltersPower(newVal)
|
|
|
|
+ },
|
|
|
|
+ subscribeList(list) {
|
|
|
|
+ if (list && list.length && this.listTabActive === 'list') {
|
|
|
|
+ // 市场分析报告插到第一条数据后面位置
|
|
|
|
+ this.moveRecommendCard('list')
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async created() {
|
|
async created() {
|
|
@@ -1145,8 +1267,6 @@ export default {
|
|
}
|
|
}
|
|
this.getMergedEntSubscribeKeywords()
|
|
this.getMergedEntSubscribeKeywords()
|
|
}
|
|
}
|
|
- console.log(this.restfulApiUserTypeWitchVSwitch, 'created')
|
|
|
|
- console.log(this.vSwitch)
|
|
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
iosBackRefresh()
|
|
iosBackRefresh()
|
|
@@ -1154,7 +1274,6 @@ export default {
|
|
this.initScrollEvents()
|
|
this.initScrollEvents()
|
|
this.appTabShow()
|
|
this.appTabShow()
|
|
this.getConfigurationApi()
|
|
this.getConfigurationApi()
|
|
- console.log(this.restfulApiUserTypeWitchVSwitch, 'mounted')
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
formatMoney,
|
|
formatMoney,
|
|
@@ -1275,6 +1394,7 @@ export default {
|
|
this.initSubscribeType(this.subscribeTypeActive)
|
|
this.initSubscribeType(this.subscribeTypeActive)
|
|
await this.doSearch()
|
|
await this.doSearch()
|
|
await this.getMergedEntSubscribeKeywords()
|
|
await this.getMergedEntSubscribeKeywords()
|
|
|
|
+ await this.getPushSettingNotices()
|
|
loading.clear()
|
|
loading.clear()
|
|
},
|
|
},
|
|
// vSwitch身份切换
|
|
// vSwitch身份切换
|
|
@@ -1304,6 +1424,7 @@ export default {
|
|
this.pageState.someInfo.loadedSuccess = true
|
|
this.pageState.someInfo.loadedSuccess = true
|
|
this.calcVipNoticeBarInfo()
|
|
this.calcVipNoticeBarInfo()
|
|
this.checkGoToSubscribeGuide()
|
|
this.checkGoToSubscribeGuide()
|
|
|
|
+ this.getPushSettingNotices()
|
|
} else {
|
|
} else {
|
|
console.error(msg)
|
|
console.error(msg)
|
|
}
|
|
}
|
|
@@ -1802,6 +1923,10 @@ export default {
|
|
} else {
|
|
} else {
|
|
t.finished = true
|
|
t.finished = true
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ // 预加载提示语
|
|
|
|
+ this.preloadTipText = data?.subListTip || ''
|
|
|
|
+ this.linkToSubscribeGuide()
|
|
} else {
|
|
} else {
|
|
this.$toast(msg || '请求失败')
|
|
this.$toast(msg || '请求失败')
|
|
t.loaded = true
|
|
t.loaded = true
|
|
@@ -2852,6 +2977,123 @@ export default {
|
|
} else {
|
|
} else {
|
|
console.warn(msg)
|
|
console.warn(msg)
|
|
}
|
|
}
|
|
|
|
+ },
|
|
|
|
+ // 已完成订阅条件设置(不进订阅向导)且我的订阅”APP、邮件、微信提醒都关闭时,展示此提醒
|
|
|
|
+ // 优先展示超级订阅续费提醒,点击×之后再展示推送设置提醒
|
|
|
|
+ async getPushSettingNotices() {
|
|
|
|
+ // 已完成订阅条件设置
|
|
|
|
+ const { isInTSguide } = this.pageState.someInfo
|
|
|
|
+ const { data, error_code: code, error_msg: msg } = await getPushSet()
|
|
|
|
+ if (code === 0 && data) {
|
|
|
|
+ const { o_subset } = data
|
|
|
|
+ this.pushSwitch.mail = !!o_subset?.i_mailpush
|
|
|
|
+ this.pushSwitch.app = !!o_subset?.i_apppush
|
|
|
|
+ this.pushSwitch.wx = !!o_subset?.i_wxpush
|
|
|
|
+ // console.log(this.vipNoticeBarShow, isInTSguide, this.pushSwitch)
|
|
|
|
+ // console.log(this.isPersonalSubscribe, this.subscribeTypeActive, '提醒')
|
|
|
|
+ if (
|
|
|
|
+ !this.vipNoticeBarShow &&
|
|
|
|
+ !isInTSguide &&
|
|
|
|
+ !this.pushSwitch.mail &&
|
|
|
|
+ !this.pushSwitch.app &&
|
|
|
|
+ !this.pushSwitch.wx &&
|
|
|
|
+ this.isPersonalSubscribe
|
|
|
|
+ ) {
|
|
|
|
+ this.noticeBar.pushSetShow = true
|
|
|
|
+ } else {
|
|
|
|
+ this.noticeBar.pushSetShow = false
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ console.warn(msg)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 是否显示(设置)订阅向导
|
|
|
|
+ async getGuideInfo(know) {
|
|
|
|
+ try {
|
|
|
|
+ const params = {
|
|
|
|
+ tipName: 'subscribe_guide',
|
|
|
|
+ doType: know || ''
|
|
|
|
+ }
|
|
|
|
+ const { error_code: code, data } = await ajaxGetTipInfo(params)
|
|
|
|
+ if (code === 0) {
|
|
|
|
+ if (know && data === 1) {
|
|
|
|
+ this.showGuide = false
|
|
|
|
+ } else {
|
|
|
|
+ if (data === 0) {
|
|
|
|
+ this.showGuide = true && this.showSubscribeManageButton
|
|
|
|
+ } else {
|
|
|
|
+ this.showGuide = false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ } catch (err) {
|
|
|
|
+ console.log(err)
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ onGuideKnow() {
|
|
|
|
+ this.getGuideInfo('know')
|
|
|
|
+ this.showGuide = false
|
|
|
|
+ },
|
|
|
|
+ toPushSetPage() {
|
|
|
|
+ this.$router.push('/push/pushsetting')
|
|
|
|
+ },
|
|
|
|
+ onVipNoticeClickLeft() {
|
|
|
|
+ this.noticeBar.vipShow = false
|
|
|
|
+ // 续费提醒关闭后再弹出订阅推送提醒
|
|
|
|
+ this.getPushSettingNotices()
|
|
|
|
+ },
|
|
|
|
+ onListTabClick(name) {
|
|
|
|
+ const isPass = this.beforeTabActiveChange(name)
|
|
|
|
+ if (isPass) {
|
|
|
|
+ this.listTabActive = name
|
|
|
|
+ this.onListTabChange(name)
|
|
|
|
+ this.showPopover = false
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ moveRecommendCard(n) {
|
|
|
|
+ if (n === 'table') {
|
|
|
|
+ // 市场分析报告插到表格头部位置
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ const recommend = document.querySelector('.recommend-card-container')
|
|
|
|
+ const scroll = document.querySelector('.table-container .scroll')
|
|
|
|
+ const recommendChild = document.querySelector('.recommend-bg')
|
|
|
|
+ if (recommend && scroll) {
|
|
|
|
+ const parentNode = scroll.parentNode
|
|
|
|
+ parentNode.insertBefore(recommend, scroll)
|
|
|
|
+ this.cardLoaded = true
|
|
|
|
+ if (recommendChild) {
|
|
|
|
+ recommendChild.style.margin = '0 8px'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
|
|
+ // 市场分析报告插到第一条数据后面位置
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ const recommend = document.querySelector('.recommend-card-container')
|
|
|
|
+ const cellList = document.querySelectorAll('.project-cell')
|
|
|
|
+ const recommendChild = document.querySelector('.recommend-bg')
|
|
|
|
+ if (recommend && cellList[0]) {
|
|
|
|
+ const parentNode = cellList[0].parentNode
|
|
|
|
+ parentNode.insertBefore(recommend, cellList[0].nextSibling)
|
|
|
|
+ this.cardLoaded = true
|
|
|
|
+ if (recommendChild) {
|
|
|
|
+ recommendChild.style.margin = '8px 8px 0'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 根据权限判断是否跳转订阅向导
|
|
|
|
+ linkToSubscribeGuide() {
|
|
|
|
+ // 进入“我的订阅(免费、超级订阅、大会员、商机管理)”:在该用户身份下,订阅列表无数据,且订阅向导未完成,则进入“订阅向导”页,否则进入“我的订阅”列表页
|
|
|
|
+ const noList = this.subscribeList.length === 0
|
|
|
|
+ const { isInTSguide } = this.pageState.someInfo
|
|
|
|
+ if (noList && isInTSguide) {
|
|
|
|
+ this.$router.push('/subscribe/guide')
|
|
|
|
+ } else {
|
|
|
|
+ // 已完成订阅向导再弹修改订阅条件弹框
|
|
|
|
+ this.getGuideInfo()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -2987,12 +3229,13 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.to-keyset-page-button {
|
|
.to-keyset-page-button {
|
|
|
|
+ width: 160px;
|
|
margin-top: 48px;
|
|
margin-top: 48px;
|
|
padding-left: 24px;
|
|
padding-left: 24px;
|
|
padding-right: 24px;
|
|
padding-right: 24px;
|
|
|
|
|
|
.text {
|
|
.text {
|
|
- margin-left: 8px;
|
|
|
|
|
|
+ // margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
|
|
.iconfont {
|
|
.iconfont {
|
|
@@ -3020,8 +3263,8 @@ export default {
|
|
.data-export {
|
|
.data-export {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- line-height: 30px;
|
|
|
|
- font-size: 14px;
|
|
|
|
|
|
+ line-height: 16px;
|
|
|
|
+ font-size: 11px;
|
|
color: $main;
|
|
color: $main;
|
|
|
|
|
|
.text {
|
|
.text {
|
|
@@ -3031,13 +3274,22 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
.tab-switch {
|
|
.tab-switch {
|
|
|
|
+ padding: 8px 11px;
|
|
|
|
+ background: #f5f4f9;
|
|
|
|
+}
|
|
|
|
+.tab-switch-container {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- padding: 2px 16px;
|
|
|
|
- padding-left: 8px;
|
|
|
|
-
|
|
|
|
- .tab-right {
|
|
|
|
|
|
+ padding: 8px;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ border: 1px solid transparent;
|
|
|
|
+ background-clip: padding-box, border-box;
|
|
|
|
+ background-image: linear-gradient(#e8ffff 40%, #ffffff 100%),
|
|
|
|
+ linear-gradient(to right, #2abed1, #4de4f84c, #2abed1);
|
|
|
|
+ background-origin: padding-box, border-box;
|
|
|
|
+
|
|
|
|
+ .tab-left {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
}
|
|
}
|
|
@@ -3056,6 +3308,38 @@ export default {
|
|
padding-left: 0;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .van-popover__arrow {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ .tab-column {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ width: 88px;
|
|
|
|
+ &-item {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 44px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ line-height: 44px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ letter-spacing: 2px;
|
|
|
|
+ &:not(:last-child) {
|
|
|
|
+ border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
|
+ }
|
|
|
|
+ &.active {
|
|
|
|
+ padding-right: 10px;
|
|
|
|
+ color: $color_main;
|
|
|
|
+ background: url(@/assets/image/icon/icon-check.png) no-repeat 58px
|
|
|
|
+ center;
|
|
|
|
+ background-size: 16px 16px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .selected-tab-content {
|
|
|
|
+ font-size: 11px;
|
|
|
|
+ line-height: 16px;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3063,18 +3347,13 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- padding: 0 12px;
|
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
|
.search-total-count {
|
|
.search-total-count {
|
|
- padding: 8px;
|
|
|
|
- font-size: 14px;
|
|
|
|
- color: #686868;
|
|
|
|
- line-height: 22px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .tab-right {
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
|
|
+ margin-right: 8px;
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ color: #171826;
|
|
|
|
+ line-height: 20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3088,7 +3367,7 @@ export default {
|
|
|
|
|
|
.table {
|
|
.table {
|
|
min-width: 1000px;
|
|
min-width: 1000px;
|
|
- margin: 16px;
|
|
|
|
|
|
+ margin: 8px;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
border-collapse: collapse;
|
|
border-collapse: collapse;
|
|
|
|
|
|
@@ -3182,4 +3461,87 @@ export default {
|
|
background-size: contain;
|
|
background-size: contain;
|
|
margin-top: -2px;
|
|
margin-top: -2px;
|
|
}
|
|
}
|
|
|
|
+.preload-tip {
|
|
|
|
+ padding-bottom: 8px;
|
|
|
|
+ color: $main;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ line-height: 18px;
|
|
|
|
+}
|
|
|
|
+::v-deep.push-notice-bar {
|
|
|
|
+ .push-set-tips {
|
|
|
|
+ font-size: 11px;
|
|
|
|
+ }
|
|
|
|
+ .notice-bar-center {
|
|
|
|
+ margin: 0 8px;
|
|
|
|
+ }
|
|
|
|
+ .notice-bar-button {
|
|
|
|
+ padding: 6px 12px;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+.recommend-card-container {
|
|
|
|
+ background: #f5f5f5;
|
|
|
|
+ ::v-deep {
|
|
|
|
+ .recommend-bg {
|
|
|
|
+ padding-bottom: 0;
|
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ }
|
|
|
|
+ .van-cell {
|
|
|
|
+ padding: 8px 12px;
|
|
|
|
+ background: linear-gradient(#ffffff 10%, #f5f5f5 100%);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+.subscribe-guide {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ .guide-tips {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: flex-end;
|
|
|
|
+ padding-right: 8px;
|
|
|
|
+ .tips-button {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ width: 80px;
|
|
|
|
+ height: 44px;
|
|
|
|
+ background: #fff;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ }
|
|
|
|
+ .tips-popover {
|
|
|
|
+ width: 203px;
|
|
|
|
+ height: 98px;
|
|
|
|
+ margin-top: 8px;
|
|
|
|
+ margin-right: 20px;
|
|
|
|
+ background: url(@/assets/image/guide/subscribe-guide.png) no-repeat center;
|
|
|
|
+ background-size: contain;
|
|
|
|
+ &-content {
|
|
|
|
+ padding-top: 26px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ .tips-text {
|
|
|
|
+ color: #1d1d1d;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ line-height: 16px;
|
|
|
|
+ }
|
|
|
|
+ .know-btn {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 120px;
|
|
|
|
+ height: 32px;
|
|
|
|
+ margin-top: 10px;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ line-height: 32px;
|
|
|
|
+ background: $color_main;
|
|
|
|
+ color: #fff;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|