Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
Project
Project
Details
Activity
Releases
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
郑秀明
shop_mobile_uni
Commits
60762a77
Commit
60762a77
authored
Jul 16, 2020
by
王建威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add banner
parent
a5e5ab31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
signin.vue
pages/signin/signin.vue
+10
-0
No files found.
pages/signin/signin.vue
View file @
60762a77
...
...
@@ -30,6 +30,9 @@
<view
class=
"sign_btn"
@
click=
"signin"
v-if=
"is_sign_today === '0'"
></view>
<view
class=
"sign_btn_ed"
v-else
>
今日已签到
</view>
</view>
<view
v-if=
"sign_banner"
>
<image
:src=
"sign_banner"
class=
"sign_banner"
/>
</view>
<view
class=
"benefit_title"
>
权益中心
</view>
<view
class=
"benefit_swiper"
>
<uni-swiper-dot
:current=
"current"
:info=
"grade_list"
mode=
"round"
:dotsStyles=
"
{'bottom': 0,'width':3,'height':3,'backgroundColor':'#d8d8d8','border':'none','selectedBackgroundColor':'#FFCD00','selectedBorder':'none'}">
...
...
@@ -105,6 +108,7 @@
sign_days_continues
:
'0'
,
sign_days
:
''
,
sign_id
:
''
,
sign_banner
:
''
,
gift
:
{
continue_days
:
0
,
sign_goods_logo
:
''
,
...
...
@@ -141,6 +145,7 @@
this
.
sign_days_continues
=
res
.
data
.
data
.
sign_days_continues
;
this
.
sign_days
=
res
.
data
.
data
.
sign_days
;
this
.
sign_id
=
res
.
data
.
data
.
sign_id
;
this
.
sign_banner
=
res
.
data
.
data
.
sign_banner
;
let
arr
=
[]
for
(
let
i
=
0
,
j
=
res
.
data
.
data
.
grade_list
.
length
;
i
<
j
;
i
+=
8
)
{
arr
.
push
(
res
.
data
.
data
.
grade_list
.
slice
(
i
,
i
+
8
));
...
...
@@ -412,6 +417,11 @@
.day_item2:nth-of-type(4n) {
margin-right: 0;
}
.sign_banner {
width: 100%;
height: 288rpx;
margin-top: 40rpx;
}
.benefit_title {
color: #21232C;
font-size: 40rpx;
...
...
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