File tree Expand file tree Collapse file tree 6 files changed +65
-39
lines changed
miniprogram/packageComponent/pages/media Expand file tree Collapse file tree 6 files changed +65
-39
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"usingComponents" : {},
3
3
"navigationBarTitleText" : " channel-live" ,
4
- "renderer" : " webview"
4
+ "componentFramework" : " glass-easel" ,
5
+ "renderer" : " skyline" ,
6
+ "navigationStyle" : " custom"
5
7
}
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change 1
- .intro {
2
- margin: 30px;
3
- text-align: center;
1
+ @import "../../../../common/reset.wxss";
2
+
3
+ .page-section-title{
4
+ padding: 0;
4
5
}
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;
9
9
}
10
- view {
11
- text-align: center;
12
- margin-top: 50px;
10
+ .page-foot{
11
+ margin-top: 25px;
13
12
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"usingComponents" : {},
3
3
"navigationBarTitleText" : " channel-video" ,
4
- "renderer" : " webview"
4
+ "componentFramework" : " glass-easel" ,
5
+ "renderer" : " skyline" ,
6
+ "navigationStyle" : " custom"
5
7
}
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff line change 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
+ }
You can’t perform that action at this time.
0 commit comments