直播列表
This commit is contained in:
parent
7e0eb907a0
commit
b01171bab8
7
app.json
7
app.json
@ -1,8 +1,15 @@
|
||||
{
|
||||
"pages": [
|
||||
<<<<<<< Updated upstream
|
||||
"pages/center/center",
|
||||
"pages/book/book",
|
||||
=======
|
||||
"pages/broadcastList/broadcastList",
|
||||
>>>>>>> Stashed changes
|
||||
"pages/index/index",
|
||||
"pages/orderDetail/orderDetail",
|
||||
"pages/myVenueOrder/myVenueOrder",
|
||||
"pages/book/book",
|
||||
"pages/broadcast/broadcast",
|
||||
"pages/activityDialog/activityDialog",
|
||||
"pages/teamDetail/teamDetail",
|
||||
|
66
pages/broadcastList/broadcastList.js
Normal file
66
pages/broadcastList/broadcastList.js
Normal file
@ -0,0 +1,66 @@
|
||||
// pages/broadcastList/broadcastList.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
3
pages/broadcastList/broadcastList.json
Normal file
3
pages/broadcastList/broadcastList.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
9
pages/broadcastList/broadcastList.wxml
Normal file
9
pages/broadcastList/broadcastList.wxml
Normal file
@ -0,0 +1,9 @@
|
||||
<view class="broadcast">
|
||||
<live-player id="liveVideo" src="{{liveDetail.liveDeviceRtmpUrl}}" mode="live" object-fit="contain" style="width: 100%; height: 400rpx;"/>
|
||||
</view>
|
||||
<view class="broadcast-list">
|
||||
<view class="broadcast-title">标题</view>
|
||||
<view class="broadcast-title">标题</view>
|
||||
<view class="broadcast-title">标题</view>
|
||||
<view class="broadcast-title">标题</view>
|
||||
</view>
|
22
pages/broadcastList/broadcastList.wxss
Normal file
22
pages/broadcastList/broadcastList.wxss
Normal file
@ -0,0 +1,22 @@
|
||||
.broadcast{
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
background: #D8D8D8;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
video{
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
}
|
||||
.broadcast-title{
|
||||
padding: 30rpx;
|
||||
font-size: 34rpx;
|
||||
color: #242424;
|
||||
border-bottom: 5px solid #FBFBFB;
|
||||
}
|
||||
.broadcast-list{
|
||||
margin-top: 400rpx;
|
||||
}
|
Loading…
Reference in New Issue
Block a user