|
14 | 14 | 2)流密钥(Streaming Key): {{pushKey}}
|
15 | 15 | </p>
|
16 | 16 |
|
17 |
| - <div class="control-btn"> |
| 17 | + <table class="control-table"> |
| 18 | + |
| 19 | + <tbody> |
| 20 | + <tr> |
| 21 | + <td>操作</td> |
| 22 | + <td>说明</td> |
| 23 | + </tr> |
| 24 | + |
| 25 | + <tr> |
| 26 | + <td><button class="btn btn-blue" @click="beginLive">开始直播</button></td> |
| 27 | + <td class="tips">点击之后,观众可看到画面。确认已开始推流之后点击</td> |
| 28 | + </tr> |
| 29 | + |
| 30 | + <tr> |
| 31 | + <td><button class="btn btn-blue" @click="notifyLive(0)">群发微信开播通知</button></td> |
| 32 | + <td class="tips">通过微信服务号发送给所有观众通知,确认画面良好、快要正式开始之后点击</td> |
| 33 | + </tr> |
| 34 | + |
| 35 | + <tr> |
| 36 | + <td><button class="btn btn-blue subject" @click="see(live.liveId)">进入直播间</button></td> |
| 37 | + <td class="tips">进入自己的直播间,用来和观众互动或检测直播正常</td> |
| 38 | + </tr> |
| 39 | + |
| 40 | + <tr> |
| 41 | + <td><button class="btn btn-blue" @click="endLive">转码直播</button></td> |
| 42 | + <td class="tips">由趣直播管理员操作,主播不需要点击</td> |
| 43 | + </tr> |
18 | 44 |
|
19 |
| - <button class="btn btn-blue" @click="beginLive">开始直播</button> |
| 45 | + <tr> |
| 46 | + <td><button class="btn btn-blue" @click="finishLive">结束直播</button></td> |
| 47 | + <td class="tips">由趣直播管理员操作,主播不需要点击</td> |
| 48 | + </tr> |
| 49 | + |
| 50 | + </tbody> |
| 51 | + </table> |
| 52 | + |
| 53 | + <!-- <div class="control-btn"> |
20 | 54 |
|
21 | 55 | <button class="btn btn-blue" @click="waitLive">设置回报名状态</button>
|
22 | 56 |
|
23 | 57 | <button class="btn btn-blue" @click="setLiveReview">设置回审核状态</button>
|
24 | 58 |
|
25 | 59 | <button class="btn btn-blue" @click="notifyLive(1)">群发一小时前通知</button>
|
26 | 60 |
|
27 |
| - <button class="btn btn-blue" @click="notifyLive(0)">群发微信开播通知</button> |
28 |
| - |
29 |
| - <button class="btn btn-blue subject" @click="see(live.liveId)">观看直播</button> |
30 | 61 |
|
31 | 62 | </div>
|
32 | 63 |
|
33 | 64 | <div class="control-btn">
|
34 |
| - <button class="btn btn-blue" @click="endLive">转码直播</button> |
35 | 65 |
|
36 | 66 | <button class="btn btn-blue" @click="convertLive">开始转码</button>
|
37 | 67 |
|
38 | 68 | <button class="btn btn-blue" @click="replayLive">开始重播</button>
|
39 | 69 |
|
40 |
| - <button class="btn btn-blue" @click="finishLive">结束直播</button> |
41 |
| - </div> |
| 70 | + </div> --> |
42 | 71 |
|
43 | 72 |
|
44 |
| - <p> |
| 73 | + <p class="wechat-share"> |
45 | 74 | 微信分享地址:{{shareLink}}
|
46 | 75 | </p>
|
47 | 76 |
|
@@ -96,7 +125,7 @@ export default {
|
96 | 125 | data({to}) {
|
97 | 126 | var params = this.$route.params
|
98 | 127 | this.liveId = params.liveId
|
99 |
| - this.fetchLive() |
| 128 | + // this.fetchLive() |
100 | 129 | }
|
101 | 130 | },
|
102 | 131 | created() {
|
@@ -197,5 +226,17 @@ export default {
|
197 | 226 | margin-top 50px
|
198 | 227 | .obs-setting
|
199 | 228 | font-size 16px
|
| 229 | + .control-table |
| 230 | + margin 20px auto |
| 231 | + font-size 16px |
| 232 | + border-top solid #000 1px |
| 233 | + border-left solid #000 1px |
| 234 | + tbody |
| 235 | + td |
| 236 | + border-bottom solid #000 1px |
| 237 | + border-right solid #000 1px |
| 238 | + td.tips |
| 239 | + font-size 14px |
| 240 | + max-width 300px |
200 | 241 |
|
201 | 242 | </style>
|
0 commit comments