yz3456
2024-06-11 b439336f0e404d9d9aebd800fb5ad00d8b20210d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<template>
    <div class="app-container" style="width: 100%; height: 800px;">
        <!-- 回到顶部 -->
        <el-backtop :bottom="150" :right="30">
            <el-button type="primary" circle class="el-icon-top"></el-button>
        </el-backtop>
 
        <!-- 标题 -->
        <h1 style="font-size:21px;padding-top:30px;display: flex;">
            <span>直播回放</span>
        </h1>
 
        <hr>
 
        <!-- 搜索 -->
        <el-form :model="queryParams1">
            <el-row>
                <el-form-item label="" prop="people">
                    <el-input v-model="queryParams1.people" placeholder="请输入搜索内容" clearable style="width: 300px;
                   height: 35px;
                   text-align: left;
                   border-radius: 16px 16px 16px 16px;
                   opacity: 0.5;" @keyup.enter.native="handleQuery">
                        <i slot="prefix" class="el-input__icon el-icon-search"></i>
                    </el-input>
                </el-form-item>
            </el-row>
        </el-form>
 
        <!-- <el-form :model="vList"> -->
        <el-row :gutter="25">
            <el-col :span="8" :style="margin">
                <div class="module">
                    <span class="span1">中秋家庭会议</span>
                    <span class="span2">2010-8-26 12:00</span>
                    <el-button class="huifang" type="primary" plain @click="show">回放</el-button>
                    <div class="tubiao"><i class="el-icon-view">10000</i></div>
                    <p class="author">发起者</p>
                </div>
            </el-col>
            <el-col :span="8">
                <div class="module">
                    <span class="span1">中秋家庭会议</span>
                    <span class="span2">2010-8-26 12:00</span>
                    <el-button class="huifang" type="primary" plain @click="show">回放</el-button>
                    <div class="tubiao"><i class="el-icon-view">10000</i></div>
                    <p class="author">发起者</p>
                </div>
            </el-col>
            <el-col :span="8">
                <div class="module">
                    <span class="span1">中秋家庭会议</span>
                    <span class="span2">2010-8-26 12:00</span>
                    <el-button class="huifang" type="primary" plain @click="show">回放</el-button>
                    <div class="tubiao"><i class="el-icon-view">10000</i></div>
                    <p class="author">发起者</p>
                </div>
            </el-col>
            <el-col :span="8">
                <div class="module">
                    <span class="span1">中秋家庭会议</span>
                    <span class="span2">2010-8-26 12:00</span>
                    <el-button class="huifang" type="primary" plain @click="show">回放</el-button>
                    <div class="tubiao"><i class="el-icon-view">10000</i></div>
                    <p class="author">发起者</p>
                </div>
            </el-col>
        </el-row>
        <!-- </el-form> -->
 
        <!-- 回访视频弹窗 -->
          <el-dialog
            :visible.sync="dialogVisible"
            width="50%"
            height="100%"
            :before-close="handleClose"
          >
 
          <h4>中秋家庭会议</h4>
            <el-divider />
            <video id="video" class="video" controls width="100%%" height="480" >
              <source src="../../assets/images/测试.mp4" type="video/mp4">
            </video>
<!--            <span slot="footer" class="dialog-footer">
              <el-button @click="dialogVisible = false">取 消</el-button>
            </span> -->
          </el-dialog>
 
    </div>
</template>
<script>
export default {
    data() {
        return {
            queryParams1: [],
            vList: [],
            dialogVisible: false,
 
        }
    },
    methods: {
    show(){
      this.dialogVisible = true
    },
    handleClose(){
      this.dialogVisible = false;
      const video = document.getElementById("video")
      video.pause()
    }
    }
}
</script>
<style scoped="">
.app-container {
    background-color: #FEF7FC;
/*   width: 2000px;
    height: 1500px; */
}
 
.button-container {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}
 
.el-table {
    border-radius: 14px 14px 14px 14px;
}
 
.el-col {
    border-radius: 4px;
}
 
.module {
    width: 100%;
    height: 160px;
    background-color: rgb(255, 255, 255);
    border-color: red;
    border-radius: 6%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}
 
.grid-content {
    border-radius: 4px;
    min-height: 36px;
}
 
.span1 {
    float: left;
    font-size: 20px;
    margin-top: 5%;
    margin-left: 3%;
}
 
.span2 {
    float: right;
    font-size: 20px;
    margin-top: 5%;
    margin-right: 3%;
    margin-bottom: 50px;
}
 
.huifang{
    position: absolute ;
    bottom: 20px;
    right: 10px;
    font-size: 18px;
}
 
.tubiao{
    position: absolute;
    bottom: 20px;
    right: 100px;
}
 
.author{
    position: absolute;
    bottom: 5px;
    left: 100px;
}
.video{
  object-fit: cover;
}
</style>