Commit d554cd6e by 白狗汪汪汪

白狗汪汪汪

parent 89483d2c
...@@ -22,9 +22,7 @@ export default class App extends Vue { ...@@ -22,9 +22,7 @@ export default class App extends Vue {
font-family: 'Avenir', Helvetica, Arial, sans-serif; font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
text-align: center; height: 100%;
color: #2c3e50;
margin-top: 60px;
} }
</style> </style>
\ No newline at end of file
.hello2{ // 数据大屏
display: block;
position: relative; .bigScreen{
.text{ width: 100%;
font-size: 25px; height: 100%;
} background: rgba(23, 26, 59, 1);
overflow: hidden;
} }
\ No newline at end of file
...@@ -9,7 +9,6 @@ import { State, ...@@ -9,7 +9,6 @@ import { State,
Mutation, Mutation,
namespace } from 'vuex-class'; namespace } from 'vuex-class';
const test = namespace('test'); const test = namespace('test');
@Component({}) @Component({})
......
<!--
数据大屏页面
白富友
2019/3/27
-->
<template> <template>
<div class="hello2"> <div class="bigScreen">
<p>测试vuex状态管理的组件</p> <header>
<input type="text" v-model="user_Info"> <img src="@/assets/img/img-title.png" alt="">
<el-button @click="changeInfo">按钮</el-button> </header>
<span class="text" v-text="`这是子组件内引入的状态:${info}`"></span> <div class="content">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
</div>
</div> </div>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment