|
@@ -91,16 +91,10 @@
|
|
prop="joinTime"
|
|
prop="joinTime"
|
|
label="进入时间"
|
|
label="进入时间"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- prop="totalViewTime"
|
|
|
|
- label="观看时长"
|
|
|
|
- >
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div>
|
|
|
|
- {{scope.row.totalViewTime}}分钟
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <el-table-column align="center" prop="totalViewTime" label="观看时长">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div>{{ scope.row.totalViewTime }}分钟</div>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<pagination
|
|
<pagination
|
|
@@ -119,10 +113,10 @@
|
|
width="500px"
|
|
width="500px"
|
|
title="直播回放"
|
|
title="直播回放"
|
|
>
|
|
>
|
|
- <div class="lineWrap">
|
|
|
|
|
|
+ <div class="lineWrap">
|
|
<el-link
|
|
<el-link
|
|
- :underline="false"
|
|
|
|
- v-for="(item, index) in videoList"
|
|
|
|
|
|
+ :underline="false"
|
|
|
|
+ v-for="(item, index) in videoList"
|
|
:key="index"
|
|
:key="index"
|
|
type="text"
|
|
type="text"
|
|
class="line"
|
|
class="line"
|
|
@@ -136,6 +130,16 @@
|
|
<el-button type="primary" @click="payVisible = false">确 定</el-button>
|
|
<el-button type="primary" @click="payVisible = false">确 定</el-button>
|
|
</div></el-dialog
|
|
</div></el-dialog
|
|
>
|
|
>
|
|
|
|
+ <el-dialog :title="activeVideo.endTime | dateForMinFormat"
|
|
|
|
+ width="680px"
|
|
|
|
+ append-to-body
|
|
|
|
+ :visible.sync="videoVisible" v-if="videoVisible">
|
|
|
|
+ <!-- activeUrl -->
|
|
|
|
+ <video style="width:640px;"
|
|
|
|
+ :src="activeVideo.url"
|
|
|
|
+ ref="dialogVideo"
|
|
|
|
+ controls="controls">您的浏览器不支持视频播放</video>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -169,6 +173,8 @@ export default {
|
|
},
|
|
},
|
|
videoList: [],
|
|
videoList: [],
|
|
payVisible: false,
|
|
payVisible: false,
|
|
|
|
+ videoVisible:false,
|
|
|
|
+ activeVideo:{ endTime:''}
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -210,9 +216,10 @@ export default {
|
|
console.log(e);
|
|
console.log(e);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- opneVideo(row){
|
|
|
|
- window.open(row.url)
|
|
|
|
- }
|
|
|
|
|
|
+ opneVideo(row) {
|
|
|
|
+ this.activeVideo = row;
|
|
|
|
+ this.videoVisible = true
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|