Commit fd3cdb46 by 前端

commit

1 parent 099dff3a
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<div class="apply-item-footer flex"> <div class="apply-item-footer flex">
<div class="flex"> <div class="flex">
<template v-if="index == 0"> <template v-if="index == 0">
<van-popover v-model="showPopover" theme="dark" placement="top-start" :close-on-click-outside="false"> <van-popover v-model="showPopover" theme="dark" placement="top-start">
<div class="tip">点击可切换状态</div> <div class="tip">点击可切换状态</div>
<template #reference> <template #reference>
<div :class="['sprite-icon', i.followType == 0 ? ' icon-remove' : ' icon-collect']" @click="checkCollect(i)"></div> <div :class="['sprite-icon', i.followType == 0 ? ' icon-remove' : ' icon-collect']" @click="checkCollect(i)"></div>
...@@ -80,6 +80,11 @@ export default { ...@@ -80,6 +80,11 @@ export default {
showPopover: true showPopover: true
} }
}, },
mounted() {
setTimeout(() => {
this.showPopover = false
}, 3000)
},
methods: { methods: {
makePhone(item) { makePhone(item) {
this.makePhoneCall(item.contactPhone) this.makePhoneCall(item.contactPhone)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!