update time range

This commit is contained in:
Fine 2022-08-19 17:46:24 +08:00
parent cce1f08719
commit 66e4055750
2 changed files with 12 additions and 5 deletions

View File

@ -48,14 +48,14 @@ const networkProfilingStore = useNetworkProfilingStore();
.item { .item {
width: 100%; width: 100%;
height: calc(100% - 210px); height: calc(100% - 50px);
// background-color: #333840; // background-color: #333840;
position: relative; position: relative;
} }
.schedules { .schedules {
height: 200px; height: 40px;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
padding-right: 10px; padding: 8px;
} }
</style> </style>

View File

@ -13,10 +13,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. --> limitations under the License. -->
<template> <template>
<el-button type="primary" size="small"> <el-button class="mr-10" type="primary" size="small">
{{ t("start") }} {{ t("start") }}
</el-button> </el-button>
<el-popover placement="bottom" :width="600" trigger="click">
<template #reference>
<span>
<el-button size="small"> Set time range </el-button>
</span>
</template>
<div ref="timeRange" class="time-ranges"></div> <div ref="timeRange" class="time-ranges"></div>
</el-popover>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, onMounted, watch } from "vue"; import { ref, onMounted, watch } from "vue";