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
be65ff3c
authored
2019-11-28 17:00:48 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
d9ad5186
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
9 deletions
src/app.scss
src/pages/detail/detail.scss
src/pages/detail/detail.wxml
src/app.scss
View file @
be65ff3
...
...
@@ -104,7 +104,7 @@ button {
.red-p
{
.comp
{
bottom
:
auto
;
top
:
50
%
;
top
:
42
%
;
}
}
...
...
src/pages/detail/detail.scss
View file @
be65ff3
...
...
@@ -26,16 +26,30 @@
background-color
:
#333333
;
text-align
:
center
;
.vid
{
text-align
:
center
;
margin
:
160px
auto
0
;
.vid-wrap
{
@extend
.fcc
;
@extend
.bb
;
// padding-top: 20px;
width
:
100%
;
// height: 400px;
height
:
720px
;
// background-color: wheat;
.vid
{
text-align
:
center
;
width
:
100%
;
height
:
100%
;
}
}
.btn-wrap
{
position
:
absolute
;
color
:
#ffffff
;
margin
:
142px
auto
0
;
// margin: 40px auto 0;
bottom
:
64px
;
left
:
0
;
right
:
0
;
margin
:
0
auto
;
display
:
flex
;
.btn
{
...
...
src/pages/detail/detail.wxml
View file @
be65ff3
...
...
@@ -6,7 +6,9 @@
<view class="content">
<!-- 视频详情 -->
<view class="detail">
<video objectFit="contain" class="vid" poster="{{detailData.thumbnail}}" src="{{detailData.videoUrl}}" />
<view class="vid-wrap">
<video objectFit="contain" class="vid" poster="{{detailData.thumbnail}}" src="{{detailData.videoUrl}}" />
</view>
<view class="btn-wrap">
<button open-type="share" class="ani-scl btn btn2">
<span class="t1 iconfont iconplane"></span>
...
...
@@ -66,9 +68,8 @@
</view>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<shortcut class="red-p" types="{{[]}}" pics="{{['red-package']}}"></shortcut>
<shortcut
></shortcut>
<shortcut></shortcut>
...
...
Please
register
or
sign in
to post a comment