Commit ffe3e168 by 李伟康

增加加载动画

1 parent 772c2482
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
v-model="tagShow" v-model="tagShow"
position="bottom" position="bottom"
:style="{ height: '90%' }" :style="{ height: '90%' }"
@click-overlay="clickOverlay"
> >
<template v-if="tagFlag"> <template v-if="tagFlag">
<div class="container-pop"> <div class="container-pop">
...@@ -162,9 +163,12 @@ export default { ...@@ -162,9 +163,12 @@ export default {
this.judge() this.judge()
}, },
toggle() { toggle() {
if (!this.tagShow) this.init()
else this.clickOverlay()
this.tagShow = !this.tagShow this.tagShow = !this.tagShow
if (this.tagShow) this.init() },
else this.tagFlag = false clickOverlay() {
this.tagFlag = false
}, },
init() { init() {
let { chooseItems, keyWord } = this let { chooseItems, keyWord } = this
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!