3cac5f95 by simon

默认提交

1 parent c037ebcf
......@@ -2,9 +2,9 @@
<view wx:for="{{types}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn point">
<span class="iconfont {{typeIconMap[item+''] }}"></span>
</view>
<view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn">
<!-- <view wx:for="{{pics}}" wx:key="{{index}}" data-data="{{item}}" bindtap="onTapHandler" class="btn">
<image mode="aspectFit" src="{{'../../image/shortcut/'+item+'.png'}}" class="pics ani-tada" />
</view>
</view> -->
<button class="btn point" wx:if="{{contact}}" open-type="contact" bindcontact="handleContact">
<span class="iconfont iconicon-test3 contact"></span>
</button>
......
......@@ -45,11 +45,21 @@
right: 0;
margin: 0 auto;
text-align: center;
background-color: rgba($color: #000000, $alpha: 0.7);
color: #ffffff;
font-size: 36px;
font-weight: bold;
@include ellipsis(1);
}
.tit-bg {
opacity: .5;
height: 80px;
color: #ffffff;
position: absolute;
width: 100%;
height: 110px;
bottom: 0;
background-image: linear-gradient(to top, #000000, #666666);
}
}
......@@ -94,7 +104,6 @@
}
.tit {
opacity: .8;
font-size: 40px;
height: 80px;
line-height: 80px;
......@@ -104,11 +113,18 @@
position: absolute;
width: 100%;
bottom: 0;
// background-color: rgba($color: #000000, $alpha: 0.5);
@include border-top-radius(8px);
@include ellipsis(1);
background-image: linear-gradient(to bottom, #000000, #ffffff);
}
.tit-bg {
opacity: .5;
height: 80px;
color: #ffffff;
position: absolute;
width: 100%;
bottom: 0;
@include border-top-radius(8px);
background-image: linear-gradient(to top, #000000, #666666);
}
.play {
......
......@@ -14,6 +14,7 @@
<block wx:for="{{bannerList}}" wx:key="{{index}}">
<swiper-item>
<image bindtap="onBannerHandler" data-data="{{item}}" data-index="{{index}}" class="swiper-image" src="{{item.imageUrl}}" mode="aspectFill" />
<view class="tit-bg"></view>
<view wx:if="{{curBanner && curBanner.bannerTitle}}" class="tit">
{{curBanner && curBanner.bannerTitle || ""}}
</view>
......@@ -26,6 +27,7 @@
<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>
<div class="play">
<span class="iconfont iconplay"></span>
......
......@@ -80,7 +80,6 @@
width: $contentWidth;
pointer-events: none;
}
.tit {
font-size: 40px;
height: 80px;
......@@ -91,10 +90,18 @@
position: absolute;
width: 100%;
bottom: 0;
background-color: rgba($color: #000000, $alpha: 0.5);
@include border-top-radius(8px);
@include ellipsis(1);
}
.tit-bg {
opacity: .5;
height: 80px;
color: #ffffff;
position: absolute;
width: 100%;
bottom: 0;
@include border-top-radius(8px);
background-image: linear-gradient(to top, #000000, #666666);
}
.play {
......
......@@ -13,6 +13,7 @@
<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>
<div class="play">
<span class="iconfont iconplay"></span>
......