提交 20a524b7 编写于 作者: guangjun.yang's avatar guangjun.yang

样式及控制台

上级 31c8b5eb
...@@ -76,6 +76,7 @@ export default { ...@@ -76,6 +76,7 @@ export default {
} }
.num { .num {
color: #FF8054; color: #FF8054;
font-weight: 700;
} }
} }
} }
......
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
<div class="card-6-wrapper"> <div class="card-6-wrapper">
<Logo imgType="2"></Logo> <Logo imgType="2"></Logo>
<div class="bgi-wrapper"> <div class="bgi-wrapper">
<img class="bg" <img class="ani bg"
swiper-animate-effect=""
swiper-animate-duration="1s"
swiper-animate-delay="3s"
src="https://file.yunqueyi.com/h5/images/asimg/env-back.png" alt /> src="https://file.yunqueyi.com/h5/images/asimg/env-back.png" alt />
</div> </div>
<section <section
......
...@@ -19,7 +19,7 @@ Vue.prototype.$callApp = callApp; ...@@ -19,7 +19,7 @@ Vue.prototype.$callApp = callApp;
// Vue.prototype.clipboard = clipboard; // Vue.prototype.clipboard = clipboard;
const envList = ['dev', 'test', 'uat']; const envList = ['dev', 'test'];
const { BUILD_ENV } = process.env; const { BUILD_ENV } = process.env;
if (envList.indexOf(BUILD_ENV) != -1) { if (envList.indexOf(BUILD_ENV) != -1) {
const VConsole = require('vconsole'); const VConsole = require('vconsole');
......
...@@ -180,6 +180,30 @@ export default { ...@@ -180,6 +180,30 @@ export default {
methods: { methods: {
...mapActions(["setUserInfo", "setBackBDText"]), ...mapActions(["setUserInfo", "setBackBDText"]),
// 获取数据
initData() {
let param = {
token: this.token || "46377F8580DA48C4AD3A4DFDEF33C3D0",
yearType: "2020",
setEntry: true
};
this.showLoading = true;
this.GET(`stats/year/end/report/app`, param).then(res => {
if (res.code == "000000") {
this.handlerDate(res.data || {});
this.handle4DBText();
this.$forceUpdate();
this.$nextTick(() => {
setTimeout(() => {
this.showLoading = false;
this.initSwiper();
}, 100);
});
} else {
Toast(res.message);
}
});
},
// 先构造埋点的基础数据 // 先构造埋点的基础数据
handle4DBText() { handle4DBText() {
let anualData = this.anualData; let anualData = this.anualData;
...@@ -236,31 +260,6 @@ export default { ...@@ -236,31 +260,6 @@ export default {
} }
}, },
// 获取数据
initData() {
let param = {
token: this.token || "1C6B1E90B51248AEA7F28C118828074B",
yearType: "2020",
setEntry: true
};
this.showLoading = true;
this.GET(`stats/year/end/report/app`, param).then(res => {
if (res.code == "000000") {
this.handlerDate(res.data || {});
this.handle4DBText();
this.$forceUpdate();
this.$nextTick(() => {
setTimeout(() => {
this.showLoading = false;
this.initSwiper();
}, 100);
});
} else {
Toast(res.message);
}
});
},
// 对数据进行处理 // 对数据进行处理
handlerDate(anualData) { handlerDate(anualData) {
let learnTime4Show = 0, let learnTime4Show = 0,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册