修改ui
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
<template>
|
||||
<div class="copilot-header">
|
||||
<section class="menu">
|
||||
<section class="menu left">
|
||||
<CopilotButton v-for="i in ['产量', '效率']" :key="i" :label="i" :active="i === active"
|
||||
@click="() => $emit('update:active', i)" />
|
||||
<div class="type-name"></div>
|
||||
@@ -15,7 +15,7 @@
|
||||
@click="() => $emit('update:than', i)" />
|
||||
</section>
|
||||
<div class="page-title">{{ active }}驾驶舱</div>
|
||||
<section class="menu" style="width: 24vw;float: right;">
|
||||
<section class="menu right" style="width: 24vw;float: right;">
|
||||
<CopilotButton v-for="i in ['日', '周', '月', '年']" :key="i" :label="i" :active="i === period"
|
||||
@click="() => $emit('update:period', i)" />
|
||||
<div class="btn-group">
|
||||
@@ -132,7 +132,13 @@ export default {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.copilot-header > section {
|
||||
.copilot-header > .left {
|
||||
width: 26vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.copilot-header >.right {
|
||||
width: 26vw;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -184,7 +190,7 @@ export default {
|
||||
/* top: 10px; */
|
||||
}
|
||||
.page-title {
|
||||
width: 25vw;
|
||||
width: 26vw;
|
||||
font-size: 54px;
|
||||
line-height: 70px;
|
||||
letter-spacing: 5px;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-28 13:42:51
|
||||
* @LastEditTime: 2024-05-31 13:26:32
|
||||
* @LastEditTime: 2024-07-31 08:52:25
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
@@ -54,8 +54,8 @@ button {
|
||||
background: #006acd40;
|
||||
backdrop-filter: blur(3px);
|
||||
text-align: center;
|
||||
padding: 12px;
|
||||
padding-left: 20px;
|
||||
padding: 16px 24px 16px 24px;
|
||||
padding-left: 32px;
|
||||
color: #fff;
|
||||
font-size: 18px;
|
||||
letter-spacing: 10px;
|
||||
|
||||
Reference in New Issue
Block a user