This commit is contained in:
fan 2019-10-30 18:03:42 +08:00
commit 5bca5be2e4

View File

@ -19,43 +19,43 @@ import Digit from './digit';
import Separator from './separator'; import Separator from './separator';
export default { export default {
name: 'SystenTime', name: 'SystenTime',
components: { components: {
Digit, Digit,
Separator Separator
}, },
props: { props: {
background: { background: {
type: String, type: String,
default() { default() {
return '#000'; return '#000';
} }
}, },
color: { color: {
type: String, type: String,
default() { default() {
return '#00FF00'; return '#00FF00';
} }
}, },
time: { time: {
type: String, type: String,
default() { default() {
return '12:3456'; return '12:3456';
} }
}, },
zoom: { zoom: {
type: Number, type: Number,
default() { default() {
return 4; return 4;
} }
}, },
fine: { fine: {
type: Number, type: Number,
default() { default() {
return 2; return 2;
} }
} }
} }
}; };
</script> </script>
@ -63,5 +63,6 @@ export default {
.system-time-box { .system-time-box {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
background: #000;
} }
</style> </style>