diff --git a/src/web/app/common/define-widget.ts b/src/web/app/common/define-widget.ts index 97925cf443..efce7e813c 100644 --- a/src/web/app/common/define-widget.ts +++ b/src/web/app/common/define-widget.ts @@ -12,6 +12,10 @@ export default function(data: { isMobile: { type: Boolean, default: false + }, + isCustomizeMode: { + type: Boolean, + default: false } }, computed: { diff --git a/src/web/app/common/views/widgets/slideshow.vue b/src/web/app/common/views/widgets/slideshow.vue index 56eb654c2b..eb83c65701 100644 --- a/src/web/app/common/views/widgets/slideshow.vue +++ b/src/web/app/common/views/widgets/slideshow.vue @@ -1,12 +1,14 @@ @@ -42,6 +44,9 @@ export default define({ clearInterval(this.clock); }, methods: { + func() { + this.resize(); + }, applySize() { let h; @@ -117,24 +122,17 @@ export default define({ border solid 1px rgba(0, 0, 0, 0.075) border-radius 6px - &:hover > button - display block - - > button - position absolute - left 0 - bottom 0 - display none - padding 4px - font-size 24px - color #fff - text-shadow 0 0 8px #000 - > div width 100% height 100% cursor pointer + > p + display block + margin 1em + text-align center + color #888 + > * pointer-events none diff --git a/src/web/app/desktop/views/components/home.vue b/src/web/app/desktop/views/components/home.vue index 59fd2aa36e..69f06fbf37 100644 --- a/src/web/app/desktop/views/components/home.vue +++ b/src/web/app/desktop/views/components/home.vue @@ -47,7 +47,7 @@ :key="place" >
- +
diff --git a/src/web/app/mobile/views/pages/home.vue b/src/web/app/mobile/views/pages/home.vue index f4f458068a..2aa650ec53 100644 --- a/src/web/app/mobile/views/pages/home.vue +++ b/src/web/app/mobile/views/pages/home.vue @@ -25,6 +25,7 @@ + @@ -45,7 +46,7 @@ %fa:bars%{{ widget.name }}
- +