/* * @Author: Sakura * @LastEditors: Sakura * @Date: 2023-12-06 08:38:22 * @Description: */ @import "~@/mixins.less"; .faceLogin { width: 100%; margin-top: 20px; .flex(center, center); flex-direction: column; .faceImg { width: 72px; height: 72px; // background-image: url(./asstes/face.png); background-size: 100% 100%; cursor: pointer; } .text { margin-top: 10px; font-size: 20px; cursor: pointer; } padding-bottom: 25px; } .boxFlex{ display: flex; align-items: center; justify-content: space-between; } .teamInfo { .size(); // bManual = true 时的布局样式 :global { .teamInfoManual { display: flex; gap: 15px; height: 100%; .teamInfoLeft { width: 40%; display: flex; flex-direction: column; gap: 10px; .teamInfoTops { background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); height: 50%; h2 { font-weight: 600; font-size: 18px; color: #1890ff; .flex(center); gap: 8px; img { width: 24px; } } .userWorkBox { height: calc(100% - 37px); display: flex; gap: 10px; flex-direction: column; text-wrap: nowrap; .workTop { display: flex; background: #f2f2f2; gap: 20px; height: 70%; ul { width: calc(65% - 10px); display: flex; flex-direction: column; justify-content: space-evenly; font-size: 1.3em; padding: 15px 0; list-style: none; } } img { width: 35%; background: #cccccc; } & > ul { height: 30%; background: #f2f2f2; padding: 10px 20px; font-size: 1.3em; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; li { width: 100%; display: flex; align-items: center; } label { width: 115px; display: block; text-align: end; } } label { font-weight: 600; &::after { content: ":"; margin: 0 4px; margin-right: 6px; } } } } .teamInfoTop { background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); height: 30%; h2 { font-weight: 600; font-size: 18px; color: #1890ff; .flex(center); gap: 8px; img { width: 24px; } } .userWorkBox { height: calc(100% - 37px); display: flex; gap: 10px; flex-direction: column; text-wrap: nowrap; .workTop { display: flex; background: #f2f2f2; gap: 20px; height: 70%; ul { width: calc(65% - 10px); display: flex; flex-direction: column; justify-content: space-evenly; font-size: 1.3em; padding: 15px 0; list-style: none; } } img { width: 35%; background: #cccccc; } & > ul { height: 30%; background: #f2f2f2; padding: 10px 20px; font-size: 1.3em; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; li { width: 100%; display: flex; align-items: center; } label { width: 115px; display: block; text-align: end; } } label { font-weight: 600; &::after { content: ":"; margin: 0 4px; margin-right: 6px; } } } } .teamInfoLeftdiv { flex: 1; background-color: #fff; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); overflow: hidden; .joinInfo{ height: 90%; } // 添加infoBox样式 .infoBox { padding: 10px; height: calc(100% / 3); // 三个infoBox均等高度 background-color: #fff; border-bottom: 1px solid #f0f0f0; &:last-child { border-bottom: none; } h2 { font-weight: 600; font-size: 16px; color: #333; margin-bottom: 8px; .flex(center); gap: 8px; img { width: 18px; } } .infoBorBox { height: calc(100% - 32px); background-color: #f2f2f2; padding: 8px; border-radius: 4px; overflow: auto; } } } } .teamInfoLefts { display: flex; flex-direction: column; gap: 10px; width: 40%; .teamInfoTops { background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); height: 50%; position: relative; .loginSubmit { position: absolute; right: 10px; bottom: 0; } h2 { font-weight: 600; font-size: 18px; color: #1890ff; .flex(center); gap: 8px; img { width: 24px; } } .userWorkBox { height: calc(100% - 37px); display: flex; gap: 10px; flex-direction: column; text-wrap: nowrap; .workTop { display: flex; background: #f2f2f2; gap: 20px; height: 70%; ul { width: calc(65% - 10px); display: flex; flex-direction: column; justify-content: space-evenly; font-size: 1.3em; padding: 15px 0; list-style: none; } } img { width: 35%; background: #cccccc; } & > ul { height: 30%; background: #f2f2f2; padding: 10px 20px; font-size: 1.3em; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; li { width: 100%; display: flex; align-items: center; } label { width: 115px; display: block; text-align: end; } } label { font-weight: 600; &::after { content: ":"; margin: 0 4px; margin-right: 6px; } } } } .teamInfoTop { background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); height: 30%; h2 { font-weight: 600; font-size: 18px; color: #1890ff; .flex(center); gap: 8px; img { width: 24px; } } .userWorkBox { height: calc(100% - 37px); display: flex; gap: 10px; flex-direction: column; text-wrap: nowrap; .workTop { display: flex; background: #f2f2f2; gap: 20px; height: 70%; ul { width: calc(65% - 10px); display: flex; flex-direction: column; justify-content: space-evenly; font-size: 1.3em; padding: 15px 0; list-style: none; } } img { width: 35%; background: #cccccc; } & > ul { height: 30%; background: #f2f2f2; padding: 10px 20px; font-size: 1.3em; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; li { width: 100%; display: flex; align-items: center; } label { width: 115px; display: block; text-align: end; } } label { font-weight: 600; &::after { content: ":"; margin: 0 4px; margin-right: 6px; } } } } .teamInfoLeftdiv { flex: 1; background-color: #fff; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); overflow: hidden; .joinInfo{ height: 90%; } // 添加infoBox样式 .infoBox { padding: 10px; height: calc(100% / 3); // 三个infoBox均等高度 background-color: #fff; border-bottom: 1px solid #f0f0f0; &:last-child { border-bottom: none; } h2 { font-weight: 600; font-size: 16px; color: #333; margin-bottom: 8px; .flex(center); gap: 8px; img { width: 18px; } } .infoBorBox { height: calc(100% - 32px); background-color: #f2f2f2; padding: 8px; border-radius: 4px; overflow: auto; } } } } .teamInfoRight { width: 60%; .postList { height: 100%; background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); .ant-table.ant-table-bordered > .ant-table-container { border-left: 1px solid #aaa; border-bottom: 1px solid #aaa; border-right: 1px solid #aaa; } .ant-btn { width: 90px; height: 36px; border-radius: 5px; } } } } } // bManual = false 时的布局样式(维持原样) :global { .teamPost { background-color: #fff; padding: 10px; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); .ant-table.ant-table-bordered > .ant-table-container { border-left: 1px solid #aaa; border-bottom: 1px solid #aaa; border-right: 1px solid #aaa; } } .teamPost { ul { list-style: none; padding: 0; margin: 0; } display: flex; gap: 15px; height: 31%; .teamInfo { width: calc(20% - 15px); height: 100%; } .postList { width: 80%; .ant-btn { width: 90px; height: 36px; border-radius: 5px; } } h2 { font-weight: 600; font-size: 18px; color: #1890ff; .flex(center); gap: 8px; img { width: 24px; } } .userWorkBox { height: calc(100% - 37px); display: flex; gap: 10px; flex-direction: column; text-wrap: nowrap; .workTop { display: flex; background: #f2f2f2; gap: 20px; // height: calc( 100% - 95px ); height: 70%; ul { width: calc(65% - 10px); display: flex; flex-direction: column; justify-content: space-evenly; font-size: 1.3em; padding: 15px 0; } } img { width: 35%; background: #cccccc; } & > ul { height: 30%; background: #f2f2f2; padding: 10px 20px; font-size: 1.3em; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; li { width: 100%; display: flex; align-items: center; } // margin-top: 15px; label { width: 115px; display: block; text-align: end; } } label { font-weight: 600; &::after { content: ":"; margin: 0 4px; margin-right: 6px; } } } } .joinInfo { margin-top: 10px; height: calc(69% - 10px); background-color: #fff; border-radius: 5px; box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05); overflow: hidden; h2 { font-weight: bold; margin-bottom: 5px; font-size: 18px; line-height: 25px; .flex(center); gap: 8px; img { width: 18px; } } .teamTitle { height: 45px; padding: 10px; background: #fff; border-bottom: 1px solid #aaaaaa; position: relative; .ant-btn { position: absolute; top: 4px; right: 8px; } } .teamInfoBox { height: calc(100% - 45px - 60px); // width: calc(100% + 20px); .teamInfoLeft { .infoBox { padding: 10px; // margin-top: 15px; // height: calc(33.333% - 20px); height: 33.333%; background-color: #fff; .infoBorBox { // border: 1px solid #333; height: calc(100% - 0.5em - 32px); background-color: #f2f2f2; padding: 5px; } } } .teamInfoRight { background-color: #fff; height: 100%; padding: 10px; // margin-top: 15px; .infoBox { // margin-top: 15px; &:first-child { margin-top: 0; } } } } .teamFoot { border-top: 1px solid #aaaaaa; height: 60px; padding: 10px; .teamBtn { .flex(center, flex-end); } } } } }