一、popup的二级嵌套使用(可参考uni-app开发文档,文档中是一级弹窗,多级的话,我是以下案例嵌套形式)
uni-app官网 ----> 组件 -----> popup ---->下载插件包 ---->引入插件
<template>
<view class="content">
<button @tap="startOpen">打开弹窗按钮</button>
</view>
<!-- 第一个弹窗 -->
<uni-popup ref="popup" type="center" @touchmove.stop.prevent="moveHandle">
<view class="close_popup" @tap="closePopup">
关闭弹窗
</view>
<view class="popup_content">
第一个弹窗
<view class="prize_push_box">
<button class="prize_push_btn btn" @click="prizeGet">立即充值</button>
</view>
</view>
</uni-popup>
<!-- 第二个弹窗 -->
<uni-popup ref="popup_place_false" typ