Add MicroUI component
This commit is contained in:
parent
e343e07da3
commit
e5d9c6460a
2 changed files with 98 additions and 0 deletions
58
resources/assets/js/components/Micro.vue
Normal file
58
resources/assets/js/components/Micro.vue
Normal file
|
@ -0,0 +1,58 @@
|
|||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<style type="text/css" scoped>
|
||||
@import '~quill/dist/quill.snow.css';
|
||||
body {
|
||||
background-color: #ECECEC;
|
||||
}
|
||||
.bg-alt {
|
||||
background-color: #2C2E3B;
|
||||
}
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.ql-container {
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
import Quill from 'quill';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
footer: {
|
||||
about: '/site/about',
|
||||
help: '/site/help',
|
||||
classic: '/'
|
||||
},
|
||||
loading: true,
|
||||
profile: {},
|
||||
page: 1,
|
||||
activeFeed: 'home',
|
||||
homeFeed: [],
|
||||
notifications: {},
|
||||
composeType: false,
|
||||
notes: {
|
||||
active: false,
|
||||
status_id: null,
|
||||
username: null,
|
||||
like_count: 0,
|
||||
share_count: 0,
|
||||
replies: [],
|
||||
page: 1
|
||||
},
|
||||
profileCard: {
|
||||
account: {
|
||||
avatar: null
|
||||
}
|
||||
},
|
||||
quill: false,
|
||||
searching: false
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue