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
5e9fe1d1
Commit
5e9fe1d1
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!128
parents
4202adce
e61742a9
Show 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 @
5e9fe1d1
...
@@ -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
>
This diff is collapsed.
Click to expand it.
H5/src/views/cashOut/cash-out-record.vue
View file @
5e9fe1d1
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/modefyAvatar.vue
View file @
5e9fe1d1
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/settings.vue
View file @
5e9fe1d1
...
@@ -97,15 +97,8 @@ export default {
...
@@ -97,15 +97,8 @@ export default {
});
});
},
},
logout
()
{
logout
()
{
logout
()
.
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
localStorage
.
clear
();
localStorage
.
clear
();
}
logout
().
then
();
})
.
catch
(
err
=>
{
console
.
log
(
err
);
});
this
.
$bridgeToAppFun
.
logoutToApp
();
this
.
$bridgeToAppFun
.
logoutToApp
();
},
},
jumpToInstructions
()
{
jumpToInstructions
()
{
...
...
This diff is collapsed.
Click to expand it.
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