Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
home-with-kids-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1813dd07
authored
2019-12-31 20:51:01 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
d472548f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
23 deletions
src/pages/index/index.scss
src/pages/index/index.wxml
src/pages/personal-list/personal-list.scss
src/pages/personal-list/personal-list.wxml
src/pages/reward/reward.js
src/pages/reward/reward.scss
src/pages/reward/reward.wxml
src/pages/index/index.scss
View file @
1813dd0
...
...
@@ -105,14 +105,20 @@
.tit
{
font-size
:
40px
;
m
in
-height
:
120px
;
m
ax
-height
:
120px
;
color
:
#ffffff
;
@extend
.bb
;
padding
:
0
24px
;
padding
:
4px
0
;
position
:
absolute
;
width
:
100%
;
bottom
:
0
;
@include
ellipsis
(
2
);
.tit-t1
{
@extend
.bb
;
padding
:
0
24px
;
position
:
relative
;
}
}
.tit-bg
{
...
...
@@ -128,15 +134,15 @@
.play
{
@extend
.fcc
;
width
:
1
2
0px
;
height
:
1
2
0px
;
border-radius
:
1
2
0px
;
width
:
1
0
0px
;
height
:
1
0
0px
;
border-radius
:
1
0
0px
;
border
:
solid
#ffffff
6px
;
font-weight
:
normal
;
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
32
px
;
top
:
48
px
;
margin
:
0
auto
;
text-align
:
center
;
font-weight
:
bold
;
...
...
src/pages/index/index.wxml
View file @
1813dd0
...
...
@@ -27,8 +27,10 @@
<view wx:for="{{dataList}}" wx:key="index" class="list-item">
<view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" class="list-item-video">
<image class="img" src="{{item.thumbnail}}" mode="aspectFill" />
<view class="tit-bg"></view>
<view class="tit">{{item.videoName}}</view>
<view class="tit">
<view class="tit-bg"></view>
<view class="tit-t1">{{item.videoName}}</view>
</view>
<div class="play">
<span class="iconfont iconplay"></span>
</div>
...
...
src/pages/personal-list/personal-list.scss
View file @
1813dd0
...
...
@@ -83,14 +83,20 @@
.tit
{
font-size
:
40px
;
m
in
-height
:
120px
;
m
ax
-height
:
120px
;
color
:
#ffffff
;
@extend
.bb
;
padding
:
0
24px
;
padding
:
4px
0
;
position
:
absolute
;
width
:
100%
;
bottom
:
0
;
@include
ellipsis
(
2
);
.tit-t1
{
@extend
.bb
;
padding
:
0
24px
;
position
:
relative
;
}
}
.tit-bg
{
...
...
@@ -103,18 +109,17 @@
@include
border-top-radius
(
8px
);
background-image
:
linear-gradient
(
to
top
,
#000000
,
#999999
);
}
.play
{
@extend
.fcc
;
width
:
1
2
0px
;
height
:
1
2
0px
;
border-radius
:
1
2
0px
;
width
:
1
0
0px
;
height
:
1
0
0px
;
border-radius
:
1
0
0px
;
border
:
solid
#ffffff
6px
;
font-weight
:
normal
;
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
32
px
;
top
:
48
px
;
margin
:
0
auto
;
text-align
:
center
;
font-weight
:
bold
;
...
...
src/pages/personal-list/personal-list.wxml
View file @
1813dd0
...
...
@@ -13,8 +13,10 @@
<view wx:for="{{dataList}}" wx:key="index" class="list-item">
<view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" class="list-item-video">
<image class="img" src="{{item.thumbnail}}" mode="aspectFill" />
<view class="tit-bg"></view>
<view class="tit">{{item.videoName}}</view>
<view class="tit">
<view class="tit-bg"></view>
<view class="tit-t1">{{item.videoName}}</view>
</view>
<div class="play">
<span class="iconfont iconplay"></span>
</div>
...
...
src/pages/reward/reward.js
View file @
1813dd0
...
...
@@ -59,7 +59,7 @@ Page({
});
},
onShow
()
{
this
.
checkAuth
();
//
this.checkAuth();
},
/**
...
...
src/pages/reward/reward.scss
View file @
1813dd0
...
...
@@ -28,6 +28,15 @@
height
:
207px
;
margin
:
0
auto
;
.ft
{
font-size
:
120px
;
color
:
#b91d33
;
text-align
:
center
;
font-weight
:
bold
;
height
:
207px
;
line-height
:
207px
;
}
&
-bg
{
text-align
:
center
;
position
:
absolute
;
...
...
@@ -71,14 +80,14 @@
}
}
.tips
{
.tips
{
font-size
:
28px
;
color
:
#ffe6a3
;
text-align
:
center
;
width
:
100%
;
}
.tips1
{
.tips1
{
margin-top
:
36px
;
}
...
...
src/pages/reward/reward.wxml
View file @
1813dd0
...
...
@@ -6,8 +6,9 @@
<view class="top-space"></view>
<view class="content">
<view class="portrait">
<
image class="portrait-bg" mode="widthFix" src="../../image/logo.jpeg" /
>
<
!-- <image class="portrait-bg" mode="widthFix" src="../../image/logo.jpeg" /> --
>
<!-- <open-data class="avatar" type="userAvatarUrl"></open-data> -->
<view class="ft">赏</view>
</view>
<view class="tips tips1">赞赏家有儿孙</view>
<view class="reward">
...
...
Please
register
or
sign in
to post a comment