吆喝
This commit is contained in:
@@ -0,0 +1,149 @@
|
||||
<template>
|
||||
<view>
|
||||
<!-- style="margin-bottom: 80upx;" -->
|
||||
<view class="pd16_15">
|
||||
<view class="flex alcenter space" style="margin-bottom: 30upx;">
|
||||
<view class="flex alcenter">
|
||||
<image style="width: 28rpx;height: 28rpx;"
|
||||
src="https://wx.yaohe.hnjrdzkj.xyz/static/wechat/shop/wechat/static/star.png"></image>
|
||||
<text class="ft16 ftw600 cl-main ml15">最新热播</text>
|
||||
</view>
|
||||
<navigator url="/pages/client/tuan/search">
|
||||
<view class="ft14 cl-notice">大家都在看的热播好剧</view>
|
||||
</navigator>
|
||||
</view>
|
||||
<view class="flex " style="overflow-x: auto; flex-wrap: wrap;">
|
||||
<!-- <block v-for="(value,key) in datasa" :key="key">
|
||||
<view class=" pb10 mb15 videoItem" @click="detail(value.id,0)">
|
||||
<image class="integral-mall-goods" mode="scaleToFill" :src="value.img"></image>
|
||||
<view class=" ft14 ftw500 text-over cl-main">{{ value.name }}</view>
|
||||
<view class=" ft10 ftw500 cl-999 text-over cl-main">{{ value.text }}</view>
|
||||
</view>
|
||||
</block> -->
|
||||
|
||||
<block v-for="(value,key) in datasa" :key="key">
|
||||
<view class=" pb10 defaultItem" style="width:207rpx; display: inline-block; border-radius:20rpx;"
|
||||
@click="detail(value)">
|
||||
<image class="integral-mall-goods" mode="scaleToFill" :src="value.img"></image>
|
||||
<view class=" ft14 ftw500 text-over cl-main">{{ value.name }}</view>
|
||||
<view class=" ft10 ftw500 cl-999 text-over cl-main">{{ value.text }}</view>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="home-main" style="height: 50upx;">
|
||||
<com-copyright></com-copyright>
|
||||
</view> -->
|
||||
|
||||
<dialog-couponshareget @loginAct="showLoginCouponShareGet" v-if="showCouponShareGet"
|
||||
@closed="showCouponShareGet = false"></dialog-couponshareget>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['datasa'],
|
||||
data() {
|
||||
return {
|
||||
isLogin: false,
|
||||
showBirthday: false,
|
||||
showLogin: false,
|
||||
showQrcode: false,
|
||||
showCouponShareGet: false,
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: '夜趣小视频'
|
||||
// });
|
||||
|
||||
// setTimeout(()=>{
|
||||
// this.showCouponShareGet = true;
|
||||
// },1000);
|
||||
},
|
||||
methods: {
|
||||
//'/pages/client/tuan/detail?id='+value.id
|
||||
detail(data) {
|
||||
uni.navigateTo({
|
||||
url: '/pagesA/player/detailPlayer?vid=' + data.id + '&mid=' + 0
|
||||
})
|
||||
},
|
||||
showLoginAct() {
|
||||
this.showLogin = true;
|
||||
},
|
||||
showLoginCouponShareGet() {
|
||||
this.showLogin = true;
|
||||
},
|
||||
loginYes() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.home-header {
|
||||
height: 304rpx;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
background: #363B4D;
|
||||
border-radius: 0rpx 0rpx 48rpx 48rpx;
|
||||
}
|
||||
|
||||
.home-main {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
margin-top: -156rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
|
||||
.home-mendian {
|
||||
width: 100%;
|
||||
height: 84rpx;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 42rpx;
|
||||
}
|
||||
|
||||
.tuan-product-l {
|
||||
width: 320rpx;
|
||||
height: 240rpx;
|
||||
border-radius: 16rpx;
|
||||
background: #F2F2F2;
|
||||
}
|
||||
|
||||
.videoItem {
|
||||
width: 330rpx;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.integral-mall-goods {
|
||||
width: 330rpx;
|
||||
background: #F2F2F2;
|
||||
border-radius: 16upx;
|
||||
}
|
||||
|
||||
|
||||
.integral-mall-goods {
|
||||
min-width: 206rpx;
|
||||
width: 100%;
|
||||
height: 280rpx;
|
||||
background: #F2F2F2;
|
||||
border-radius: 16upx;
|
||||
}
|
||||
|
||||
.tuan-product-r {
|
||||
width: calc(100% - 320rpx);
|
||||
}
|
||||
|
||||
.defaultItem {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.defaultItem:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user