Commit 1dd59eaa authored by leiqingsong's avatar leiqingsong

修改空投池在池人数显示问题

parent e6f58367
# 生产环境 部署生产环境放开这个 # 生产环境 部署生产环境放开这个
# VUE_APP_BASE_URL = " http://8.140.108.250" VUE_APP_BASE_URL = "http://app.xitiansen.com"
# 测试环境 部署测试环境放开这个 # 测试环境 部署测试环境放开这个
VUE_APP_BASE_URL = "http://8.131.244.76:81" # VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file \ No newline at end of file
...@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css"; ...@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css";
import "amfe-flexible"; import "amfe-flexible";
import "@/plugins/vant-ui.js"; import "@/plugins/vant-ui.js";
import "@/plugins/echarts-plugins.js"; import "@/plugins/echarts-plugins.js";
import Vconsole from "vconsole"; // import Vconsole from "vconsole";
import bridgeToAppFun from "@/utils/bridgeToAppFun"; import bridgeToAppFun from "@/utils/bridgeToAppFun";
Vue.prototype.$bridgeToAppFun = new bridgeToAppFun(); Vue.prototype.$bridgeToAppFun = new bridgeToAppFun();
/*生产环境请注释掉 */ /*生产环境请注释掉 */
Vue.prototype.$vConsole = new Vconsole(); // Vue.prototype.$vConsole = new Vconsole();
Vue.use(MiniRefreshTools); Vue.use(MiniRefreshTools);
Vue.config.productionTip = false; Vue.config.productionTip = false;
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<div class="air-panel-num-content"> <div class="air-panel-num-content">
<img src="@/assets/images/parachute.png" alt="" /> <img src="@/assets/images/parachute.png" alt="" />
<p> <p>
本月<span>{{ total }}</span> 人在池 本月<span>{{ total || 0 }}</span> 人在池
</p> </p>
</div> </div>
</div> </div>
...@@ -89,15 +89,12 @@ export default { ...@@ -89,15 +89,12 @@ export default {
queryData() { queryData() {
const _this = this; const _this = this;
queryAerialDelivery().then(res => { queryAerialDelivery().then(res => {
console.log("空投池", res);
if (res.code === 0) { if (res.code === 0) {
_this.total = res.data.total; _this.total = res.data.total;
_this.userPoolVos = res.data.userPoolVos.map(item => { _this.userPoolVos = res.data.userPoolVos.map(item => {
const temp = item; const temp = item;
temp.userId = temp.userId =
item.userId.substring(0, 3) + item.userId.substring(0, 3) + "****" + item.userId.substring(7);
"****" +
item.userId.substring(8, 11);
return temp; return temp;
}); });
_this.$nextTick(() => { _this.$nextTick(() => {
...@@ -124,9 +121,7 @@ export default { ...@@ -124,9 +121,7 @@ export default {
if (box.scrollTop % box.offsetHeight == 0) { if (box.scrollTop % box.offsetHeight == 0) {
clearInterval(_this.timer); clearInterval(_this.timer);
box.scrollTop = 0; box.scrollTop = 0;
setTimeout(() => { _this.timer = setInterval(_this.autoScrollLine, 300);
_this.timer = setInterval(_this.autoScrollLine, 500);
}, 0);
} }
} }
} }
......
...@@ -99,6 +99,8 @@ export default { ...@@ -99,6 +99,8 @@ export default {
data() { data() {
return { return {
awardInfo: { awardInfo: {
lastToatal: 0,
monthAwardTotal: 0,
goldAward: 0, goldAward: 0,
farmerAward: 0, farmerAward: 0,
forestStartAward: 0, forestStartAward: 0,
......
...@@ -5,8 +5,7 @@ module.exports = { ...@@ -5,8 +5,7 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
'/shop-mall': { '/shop-mall': {
// target: "http://8.131.244.76:81/", target: "http://8.131.244.76:81/",
target: "http://8.140.108.250/",
changeOrigin: true changeOrigin: true
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment