<cover-view class="sub-list" v-if="subList.length">
<block v-for="item in subList" :key="item.id">
<cover-view class="{ 'sub-item': true, active: currentIndex === item.id }" @click="handleSubItem(item)"
>
{{ item.name }}
</cover-view>
</block>
</cover-view>
</map>
<uni-popup ref="popup" type="bottom" border-radius="10px 10px 0 0">
<div style="background-color: #fff">底部弹出 Popup 自定义圆角</div>
</uni-popup>
显示或者隐藏
proxy.$refs.popup.open('bottom')
2 个回复
c***@qq.com
请问解决了吗?我也遇到了这个问题
c***@qq.com
找到解决办法了:
setTimeout(() => {
this.$refs.addDom.open()
}, 100)