93 lines
1.6 KiB
Plaintext
93 lines
1.6 KiB
Plaintext
/* pages/shop/shop.wxss */
|
|
.search {
|
|
height: 36px;
|
|
}
|
|
|
|
.search-input {
|
|
margin: 4px 10px;
|
|
padding: 2px 18px;
|
|
height: 32px;
|
|
line-height: 28px;
|
|
background-color: rgb(226, 226, 226);
|
|
border-radius: 50px;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
/* background-color: aqua; */
|
|
height: 100vh;
|
|
height: calc(100vh - 50px);
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
display: grid;
|
|
grid-template-columns: 98px 1fr;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.sidebar {
|
|
background-color: #e7e7e7;
|
|
display: grid;
|
|
grid-template-rows: repeat(auto-fill, 50px);
|
|
grid-auto-flow: row dense;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar-item {
|
|
background-color: #F5F5F5;
|
|
/* border-bottom: 1px solid rgb(121, 121, 121); */
|
|
height: 100%;
|
|
display: table;
|
|
|
|
/* iOS下要设置一下 width */
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.sidebar-item-text {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar-item.active {
|
|
background-color: white;
|
|
font-weight: bold;
|
|
color: #FF764E;
|
|
border-left: 4px solid #FF764E;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.tabbar {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.tabbar-group {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: repeat(auto-fill, 1fr);
|
|
grid-auto-flow: row dense;
|
|
place-items: center;
|
|
gap: 8px 8px;
|
|
margin: 6px;
|
|
}
|
|
|
|
.tabbar-item {
|
|
width: 100%;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .2);
|
|
}
|
|
|
|
/* 没有更多 */
|
|
.no-more {
|
|
text-align: center;
|
|
color: grey;
|
|
margin: 20px;
|
|
}
|