diff --git a/src/api/ThemeComparison/index.js b/src/api/ThemeComparison/index.js new file mode 100644 index 0000000..43deaef --- /dev/null +++ b/src/api/ThemeComparison/index.js @@ -0,0 +1,105 @@ +import httpService from "@/request" + +// 主题对比-信息量趋势 +export function getCountTime0528C(params) { + let obj = Object.assign({action: 'getCountTime0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-整体信息量 +export function getContrastCount0528C(params) { + let obj = Object.assign({action: 'getContrastCount0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-调性比例 +export function getAffectionsC(params) { + let obj = Object.assign({action: 'getAffectionsC', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-整体互动人数 +export function getInteractCount0528C(params) { + let obj = Object.assign({action: 'getInteractCount0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-渠道分布 +export function getSourcetypeC(params) { + let obj = Object.assign({action: 'getSourcetypeC', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-重点媒体传播对比 +export function getSourceCount0528C(params) { + let obj = Object.assign({action: 'getSourceCount0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-传播top媒体 +export function getSourceTopCount0528C(params) { + let obj = Object.assign({action: 'getSourceTopCount0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-整体词云对比 +export function getPositiveAndNegative0528C(params) { + let obj = Object.assign({action: 'getPositiveAndNegative0528C', sType: 'BrandOverview',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} \ No newline at end of file diff --git a/src/api/ThemeComparisonWeibo/index.js b/src/api/ThemeComparisonWeibo/index.js new file mode 100644 index 0000000..d09f7c4 --- /dev/null +++ b/src/api/ThemeComparisonWeibo/index.js @@ -0,0 +1,92 @@ +import httpService from "@/request" + +// 主题对比-微博信息量对比 +export function getContrastCount0528C(params) { + let obj = Object.assign({action: 'getContrastCount0528C', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-微博互动人数对比 +export function getInteractCount0528C(params) { + let obj = Object.assign({action: 'getInteractCount0528C', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-微博大V +export function getBoauthen0528C(params) { + let obj = Object.assign({action: 'getBoauthen0528C', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-微博调性对比 +export function getAffectionsC(params) { + let obj = Object.assign({action: 'getAffectionsC', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-微博内容方向 +export function getDirect0528C(params) { + let obj = Object.assign({action: 'getDirect0528C', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-用户区域分布 +export function getRegionWeiBoC(params) { + let obj = Object.assign({action: 'getRegionWeiBoC', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 主题对比-微博人群画像 +export function getSexMergeWeiBoC(params) { + let obj = Object.assign({action: 'getSexMergeWeiBoC', sType: 'BrandWeiBo',iContrastType: '4'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} \ No newline at end of file diff --git a/src/assets/images/Index/card_status_small.png b/src/assets/images/Index/card_status_small.png new file mode 100644 index 0000000..0bc0d91 Binary files /dev/null and b/src/assets/images/Index/card_status_small.png differ diff --git a/src/components/v-card-button/index.vue b/src/components/v-card-button/index.vue index 440f8df..07c6393 100644 --- a/src/components/v-card-button/index.vue +++ b/src/components/v-card-button/index.vue @@ -9,10 +9,10 @@