123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- page {
- background: #f0f0f0;
- color: #333;
- --safe-bottom: env(safe-area-inset-bottom);
- }
- view,
- cover-view,
- scroll-view,
- swiper,
- swiper-item,
- movable-area,
- movable-view,
- button,
- input,
- textarea,
- label,
- navigator
- {
- box-sizing: border-box;
- }
- .operation{
- padding: 5px;
- border: 1px solid #000;
- }
- .container{
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100vw;
- height: 100vh;
- padding-bottom: 200rpx;
- }
- .header{
- width: 100%;
- }
- .container button{
- padding-top: 0;
- padding-bottom: 0;
- border: 1px solid #ddd;
- }
- .devices_summary {
- width: 100%;
- line-height: 70rpx;
- padding: 0 30rpx;
- margin-top: 30rpx;
- font-size: 32rpx;
- }
- .device_list {
- flex: 1;
- width: 100%;
- height: calc(100vh - 600rpx);
- margin-top: 0;
- border: 1px solid #fff;
- border-radius: 5px;
- background: #fff;
- }
- .device_item {
- line-height: 1.5;
- padding: 10rpx 30rpx;
- border-bottom: 1px solid #EEE;
- }
- .device_item_hover {
- background-color: rgba(0, 0, 0, .1);
- }
- .connected_info {
- position: fixed;
- bottom: 0;
- width: 100%;
- height: 200rpx;
- padding: 10px;
- border-top: 1px solid #ddd;
- background-color: #fff;
- font-size: 14px;
- box-shadow: 0px -4rpx 4rpx 0px rgba(0,0,0,.05);
- }
- .connected_info .operation {
- position: absolute;
- display: inline-block;
- right: 30rpx;
- }
- .writeInputViewBg{
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1000;
- background-color: rgba(0,0,0,0.5);
- }
- .writeInputView{
- position: fixed;
- bottom: 200rpx;
- left: 0;
- z-index: 1001;
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 100%;
- height: calc(100vh - 500rpx);
- background-color: #fff;
- border-top: 1px solid #ddd;
- }
- .history{
- position: relative;
- flex: 1;
- width: 690rpx;
- padding-top: 60rpx;
- border: 1px solid #ddd;
- margin: 30rpx;
- }
- .history_title{
- position: absolute;
- top: 0;
- left: 0;
- padding: 0 30rpx;
- line-height: 60rpx;
- font-size: 30rpx;
- }
- .history_wrap{
- width: 100%;
- height: 100%;
- }
- .history_item{
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: 72rpx;
- padding: 0 30rpx;
- border-top: 1px solid #ddd;
- }
- .history_cmd{
- flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 24rpx;
- }
- .history_btns{
- height: 60rpx;
- overflow: hidden;
- }
-
- .writeInput{
- margin-top: 30rpx;
- width: 690rpx;
- height: 80rpx;
- border: 1rpx solid #ccc;
- }
- .writeInput input{
- width: 100%;
- height: 100%;
- padding: 10rpx;
- font-size: 32rpx;
- }
- .hint{
- padding-top: 10rpx;
- font-size: 24rpx;
- color: #999;
- }
- .btns{
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 60%;
- padding-bottom: 30rpx;
- margin-top: 30rpx;
- }
|