增加腾讯视频插件

This commit is contained in:
2023-05-26 00:44:10 +08:00
parent d61ee360ec
commit c4330f00ac
3 changed files with 47 additions and 31 deletions

View File

@@ -36,7 +36,8 @@ const start = () => {
navigationBarBackgroundColor: "#4181FF", navigationBarBackgroundColor: "#4181FF",
"mp-weixin": { "mp-weixin": {
"usingComponents": { "usingComponents": {
"cell": "plugin://materialPlugin/cell" "cell": "plugin://materialPlugin/cell",
"qplayer": "plugin://player/video"
} }
} }
} }

View File

@@ -22,8 +22,15 @@
"materialPlugin": { "materialPlugin": {
"version": "1.0.5", "version": "1.0.5",
"provider": "wx4d2deeab3aed6e5a" "provider": "wx4d2deeab3aed6e5a"
},
"player": {
"version": "2.1.15",
"provider": "wxa75efa648b60994b"
} }
}, },
"requiredPrivateInfos" : ["getLocation", "chooseLocation"] "requiredPrivateInfos": [
"getLocation",
"chooseLocation"
]
} }
} }

View File

@@ -164,6 +164,7 @@ export default {
.classDetail { .classDetail {
padding-bottom: 140px; padding-bottom: 140px;
box-sizing: border-box; box-sizing: border-box;
.media { .media {
img { img {
width: 100%; width: 100%;
@@ -228,6 +229,7 @@ export default {
.comment { .comment {
position: relative; position: relative;
img { img {
width: 48px; width: 48px;
height: 48px; height: 48px;
@@ -251,13 +253,14 @@ export default {
line-height: 100px; line-height: 100px;
text-align: center; text-align: center;
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28px;
color: #333333; color: #333333;
} }
.comment_box { .comment_box {
width: 100%; width: 100%;
max-height: 60vh; max-height: 60vh;
.comment_card { .comment_card {
display: flex; display: flex;
padding: 24px 32px; padding: 24px 32px;
@@ -287,6 +290,7 @@ export default {
font-size: 28px; font-size: 28px;
color: #333333; color: #333333;
} }
.avatar_time { .avatar_time {
font-weight: 400; font-weight: 400;
font-size: 26px; font-size: 26px;
@@ -297,18 +301,20 @@ export default {
.comm_content { .comm_content {
margin-top: 8px; margin-top: 8px;
font-weight: 400; font-weight: 400;
font-size: 32rpx; font-size: 32px;
color: #333333; color: #333333;
} }
} }
} }
} }
.comm_input_btn { .comm_input_btn {
width: 100%; width: 100%;
height: 128px; height: 128px;
background: #fff; background: #fff;
padding: 24px 32px; padding: 24px 32px;
box-sizing: border-box; box-sizing: border-box;
div { div {
width: 100%; width: 100%;
height: 80px; height: 80px;
@@ -330,6 +336,7 @@ export default {
align-items: center; align-items: center;
padding: 32px; padding: 32px;
box-sizing: border-box; box-sizing: border-box;
.text { .text {
textarea { textarea {
background: #F4F5FA; background: #F4F5FA;
@@ -340,13 +347,14 @@ export default {
width: 80vw; width: 80vw;
} }
} }
.send_btn { .send_btn {
width: 80px; width: 80px;
height: 80px; height: 80px;
line-height: 80px; line-height: 80px;
text-align: right; text-align: right;
font-weight: 500; font-weight: 500;
font-size: 34rpx; font-size: 34px;
color: #2D7DFF; color: #2D7DFF;
} }
} }