Merge branch 'bjxz-dev' of http://139.9.66.234:18023/dhp/zhgdyunapp into bjxz-dev

This commit is contained in:
Vce 2024-05-16 17:46:00 +08:00
commit 9fca9234f7

View File

@ -6,8 +6,7 @@
</view>
</headers>
<view class="date-search">
<uni-datetime-picker v-model="timeRange" type="daterange" rangeSeparator="至"
@change="confirmTimeRange" />
<uni-datetime-picker v-model="timeRange" type="daterange" rangeSeparator="至" @change="confirmTimeRange" />
<view class="btn-style">查询</view>
</view>
<view class="videoBox" v-if="videoList.length>0">
@ -36,9 +35,16 @@
export default {
data() {
return {
videoList: [
{name: 123, startTime: "2024-05-11 00:00:00", endTime: "2024-06-11 00:00:00"},
{name: 123, startTime: "2024-05-11 00:00:00", endTime: "2024-06-11 00:00:00"}
videoList: [{
name: 123,
startTime: "2024-05-11 00:00:00",
endTime: "2024-06-11 00:00:00"
},
{
name: 123,
startTime: "2024-05-11 00:00:00",
endTime: "2024-06-11 00:00:00"
}
],
pageType: 'company',
pageNo: 1,
@ -47,6 +53,7 @@
};
},
onLoad(options) {
console.log(options)
if (options.pageType) {
this.pageType = options.pageType
}
@ -77,10 +84,13 @@
loadData(sn) {
var that = this
this.sendRequest({
url: "xmgl/company/getComapnyStatisticsList",
url: "xmgl/videoItem/callPostPlaybackURLsV2",
data: {
sn: sn,
videoType: 1
projectSn: sn,
projectSn: "BD3137498CB84BF0969979E0342CDBCA",
serialNumber: "0f74ac52cf0e40af84be654242b55ac7",
beginTime: "2024-05-16 00:00:00",
endTime: "2024-05-16 17:00:00"
},
method: "POST",
success(res) {
@ -94,15 +104,17 @@
</script>
<style lang="scss" scoped>
.fullHeight{
.fullHeight {
background-color: #F4F5FD;
}
.date-search{
.date-search {
display: flex;
align-items: center;
padding: 12rpx 18rpx;
background: #FFFFFF;
.btn-style{
.btn-style {
width: 120rpx;
height: 68rpx;
line-height: 68rpx;
@ -116,45 +128,53 @@
margin-left: 36rpx;
}
}
.videoBox {
padding: 0rpx 20rpx 40rpx 20rpx;
overflow: hidden;
margin-top: 32rpx;
}
.videoItem:not(:last-child){
.videoItem:not(:last-child) {
margin-bottom: 10rpx;
}
.videoItem {
display: flex;
width: 100%;
background: #FFFFFF;
border-radius: 10rpx;
padding: 16rpx 8rpx;
.videoPoster {
width: 208rpx;
height: 208rpx;
background: rgba(141,141,141,0.83);
background: rgba(141, 141, 141, 0.83);
border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
.no_poster {
width: 110rpx;
height: 100rpx;
}
}
.back-time{
.back-time {
display: flex;
flex-direction: column;
justify-content: space-around;
margin-left: 62rpx;
.date-time{
.date-time {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 30rpx;
color: #9F9F9F;
}
.divider-text{
.divider-text {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
font-size: 28rpx;