|
@@ -48,15 +48,15 @@
|
|
|
:model-value="airData.isOpen"
|
|
|
/>
|
|
|
</div>
|
|
|
- <div class="line"></div>
|
|
|
+ <div class="line" v-if="airData.isOpen"></div>
|
|
|
<!--温度调节的box-->
|
|
|
<div class="main-temp" v-if="navType == 'all' && airData.isOpen">
|
|
|
- <div class="air-control air-control-padding">
|
|
|
+ <div class="com-control com-control-padding">
|
|
|
<div class="temp-slider" id="sliderId">
|
|
|
<div class="slider-bar" id="barId">
|
|
|
<div class="bar-temp">{{ realTemp }}℃</div>
|
|
|
<div
|
|
|
- class="bar-circle"
|
|
|
+ class="bar-circle"
|
|
|
style="border: 2px solid rgba(255, 255, 255, 1)"
|
|
|
id="handId"
|
|
|
></div>
|
|
@@ -69,7 +69,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="air-control">
|
|
|
+ <div class="com-control">
|
|
|
<div class="control-box">
|
|
|
<div class="volume-box">
|
|
|
<div class="number">
|
|
@@ -109,7 +109,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="air-control">
|
|
|
+ <div class="com-control">
|
|
|
<div class="control-box">
|
|
|
<div class="volume-box">
|
|
|
<div class="model">
|
|
@@ -1080,8 +1080,9 @@ export default defineComponent({
|
|
|
sup {
|
|
|
position: absolute;
|
|
|
font-family: "Persagy";
|
|
|
- top: -2px;
|
|
|
- right: -12px;
|
|
|
+ top: 3px;
|
|
|
+ // right: -12px;
|
|
|
+ padding-left: 4px;
|
|
|
font-size: 12px;
|
|
|
font-weight: 400;
|
|
|
line-height: 15px;
|
|
@@ -1123,7 +1124,8 @@ export default defineComponent({
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
padding: 8px 20px;
|
|
|
- margin-bottom: 8px;
|
|
|
+ // margin-bottom: 16px;
|
|
|
+ padding-bottom: 16px;
|
|
|
.top-nav {
|
|
|
height: 28px;
|
|
|
line-height: 28px;
|
|
@@ -1257,164 +1259,164 @@ export default defineComponent({
|
|
|
|
|
|
.main-temp {
|
|
|
padding-bottom: 16px;
|
|
|
- }
|
|
|
- .air-control {
|
|
|
- padding: 20px;
|
|
|
- padding-top: 28px;
|
|
|
- padding-bottom: 0;
|
|
|
- .control-box {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- }
|
|
|
- .volume-box {
|
|
|
- .number {
|
|
|
- span {
|
|
|
- font-family: "Persagy";
|
|
|
- font-size: 12px;
|
|
|
+ .com-control {
|
|
|
+ padding: 20px;
|
|
|
+ padding-top: 28px;
|
|
|
+ padding-bottom: 0;
|
|
|
+ .control-box {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ }
|
|
|
+ .volume-box {
|
|
|
+ .number {
|
|
|
+ span {
|
|
|
+ font-family: "Persagy";
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ padding-right: 8px;
|
|
|
+ line-height: 24px;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ color: rgba(196, 201, 207, 1);
|
|
|
+ }
|
|
|
+ .number-active {
|
|
|
+ font-family: "Persagy";
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 24px;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ color: rgba(27, 33, 41, 1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .model {
|
|
|
+ font-family: "PingFang SC";
|
|
|
+ font-size: 16px;
|
|
|
font-weight: 400;
|
|
|
- padding-right: 8px;
|
|
|
line-height: 24px;
|
|
|
letter-spacing: 0px;
|
|
|
- color: rgba(196, 201, 207, 1);
|
|
|
}
|
|
|
- .number-active {
|
|
|
- font-family: "Persagy";
|
|
|
- font-size: 18px;
|
|
|
+ .text {
|
|
|
+ font-family: "PingFang SC";
|
|
|
+ display: block;
|
|
|
+ font-size: 13px;
|
|
|
font-weight: 400;
|
|
|
- line-height: 24px;
|
|
|
+ padding-top: 3px;
|
|
|
+ margin-left: -3px;
|
|
|
+ transform: scale(0.9);
|
|
|
+ text-align: left;
|
|
|
+ // line-height: 17px;
|
|
|
letter-spacing: 0px;
|
|
|
- color: rgba(27, 33, 41, 1);
|
|
|
+ color: rgba(196, 201, 207, 1);
|
|
|
}
|
|
|
}
|
|
|
- .model {
|
|
|
- font-family: "PingFang SC";
|
|
|
- font-size: 16px;
|
|
|
- font-weight: 400;
|
|
|
- line-height: 24px;
|
|
|
- letter-spacing: 0px;
|
|
|
- }
|
|
|
- .text {
|
|
|
- font-family: "PingFang SC";
|
|
|
- display: block;
|
|
|
- font-size: 13px;
|
|
|
- font-weight: 400;
|
|
|
- padding-top: 3px;
|
|
|
- margin-left: -3px;
|
|
|
- transform: scale(0.9);
|
|
|
- text-align: left;
|
|
|
- // line-height: 17px;
|
|
|
- letter-spacing: 0px;
|
|
|
- color: rgba(196, 201, 207, 1);
|
|
|
- }
|
|
|
- }
|
|
|
- .volume-icon {
|
|
|
- .icon-item {
|
|
|
- position: relative;
|
|
|
- display: inline-block;
|
|
|
- width: 42px;
|
|
|
- height: 42px;
|
|
|
- background: rgba(196, 196, 196, 0.2);
|
|
|
- border-radius: 50%;
|
|
|
- img {
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- top: 50%;
|
|
|
- transform: translate(-50%, -50%);
|
|
|
- }
|
|
|
- &:nth-child(2) {
|
|
|
- margin-left: 10px;
|
|
|
- margin-right: 10px;
|
|
|
- }
|
|
|
- span {
|
|
|
- font-size: 12px;
|
|
|
- color: #000000;
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- top: 50%;
|
|
|
- transform: translate(-50%, -50%) scale(0.8);
|
|
|
+ .volume-icon {
|
|
|
+ .icon-item {
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
+ width: 42px;
|
|
|
+ height: 42px;
|
|
|
+ background: rgba(196, 196, 196, 0.2);
|
|
|
+ border-radius: 50%;
|
|
|
+ img {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
+ }
|
|
|
+ &:nth-child(2) {
|
|
|
+ margin-left: 10px;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #000000;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translate(-50%, -50%) scale(0.8);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- .temp-slider {
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
- height: 22px;
|
|
|
- border-radius: 16px;
|
|
|
- background: linear-gradient(
|
|
|
- 270deg,
|
|
|
- #ffbab6 0%,
|
|
|
- #ffe7d1 29.05%,
|
|
|
- #f1efff 62%,
|
|
|
- #c8d6ff 100%
|
|
|
- );
|
|
|
+ .temp-slider {
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ height: 22px;
|
|
|
+ border-radius: 16px;
|
|
|
+ background: linear-gradient(
|
|
|
+ 270deg,
|
|
|
+ #ffbab6 0%,
|
|
|
+ #ffe7d1 29.05%,
|
|
|
+ #f1efff 62%,
|
|
|
+ #c8d6ff 100%
|
|
|
+ );
|
|
|
|
|
|
- .slider-bar {
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- bottom: -5px;
|
|
|
- width: 32px;
|
|
|
- z-index: 333;
|
|
|
- text-align: center;
|
|
|
- color: rgba(98, 108, 120, 1);
|
|
|
+ .slider-bar {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ bottom: -5px;
|
|
|
+ width: 32px;
|
|
|
+ z-index: 333;
|
|
|
+ text-align: center;
|
|
|
+ color: rgba(98, 108, 120, 1);
|
|
|
|
|
|
- .bar-temp {
|
|
|
+ .bar-temp {
|
|
|
+ display: inline-block;
|
|
|
+ font-family: "Persagy";
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 400;
|
|
|
+ line-height: 14px;
|
|
|
+ letter-spacing: 0px;
|
|
|
+ padding-bottom: 4px;
|
|
|
+ text-align: left;
|
|
|
+ color: rgba(98, 108, 120, 1);
|
|
|
+ }
|
|
|
+ .bar-circle {
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ background: rgba(246, 249, 254, 1);
|
|
|
+ border-radius: 50%;
|
|
|
+ box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .temp-left,
|
|
|
+ .temp-right {
|
|
|
+ position: absolute;
|
|
|
display: inline-block;
|
|
|
font-family: "Persagy";
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
font-size: 12px;
|
|
|
+ padding-top: 1px;
|
|
|
font-weight: 400;
|
|
|
- line-height: 14px;
|
|
|
letter-spacing: 0px;
|
|
|
- padding-bottom: 4px;
|
|
|
- text-align: left;
|
|
|
color: rgba(98, 108, 120, 1);
|
|
|
}
|
|
|
- .bar-circle {
|
|
|
- width: 30px;
|
|
|
- height: 30px;
|
|
|
- background: rgba(246, 249, 254, 1);
|
|
|
- border-radius: 50%;
|
|
|
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
|
|
|
+ .temp-left {
|
|
|
+ left: 0px;
|
|
|
+ padding-left: 8px;
|
|
|
+ }
|
|
|
+ .temp-right {
|
|
|
+ right: 0px;
|
|
|
+ padding-right: 8px;
|
|
|
+ text-align: left;
|
|
|
}
|
|
|
}
|
|
|
- .temp-left,
|
|
|
- .temp-right {
|
|
|
- position: absolute;
|
|
|
- display: inline-block;
|
|
|
- font-family: "Persagy";
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
- font-size: 12px;
|
|
|
- padding-top: 1px;
|
|
|
- font-weight: 400;
|
|
|
- letter-spacing: 0px;
|
|
|
- color: rgba(98, 108, 120, 1);
|
|
|
- }
|
|
|
- .temp-left {
|
|
|
- left: 0px;
|
|
|
- padding-left: 8px;
|
|
|
- }
|
|
|
- .temp-right {
|
|
|
- right: 0px;
|
|
|
- padding-right: 8px;
|
|
|
- text-align: left;
|
|
|
+ .control-text {
|
|
|
+ font-style: normal;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 11px;
|
|
|
+ line-height: 15px;
|
|
|
+ color: #c4c4c4;
|
|
|
+ padding: 10px 0 0 10px;
|
|
|
}
|
|
|
}
|
|
|
- .control-text {
|
|
|
- font-style: normal;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 11px;
|
|
|
- line-height: 15px;
|
|
|
- color: #c4c4c4;
|
|
|
- padding: 10px 0 0 10px;
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
- .air-control-padding {
|
|
|
- padding-top: 23px;
|
|
|
- margin-top: 8px;
|
|
|
+ .com-control-padding {
|
|
|
+ padding-top: 23px;
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|