提交 205b8d7d 作者: 龚洪江

修复:资讯视频适配

上级 1cda021f
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
@include ellipsis(1); @include ellipsis(1);
} }
.richText{ .richText{
img{ img,video{
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
color: #3c3e42; color: #3c3e42;
width:100%; width:100%;
text-overflow: ellipsis; text-overflow: ellipsis;
font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
@include ellipsis(1); @include ellipsis(1);
margin-right: 10px; margin-right: 10px;
} }
......
...@@ -16,7 +16,7 @@ export interface Params { ...@@ -16,7 +16,7 @@ export interface Params {
} }
const items = (params: any) => const items = (params: any) =>
[/* "项目需求", */ '招投标项目', '项目案例', '行业新闻'].map((value) => { [/* "项目需求", */ '招标快讯', '业务案例', '行业新闻'].map((value) => {
let children: JSX.Element | string = <></>; let children: JSX.Element | string = <></>;
switch (value) { switch (value) {
...@@ -24,11 +24,11 @@ const items = (params: any) => ...@@ -24,11 +24,11 @@ const items = (params: any) =>
children = <Requirements params={params}></Requirements>; children = <Requirements params={params}></Requirements>;
break; break;
case '招投标项目': case '招标快讯':
children = <Bids params={params}></Bids>; children = <Bids params={params}></Bids>;
break; break;
case '项目案例': case '业务案例':
children = <Cases params={params}></Cases>; children = <Cases params={params}></Cases>;
break; break;
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
@include ellipsis(1); @include ellipsis(1);
} }
.richText{ .richText{
img{ img,video{
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
@include ellipsis(1); @include ellipsis(1);
} }
.richText{ .richText{
img{ img,video{
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论