Files
gaofeng 6d9aee81aa 提交
2026-05-12 18:27:28 +08:00

487 lines
6.7 KiB
CSS

.content{
background: none !important;
}
.usercon{
width: 100%;
min-height: 300px;
overflow: hidden;
margin-top: 20px;
display: flex;
margin-bottom: 15px;
}
.user-tit{
height: 50px;
background: var(--main-color);
width: 100%;
line-height: 50px;
font-size: 16px;
text-align: center;
color: #fff;
}
.user-tit2{
text-align: left;
text-indent: 20px;
}
.user-l{
float: left;
width: 250px;
min-height: 300px;
background: #fff;
margin-right: 15px;
}
.user-a{
width: 100%;
height: 50px;
line-height: 50px;
display: block;
text-align: center;
cursor: pointer;
border-bottom: 5px solid #f0f0f0;
color: #000;
}
.user-a.user-on{
color: var(--main-color);
border-bottom: 5px solid var(--main-color);
}
.user-a:hover{
border-bottom: 5px solid var(--main-color);
}
.user-r{
flex: 1;
min-height: 300px;
background: #fff;
}
.user-none{
line-height: 200px;
text-align: center;
}
.user-c{
width: 100%;
margin-top: 10px;
}
ul li{
list-style: none;
}
.user-xx{
width: 94%;
border: 1px solid #ddd;
float: left;
margin: 15px 0 15px 3%;
line-height: 40px;
border-radius: 4px;
/*background: #eee;*/
}
.user-xx li{
width: 100%;
padding: 0 20px;
box-sizing: border-box;
overflow: hidden;
}
.user-xx li:nth-child(even){
background: #fff;
}
.user-xx li span{
width: 18%;
float: left;
display: block;
}
.user-xx li span:nth-child(even){
width: 32%;
}
.user-xx li a{
color: var(--main-color);
float: right;
padding: 0 15px;
line-height: 28px;
margin: 6px 0 6px 15px;
display: inline-block;
border-radius: 4px;
background: var(--main-color);
color: #fff;
text-align: center;
}
.user-xx li a:hover{
color: #fff;
}
.dd-type{
width: 94%;
margin: 0 3%;
box-sizing: border-box;
height: 44px;
background: #eee;
border: 1px solid #ddd;
display: block;
}
.dd-type span{
float: left;
width: 50%;
height: 44px;
line-height: 44px;
text-align: center;
cursor: pointer;
}
.dd-type .dd-type-on{
color: var(--main-color);
height: 42px;
border: 2px solid var(--main-color);
}
.xx-con{
width: 100%;
overflow: hidden;
}
.xx-con2{
display: none;
}
.form-btn {
display: block;
width: 100%;
height: 50px;
text-align: center;
line-height: 50px;
color: #fff;
font-size: 18px;
background: var(--main-color);
margin: 15px 0;
border-radius: 8px;
border-radius: 2px solid var(--main-color);
}
@media(max-width:700px) {
.layui-container{
margin-top:70px;
}
.usercon{
margin-top: 30px;
flex-direction: column;
}
.user-l{
width: 100%;
min-height:unset;
display: flex;
}
.user-a{
width: 50%;
}
.user-tit{
display: none;
}
}
.input-group{
width: 100%;
}
.submenu a:hover {
text-decoration: none;
}
.user-a1 {
display: block;
padding-left: 20px !important;
}
.mobile-menu-group {
height: 50px;
background: var(--main-color);
width: 100%;
line-height: 50px;
font-size: 16px;
text-align: center;
color: #fff;
margin-top: 20px;
}
.menu-toggle {
display: none;
}
.mobile-menu-group {
position: relative;
}
.menu-title {
cursor: pointer;
position: relative;
padding-right: 30px !important;
display: block;
color: #fff;
font-weight: normal;
}
.arrow-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
transition: transform 0.3s;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #fff;
}
.submenu {
max-height: 0;
overflow: visible;
transition: max-height 0.3s ease-out;
background: #fff;
border-radius: 3px;
}
.submenu a {
color: #000;
padding: 0 !important;
line-height: 40px;
height: 40px;
display: block;
}
.menu-toggle:checked ~ .submenu {
max-height: 200px;
}
.menu-toggle:checked ~ .menu-title .arrow-icon {
transform: translateY(-50%) rotate(180deg);
}
@media (max-width: 700px) {
.submenu {
overflow: hidden;
}
.arrow-icon {
border-top: 5px solid #333;
}
.submenu {
background: var(--main-color);
}
.menu-title {
color: #000;
}
.submenu a {
color: #fff;
}
/* 移动端优先的响应式布局 */
.user-l {
flex-wrap: wrap; /* 菜单项自动换行 */
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.user-a {
width: 31%; /* 两列布局 */
margin: 5px 1%;
text-align: center;
background: #f8f8f8;
border-radius: 4px;
}
.user-tit {
width: 100%; /* 标题独占一行 */
padding: 10px 0;
font-size: 16px;
}
.user-r {
width: 100% !important;
}
body {
padding: 0;
}
.user-xx li span {
min-width: 30% !important;
width: auto !important;
}
.user-tit2 {
display: none;
}
.user-xx li {
width: 100%;
}
.user-xx li:nth-child(even) {
background: #fff !important;
}
.user-xx li:nth-child(odd) {
background: #eee !important;
}
.usercon {
margin: 0;
}
.container {
box-sizing: border-box;
}
.user-r {
margin-bottom: 10px;
}
}
@media (min-width: 700px) {
.user-xx li span {
min-width: 30% !important;
width: auto !important;
}
.user-xx li {
width: 50%;
float: left;
}
.user-xx li a {
float: left;
margin: 6px 15px 6px 0;
}
}
.add {
float: right;
padding: 0 25px;
line-height: 34px;
margin: 10px 3% 0 0;
display: inline-block;
border-radius: 4px;
background: var(--main-color);
color: #fff;
text-align: center
}
.cont2,
.cont3,
.cont4,
.cont5 {
display: none;
}
.djtable {
display: none;
}
.djtable2 {
display: block;
}
.container-tit {
width: 100%;
font-size: 20px;
color: var(--main-color);
line-height: 50px;
}
.container-con {
width: 100%;
line-height: 24px;
margin-bottom: 10px;
font-size: 14px;
}
.djtable {
width: 100%;
}
.djtable table {
width: 100%;
border-collapse: collapse;
border: 2px solid var(--main-color);
}
.djtable th,
.djtable td {
text-align: center;
border: 1px solid var(--main-color);
height: 40px;
font-size: 14px;
}
.djtable th {
color: #fff;
background: var(--main-color);
}
.djtable td {
color: #333;
}
.djtable2 table {
width: 100%;
text-align: center;
line-height: 36px;
font-size: 14px;
}
.djtable2 tr {
border-bottom: 1px solid #eee;
}
.djtable2 th {
text-align: center;
}
.djtable2 td {
color: #666;
text-align: center;
}
.formrow {
width: 100%;
overflow: hidden;
}
.m-help ul {
padding: 0 !important;
}
.btn-primary:hover {
background: #337ab7 !important;
}
.modal-open .modal .modal-dialog.modal-txt {
max-height: 550px;
overflow-y: auto;
}
.nodata {
width: 100%;
text-align: center;
padding: 20px 0px;
margin: 0 auto;
}
.nodata a {
width: 30%;
height: 40px;
margin: 10px;
line-height: 40px;
display: inline-block;
border-radius: 4px;
background: var(--main-color);
color: #fff;
text-align: center;
}
@media (max-width: 700px) {
.user-l {
width: 100%;
min-height: unset;
display: flex;
}
.user-tit {
display: none;
}
.usercon {
flex-direction: column;
}
}