Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
leiqingsong
XiTianSenMall
Commits
1dd59eaa
Commit
1dd59eaa
authored
Mar 24, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改空投池在池人数显示问题
parent
e6f58367
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
14 deletions
+10
-14
.env.production
H5/.env.production
+2
-2
main.js
H5/src/main.js
+2
-2
airDropPool.vue
H5/src/views/airDropPool.vue
+3
-8
month-award.vue
H5/src/views/rewards/month-award.vue
+2
-0
vue.config.js
H5/vue.config.js
+1
-2
No files found.
H5/.env.production
View file @
1dd59eaa
# 生产环境 部署生产环境放开这个
# 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"
\ No newline at end of file
# VUE_APP_BASE_URL = "http://8.131.244.76:81"
\ No newline at end of file
H5/src/main.js
View file @
1dd59eaa
...
...
@@ -7,13 +7,13 @@ import "minirefresh/dist/debug/minirefresh.css";
import
"amfe-flexible"
;
import
"@/plugins/vant-ui.js"
;
import
"@/plugins/echarts-plugins.js"
;
import
Vconsole
from
"vconsole"
;
//
import Vconsole from "vconsole";
import
bridgeToAppFun
from
"@/utils/bridgeToAppFun"
;
Vue
.
prototype
.
$bridgeToAppFun
=
new
bridgeToAppFun
();
/*生产环境请注释掉 */
Vue
.
prototype
.
$vConsole
=
new
Vconsole
();
//
Vue.prototype.$vConsole = new Vconsole();
Vue
.
use
(
MiniRefreshTools
);
Vue
.
config
.
productionTip
=
false
;
...
...
H5/src/views/airDropPool.vue
View file @
1dd59eaa
...
...
@@ -31,7 +31,7 @@
<div
class=
"air-panel-num-content"
>
<img
src=
"@/assets/images/parachute.png"
alt=
""
/>
<p>
本月
<span>
{{
total
}}
</span>
人在池
本月
<span>
{{
total
||
0
}}
</span>
人在池
</p>
</div>
</div>
...
...
@@ -89,15 +89,12 @@ export default {
queryData
()
{
const
_this
=
this
;
queryAerialDelivery
().
then
(
res
=>
{
console
.
log
(
"空投池"
,
res
);
if
(
res
.
code
===
0
)
{
_this
.
total
=
res
.
data
.
total
;
_this
.
userPoolVos
=
res
.
data
.
userPoolVos
.
map
(
item
=>
{
const
temp
=
item
;
temp
.
userId
=
item
.
userId
.
substring
(
0
,
3
)
+
"****"
+
item
.
userId
.
substring
(
8
,
11
);
item
.
userId
.
substring
(
0
,
3
)
+
"****"
+
item
.
userId
.
substring
(
7
);
return
temp
;
});
_this
.
$nextTick
(()
=>
{
...
...
@@ -124,9 +121,7 @@ export default {
if
(
box
.
scrollTop
%
box
.
offsetHeight
==
0
)
{
clearInterval
(
_this
.
timer
);
box
.
scrollTop
=
0
;
setTimeout
(()
=>
{
_this
.
timer
=
setInterval
(
_this
.
autoScrollLine
,
500
);
},
0
);
_this
.
timer
=
setInterval
(
_this
.
autoScrollLine
,
300
);
}
}
}
...
...
H5/src/views/rewards/month-award.vue
View file @
1dd59eaa
...
...
@@ -99,6 +99,8 @@ export default {
data
()
{
return
{
awardInfo
:
{
lastToatal
:
0
,
monthAwardTotal
:
0
,
goldAward
:
0
,
farmerAward
:
0
,
forestStartAward
:
0
,
...
...
H5/vue.config.js
View file @
1dd59eaa
...
...
@@ -5,8 +5,7 @@ module.exports = {
devServer
:
{
proxy
:
{
'/shop-mall'
:
{
// target: "http://8.131.244.76:81/",
target
:
"http://8.140.108.250/"
,
target
:
"http://8.131.244.76:81/"
,
changeOrigin
:
true
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment