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
5a408eb3
Commit
5a408eb3
authored
Mar 22, 2021
by
leiqingsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加空投池用户信息弹窗&修改提现记录下拉框
parent
2bc3e144
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
19 deletions
+68
-19
airDropPool.vue
H5/src/views/airDropPool.vue
+63
-7
cash-out-record.vue
H5/src/views/cashOut/cash-out-record.vue
+3
-1
modefyAvatar.vue
H5/src/views/modefyAvatar.vue
+0
-2
settings.vue
H5/src/views/settings.vue
+2
-9
No files found.
H5/src/views/airDropPool.vue
View file @
5a408eb3
...
@@ -15,11 +15,8 @@
...
@@ -15,11 +15,8 @@
<img
src=
"@/assets/images/icon-notice.png"
alt=
""
/>
<img
src=
"@/assets/images/icon-notice.png"
alt=
""
/>
<div
class=
"notice-bar-show"
id=
"scroll-box"
>
<div
class=
"notice-bar-show"
id=
"scroll-box"
>
<div
class=
"user-id-list"
>
<div
class=
"user-id-list"
>
<p
v-for=
"(item, index) in userPoolVos"
:key=
"index"
>
<p
v-for=
"(item, index) in userPoolVos"
:key=
"index"
@
click=
"openUserInfo(item)"
>
{{
item
.
userId
}}
用户
{{
item
.
userId
}}
进入空投池
</p>
<p
v-for=
"(item, index) in userPoolVos"
:key=
"index + 'us'"
>
{{
item
.
userId
}}
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -34,15 +31,29 @@
...
@@ -34,15 +31,29 @@
</p>
</p>
</div>
</div>
</div>
</div>
<base-dialog
class=
"user-dialog"
:base-dialog-show=
"userInfoDialog"
@
onClick=
"onCloseUser"
>
<div
slot=
"content"
class=
"user-dialog-content"
>
<img
:src=
"currentUser.avatar"
alt=
"头像"
>
<span
class=
"normal"
>
账号
</span>
<span
class=
"user-id"
>
{{
currentUser
.
userId
}}
</span>
<span
class=
"normal"
>
进入空投池时间
</span>
<span
class=
"time"
>
{{
currentUser
.
intoTime
}}
</span>
</div>
</base-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
queryAerialDelivery
}
from
"@/api/airDropPool"
;
import
{
queryAerialDelivery
}
from
"@/api/airDropPool"
;
import
BaseDialog
from
'../components/BaseDialog.vue'
;
export
default
{
export
default
{
components
:
{
BaseDialog
},
name
:
"AirDrop"
,
name
:
"AirDrop"
,
data
()
{
data
()
{
return
{
return
{
currentUser
:
{},
userInfoDialog
:
false
,
total
:
0
,
total
:
0
,
userPoolVos
:
[],
userPoolVos
:
[],
timer
:
null
timer
:
null
...
@@ -52,6 +63,15 @@ export default {
...
@@ -52,6 +63,15 @@ export default {
this
.
queryData
();
this
.
queryData
();
},
},
methods
:
{
methods
:
{
onCloseUser
()
{
this
.
userInfoDialog
=
false
;
this
.
currentUser
=
{}
},
openUserInfo
(
item
)
{
this
.
userInfoDialog
=
true
;
this
.
currentUser
=
item
;
this
.
currentUser
.
avatar
=
process
.
env
.
VUE_APP_BASE_URL
+
item
.
headImage
},
handlerBack
()
{
handlerBack
()
{
try
{
try
{
this
.
$bridgeToAppFun
.
navigateBack
();
this
.
$bridgeToAppFun
.
navigateBack
();
...
@@ -66,7 +86,11 @@ export default {
...
@@ -66,7 +86,11 @@ export default {
console
.
log
(
"空投池"
,
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
;
_this
.
userPoolVos
=
res
.
data
.
userPoolVos
.
map
(
item
=>
{
const
temp
=
item
temp
.
userId
=
item
.
userId
.
substring
(
0
,
3
)
+
"****"
+
item
.
userId
.
substring
(
8
,
11
);
return
temp
;
});
_this
.
$nextTick
(()
=>
{
_this
.
$nextTick
(()
=>
{
_this
.
scroll
();
_this
.
scroll
();
});
});
...
@@ -92,7 +116,7 @@ export default {
...
@@ -92,7 +116,7 @@ export default {
clearInterval
(
_this
.
timer
);
clearInterval
(
_this
.
timer
);
box
.
scrollTop
=
0
;
box
.
scrollTop
=
0
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
_this
.
timer
=
setInterval
(
_this
.
autoScrollLine
,
1
00
);
_this
.
timer
=
setInterval
(
_this
.
autoScrollLine
,
5
00
);
},
0
);
},
0
);
}
}
}
}
...
@@ -226,5 +250,37 @@ $white: #ffffff;
...
@@ -226,5 +250,37 @@ $white: #ffffff;
}
}
}
}
}
}
.user-dialog-content
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
space-around
;
margin-top
:
20px
;
img
{
width
:
67px
;
height
:
67px
;
margin-bottom
:
5px
;
}
.normal
{
font-size
:
14px
;
color
:
#999999
;
}
.user-id
,
.time
{
font-size
:
16px
;
}
.user-id
{
margin-bottom
:
20px
;
}
}
.user-dialog
{
::v-deep
.van-button
{
color
:
#666666
;
background-color
:
#ffffff
;
}
}
}
}
</
style
>
</
style
>
H5/src/views/cashOut/cash-out-record.vue
View file @
5a408eb3
...
@@ -113,7 +113,9 @@ export default {
...
@@ -113,7 +113,9 @@ export default {
}
}
}
}
::v-deep
.van-picker__frame
{
::v-deep
.van-picker__frame
{
border
:
1px
solid
;
left
:
0
;
width
:
100%
;
background-color
:
#dddddd
6e
;
}
}
}
}
.record-list
{
.record-list
{
...
...
H5/src/views/modefyAvatar.vue
View file @
5a408eb3
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
:max-count=
"1"
:max-count=
"1"
:before-delete=
"onDeleteAvatar"
:before-delete=
"onDeleteAvatar"
:after-read=
"onRead"
:after-read=
"onRead"
:max-size=
"2 * 1024 * 1024"
@
oversize=
"onOversize"
>
>
<van-button
type=
"primary"
>
上传新头像
</van-button>
<van-button
type=
"primary"
>
上传新头像
</van-button>
</van-uploader>
</van-uploader>
...
...
H5/src/views/settings.vue
View file @
5a408eb3
...
@@ -97,15 +97,8 @@ export default {
...
@@ -97,15 +97,8 @@ export default {
});
});
},
},
logout
()
{
logout
()
{
logout
()
localStorage
.
clear
();
.
then
(
res
=>
{
logout
().
then
();
if
(
res
.
code
==
0
)
{
localStorage
.
clear
();
}
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
this
.
$bridgeToAppFun
.
logoutToApp
();
this
.
$bridgeToAppFun
.
logoutToApp
();
},
},
jumpToInstructions
()
{
jumpToInstructions
()
{
...
...
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