|
@@ -107,6 +107,7 @@ import {
|
|
|
isWechat,
|
|
|
} from '../../utils/isTerminal';
|
|
|
import { getTotalNum, getToupiaoUrl } from '@/api/SilkRoadSpringGala.js';
|
|
|
+import countTo from '@/components/counto/vue-countTo.vue';
|
|
|
/**
|
|
|
* window.$originData.orginParames.title 页面标题
|
|
|
* window.$originData.orginParames.parameters 固定参数值
|
|
@@ -123,6 +124,7 @@ window.setInterval(() => tot(), 5000);
|
|
|
|
|
|
function tot() {
|
|
|
getTotalNum().then(r => {
|
|
|
+ console.log(r)
|
|
|
const res = r || {real: 0, unreal: 0}
|
|
|
total.value = Number(res.real || 0) + Number(res.unreal || 0);
|
|
|
});
|