0
0
This commit is contained in:
syuilo 2018-02-23 01:27:02 +09:00
parent adaa07a6f9
commit e0ffedca24
3 changed files with 19 additions and 17 deletions

View File

@ -15,7 +15,7 @@ const home = {
'profile',
'calendar',
'activity',
'rss-reader',
'rss',
'trends',
'photo-stream',
'version'
@ -23,8 +23,8 @@ const home = {
right: [
'broadcast',
'notifications',
'user-recommendation',
'recommended-polls',
'users',
'polls',
'server',
'donation',
'nav',

View File

@ -2,7 +2,7 @@
<div class="mk-dialog">
<div class="bg" ref="bg" @click="onBgClick"></div>
<div class="main" ref="main">
<header v-html="title"></header>
<header v-html="title" :class="$style.header"></header>
<div class="body" v-html="text"></div>
<div class="buttons">
<button v-for="button in buttons" @click="click(button)">{{ button.text }}</button>
@ -110,18 +110,6 @@ export default Vue.extend({
background #fff
opacity 0
> header
margin 1em 0
color $theme-color
// color #43A4EC
font-weight bold
&:empty
display none
> i
margin-right 0.5em
> .body
margin 1em 0
color #888
@ -154,3 +142,18 @@ export default Vue.extend({
transition color 0s ease
</style>
<style lang="stylus" module>
.header
margin 1em 0
color $theme-color
// color #43A4EC
font-weight bold
&:empty
display none
> i
margin-right 0.5em
</style>

View File

@ -64,7 +64,6 @@ export default Vue.extend({
> header
display flex
margin 4px 0
white-space nowrap
> .name