feat: 优化页面布局和交互体验
- 使用sticky定位替代fixed定位,提升滚动体验 - 添加视频播放图标和图片展示功能 - 实现搜索框热门关键词轮播效果 - 优化编辑器链接插入功能 - 调整组件样式和布局细节
This commit is contained in:
106
css/bi.css
106
css/bi.css
@@ -5,29 +5,34 @@ body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container {
|
||||
.bi-container {
|
||||
width: 1027px;
|
||||
height: 755px;
|
||||
border: 1px solid #e4e4e4;
|
||||
border-radius: 11px;
|
||||
margin: 20px;
|
||||
padding-top: 22px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.container * {
|
||||
.bi-container * {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.title {
|
||||
.bi-container .bi-icon {
|
||||
width: 29px;
|
||||
height: 32px;
|
||||
margin-right: 8px;
|
||||
background-image: url(../img/bi-icon.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.bi-container .title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
}
|
||||
.title img {
|
||||
.bi-container .title img {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.title h2 {
|
||||
.bi-container .title h2 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
@@ -35,18 +40,17 @@ body {
|
||||
color: #000000;
|
||||
line-height: 30px;
|
||||
}
|
||||
/* 主标题样式扩展 */
|
||||
.bi-main-title {
|
||||
.bi-container .bi-main-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
}
|
||||
.bi-main-title-icon {
|
||||
.bi-container .bi-main-title-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.bi-main-title-heading {
|
||||
.bi-container .bi-main-title-heading {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
@@ -54,13 +58,12 @@ body {
|
||||
color: #000000;
|
||||
line-height: 30px;
|
||||
}
|
||||
/* 寄托币表格样式扩展 */
|
||||
.bi-table {
|
||||
.bi-container .bi-table {
|
||||
width: calc(100% - 24px);
|
||||
border-collapse: collapse;
|
||||
margin: 0 12px 25px;
|
||||
}
|
||||
.bi-table-header {
|
||||
.bi-container .bi-table-header {
|
||||
background-color: #f5f5f5;
|
||||
font-weight: bold;
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
@@ -71,87 +74,65 @@ body {
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
}
|
||||
.bi-table-header.bi-table-event {
|
||||
/* 事件列特殊样式 */
|
||||
}
|
||||
.bi-table-header.bi-table-reward {
|
||||
/* 奖励列特殊样式 */
|
||||
}
|
||||
.bi-table-header.bi-table-limit {
|
||||
/* 上限列特殊样式 */
|
||||
}
|
||||
.bi-table-body {
|
||||
/* 表格主体样式 */
|
||||
}
|
||||
.bi-table-row:nth-child(even) {
|
||||
.bi-container .bi-table-row:nth-child(even) {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.bi-table-cell {
|
||||
.bi-container .bi-table-cell {
|
||||
color: #333333;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
}
|
||||
.bi-table-cell.bi-table-event {
|
||||
/* 事件单元格样式 */
|
||||
}
|
||||
.bi-table-cell.bi-table-reward {
|
||||
/* 奖励单元格样式 */
|
||||
}
|
||||
.bi-table-cell.bi-table-limit {
|
||||
/* 上限单元格样式 */
|
||||
}
|
||||
.supplement {
|
||||
.bi-container .supplement {
|
||||
margin: 0 12px 30px;
|
||||
}
|
||||
.supplement h3 {
|
||||
.bi-container .supplement h3 {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
.supplement ul {
|
||||
.bi-container .supplement ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.supplement li {
|
||||
.bi-container .supplement li {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
/* 补充说明样式扩展 */
|
||||
.bi-supplement {
|
||||
.bi-container .bi-supplement {
|
||||
margin: 0 12px 30px;
|
||||
}
|
||||
.bi-supplement-title {
|
||||
.bi-container .bi-supplement-title {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
.bi-supplement-list {
|
||||
.bi-container .bi-supplement-list {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.bi-supplement-item {
|
||||
.bi-container .bi-supplement-item {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
.divider {
|
||||
.bi-container .divider {
|
||||
height: 1px;
|
||||
background-color: #eee;
|
||||
margin-bottom: 37px;
|
||||
}
|
||||
.usage {
|
||||
.bi-container .usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.usage img {
|
||||
.bi-container .usage img {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.usage h3 {
|
||||
.bi-container .usage h3 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
@@ -159,31 +140,30 @@ body {
|
||||
color: #000000;
|
||||
line-height: 30px;
|
||||
}
|
||||
.usage ul {
|
||||
.bi-container .usage ul {
|
||||
list-style-type: none;
|
||||
padding: 0 0 0 32px;
|
||||
margin: 0;
|
||||
}
|
||||
.usage li {
|
||||
.bi-container .usage li:not(:last-child) {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
/* 寄托币用途样式扩展 */
|
||||
.bi-usage {
|
||||
.bi-container .bi-usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
.bi-usage-title {
|
||||
.bi-container .bi-usage-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 0 12px 20px;
|
||||
}
|
||||
.bi-usage-icon {
|
||||
.bi-container .bi-usage-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.bi-usage-heading {
|
||||
.bi-container .bi-usage-heading {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
@@ -191,12 +171,12 @@ body {
|
||||
color: #000000;
|
||||
line-height: 30px;
|
||||
}
|
||||
.bi-usage-list {
|
||||
.bi-container .bi-usage-list {
|
||||
list-style-type: none;
|
||||
padding: 0 0 0 32px;
|
||||
margin: 0;
|
||||
}
|
||||
.bi-usage-item {
|
||||
.bi-container .bi-usage-item {
|
||||
margin-bottom: 4px;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
|
||||
335
css/bi.less
335
css/bi.less
@@ -5,238 +5,150 @@ body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.container {
|
||||
.bi-container {
|
||||
width: 1027px;
|
||||
height: 755px;
|
||||
border: 1px solid rgb(228, 228, 228);
|
||||
border-radius: 11px;
|
||||
margin: 20px;
|
||||
// height: 755px;
|
||||
padding-top: 22px;
|
||||
margin-top: 20px;
|
||||
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
|
||||
img {
|
||||
.bi-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
height: 32px;
|
||||
margin-right: 8px;
|
||||
background-image: url(../img/bi-icon.png);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
h2 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
|
||||
/* 主标题样式扩展 */
|
||||
.bi-main-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
|
||||
&-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
&-heading {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
// .table {
|
||||
// width: calc(100% - 24px);
|
||||
// border-collapse: collapse;
|
||||
// margin: 0 12px 25px;
|
||||
// }
|
||||
// .table th,
|
||||
// .table td {
|
||||
// text-align: center;
|
||||
// height: 33px;
|
||||
// }
|
||||
// .table th {
|
||||
// background-color: #f5f5f5;
|
||||
// font-weight: bold;
|
||||
// font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
// font-weight: 650;
|
||||
// font-style: normal;
|
||||
// font-size: 14px;
|
||||
// color: rgb(0, 0, 0);
|
||||
// }
|
||||
|
||||
// .table td {
|
||||
// color: rgb(51, 51, 51);
|
||||
// font-size: 14px;
|
||||
// }
|
||||
|
||||
// .table tr:nth-child(even) {
|
||||
// background-color: rgb(245, 245, 245);
|
||||
// }
|
||||
|
||||
/* 寄托币表格样式扩展 */
|
||||
.bi-table {
|
||||
width: calc(100% - 24px);
|
||||
border-collapse: collapse;
|
||||
margin: 0 12px 25px;
|
||||
|
||||
&-header {
|
||||
background-color: #f5f5f5;
|
||||
font-weight: bold;
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
color: rgb(0, 0, 0);
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
|
||||
&.bi-table-event {
|
||||
/* 事件列特殊样式 */
|
||||
img {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
&.bi-table-reward {
|
||||
/* 奖励列特殊样式 */
|
||||
}
|
||||
|
||||
&.bi-table-limit {
|
||||
/* 上限列特殊样式 */
|
||||
h2 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
&-body {
|
||||
/* 表格主体样式 */
|
||||
}
|
||||
.bi-main-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0 12px 20px;
|
||||
|
||||
&-row {
|
||||
&:nth-child(even) {
|
||||
background-color: rgb(245, 245, 245);
|
||||
&-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
&-heading {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
&-cell {
|
||||
color: rgb(51, 51, 51);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
.bi-table {
|
||||
width: calc(100% - 24px);
|
||||
border-collapse: collapse;
|
||||
margin: 0 12px 25px;
|
||||
|
||||
&.bi-table-event {
|
||||
/* 事件单元格样式 */
|
||||
&-header {
|
||||
background-color: #f5f5f5;
|
||||
font-weight: bold;
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 14px;
|
||||
color: rgb(0, 0, 0);
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
&.bi-table-reward {
|
||||
/* 奖励单元格样式 */
|
||||
&-row {
|
||||
&:nth-child(even) {
|
||||
background-color: rgb(245, 245, 245);
|
||||
}
|
||||
}
|
||||
|
||||
&.bi-table-limit {
|
||||
/* 上限单元格样式 */
|
||||
&-cell {
|
||||
color: rgb(51, 51, 51);
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
height: 33px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.supplement {
|
||||
margin: 0 12px 30px;
|
||||
}
|
||||
.supplement h3 {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
.supplement ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.supplement li {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* 补充说明样式扩展 */
|
||||
.bi-supplement {
|
||||
margin: 0 12px 30px;
|
||||
|
||||
&-title {
|
||||
.supplement {
|
||||
margin: 0 12px 30px;
|
||||
}
|
||||
.supplement h3 {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
&-list {
|
||||
.supplement ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-item {
|
||||
.supplement li {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
.divider {
|
||||
height: 1px;
|
||||
background-color: #eee;
|
||||
margin-bottom: 37px;
|
||||
}
|
||||
.usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.usage img {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.usage h3 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
.usage ul {
|
||||
list-style-type: none;
|
||||
padding: 0 0 0 32px;
|
||||
margin: 0;
|
||||
}
|
||||
.usage li {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* 寄托币用途样式扩展 */
|
||||
.bi-usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 8px;
|
||||
.bi-supplement {
|
||||
margin: 0 12px 30px;
|
||||
|
||||
&-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
&-title {
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
&-list {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-item {
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
&-icon {
|
||||
.divider {
|
||||
height: 1px;
|
||||
background-color: #eee;
|
||||
margin-bottom: 37px;
|
||||
}
|
||||
.usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.usage img {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
&-heading {
|
||||
.usage h3 {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
@@ -244,16 +156,51 @@ body {
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
&-list {
|
||||
.usage ul {
|
||||
list-style-type: none;
|
||||
padding: 0 0 0 32px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-item {
|
||||
.usage li:not(:last-child) {
|
||||
margin-bottom: 4px;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.bi-usage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 35px;
|
||||
|
||||
&-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 0 12px 20px;
|
||||
}
|
||||
|
||||
&-icon {
|
||||
width: 29px;
|
||||
height: 34px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
&-heading {
|
||||
font-family: PingFangSC-Semibold, "PingFang SC Semibold", "PingFang SC", sans-serif;
|
||||
font-weight: 650;
|
||||
font-style: normal;
|
||||
font-size: 16px;
|
||||
color: rgb(0, 0, 0);
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
&-list {
|
||||
list-style-type: none;
|
||||
padding: 0 0 0 32px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&-item {
|
||||
margin-bottom: 4px;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
#details .matter .matter-left {
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
width: 890px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
@@ -171,6 +173,9 @@
|
||||
#details .matter .matter-left .html img {
|
||||
max-width: 100%;
|
||||
}
|
||||
#details .matter .matter-left .html video {
|
||||
margin: 0 auto;
|
||||
}
|
||||
#details .matter .matter-left .last-time {
|
||||
color: #aaaaaa;
|
||||
font-size: 13px;
|
||||
@@ -226,7 +231,7 @@
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-top: 8px solid #000000;
|
||||
border-top: 8px solid #ffffff;
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
left: 50%;
|
||||
@@ -326,10 +331,8 @@
|
||||
#details .matter .matter-left .related .list .item .text {
|
||||
width: 352px;
|
||||
}
|
||||
#details .matter .sidebar-box.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
#details .matter .sidebar-box {
|
||||
position: sticky;
|
||||
}
|
||||
#details .matter .sidebar-box .adv {
|
||||
width: 291px;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
margin-bottom: 50px;
|
||||
|
||||
.matter-left {
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
width: 890px;
|
||||
margin-right: 20px;
|
||||
|
||||
@@ -197,6 +199,10 @@
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
video {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.last-time {
|
||||
@@ -259,7 +265,7 @@
|
||||
height: 0;
|
||||
border-left: 8px solid transparent;
|
||||
border-right: 8px solid transparent;
|
||||
border-top: 8px solid #000000;
|
||||
border-top: 8px solid #ffffff;
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
left: 50%;
|
||||
@@ -385,11 +391,12 @@
|
||||
}
|
||||
|
||||
.sidebar-box {
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
}
|
||||
position: sticky;
|
||||
// &.fixed {
|
||||
// position: fixed;
|
||||
// right: calc((100% - 1200px) / 2);
|
||||
// bottom: 10px;
|
||||
// }
|
||||
|
||||
.adv {
|
||||
width: 291px;
|
||||
|
||||
@@ -474,6 +474,8 @@
|
||||
}
|
||||
#appIndex .matter .matter-content {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
}
|
||||
#appIndex .matter .matter-content .forum-sections-list {
|
||||
position: relative;
|
||||
@@ -523,10 +525,8 @@
|
||||
#appIndex .matter .matter-content .item-box {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
#appIndex .matter .sidebar.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
#appIndex .matter .sidebar {
|
||||
position: sticky;
|
||||
}
|
||||
#appIndex .matter .sidebar .ad-item {
|
||||
display: block;
|
||||
|
||||
@@ -565,6 +565,9 @@
|
||||
|
||||
.matter-content {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
|
||||
.forum-sections-list {
|
||||
position: relative;
|
||||
width: 897px;
|
||||
@@ -624,11 +627,12 @@
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
}
|
||||
position: sticky;
|
||||
// &.fixed {
|
||||
// position: fixed;
|
||||
// right: calc((100% - 1200px) / 2);
|
||||
// bottom: 10px;
|
||||
// }
|
||||
|
||||
.ad-item {
|
||||
display: block;
|
||||
|
||||
@@ -247,6 +247,27 @@ body {
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-forum .picture {
|
||||
overflow: auto;
|
||||
}
|
||||
.item-box.item-forum .picture .picture-videos {
|
||||
position: relative;
|
||||
}
|
||||
.item-box.item-forum .picture .picture-videos .icon-play {
|
||||
position: absolute;
|
||||
left: calc(50% - 5px);
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 40px;
|
||||
}
|
||||
.item-box.item-forum .picture .picture-item {
|
||||
height: 100px;
|
||||
border-radius: 10px;
|
||||
display: block;
|
||||
}
|
||||
.item-box.item-forum .picture .picture-item:not(:last-child) {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.item-box.item-offer {
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
@@ -571,7 +592,6 @@ body {
|
||||
overflow: auto;
|
||||
}
|
||||
.item-box.item-tenement .picture .picture-item {
|
||||
width: 120px;
|
||||
height: 100px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
@@ -1446,6 +1466,8 @@ body {
|
||||
.head-top {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
.head-top .logo {
|
||||
height: 52px;
|
||||
@@ -1461,16 +1483,33 @@ body {
|
||||
margin-right: 20px;
|
||||
transition: all 0.3s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.head-top .input-box.pitch {
|
||||
border-color: #000;
|
||||
}
|
||||
.head-top .input-box .placeholder-box {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: calc(100% - 33px);
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
.head-top .input-box .placeholder-box .item {
|
||||
height: 100%;
|
||||
line-height: 40px;
|
||||
padding: 0 15px;
|
||||
color: #7f7f7f;
|
||||
font-size: 14px;
|
||||
}
|
||||
.head-top .input-box .input {
|
||||
border: none;
|
||||
outline: none;
|
||||
height: 100%;
|
||||
background-color: transparent;
|
||||
font-size: 14px;
|
||||
z-index: 2;
|
||||
}
|
||||
.head-top .input-box .icon {
|
||||
width: 18px;
|
||||
|
||||
@@ -291,6 +291,32 @@ body {
|
||||
margin-bottom: 15px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.picture {
|
||||
overflow: auto;
|
||||
|
||||
.picture-videos {
|
||||
position: relative;
|
||||
.icon-play {
|
||||
position: absolute;
|
||||
left: calc(50% - 5px);
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.picture-item {
|
||||
// width: 120px;
|
||||
height: 100px;
|
||||
border-radius: 10px;
|
||||
display: block;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.item-offer {
|
||||
@@ -679,7 +705,7 @@ body {
|
||||
.picture {
|
||||
overflow: auto;
|
||||
.picture-item {
|
||||
width: 120px;
|
||||
// width: 120px;
|
||||
height: 100px;
|
||||
border-radius: 10px;
|
||||
|
||||
@@ -1725,6 +1751,8 @@ body {
|
||||
.head-top {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
.logo {
|
||||
height: 52px;
|
||||
@@ -1741,17 +1769,36 @@ body {
|
||||
margin-right: 20px;
|
||||
transition: all 0.3s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&.pitch {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.placeholder-box {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: calc(100% - 33px);
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
|
||||
.item {
|
||||
height: 100%;
|
||||
line-height: 40px;
|
||||
padding: 0 15px;
|
||||
color: #7f7f7f;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
border: none;
|
||||
outline: none;
|
||||
height: 100%;
|
||||
background-color: transparent;
|
||||
font-size: 14px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
||||
@@ -62,6 +62,8 @@
|
||||
}
|
||||
#search-tag .matter .matter-content {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
}
|
||||
#search-tag .matter .matter-content .list-box .item-box {
|
||||
margin-bottom: 12px;
|
||||
@@ -114,6 +116,7 @@
|
||||
}
|
||||
#search-tag .matter .sidebar-box {
|
||||
width: 291px;
|
||||
position: sticky;
|
||||
}
|
||||
#search-tag .matter .sidebar-box.fixed {
|
||||
position: fixed;
|
||||
|
||||
@@ -68,9 +68,11 @@
|
||||
|
||||
.matter {
|
||||
align-items: flex-start;
|
||||
|
||||
|
||||
.matter-content {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
|
||||
.list-box {
|
||||
.item-box {
|
||||
@@ -135,6 +137,7 @@
|
||||
|
||||
.sidebar-box {
|
||||
width: 291px;
|
||||
position: sticky;
|
||||
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
|
||||
@@ -69,11 +69,8 @@
|
||||
}
|
||||
#search .matter .matter-content {
|
||||
margin-right: 12px;
|
||||
}
|
||||
#search .matter .matter-content.fixed {
|
||||
position: fixed;
|
||||
left: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
}
|
||||
#search .matter .matter-content .list-box .item-box {
|
||||
margin-bottom: 12px;
|
||||
@@ -126,9 +123,5 @@
|
||||
}
|
||||
#search .matter .sidebar-box {
|
||||
width: 291px;
|
||||
}
|
||||
#search .matter .sidebar-box.fixed {
|
||||
position: fixed;
|
||||
left: calc((100% - 1200px) / 2 + 909px);
|
||||
bottom: 10px;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
@@ -79,12 +79,14 @@
|
||||
|
||||
.matter-content {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
left: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
}
|
||||
// &.fixed {
|
||||
// position: fixed;
|
||||
// left: calc((100% - 1200px) / 2);
|
||||
// bottom: 10px;
|
||||
// }
|
||||
|
||||
.list-box {
|
||||
.item-box {
|
||||
@@ -149,14 +151,15 @@
|
||||
|
||||
.sidebar-box {
|
||||
width: 291px;
|
||||
position: sticky;
|
||||
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
// right: calc((100% - 1200px) / 2);
|
||||
// left: 909px;
|
||||
left: calc((100% - 1200px) / 2 + 909px);
|
||||
bottom: 10px;
|
||||
}
|
||||
// &.fixed {
|
||||
// position: fixed;
|
||||
// // right: calc((100% - 1200px) / 2);
|
||||
// // left: 909px;
|
||||
// left: calc((100% - 1200px) / 2 + 909px);
|
||||
// bottom: 10px;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -198,6 +198,8 @@
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .content-box .selectives-box {
|
||||
width: 100%;
|
||||
@@ -321,10 +323,8 @@
|
||||
color: #7f7f7f;
|
||||
margin-top: 10px;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .sidebar-box.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
#sectionIndex .matter .matter-content .details-box .sidebar-box {
|
||||
position: sticky;
|
||||
}
|
||||
#sectionIndex .matter .matter-content .details-box .sidebar-box .adv {
|
||||
display: block;
|
||||
|
||||
@@ -224,6 +224,8 @@
|
||||
|
||||
.content-box {
|
||||
margin-right: 12px;
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
|
||||
.selectives-box {
|
||||
width: 100%;
|
||||
@@ -372,11 +374,12 @@
|
||||
// }
|
||||
|
||||
.sidebar-box {
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
right: calc((100% - 1200px) / 2);
|
||||
bottom: 10px;
|
||||
}
|
||||
position: sticky;
|
||||
// &.fixed {
|
||||
// position: fixed;
|
||||
// right: calc((100% - 1200px) / 2);
|
||||
// bottom: 10px;
|
||||
// }
|
||||
|
||||
.adv {
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user