diff --git a/nezha-fronted/src/assets/css/components/common/timePicker.scss b/nezha-fronted/src/assets/css/components/common/timePicker.scss index 7330336e3..6846f57d5 100644 --- a/nezha-fronted/src/assets/css/components/common/timePicker.scss +++ b/nezha-fronted/src/assets/css/components/common/timePicker.scss @@ -157,7 +157,7 @@ } .date-range-panel { - height: 450px; + height: 480px; width: 500px; background: #FFFFFF; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05); @@ -179,14 +179,19 @@ } .content-input { - border: 1px solid #E7EAED; - border-radius: 2px; - width: 230px; - padding: 0 8px; - height: 30px; - line-height: 30px; - margin-bottom: 12px; - outline: #169AFF; + .el-input{ + .el-input__inner{ + border: 1px solid #E7EAED; + border-radius: 2px; + width: 230px; + padding: 0 8px; + height: 30px; + line-height: 30px; + margin-bottom: 12px; + outline: #169AFF; + } + + } } .content-input:focus { diff --git a/nezha-fronted/src/components/common/timePicker.vue b/nezha-fronted/src/components/common/timePicker.vue index 3afc95cc6..1ecdeeec7 100644 --- a/nezha-fronted/src/components/common/timePicker.vue +++ b/nezha-fronted/src/components/common/timePicker.vue @@ -4,7 +4,7 @@ :class="{ 'calendar--small': size === 'small' }" class="calendar" > - + -
To
-
- {{ searchTime[1] }} +
To
+
+ + + +
- Apply time range
@@ -131,11 +136,9 @@ class="date-range-history-item" @click="historyChange(item)" > - - {{bus.timeFormate(item.start)}} + {{ timeFormate(item.start) }} — - {{this.timeFormate(item.end)}} - + {{ timeFormate(item.end) }}
@@ -147,19 +150,18 @@
Relatime time ranges