From 2f6c5bef65c0c72c074d12bee506179c4c97ee99 Mon Sep 17 00:00:00 2001 From: "lily.zhang" Date: Thu, 21 Oct 2021 18:04:16 +0800 Subject: [PATCH] cxw-010203 --- src/api/home/index.js | 32 +++- src/components/v-echars/index.vue | 33 +++- src/components/v-label-ctx/index.vue | 4 +- src/lycomponents/iHeader/index.vue | 1 - .../brandTonalDistribution/roundata/index.vue | 3 +- src/views/Index/dynamicNumber/index.vue | 10 +- src/views/Index/index.vue | 47 +++-- src/views/Index/salesRank/index.vue | 62 +++++-- src/views/Index/salesRank/opt.js | 13 +- src/views/Index/userPortrait/index.vue | 69 ++++++- src/views/Index/userPortrait/opt.js | 170 ++++++++---------- 11 files changed, 279 insertions(+), 165 deletions(-) diff --git a/src/api/home/index.js b/src/api/home/index.js index a0bc835..66de74a 100644 --- a/src/api/home/index.js +++ b/src/api/home/index.js @@ -1,7 +1,7 @@ /* * @Author: your name * @Date: 2021-10-20 16:17:39 - * @LastEditTime: 2021-10-21 15:27:39 + * @LastEditTime: 2021-10-21 17:32:22 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: /data-show/src/api/home/index.js @@ -37,7 +37,15 @@ export function getHomeCount0528(params) { params: obj }) } - +// 首页_热销排行-选择框 +export function getCheZhuTime0528(params) { + let obj = Object.assign({action: 'getCheZhuTime0528'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'get', + params: obj + }) +} // 首页_热销排行 export function getCheZhuBrandCount0528(params) { let obj = Object.assign({action: 'getCheZhuBrandCount0528',sType: 'Home'}, params) @@ -115,4 +123,24 @@ export function getHomeBrandSourceType0528(params) { method: 'get', params: obj }) +} + +// 首页_获取用户画像 +export function getSexOrAttestationOrRegionHome0528(params) { + let obj = Object.assign({action: 'getSexOrAttestationOrRegionHome0528',sType: 'Home'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'get', + params: obj + }) +} + +// 首页_全网传播数量详情数据 +export function getHomeList0528(params) { + let obj = Object.assign({action: 'getHomeList0528',sType: 'Home'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'get', + params: obj + }) } \ No newline at end of file diff --git a/src/components/v-echars/index.vue b/src/components/v-echars/index.vue index 139e39b..9de331c 100644 --- a/src/components/v-echars/index.vue +++ b/src/components/v-echars/index.vue @@ -1,7 +1,7 @@