Skip to content

Commit 60579d1

Browse files
author
juvanhe
committed
feat: channel-video & channel-live skyline support
1 parent 543439e commit 60579d1

File tree

6 files changed

+65
-39
lines changed

6 files changed

+65
-39
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"usingComponents": {},
33
"navigationBarTitleText": "channel-live",
4-
"renderer": "webview"
4+
"componentFramework": "glass-easel",
5+
"renderer": "skyline",
6+
"navigationStyle": "custom"
57
}
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
<view>
2-
<channel-live
3-
feed-id="export/UzFfAgtgekIEAQAAAAAA7UEOPV-7TQAAAAstQy6ubaLX4KHWvLEZgBPEiYIALRwBBP6BzNPgMIspjeQfphOob7LuGRJz_8UF"
4-
finder-user-name="sphiUesg6A9wDtl"
5-
></channel-live>
6-
</view>
1+
<import src="../../../../common/head.wxml" />
2+
<import src="../../../../common/foot.wxml" />
3+
4+
<mp-navigation-bar title="channel-live" back="{{true}}"></mp-navigation-bar>
5+
<template is="head" data="{{title: 'channel-live'}}"/>
6+
<scroll-view class="page-scroll-view" scroll-y type="list">
7+
<view class="container page" data-weui-theme="{{theme}}">
8+
<view class="page-body">
9+
<view class="page-section page-section-spacing">
10+
<channel-live
11+
style="width: 300px; height: 500px"
12+
feed-id="export/UzFfAgtgekIEAQAAAAAA7UEOPV-7TQAAAAstQy6ubaLX4KHWvLEZgBPEiYIALRwBBP6BzNPgMIspjeQfphOob7LuGRJz_8UF"
13+
finder-user-name="sphiUesg6A9wDtl"
14+
></channel-live>
15+
</view>
16+
</view>
17+
<template is="foot" />
18+
</view>
19+
</scroll-view>
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
.intro {
2-
margin: 30px;
3-
text-align: center;
1+
@import "../../../../common/reset.wxss";
2+
3+
.page-section-title{
4+
padding: 0;
45
}
5-
button {
6-
width: 240px !important;
7-
margin-top: 40px;
8-
line-height: 40px;
6+
.page-section-title{
7+
margin-top: 30px;
8+
position: relative;
99
}
10-
view {
11-
text-align: center;
12-
margin-top: 50px;
10+
.page-foot{
11+
margin-top: 25px;
1312
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"usingComponents": {},
33
"navigationBarTitleText": "channel-video",
4-
"renderer": "webview"
4+
"componentFramework": "glass-easel",
5+
"renderer": "skyline",
6+
"navigationStyle": "custom"
57
}
Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
1-
<view>
2-
<channel-video
3-
feed-id="{{feedId}}"
4-
finder-user-name="sphiUesg6A9wDtl"
5-
autoplay="{{false}}"
6-
></channel-video>
7-
</view>
1+
<import src="../../../../common/head.wxml" />
2+
<import src="../../../../common/foot.wxml" />
3+
4+
<mp-navigation-bar title="channel-video" back="{{true}}"></mp-navigation-bar>
5+
<template is="head" data="{{title: 'channel-video'}}"/>
6+
<scroll-view class="page-scroll-view" scroll-y type="list">
7+
<view class="container page" data-weui-theme="{{theme}}">
8+
<view class="page-body">
9+
<view class="page-section page-section-spacing channel-video">
10+
<channel-video
11+
feed-id="{{feedId}}"
12+
finder-user-name="sphiUesg6A9wDtl"
13+
autoplay="{{false}}"
14+
></channel-video>
15+
</view>
16+
</view>
17+
<template is="foot"/>
18+
</view>
19+
</scroll-view>
Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
.intro {
2-
margin: 30px;
3-
text-align: center;
4-
}
5-
button {
6-
width: 240px !important;
7-
margin-top: 40px;
8-
line-height: 40px;
9-
}
10-
view {
11-
text-align: center;
12-
margin-top: 50px;
13-
}
14-
1+
@import "../../../../common/reset.wxss";
2+
3+
.page-section-title{
4+
padding: 0;
5+
}
6+
.page-section-title{
7+
margin-top: 30px;
8+
position: relative;
9+
}
10+
.page-foot{
11+
margin-top: 25px;
12+
}

0 commit comments

Comments
 (0)