18 changed files with 192 additions and 35 deletions
-
1src/assets/N0.svg
-
1src/assets/N1.svg
-
1src/assets/N2.svg
-
1src/assets/N3.svg
-
1src/assets/N4.svg
-
1src/assets/N5.svg
-
1src/assets/N6.svg
-
1src/assets/N7.svg
-
1src/assets/N8.svg
-
1src/assets/N9.svg
-
1src/assets/return.svg
-
34src/components/HeaderBar.vue
-
36src/components/TemperatureNum.vue
-
6src/router/index.ts
-
32src/style.css
-
9src/views/AboutView.vue
-
60src/views/EnvironmentView.vue
-
7src/views/HomeView.vue
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="49" height="86" viewBox="0 0 49 86"><g><g><path d="M40.0158,0.072973L14.62361,0L10,4.45135L13.984210000000001,8.92703L39.376400000000004,9L44,4.54865L40.0158,0.072973Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M37.0154,38.0729723L11.62402,38L7,42.45135L10.98456,46.92702L36.376000000000005,47L41,42.54865L37.0154,38.0729723Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M11.0181,36.5824L13,10.44478L8.82443,6L3.97874,10.420639999999999L2,36.5582L6.17241,41L11.0181,36.5824Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M34.8982,77.0729746L8.756920000000001,77L4,81.45135L8.09865,85.92703L34.239999999999995,86L39,81.54865L34.8982,77.0729746Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M9.02069,75.4562L11,48.56867L6.82639,44L1.9793,48.54384L0,75.4313L4.17361,80L9.02069,75.4562Z" fill="#1562B7" fill-opacity="0.09000000357627869" style="mix-blend-mode:passthrough"/></g><g><path d="M47.02127,36.456199999999995L49,9.57177L44.82442,5L39.97874,9.54694L38,36.4313L42.17558,41L47.02127,36.456199999999995Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g><g><path d="M44.19827,75.4562L46,48.56867L42.20402,44L37.79885,48.54384L36,75.4313L39.7931,80L44.19827,75.4562Z" fill="#1562B7" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></g></svg> |
@ -0,0 +1 @@ |
|||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="18" height="15" viewBox="0 0 18 15"><g><path d="M11.3379,2.93878L7.78827,2.93878L7.78827,0L0,3.96893L7.78825,7.93788L7.78825,5.00583L11.6318,5.00583C14.6743,5.00583,16.1951,6.30458,16.1951,8.90209C16.1951,11.5896,14.6236,12.933,11.48,12.933L2.51593,12.933L2.51593,15L11.5712,15C15.8571,15,18,13.0328,18,9.09854C18,4.99226,15.7795,2.93878,11.3379,2.93878Z" fill="#26509C" fill-opacity="1" style="mix-blend-mode:passthrough"/></g></svg> |
@ -0,0 +1,36 @@ |
|||||
|
<template> |
||||
|
<div class="flex items-center"> |
||||
|
<img :src="numImgMap[Math.floor(val / 10)]" alt="n" class="mr-3" /> |
||||
|
<img :src="numImgMap[Math.floor(val) % 10]" alt="n" /> |
||||
|
<i class="h-[10px] w-[10px] mx-6 bg-[#1562B7] self-end"></i> |
||||
|
<img :src="numImgMap[Math.floor(val * 10) % 10]" alt="n" /> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup lang="ts"> |
||||
|
import N0 from "@/assets/N0.svg"; |
||||
|
import N1 from "@/assets/N1.svg"; |
||||
|
import N2 from "@/assets/N2.svg"; |
||||
|
import N3 from "@/assets/N3.svg"; |
||||
|
import N4 from "@/assets/N4.svg"; |
||||
|
import N5 from "@/assets/N5.svg"; |
||||
|
import N6 from "@/assets/N6.svg"; |
||||
|
import N7 from "@/assets/N7.svg"; |
||||
|
import N8 from "@/assets/N8.svg"; |
||||
|
import N9 from "@/assets/N9.svg"; |
||||
|
|
||||
|
const numImgMap: Record<number, string> = { |
||||
|
0: N0, |
||||
|
1: N1, |
||||
|
2: N2, |
||||
|
3: N3, |
||||
|
4: N4, |
||||
|
5: N5, |
||||
|
6: N6, |
||||
|
7: N7, |
||||
|
8: N8, |
||||
|
9: N9, |
||||
|
}; |
||||
|
|
||||
|
const props = defineProps<{ val: number }>(); |
||||
|
</script> |
@ -1,9 +0,0 @@ |
|||||
<template> |
|
||||
<div class="about"> |
|
||||
<h1>This is an about page</h1> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<style> |
|
||||
|
|
||||
</style> |
|
@ -0,0 +1,60 @@ |
|||||
|
<template> |
||||
|
<div class="main-page flex flex-col"> |
||||
|
<section class="shadow-card h-[210px] mx-6 mt-12 flex items-stretch"> |
||||
|
<div class="relative flex-auto flex justify-center items-center"> |
||||
|
<TemperatureNum :val="18.47" /> |
||||
|
<div class="absolute top-0 left-1/2 -translate-x-1/2 dark-gradient text-white px-9 py-2 rounded-b-[12px]"> |
||||
|
当前温度 |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="self-center h-[86px] w-0.5 bg-[#E8ECF7]"></div> |
||||
|
<div class="relative flex-auto flex justify-center items-center"> |
||||
|
<TemperatureNum :val="42.9" /> |
||||
|
<div class="absolute top-0 left-1/2 -translate-x-1/2 dark-gradient text-white px-9 py-2 rounded-b-[12px]"> |
||||
|
当前湿度 |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
|
||||
|
<section class="flex items-stretch justify-between min-h-[94px] px-6 mt-10"> |
||||
|
<div class="shadow-card px-[26px] w-[224px]"> |
||||
|
<p class="text-primary font-medium mt-[14px] mb-2">要求温度</p> |
||||
|
<div class="flex items-center"> |
||||
|
<input |
||||
|
class="w-[146px] border-none outline-none h-[34px] bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center" |
||||
|
type="text" /> |
||||
|
<span class="text-[#1562B7] font-medium ml-[10px]">°C</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="shadow-card px-[26px] w-[248px]"> |
||||
|
<p class="text-primary font-medium mt-[14px] mb-2">要求湿度</p> |
||||
|
<div class="flex items-center"> |
||||
|
<input |
||||
|
class="w-[146px] border-none outline-none h-[34px] bg-[#E8ECF7] text-primary font-medium rounded-md text-lg text-center" |
||||
|
type="text" /> |
||||
|
<span class="text-[#1562B7] font-medium ml-[10px]">%RH</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="shadow-card px-[26px] w-[200px]"> |
||||
|
<p class="text-primary font-medium mt-[14px] mb-2 text-center">是否需要氮气置换</p> |
||||
|
<div class="flex items-center justify-evenly"> |
||||
|
<div class="true">是</div> |
||||
|
<div class="false">否</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="shadow-card px-[26px] w-[200px]"> |
||||
|
<p class="text-primary font-medium mt-[14px] mb-2 text-center">环境完成后蜂鸣器</p> |
||||
|
<div class="flex items-center justify-evenly"> |
||||
|
<div class="true">是</div> |
||||
|
<div class="false">否</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup lang="ts"> |
||||
|
import TemperatureNum from "@/components/TemperatureNum.vue"; |
||||
|
</script> |
||||
|
|
||||
|
<style></style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue