Merge pull request 'xbx' (#165) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/beelink/pulls/165
This commit is contained in:
luyuan 2020-11-27 13:55:20 +08:00
commit 9fd4888ca4
32 changed files with 236 additions and 33 deletions

View File

@ -1 +1 @@
.videoitem[data-v-367c0b4b]{min-width:2.26rem;background-color:#fff;border-radius:.17rem;overflow:hidden;display:flex;cursor:pointer;flex-direction:column;position:relative;box-shadow:0 .05rem .06rem 0 hsla(0,0%,62%,.11)}.videoitem .cover[data-v-367c0b4b]{width:2.26rem;min-width:100%;height:1.27rem}.videoitem .play[data-v-367c0b4b]{position:absolute;top:.52rem;left:1.01rem;width:.23rem;height:.23rem}.videoitem .title[data-v-367c0b4b]{margin:.18rem;margin-top:.16rem;margin-bottom:0;font-display:.11rem;color:#111;display:flex;align-items:center;cursor:default}.videoitem .title>span[data-v-367c0b4b]{margin-left:.11rem;font-size:.1rem;color:#f55455;flex-shrink:0}.videoitem .info[data-v-367c0b4b]{display:flex;align-items:center;margin-top:.09rem;margin-bottom:.09rem;margin-left:.18rem}.videoitem .info .datetime[data-v-367c0b4b]{display:flex;align-items:center;font-size:.1rem;color:#666}.videoitem .info .datetime .time[data-v-367c0b4b]{margin-left:.15rem}.videoitem .info .feature[data-v-367c0b4b]{display:flex;align-items:center;margin-left:.25rem}.videoitem .info .feature>div[data-v-367c0b4b]{display:flex;align-items:center}.videoitem .info .feature>div>img[data-v-367c0b4b]{width:.11rem;height:.11rem}.videoitem .info .feature>div>span[data-v-367c0b4b]{font-size:.1rem;color:#111;margin-left:.04rem;margin-right:.11rem}.videoitem .state[data-v-367c0b4b]{position:absolute;top:0;right:0;width:.67rem;height:.23rem;border-radius:0 .17rem 0 .17rem;font-size:.1rem;line-height:.23rem;text-align:center}.videoitem .audit[data-v-367c0b4b]{background-color:#cff9f1;color:#08ae98}.videoitem .live[data-v-367c0b4b]{background:linear-gradient(-90deg,#0edcc2,#50df98,#7ee278,#a2e562);color:#fff}.videoitem .over[data-v-367c0b4b]{background-color:#f7f7f7;color:#121212}.video[data-v-74b75d3a]{width:100%;height:7.06rem;background-color:#fff;border-radius:.17rem;padding:.4rem;position:relative;display:flex;flex-direction:column;align-items:center}.video .nav[data-v-74b75d3a]{display:flex;align-items:center;border-bottom:.01rem solid #eee;justify-content:space-between;width:100%}.video .nav .tabs[data-v-74b75d3a]{display:flex;align-items:center;font-size:.13rem;font-weight:700;color:#111;padding:.11rem 0}.video .nav .tabs>div[data-v-74b75d3a]{margin-right:.58rem;cursor:pointer;text-align:center;width:.54rem}.video .nav .tabs>div[data-v-74b75d3a]:hover{color:#08ae98}.video .nav .tabs .on[data-v-74b75d3a]{color:#08ae98;position:relative}.video .nav .tabs .on[data-v-74b75d3a]:before{content:"";display:block;position:absolute;bottom:-.12rem;width:.57rem;height:.01rem;background-color:#08ae98}.video .nav .sel[data-v-74b75d3a]{width:1.71rem;height:.26rem;border:.01rem solid #999;display:flex;align-items:center;padding:.08rem;border-radius:.04rem}.video .nav .sel>img[data-v-74b75d3a]{width:.11rem;height:.11rem}.video .nav .sel>input[data-v-74b75d3a]{width:1.19rem;font-size:.09rem;line-height:1;margin-left:.06rem;border:none;outline:none}.video .list[data-v-74b75d3a]{display:flex;flex-wrap:wrap;width:100%}.video .list>div[data-v-74b75d3a]{margin-top:.28rem;margin-left:.23rem}.video .list>div[data-v-74b75d3a]:first-child,.video .list>div[data-v-74b75d3a]:nth-child(6){margin-left:0}.video .pages[data-v-74b75d3a]{position:absolute;bottom:1.14rem;display:flex;justify-content:center}.video .pages[data-v-74b75d3a] .ant-pagination-item,.video .pages[data-v-74b75d3a] .ant-pagination-jump-next-custom-icon,.video .pages[data-v-74b75d3a] .ant-pagination-jump-prev-custom-icon,.video .pages[data-v-74b75d3a] .ant-pagination-next>.ant-pagination-item-link,.video .pages[data-v-74b75d3a] .ant-pagination-prev>.ant-pagination-item-link{border:.01rem solid #08ae98}.video .pages[data-v-74b75d3a] .ant-pagination-item-active a{color:#fff}.video .pages[data-v-74b75d3a] .ant-pagination-item-active{background-color:#08ae98}
.videoitem[data-v-54b9092c]{min-width:2.26rem;background-color:#fff;border-radius:.17rem;overflow:hidden;display:flex;cursor:pointer;flex-direction:column;position:relative;box-shadow:0 .05rem .06rem 0 hsla(0,0%,62%,.11)}.videoitem .cover[data-v-54b9092c]{width:2.26rem;min-width:100%;height:1.27rem}.videoitem .play[data-v-54b9092c]{position:absolute;top:.52rem;left:1.01rem;width:.23rem;height:.23rem}.videoitem .title[data-v-54b9092c]{margin:.18rem;margin-top:.16rem;margin-bottom:0;font-display:.11rem;color:#111;display:flex;align-items:center;cursor:default}.videoitem .title>span[data-v-54b9092c]{margin-left:.11rem;font-size:.1rem;color:#f55455;flex-shrink:0}.videoitem .info[data-v-54b9092c]{display:flex;align-items:center;margin-top:.09rem;margin-bottom:.09rem;margin-left:.18rem}.videoitem .info .datetime[data-v-54b9092c]{display:flex;align-items:center;font-size:.1rem;color:#666}.videoitem .info .datetime .time[data-v-54b9092c]{margin-left:.15rem}.videoitem .info .feature[data-v-54b9092c]{display:flex;align-items:center;margin-left:.25rem}.videoitem .info .feature>div[data-v-54b9092c]{display:flex;align-items:center}.videoitem .info .feature>div>img[data-v-54b9092c]{width:.11rem;height:.11rem}.videoitem .info .feature>div>span[data-v-54b9092c]{font-size:.1rem;color:#111;margin-left:.04rem;margin-right:.11rem}.videoitem .state[data-v-54b9092c]{position:absolute;top:0;right:0;width:.67rem;height:.23rem;border-radius:0 .17rem 0 .17rem;font-size:.1rem;line-height:.23rem;text-align:center}.videoitem .audit[data-v-54b9092c]{background-color:#cff9f1;color:#08ae98}.videoitem .live[data-v-54b9092c]{background:linear-gradient(-90deg,#0edcc2,#50df98,#7ee278,#a2e562);color:#fff}.videoitem .over[data-v-54b9092c]{background-color:#f7f7f7;color:#121212}.video[data-v-74b75d3a]{width:100%;height:7.06rem;background-color:#fff;border-radius:.17rem;padding:.4rem;position:relative;display:flex;flex-direction:column;align-items:center}.video .nav[data-v-74b75d3a]{display:flex;align-items:center;border-bottom:.01rem solid #eee;justify-content:space-between;width:100%}.video .nav .tabs[data-v-74b75d3a]{display:flex;align-items:center;font-size:.13rem;font-weight:700;color:#111;padding:.11rem 0}.video .nav .tabs>div[data-v-74b75d3a]{margin-right:.58rem;cursor:pointer;text-align:center;width:.54rem}.video .nav .tabs>div[data-v-74b75d3a]:hover{color:#08ae98}.video .nav .tabs .on[data-v-74b75d3a]{color:#08ae98;position:relative}.video .nav .tabs .on[data-v-74b75d3a]:before{content:"";display:block;position:absolute;bottom:-.12rem;width:.57rem;height:.01rem;background-color:#08ae98}.video .nav .sel[data-v-74b75d3a]{width:1.71rem;height:.26rem;border:.01rem solid #999;display:flex;align-items:center;padding:.08rem;border-radius:.04rem}.video .nav .sel>img[data-v-74b75d3a]{width:.11rem;height:.11rem}.video .nav .sel>input[data-v-74b75d3a]{width:1.19rem;font-size:.09rem;line-height:1;margin-left:.06rem;border:none;outline:none}.video .list[data-v-74b75d3a]{display:flex;flex-wrap:wrap;width:100%}.video .list>div[data-v-74b75d3a]{margin-top:.28rem;margin-left:.23rem}.video .list>div[data-v-74b75d3a]:first-child,.video .list>div[data-v-74b75d3a]:nth-child(6){margin-left:0}.video .pages[data-v-74b75d3a]{position:absolute;bottom:1.14rem;display:flex;justify-content:center}.video .pages[data-v-74b75d3a] .ant-pagination-item,.video .pages[data-v-74b75d3a] .ant-pagination-jump-next-custom-icon,.video .pages[data-v-74b75d3a] .ant-pagination-jump-prev-custom-icon,.video .pages[data-v-74b75d3a] .ant-pagination-next>.ant-pagination-item-link,.video .pages[data-v-74b75d3a] .ant-pagination-prev>.ant-pagination-item-link{border:.01rem solid #08ae98}.video .pages[data-v-74b75d3a] .ant-pagination-item-active a{color:#fff}.video .pages[data-v-74b75d3a] .ant-pagination-item-active{background-color:#08ae98}

View File

@ -1 +1 @@
.video[data-v-c218b51c]{width:9.76rem;height:5.63rem;border-radius:.18rem;overflow:hidden;display:flex;flex-direction:column}.video>video[data-v-c218b51c]{width:100%;height:5.05rem}.video .liveinfo[data-v-c218b51c]{flex-shrink:0;display:flex;justify-content:space-between;height:.58rem;align-items:center;background-color:#fff}.video .liveinfo .left[data-v-c218b51c]{display:flex;color:#121212;font-size:.13rem;margin-left:.29rem}.video .liveinfo .left .score[data-v-c218b51c]{color:#d22c2e;font-size:.13rem}.video .liveinfo .left>div[data-v-c218b51c]{margin-right:.57rem}.video .liveinfo .left .icon[data-v-c218b51c]{width:.25rem;height:.24rem;margin-right:.06rem}.video .liveinfo .right[data-v-c218b51c]{width:.74rem;height:.29rem;border:.01rem solid #08ae98;border-radius:.03rem;margin-right:.29rem;color:#08ae98;cursor:pointer;font-size:.13rem;line-height:.29rem;font-weight:700;text-align:center}.cont[data-v-23b21338]{width:3.16rem;height:5.63rem;background-color:#fff;border-radius:.17rem;padding:0 .28rem;position:relative;overflow:auto}.cont .title[data-v-23b21338]{padding:.23rem 0 .11rem 0;font-size:.13rem;color:#111;line-height:1;border-bottom:.01rem solid #eee;display:flex;justify-content:space-between}.cont .title .more[data-v-23b21338]{color:#999;font-size:.11rem;cursor:pointer}.cont .info .item[data-v-23b21338]{display:flex;align-content:center;justify-content:space-between;margin-top:.23rem;font-size:.1rem}.cont .info .item .stuinfo[data-v-23b21338]{margin:auto 0;margin-left:.11rem;color:#111}.cont .info .item .stuinfo .lessonname[data-v-23b21338]{color:#666}.cont .info .item .takehour[data-v-23b21338]{color:#08ae98;font-size:.11rem;margin:auto 0;text-align:center}.cont .info .item>div>img[data-v-23b21338]{width:.57rem;height:.57rem;border-radius:50%}.cont .refuse[data-v-23b21338]{color:#d22c2e;margin:auto 0;width:.57rem;text-align:center}.cont .cancel[data-v-23b21338]{margin:auto 0;width:.57rem;height:.23rem;border:.01rem solid #09ae99;line-height:.23rem;text-align:center;cursor:pointer;color:#09ae99;border-radius:.03rem}.cont .button[data-v-23b21338]{position:absolute;width:2.6rem;bottom:.28rem;display:flex;justify-content:space-between}.cont .button>div[data-v-23b21338]{width:1.14rem;height:.23rem;border-radius:.03rem;font-size:.1rem;color:#fff;line-height:.23rem;text-align:center}.cont .button .modify[data-v-23b21338]{background-color:#08ae98}.cont .button .del[data-v-23b21338]{background-color:#d12c2e}.cont[data-v-23b21338] .modal-dialog{border-radius:.28rem;overflow:hidden;padding:0;width:5.69rem!important}.cont[data-v-23b21338] .modal-dialog .close{width:.14rem;height:.14rem}.cont[data-v-23b21338] .modal-dialog .yuanyin{margin-top:.13rem;font-size:.11rem;color:#111;font-weight:700}.cont[data-v-23b21338] .modal-dialog .body{display:flex;margin-top:.34rem}.cont[data-v-23b21338] .modal-dialog .body .jubao{font-size:.11rem;color:grey;margin-right:.28rem}.cont[data-v-23b21338] .modal-dialog .body .text{width:3.59rem;height:.85rem;font-size:.11rem}.cont[data-v-23b21338] .modal-dialog .submit-btn{width:.63rem;height:.23rem;background:#08ae98;border-radius:.03rem;font-size:.1rem;font-weight:500;color:#fff;text-align:center;line-height:.23rem;cursor:pointer;user-select:none;margin-top:.57rem}.livedetail[data-v-55dff82c]{width:13.2rem;height:5.63rem}.livedetail .info[data-v-55dff82c]{width:13.21rem;display:flex;justify-content:center}.livedetail .info .liveplay[data-v-55dff82c]{background:#fff;border-radius:.18rem;margin-right:.29rem}.livedetail .review[data-v-55dff82c]{margin-top:.28rem}
.video[data-v-c231389e]{width:9.76rem;height:5.63rem;border-radius:.18rem;overflow:hidden;display:flex;flex-direction:column}.video>video[data-v-c231389e]{width:100%;height:5.05rem}.video .liveinfo[data-v-c231389e]{flex-shrink:0;display:flex;justify-content:space-between;height:.58rem;align-items:center;background-color:#fff}.video .liveinfo .left[data-v-c231389e]{display:flex;color:#121212;font-size:.13rem;margin-left:.29rem}.video .liveinfo .left .score[data-v-c231389e]{color:#d22c2e;font-size:.13rem}.video .liveinfo .left>div[data-v-c231389e]{margin-right:.57rem}.video .liveinfo .left .icon[data-v-c231389e]{width:.25rem;height:.24rem;margin-right:.06rem}.video .liveinfo .right[data-v-c231389e]{width:.74rem;height:.29rem;border:.01rem solid #08ae98;border-radius:.03rem;margin-right:.29rem;color:#08ae98;cursor:pointer;font-size:.13rem;line-height:.29rem;font-weight:700;text-align:center}.cont[data-v-23b21338]{width:3.16rem;height:5.63rem;background-color:#fff;border-radius:.17rem;padding:0 .28rem;position:relative;overflow:auto}.cont .title[data-v-23b21338]{padding:.23rem 0 .11rem 0;font-size:.13rem;color:#111;line-height:1;border-bottom:.01rem solid #eee;display:flex;justify-content:space-between}.cont .title .more[data-v-23b21338]{color:#999;font-size:.11rem;cursor:pointer}.cont .info .item[data-v-23b21338]{display:flex;align-content:center;justify-content:space-between;margin-top:.23rem;font-size:.1rem}.cont .info .item .stuinfo[data-v-23b21338]{margin:auto 0;margin-left:.11rem;color:#111}.cont .info .item .stuinfo .lessonname[data-v-23b21338]{color:#666}.cont .info .item .takehour[data-v-23b21338]{color:#08ae98;font-size:.11rem;margin:auto 0;text-align:center}.cont .info .item>div>img[data-v-23b21338]{width:.57rem;height:.57rem;border-radius:50%}.cont .refuse[data-v-23b21338]{color:#d22c2e;margin:auto 0;width:.57rem;text-align:center}.cont .cancel[data-v-23b21338]{margin:auto 0;width:.57rem;height:.23rem;border:.01rem solid #09ae99;line-height:.23rem;text-align:center;cursor:pointer;color:#09ae99;border-radius:.03rem}.cont .button[data-v-23b21338]{position:absolute;width:2.6rem;bottom:.28rem;display:flex;justify-content:space-between}.cont .button>div[data-v-23b21338]{width:1.14rem;height:.23rem;border-radius:.03rem;font-size:.1rem;color:#fff;line-height:.23rem;text-align:center}.cont .button .modify[data-v-23b21338]{background-color:#08ae98}.cont .button .del[data-v-23b21338]{background-color:#d12c2e}.cont[data-v-23b21338] .modal-dialog{border-radius:.28rem;overflow:hidden;padding:0;width:5.69rem!important}.cont[data-v-23b21338] .modal-dialog .close{width:.14rem;height:.14rem}.cont[data-v-23b21338] .modal-dialog .yuanyin{margin-top:.13rem;font-size:.11rem;color:#111;font-weight:700}.cont[data-v-23b21338] .modal-dialog .body{display:flex;margin-top:.34rem}.cont[data-v-23b21338] .modal-dialog .body .jubao{font-size:.11rem;color:grey;margin-right:.28rem}.cont[data-v-23b21338] .modal-dialog .body .text{width:3.59rem;height:.85rem;font-size:.11rem}.cont[data-v-23b21338] .modal-dialog .submit-btn{width:.63rem;height:.23rem;background:#08ae98;border-radius:.03rem;font-size:.1rem;font-weight:500;color:#fff;text-align:center;line-height:.23rem;cursor:pointer;user-select:none;margin-top:.57rem}.livedetail[data-v-55dff82c]{width:13.2rem;height:5.63rem}.livedetail .info[data-v-55dff82c]{width:13.21rem;display:flex;justify-content:center}.livedetail .info .liveplay[data-v-55dff82c]{background:#fff;border-radius:.18rem;margin-right:.29rem}.livedetail .review[data-v-55dff82c]{margin-top:.28rem}

1
dist/css/chunk-ebdb96a0.d22f743d.css vendored Normal file
View File

@ -0,0 +1 @@
.mine[data-v-e6e249bc]{display:flex;flex-direction:column}.mine .body[data-v-e6e249bc]{width:100%;min-height:calc(100% - .57rem);background-color:#f5f5f5}

2
dist/css/room.css vendored
View File

@ -48,7 +48,7 @@ video{
min-height: 700px;
display: none;
align-items: flex-start;
background-color: #f0f0f0
padding: 16px;
}
.member{
cursor: default;

4
dist/index.html vendored
View File

@ -61,11 +61,11 @@
left: 0;
z-index: 1001;
display: none;
}</style><link href="/css/chunk-04e3a2fa.08ef3a2d.css" rel="prefetch"><link href="/css/chunk-05d3c41a.55076a31.css" rel="prefetch"><link href="/css/chunk-06828374.8e285ce3.css" rel="prefetch"><link href="/css/chunk-07015098.03da786d.css" rel="prefetch"><link href="/css/chunk-10d1cf7a.0e433876.css" rel="prefetch"><link href="/css/chunk-21d6a1b9.85832ac1.css" rel="prefetch"><link href="/css/chunk-27236dd2.3992b5d2.css" rel="prefetch"><link href="/css/chunk-2a197f09.b2772b24.css" rel="prefetch"><link href="/css/chunk-34d93bb8.4cba2bdb.css" rel="prefetch"><link href="/css/chunk-368207de.ca61222b.css" rel="prefetch"><link href="/css/chunk-371ee143.78141e1e.css" rel="prefetch"><link href="/css/chunk-3c7641ed.f87c4e8b.css" rel="prefetch"><link href="/css/chunk-46e3b07d.9259aefd.css" rel="prefetch"><link href="/css/chunk-4cbe0c82.f0a6b24e.css" rel="prefetch"><link href="/css/chunk-4e0b884c.48d44d85.css" rel="prefetch"><link href="/css/chunk-520d8a08.dd761c06.css" rel="prefetch"><link href="/css/chunk-56d58d74.9f239fcf.css" rel="prefetch"><link href="/css/chunk-623eb100.c75b32b7.css" rel="prefetch"><link href="/css/chunk-650d0cb1.47d38586.css" rel="prefetch"><link href="/css/chunk-68091c98.14c0db2d.css" rel="prefetch"><link href="/css/chunk-737c53fe.6caedc04.css" rel="prefetch"><link href="/css/chunk-74d6e86d.85aed290.css" rel="prefetch"><link href="/css/chunk-74d7e8d4.4686069f.css" rel="prefetch"><link href="/css/chunk-8db7da34.e8fb3ad7.css" rel="prefetch"><link href="/css/chunk-977f0f52.6081abf8.css" rel="prefetch"><link href="/css/chunk-cc7ac8b2.cf93d877.css" rel="prefetch"><link href="/css/chunk-da7e1532.17a6e0e0.css" rel="prefetch"><link href="/css/chunk-ef207110.a20941ed.css" rel="prefetch"><link href="/js/chunk-04e3a2fa.9e6a7256.js" rel="prefetch"><link href="/js/chunk-05d3c41a.91415477.js" rel="prefetch"><link href="/js/chunk-06828374.d411ceff.js" rel="prefetch"><link href="/js/chunk-07015098.22f8b33a.js" rel="prefetch"><link href="/js/chunk-10d1cf7a.05afa329.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.ecc97c3b.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.31e80702.js" rel="prefetch"><link href="/js/chunk-34d93bb8.99541265.js" rel="prefetch"><link href="/js/chunk-368207de.5ef5e087.js" rel="prefetch"><link href="/js/chunk-371ee143.db48ebbc.js" rel="prefetch"><link href="/js/chunk-3c7641ed.47b122a8.js" rel="prefetch"><link href="/js/chunk-46e3b07d.d6873afe.js" rel="prefetch"><link href="/js/chunk-4cbe0c82.4f446d66.js" rel="prefetch"><link href="/js/chunk-4e0b884c.9c3a81c9.js" rel="prefetch"><link href="/js/chunk-520d8a08.2b87a45a.js" rel="prefetch"><link href="/js/chunk-56d58d74.4596e993.js" rel="prefetch"><link href="/js/chunk-623eb100.0d77f748.js" rel="prefetch"><link href="/js/chunk-650d0cb1.7cc3b70b.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.f61ff849.js" rel="prefetch"><link href="/js/chunk-74d6e86d.2c5f5b23.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.02cdd824.js" rel="prefetch"><link href="/js/chunk-8db7da34.67ad115b.js" rel="prefetch"><link href="/js/chunk-977f0f52.4ec7ef7e.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.279475fe.js" rel="prefetch"><link href="/js/chunk-da7e1532.4b71bb2c.js" rel="prefetch"><link href="/js/chunk-ef207110.3414d58c.js" rel="prefetch"><link href="/css/app.54811137.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.b7ad0d25.js" rel="preload" as="script"><link href="/js/chunk-vendors.5e652f88.js" rel="preload" as="script"><link href="/css/chunk-vendors.d0a33139.css" rel="stylesheet"><link href="/css/app.54811137.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but beelink doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="make"></div><script>window.fbAsyncInit = function () {
}</style><link href="/css/chunk-04e3a2fa.08ef3a2d.css" rel="prefetch"><link href="/css/chunk-05d3c41a.55076a31.css" rel="prefetch"><link href="/css/chunk-06828374.8e285ce3.css" rel="prefetch"><link href="/css/chunk-07015098.03da786d.css" rel="prefetch"><link href="/css/chunk-10d1cf7a.0e433876.css" rel="prefetch"><link href="/css/chunk-14e6a7cb.9cba31b5.css" rel="prefetch"><link href="/css/chunk-16964057.37c6c246.css" rel="prefetch"><link href="/css/chunk-21d6a1b9.85832ac1.css" rel="prefetch"><link href="/css/chunk-27236dd2.3992b5d2.css" rel="prefetch"><link href="/css/chunk-2a197f09.b2772b24.css" rel="prefetch"><link href="/css/chunk-34d93bb8.4cba2bdb.css" rel="prefetch"><link href="/css/chunk-371ee143.78141e1e.css" rel="prefetch"><link href="/css/chunk-3c7641ed.f87c4e8b.css" rel="prefetch"><link href="/css/chunk-46e3b07d.9259aefd.css" rel="prefetch"><link href="/css/chunk-4cbe0c82.f0a6b24e.css" rel="prefetch"><link href="/css/chunk-4e0b884c.48d44d85.css" rel="prefetch"><link href="/css/chunk-520d8a08.dd761c06.css" rel="prefetch"><link href="/css/chunk-56d58d74.9f239fcf.css" rel="prefetch"><link href="/css/chunk-623eb100.c75b32b7.css" rel="prefetch"><link href="/css/chunk-650d0cb1.47d38586.css" rel="prefetch"><link href="/css/chunk-68091c98.14c0db2d.css" rel="prefetch"><link href="/css/chunk-737c53fe.6caedc04.css" rel="prefetch"><link href="/css/chunk-74d6e86d.85aed290.css" rel="prefetch"><link href="/css/chunk-74d7e8d4.4686069f.css" rel="prefetch"><link href="/css/chunk-977f0f52.6081abf8.css" rel="prefetch"><link href="/css/chunk-cc7ac8b2.cf93d877.css" rel="prefetch"><link href="/css/chunk-da7e1532.17a6e0e0.css" rel="prefetch"><link href="/css/chunk-ebdb96a0.d22f743d.css" rel="prefetch"><link href="/css/chunk-ef207110.a20941ed.css" rel="prefetch"><link href="/js/chunk-04e3a2fa.9e6a7256.js" rel="prefetch"><link href="/js/chunk-05d3c41a.91415477.js" rel="prefetch"><link href="/js/chunk-06828374.d411ceff.js" rel="prefetch"><link href="/js/chunk-07015098.22f8b33a.js" rel="prefetch"><link href="/js/chunk-10d1cf7a.05afa329.js" rel="prefetch"><link href="/js/chunk-14e6a7cb.24505999.js" rel="prefetch"><link href="/js/chunk-16964057.b8852d7c.js" rel="prefetch"><link href="/js/chunk-21d6a1b9.ecc97c3b.js" rel="prefetch"><link href="/js/chunk-27236dd2.6a20330a.js" rel="prefetch"><link href="/js/chunk-2a197f09.31e80702.js" rel="prefetch"><link href="/js/chunk-34d93bb8.99541265.js" rel="prefetch"><link href="/js/chunk-371ee143.db48ebbc.js" rel="prefetch"><link href="/js/chunk-3c7641ed.47b122a8.js" rel="prefetch"><link href="/js/chunk-46e3b07d.d6873afe.js" rel="prefetch"><link href="/js/chunk-4cbe0c82.4f446d66.js" rel="prefetch"><link href="/js/chunk-4e0b884c.9c3a81c9.js" rel="prefetch"><link href="/js/chunk-520d8a08.2b87a45a.js" rel="prefetch"><link href="/js/chunk-56d58d74.4596e993.js" rel="prefetch"><link href="/js/chunk-623eb100.0d77f748.js" rel="prefetch"><link href="/js/chunk-650d0cb1.7cc3b70b.js" rel="prefetch"><link href="/js/chunk-68091c98.6bc9c5f0.js" rel="prefetch"><link href="/js/chunk-737c53fe.f61ff849.js" rel="prefetch"><link href="/js/chunk-74d6e86d.2c5f5b23.js" rel="prefetch"><link href="/js/chunk-74d7e8d4.02cdd824.js" rel="prefetch"><link href="/js/chunk-977f0f52.4ec7ef7e.js" rel="prefetch"><link href="/js/chunk-cc7ac8b2.279475fe.js" rel="prefetch"><link href="/js/chunk-da7e1532.4b71bb2c.js" rel="prefetch"><link href="/js/chunk-ebdb96a0.cbefff6f.js" rel="prefetch"><link href="/js/chunk-ef207110.3414d58c.js" rel="prefetch"><link href="/css/app.54811137.css" rel="preload" as="style"><link href="/css/chunk-vendors.d0a33139.css" rel="preload" as="style"><link href="/js/app.60c6d986.js" rel="preload" as="script"><link href="/js/chunk-vendors.5e652f88.js" rel="preload" as="script"><link href="/css/chunk-vendors.d0a33139.css" rel="stylesheet"><link href="/css/app.54811137.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but beelink doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><div id="make"></div><script>window.fbAsyncInit = function () {
FB.init({
appId: '277826133389999',
autoLogAppEvents: true,
xfbml: true,
version: 'v8.0'
});
};</script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script><script src="/js/cropper.min.js"></script><script src="/js/chunk-vendors.5e652f88.js"></script><script src="/js/app.b7ad0d25.js"></script></body></html>
};</script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script><script src="/js/cropper.min.js"></script><script src="/js/chunk-vendors.5e652f88.js"></script><script src="/js/app.60c6d986.js"></script></body></html>

2
dist/js/app.60c6d986.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/app.60c6d986.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/chunk-14e6a7cb.24505999.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/chunk-16964057.b8852d7c.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/chunk-ebdb96a0.cbefff6f.js vendored Normal file
View File

@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ebdb96a0"],{"27ad":function(e,t,c){"use strict";c("dd4c")},6413:function(e,t,c){"use strict";c.r(t);var n=c("7a23"),o=Object(n["withScopeId"])("data-v-e6e249bc");Object(n["pushScopeId"])("data-v-e6e249bc");var d={class:"body",id:"rbody"};Object(n["popScopeId"])();var a=o((function(e,t,c,o,a,i){var r=Object(n["resolveComponent"])("NavTop"),u=Object(n["resolveComponent"])("router-view");return Object(n["openBlock"])(),Object(n["createBlock"])("div",{class:"mine",style:{height:e.height+"px"}},[Object(n["createVNode"])(r,{type:1,style:{"flex-shrink":"0"}}),Object(n["createVNode"])("div",d,[Object(n["createVNode"])(u)])],4)})),i=c("c022"),r=Object(n["defineComponent"])({components:{NavTop:i["a"]},setup:function(){var e=Object(n["ref"])(0);return Object(n["onMounted"])((function(){e.value=document.documentElement.clientHeight})),window.onresize=function(){e.value=document.documentElement.clientHeight},{height:e}}});c("27ad");r.render=a,r.__scopeId="data-v-e6e249bc";t["default"]=r},dd4c:function(e,t,c){}}]);
//# sourceMappingURL=chunk-ebdb96a0.cbefff6f.js.map

View File

@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/layout/Live.vue?d282","webpack:///./src/layout/Live.vue","webpack:///./src/layout/Live.vue?cdce","webpack:///./src/layout/Live.vue?b857"],"names":["class","id","style","height","type","components","NavTop","setup","value","document","documentElement","clientHeight","window","onresize","render","__scopeId"],"mappings":"kHAAA,W,0JCGaA,MAAM,OAAOC,GAAG,S,sLAFzB,yBAKM,OALDD,MAAM,OAAQE,MAAK,QAAU,EAAAC,OAAM,O,CACpC,yBAAiD,GAAxCC,KAAM,EAAGF,MAAA,sBAClB,yBAEM,MAFN,EAEM,CADF,yBAAc,M,kBCAX,+BAAgB,CAC3BG,WAAW,CACPC,SAAA,MAEJC,MAJ2B,WAMvB,IAAMJ,EAAS,iBAAI,GAOnB,OANA,wBAAU,WACNA,EAAOK,MAAQC,SAASC,gBAAgBC,gBAE5CC,OAAOC,SAAS,WACZV,EAAOK,MAAQC,SAASC,gBAAgBC,cAErC,CACHR,a,UCbZ,EAAOW,OAAS,EAChB,EAAOC,UAAY,kBAEJ,gB","file":"js/chunk-ebdb96a0.cbefff6f.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Live.vue?vue&type=style&index=0&id=e6e249bc&lang=scss&scoped=true\"","<template>\n <div class=\"mine\" :style=\"{height:height + 'px'}\">\n <NavTop :type=\"1\" style=\"flex-shrink:0\"></NavTop>\n <div class=\"body\" id=\"rbody\">\n <router-view/>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.mine{\n display: flex;\n flex-direction: column;\n .body{\n // display: flex;\n width: 100%;\n min-height: calc(100% - 57px);\n background-color: #F5F5F5;\n // padding: 23px;\n }\n}\n</style>\n<script lang=\"ts\">\nimport { defineComponent, onMounted, ref } from 'vue';\nimport NavTop from \"@/components/NavTop.vue\"\n\nexport default defineComponent({\n components:{\n NavTop\n },\n setup(){\n console.log(1)\n const height = ref(0);\n onMounted(() => {\n height.value = document.documentElement.clientHeight;\n })\n window.onresize=function(){ \n height.value = document.documentElement.clientHeight;\n }\n return {\n height\n }\n }\n})\n</script>","\nimport { defineComponent, onMounted, ref } from 'vue';\nimport NavTop from \"@/components/NavTop.vue\"\n\nexport default defineComponent({\n components:{\n NavTop\n },\n setup(){\n console.log(1)\n const height = ref(0);\n onMounted(() => {\n height.value = document.documentElement.clientHeight;\n })\n window.onresize=function(){ \n height.value = document.documentElement.clientHeight;\n }\n return {\n height\n }\n }\n})\n","import { render } from \"./Live.vue?vue&type=template&id=e6e249bc&scoped=true&bindings={}\"\nimport script from \"./Live.vue?vue&type=script&lang=ts\"\nexport * from \"./Live.vue?vue&type=script&lang=ts\"\n\nimport \"./Live.vue?vue&type=style&index=0&id=e6e249bc&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-e6e249bc\"\n\nexport default script"],"sourceRoot":""}

13
dist/js/common.js vendored
View File

@ -273,25 +273,32 @@ function addVideoView(id, isLocal = false) {
function addMemberView(id) {
let memberElm = $('#member-me').clone();
memberElm.attr('id', id);
memberElm.find('div.member-id').html(id);
// memberElm.attr('class', id);
memberElm.css('display', 'flex');
memberElm.find("#video-btn").click((el)=>{
console.log(el)
console.log($(el.target).attr("src"))
const src = $(el.target).attr("src") == "img/camera-on.png" ? 1 : 0
console.log("video" + id);
sendsx(id,src)
})
memberElm.find("#mic-btn").click((el)=>{
console.log($(el.target).attr("src"))
const src = $(el.target).attr("src") == "img/mic-on.png" ? 1 : 0
console.log("mic" + id);
sendjinyan(id,src)
})
memberElm.find("#video-btn").removeAttr("id")
memberElm.find("#mic-btn").removeAttr("id")
console.log("移除")
getname(id).then((res)=>{
$("#" + id).find('div.member-id').html(res);
// console.log(.length)
})
memberElm.appendTo($('#member-list'));
}
function removeView(id) {
console.log("被删除")
if ($('#' + id)[0]) {
$('#' + id).remove();
//将video-grid中第一个div设为main-video

65
dist/js/iminit.js vendored
View File

@ -1,9 +1,31 @@
let options = {
SDKAppID: 1400435767 // 接入时需要将0替换为您的即时通信 IM 应用的 SDKAppID
};
let tim = TIM.create(options);
window.tim = TIM.create(options);
tim.setLogLevel(0);
function getname(id){
return new Promise((res, rej)=>{
let promise = tim.getGroupMemberProfile({
groupID:window.roomid,
userIDList:[id],
memberCustomFieldFilter:["nick"]
})
promise.then(function(imResponse) {
console.log(imResponse.data.memberList); // 群成员列表
res(imResponse.data.memberList[0].nick)
}).catch(function(imError) {
console.warn('getGroupMemberProfile error:', imError);
setTimeout(()=>{
getname(id).then((e)=>{
res(e)
})
},1000)
});
})
}
function formatDateTime (inputTime) {
inputTime = inputTime * 1000
var date = new Date(inputTime);
var y = date.getFullYear();
var m = date.getMonth() + 1;
@ -28,6 +50,9 @@ function formatDateTime (inputTime) {
if(!event.data[i].payload.text){
break;
}
if(event.data[i].payload.text.includes("beelinkMuteUserId") || event.data[i].payload.text.includes("inkTurnOffTheCameraUserId")){
break;
}
const list = $("#liaotianliebiao")
const html = ` <div>
<p>${formatDateTime(event.data[i].time)}</p>
@ -204,4 +229,42 @@ function formatDateTime (inputTime) {
});
function sendjinyan(id,type){
const m = tim.createTextMessage({
to: window.roomid,
conversationType: TIM.TYPES.CONV_GROUP,
payload: {
text: `beelinkMuteUserId:${id},isClose:${type}`
}
})
const promise = tim.sendMessage(m);
promise.then(function(imResponse) {
// 发送成功
console.log(imResponse);
}).catch(function(imError) {
// 发送失败
console.warn('sendMessage error:', imError);
});
}
function sendsx(id,type){
const m = tim.createTextMessage({
to: window.roomid,
conversationType: TIM.TYPES.CONV_GROUP,
payload: {
text: `beelinkTurnOffTheCameraUserId:${id},isClose:${type}`
}
})
const promise = tim.sendMessage(m);
promise.then(function(imResponse) {
// 发送成功
console.log(imResponse);
}).catch(function(imError) {
// 发送失败
console.warn('sendMessage error:', imError);
});
}
// 开始登录

View File

@ -205,6 +205,7 @@ class RtcClient {
const userId = evt.userId;
removeView(userId);
console.log('peer-leave ' + userId);
});
// fired when a remote stream is added
this.client_.on('stream-added', evt => {

6
dist/zhibo.html vendored
View File

@ -422,8 +422,10 @@
$('body').bootstrapMaterialDesign();
});
</script>
<script src="./js/lib-generate-test-usersig.min.js"></script>
<script src="./js/debug/GenerateTestUserSig.js"></script>
<script src="./js/tim-js.js"></script>
<script src="./js/iminit.js"></script>
<script src="./js/lib-generate-test-usersig.min.js"></script>
<script src="./js/iconfont.js"></script>
<script src="./js/trtc.js"></script>
<script src="./js/common.js"></script>
@ -432,8 +434,6 @@
<script src="./js/presetting.js"></script>
<script src="./js/device-testing.js"></script>
<script src="./js/index.js"></script>
<script src="./js/tim-js.js"></script>
<script src="./js/iminit.js"></script>
</body>

View File

@ -48,7 +48,7 @@ video{
min-height: 700px;
display: none;
align-items: flex-start;
background-color: #f0f0f0
padding: 16px;
}
.member{
cursor: default;

View File

@ -273,25 +273,32 @@ function addVideoView(id, isLocal = false) {
function addMemberView(id) {
let memberElm = $('#member-me').clone();
memberElm.attr('id', id);
memberElm.find('div.member-id').html(id);
// memberElm.attr('class', id);
memberElm.css('display', 'flex');
memberElm.find("#video-btn").click((el)=>{
console.log(el)
console.log($(el.target).attr("src"))
const src = $(el.target).attr("src") == "img/camera-on.png" ? 1 : 0
console.log("video" + id);
sendsx(id,src)
})
memberElm.find("#mic-btn").click((el)=>{
console.log($(el.target).attr("src"))
const src = $(el.target).attr("src") == "img/mic-on.png" ? 1 : 0
console.log("mic" + id);
sendjinyan(id,src)
})
memberElm.find("#video-btn").removeAttr("id")
memberElm.find("#mic-btn").removeAttr("id")
console.log("移除")
getname(id).then((res)=>{
$("#" + id).find('div.member-id').html(res);
// console.log(.length)
})
memberElm.appendTo($('#member-list'));
}
function removeView(id) {
console.log("被删除")
if ($('#' + id)[0]) {
$('#' + id).remove();
//将video-grid中第一个div设为main-video

View File

@ -1,9 +1,31 @@
let options = {
SDKAppID: 1400435767 // 接入时需要将0替换为您的即时通信 IM 应用的 SDKAppID
};
let tim = TIM.create(options);
window.tim = TIM.create(options);
tim.setLogLevel(0);
function getname(id){
return new Promise((res, rej)=>{
let promise = tim.getGroupMemberProfile({
groupID:window.roomid,
userIDList:[id],
memberCustomFieldFilter:["nick"]
})
promise.then(function(imResponse) {
console.log(imResponse.data.memberList); // 群成员列表
res(imResponse.data.memberList[0].nick)
}).catch(function(imError) {
console.warn('getGroupMemberProfile error:', imError);
setTimeout(()=>{
getname(id).then((e)=>{
res(e)
})
},1000)
});
})
}
function formatDateTime (inputTime) {
inputTime = inputTime * 1000
var date = new Date(inputTime);
var y = date.getFullYear();
var m = date.getMonth() + 1;
@ -28,6 +50,9 @@ function formatDateTime (inputTime) {
if(!event.data[i].payload.text){
break;
}
if(event.data[i].payload.text.includes("beelinkMuteUserId") || event.data[i].payload.text.includes("inkTurnOffTheCameraUserId")){
break;
}
const list = $("#liaotianliebiao")
const html = ` <div>
<p>${formatDateTime(event.data[i].time)}</p>
@ -204,4 +229,42 @@ function formatDateTime (inputTime) {
});
function sendjinyan(id,type){
const m = tim.createTextMessage({
to: window.roomid,
conversationType: TIM.TYPES.CONV_GROUP,
payload: {
text: `beelinkMuteUserId:${id},isClose:${type}`
}
})
const promise = tim.sendMessage(m);
promise.then(function(imResponse) {
// 发送成功
console.log(imResponse);
}).catch(function(imError) {
// 发送失败
console.warn('sendMessage error:', imError);
});
}
function sendsx(id,type){
const m = tim.createTextMessage({
to: window.roomid,
conversationType: TIM.TYPES.CONV_GROUP,
payload: {
text: `beelinkTurnOffTheCameraUserId:${id},isClose:${type}`
}
})
const promise = tim.sendMessage(m);
promise.then(function(imResponse) {
// 发送成功
console.log(imResponse);
}).catch(function(imError) {
// 发送失败
console.warn('sendMessage error:', imError);
});
}
// 开始登录

View File

@ -205,6 +205,7 @@ class RtcClient {
const userId = evt.userId;
removeView(userId);
console.log('peer-leave ' + userId);
});
// fired when a remote stream is added
this.client_.on('stream-added', evt => {

View File

@ -422,8 +422,10 @@
$('body').bootstrapMaterialDesign();
});
</script>
<script src="./js/lib-generate-test-usersig.min.js"></script>
<script src="./js/debug/GenerateTestUserSig.js"></script>
<script src="./js/tim-js.js"></script>
<script src="./js/iminit.js"></script>
<script src="./js/lib-generate-test-usersig.min.js"></script>
<script src="./js/iconfont.js"></script>
<script src="./js/trtc.js"></script>
<script src="./js/common.js"></script>
@ -432,8 +434,6 @@
<script src="./js/presetting.js"></script>
<script src="./js/device-testing.js"></script>
<script src="./js/index.js"></script>
<script src="./js/tim-js.js"></script>
<script src="./js/iminit.js"></script>
</body>

View File

@ -178,7 +178,7 @@ export default defineComponent({
let url = '';
switch (props.status) {
case 1:
url = '/regime/liveing';
url = '/live/liveing';
break;
default:
url = '/regime/livedetail';

View File

@ -111,7 +111,7 @@ export default defineComponent({
if(props.info != undefined){
const id = props.info.liveid;
livestart(id).then(()=>{
router.push("/regime/liveing?id=" + id)
router.push("/live/liveing?id=" + id)
})
}
}

44
src/layout/Live.vue Normal file
View File

@ -0,0 +1,44 @@
<template>
<div class="mine" :style="{height:height + 'px'}">
<NavTop :type="1" style="flex-shrink:0"></NavTop>
<div class="body" id="rbody">
<router-view/>
</div>
</div>
</template>
<style lang="scss" scoped>
.mine{
display: flex;
flex-direction: column;
.body{
// display: flex;
width: 100%;
min-height: calc(100% - 57px);
background-color: #F5F5F5;
// padding: 23px;
}
}
</style>
<script lang="ts">
import { defineComponent, onMounted, ref } from 'vue';
import NavTop from "@/components/NavTop.vue"
export default defineComponent({
components:{
NavTop
},
setup(){
console.log(1)
const height = ref(0);
onMounted(() => {
height.value = document.documentElement.clientHeight;
})
window.onresize=function(){
height.value = document.documentElement.clientHeight;
}
return {
height
}
}
})
</script>

View File

@ -7,6 +7,7 @@ const routes: Array<RouteRecordRaw> = [
name:"Mine",
component: () => import("../layout/Mine.vue"),
children: [
{
path:"archives",
name: "Archives",
@ -93,6 +94,7 @@ const routes: Array<RouteRecordRaw> = [
path: "livedetail",
component: () => import("../views/regime/Livedetail.vue")
},
{
path: "liveing",
component: () => import("../views/regime/Liveing.vue")
@ -107,6 +109,17 @@ const routes: Array<RouteRecordRaw> = [
}
]
},
{
path:"/live",
name:"live",
component: () => import("../layout/Live.vue"),
children:[
{
path: "liveing",
component: () => import("../views/regime/Liveing.vue")
},
]
},
{
path: '/',
name: 'Login',