| | |
| | | </div> |
| | | </div> |
| | | <div class="center" v-loading="pageLoading"> |
| | | <div class="clearfix" style="width: 100%" v-show="query.month"> |
| | | <div |
| | | class="clearfix" |
| | | style="width: 100%" |
| | | :style="{ minWidth: 220 + weeks.length * 50 + 'px' }" |
| | | v-show="query.month" |
| | | > |
| | | <div class="fixed-left"> |
| | | <div |
| | | class="content-title" |
| | | style=" |
| | | padding-left: 16px; |
| | | box-sizing: border-box; |
| | | position: fixed; |
| | | z-index: 1; |
| | | background-color: #fff; |
| | | width: 220px; |
| | | " |
| | |
| | | class="content-title content-title-right" |
| | | style=" |
| | | border-bottom: 0; |
| | | position: fixed; |
| | | z-index: 1; |
| | | background-color: #fff; |
| | | " |
| | | > |
| | |
| | | style=" |
| | | padding-left: 16px; |
| | | box-sizing: border-box; |
| | | position: fixed; |
| | | z-index: 1; |
| | | background-color: #fff; |
| | | width: 220px; |
| | | " |
| | |
| | | class="content-title content-title-right" |
| | | style=" |
| | | border-bottom: 0; |
| | | height: 63px; |
| | | position: fixed; |
| | | z-index: 1; |
| | | background-color: #fff; |
| | | width: calc(100% - 448px); |
| | | " |
| | | :style="`display: grid; |
| | | grid-template-columns: repeat(${monthList.length}, 1fr);`" |
| | |
| | | width: 100%; |
| | | height: calc(100vh - 220px); |
| | | background-color: #fff; |
| | | overflow-y: auto; |
| | | display: flex; |
| | | overflow: auto; |
| | | position: relative; |
| | | } |
| | | |
| | | >>> .scroll-pagination { |
| | |
| | | .fixed-left { |
| | | float: left; |
| | | width: 220px; |
| | | position: sticky; |
| | | left: 0; |
| | | z-index: 3; |
| | | /* 左边区域宽度 */ |
| | | background-color: #fff; |
| | | box-shadow: 2px -2px 5px rgba(51, 51, 51, 0.12); |
| | |
| | | border-bottom: 1px solid #eeeeee; |
| | | } |
| | | |
| | | .fixed-left .content-title { |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 4; |
| | | } |
| | | |
| | | .content-title-right { |
| | | display: flex; |
| | | align-items: center; |
| | | position: sticky; |
| | | top: 0; |
| | | z-index: 2; |
| | | } |
| | | |
| | | .content-title-item { |
| | |
| | | align-items: center; |
| | | } |
| | | |
| | | .content-body:nth-child(2) { |
| | | padding-top: 58px; |
| | | } |
| | | |
| | | .content-body-item { |
| | | height: 70px; |
| | | width: 50px; |
| | |
| | | border-bottom: 1px solid #eeeeee; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | .content-user:nth-child(2) { |
| | | margin-top: 58px; |
| | | } |
| | | .user-pic { |
| | | width: 50px; |