BluetoothDemo/app.wxss

80 lines
1.1 KiB
Plaintext

/**app.wxss**/
view,
cover-view,
scroll-view,
swiper,
swiper-item,
movable-area,
movable-view,
button,
input,
textarea,
label,
navigator {
box-sizing: border-box;
}
page {
--safe-bottom: env(safe-area-inset-bottom);
}
.container {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 100vw;
height: 100vh;
padding-bottom: var(--safe-bottom);
}
.header {
width: 100%;
}
.header button {
font-size: 16px;
line-height: 40px;
width: 100% !important;
border-bottom: 1px solid #dfdfdf;
}
.device_item {
padding: 15px;
border-bottom: 1px solid #dfdfdf;
}
.weight {
width: 100%;
margin: 15px;
padding-bottom: 15px;
text-align: center;
font-size: 18px;
font-weight: 700;
border-bottom: 1px solid #dfdfdf;
}
.list {
width: 100%;
height: auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.item,
.item2 {
width: 100%;
padding: 15px 0;
background: #f7f7f7;
border-radius: 10px;
margin-top: 15px;
text-align: center;
margin: 15px 3% 0;
}
.item {
width: 44%;
margin-right: 3%;
float: left;
}