diff --git a/src/components/boxes/FanRuntime.vue b/src/components/boxes/FanRuntime.vue index 6ba8d48..b9a91da 100644 --- a/src/components/boxes/FanRuntime.vue +++ b/src/components/boxes/FanRuntime.vue @@ -1,40 +1,42 @@ diff --git a/src/components/boxes/OutWater.vue b/src/components/boxes/OutWater.vue index a6979c8..f47ccf1 100644 --- a/src/components/boxes/OutWater.vue +++ b/src/components/boxes/OutWater.vue @@ -1,28 +1,28 @@ @@ -52,85 +52,85 @@ export default { @import "../../assets/styles/functions"; .pic { - background: url(../../assets/out-water.png) no-repeat; - background-size: 100% 100%; - background-position: center; - position: absolute; - top: adjust(24px); - right: 0; - width: adjust(w(440px)); - height: adjust(h(380px)); + background: url(../../assets/out-water.png) no-repeat; + background-size: 100% 100%; + background-position: center; + position: absolute; + top: adjust(24px); + right: 0; + width: adjust(w(440px)); + height: adjust(h(380px)); } .content { - height: 100%; + height: 100%; } .wave { - transform: translateX(adjust(-16px)); - width: adjust(w(793px)); - height: adjust(h(76px)); - background: url(../../assets/inwater.png) no-repeat; - background-size: 100% 100%; + transform: translateX(adjust(-16px)) rotateY(0.5turn); + width: adjust(w(793px)); + height: adjust(h(76px)); + background: url(../../assets/inwater.png) no-repeat; + background-size: 100% 100%; } .graph { - // background: #ccc3; + // background: #ccc3; } .flex-1 { - flex: 1; - // background: #eee; + flex: 1; + // background: #eee; } .time { - // background: #eee; - margin: adjust(12px) 0; - padding-left: adjust(14px); + // background: #eee; + margin: adjust(12px) 0; + padding-left: adjust(14px); } .time--item:not(:last-child) { - margin-right: adjust(5px); + margin-right: adjust(5px); } .unit { - font-family: Ubuntu, monospace, sans-serif !important; - font-size: adjust(20px); - letter-spacing: adjust(1px); - align-self: flex-end; + font-family: Ubuntu, monospace, sans-serif !important; + font-size: adjust(20px); + letter-spacing: adjust(1px); + align-self: flex-end; } .text { - display: inline-block; - margin-left: adjust(24px); - margin-bottom: adjust(10px); - padding: adjust(12px) 0; - text-align: center; - font-size: adjust(22px); - letter-spacing: adjust(1px); - position: relative; - z-index: 10; - user-select: none; + display: inline-block; + margin-left: adjust(24px); + margin-bottom: adjust(10px); + padding: adjust(12px) 0; + text-align: center; + font-size: adjust(22px); + letter-spacing: adjust(1px); + position: relative; + z-index: 10; + user-select: none; } .text::after { - content: ""; - display: block; - position: absolute; - z-index: 0; - left: 0; - bottom: adjust(10px); - height: adjust(4px); - width: 100%; - /* 渐变色 */ - background: radial-gradient( - ellipse at center, - #6fe2ff, - #6fe2ffc0, - #52cbef80, - #52cbef30, - #52cbef00, - transparent - ); + content: ""; + display: block; + position: absolute; + z-index: 0; + left: 0; + bottom: adjust(10px); + height: adjust(4px); + width: 100%; + /* 渐变色 */ + background: radial-gradient( + ellipse at center, + #6fe2ff, + #6fe2ffc0, + #52cbef80, + #52cbef30, + #52cbef00, + transparent + ); }