zhibodetail.vue
4.0 KB
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
<template>
<div class="container">
<div class="sharetop flextwo">
<div class="leftrow">
<img src="../../../assets/leftrow.png" alt />
</div>
<div class="sharemiddle">直播</div>
<div class="sharebtn">
<img src="../../../assets/sharebtn.png" alt />
</div>
</div>
<div class="messagelist">
<div class="messageitem flexone">
<div class="messageitemleft">
<img src="../../../assets/touxiang.png" alt />
</div>
<div class="messageitemright">
<div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
</div>
</div>
<div class="messageitem messageitemk flexone">
<div class="messageitemrightk">
<div class="messagecontentk">亲,在的</div>
</div>
<div class="messageitemleftk">
<img src="../../../assets/touxiang.png" alt />
</div>
</div>
<div class="messageitem flexone">
<div class="messageitemleft">
<img src="../../../assets/touxiang.png" alt />
</div>
<div class="messageitemright">
<div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
</div>
</div>
<div class="messageitem messageitemk flexone">
<div class="messageitemrightk">
<div class="messagecontentk">亲,在的</div>
</div>
<div class="messageitemleftk">
<img src="../../../assets/touxiang.png" alt />
</div>
</div>
<div class="messageitem flexone">
<div class="messageitemleft">
<img src="../../../assets/touxiang.png" alt />
</div>
<div class="messageitemright">
<div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
</div>
</div>
<div class="messageitem messageitemk flexone">
<div class="messageitemrightk">
<div class="messagecontentk">亲,在的</div>
</div>
<div class="messageitemleftk">
<img src="../../../assets/touxiang.png" alt />
</div>
</div>
<div class="messageitem flexone">
<div class="messageitemleft">
<img src="../../../assets/touxiang.png" alt />
</div>
<div class="messageitemright">
<div class="messagecontent">同学们大家准备好开始上课了 吗?让我们现在开始吧!</div>
</div>
</div>
<div class="messageitem messageitemk flexone">
<div class="messageitemrightk">
<div class="messagecontentk">亲,在的</div>
</div>
<div class="messageitemleftk">
<img src="../../../assets/touxiang.png" alt />
</div>
</div>
</div>
<div class="messagebot flexone">
<div class="messagebotleft">
<img src="../../../assets/yuyin.png" alt />
</div>
<div class="writermessage">
<input type="text" placeholder="写留言" />
</div>
<div class="send">发送</div>
</div>
<!-- 直播结束了 -->
<div class="register" v-if="iszhibo">
<div class="zhiboover">
<div class="zhibovoertop">讲师结束了直播</div>
<div class="zhiboque" @click="overvideo">确认</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
iszhibo: false
}
},
created() {
document.title = '唐元集公众号'
},
methods: {
overvideo() {
this.iszhibo = false
}
}
}
</script>
<style scoped>
.zhiboover {
width: 6.22rem;
background: #ffffff;
border-radius: 0.08rem 0.08rem 0 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.zhibovoertop {
padding: 0.68rem 0;
box-sizing: border-box;
border-bottom: 1px solid #f5f5f5;
color: #323233;
font-size: 0.28rem;
text-align: center;
}
.zhiboque {
color: #599158;
font-size: 0.32rem;
text-align: center;
padding: 0.24rem 0;
box-sizing: border-box;
}
</style>