修改
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
<!--
|
||||
|
||||
<!--
|
||||
filename: container.vue
|
||||
author: liubin
|
||||
date: 2024-04-16 14:51:25
|
||||
description:
|
||||
description:
|
||||
-->
|
||||
|
||||
<template>
|
||||
<div class="copilot-layout">
|
||||
<CopilotHeaderVue
|
||||
:active="page"
|
||||
:period="period"
|
||||
@update:active="page = $event"
|
||||
@update:period="period = $event"
|
||||
/>
|
||||
<div class="copilot-layout" ref="copilot-layout">
|
||||
<CopilotHeaderVue :active="page" :period="period" @update:active="page = $event" @update:period="period = $event" />
|
||||
|
||||
<YieldCopilot v-if="page == '产量'" :period="period" />
|
||||
<EnergyCopilot v-if="page == '综合'" :period="period" />
|
||||
@@ -52,8 +48,8 @@ export default {
|
||||
// },
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
.copilot-layout {
|
||||
padding: 16px;
|
||||
background: url(../../assets/images/copilot-bg.png) 0 0 / 100% 100% no-repeat;
|
||||
|
||||
Reference in New Issue
Block a user