wangyun
wangyun
  • 发布:2020-05-21 19:43
  • 更新:2020-05-21 19:43
  • 阅读:1117

【报Bug】uni-popup无法弹出

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win7

HBuilderX类型: 正式

HBuilderX版本号: 2.6.16

手机系统: Android

手机系统版本号: Android 5.1

手机厂商: 模拟器

手机机型: DT1901A

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
    <uni-popup ref='popupShare' type='share'>  
        <uni-popup-share :tan_data="tan_data" @goapp="goapp"></uni-popup-share>  
    </uni-popup>  

<uni-popup ref="popup" type="center" style="justify-content: inherit;">
<view class="tab-mask" :style="{'top': (style_header.style=='style1' ? '144rpx':'220rpx')}">
<view class="tab-mask-t">
<text>全部频道</text>
<image @click="closePopup" src="../../static/img/close.png" mode=""></image>
</view>
<view class="tab-mask-b">
<view class="tab-mask-bdemo" v-for="item in tabList" @click="tabLink(item.mold)">
<easy-cacheimage :image-src="item.thumb" :cacheTime="0.002"></easy-cacheimage>
<text :style="{'color':(tabActive==item.mold)?'#E30632':'#333'}">{{item.title}}</text>
</view>
</view>
</view>
</uni-popup>

操作步骤:

下面的弹窗存在时上面的弹窗就无法弹出
<uni-popup ref='popupShare' type='share'>
<uni-popup-share :tan_data="tan_data" @goapp="goapp"></uni-popup-share>
</uni-popup>

<uni-popup ref="popup" type="center" style="justify-content: inherit;">
<view class="tab-mask" :style="{'top': (style_header.style=='style1' ? '144rpx':'220rpx')}">
<view class="tab-mask-t">
<text>全部频道</text>
<image @click="closePopup" src="../../static/img/close.png" mode=""></image>
</view>
<view class="tab-mask-b">
<view class="tab-mask-bdemo" v-for="item in tabList" @click="tabLink(item.mold)">
<easy-cacheimage :image-src="item.thumb" :cacheTime="0.002"></easy-cacheimage>
<text :style="{'color':(tabActive==item.mold)?'#E30632':'#333'}">{{item.title}}</text>
</view>
</view>
</view>
</uni-popup>

预期结果:

下面的弹窗存在时上面的弹窗就无法弹出
<uni-popup ref='popupShare' type='share'>
<uni-popup-share :tan_data="tan_data" @goapp="goapp"></uni-popup-share>
</uni-popup>

<uni-popup ref="popup" type="center" style="justify-content: inherit;">
<view class="tab-mask" :style="{'top': (style_header.style=='style1' ? '144rpx':'220rpx')}">
<view class="tab-mask-t">
<text>全部频道</text>
<image @click="closePopup" src="../../static/img/close.png" mode=""></image>
</view>
<view class="tab-mask-b">
<view class="tab-mask-bdemo" v-for="item in tabList" @click="tabLink(item.mold)">
<easy-cacheimage :image-src="item.thumb" :cacheTime="0.002"></easy-cacheimage>
<text :style="{'color':(tabActive==item.mold)?'#E30632':'#333'}">{{item.title}}</text>
</view>
</view>
</view>
</uni-popup>

实际结果:

下面的弹窗存在时上面的弹窗就无法弹出
<uni-popup ref='popupShare' type='share'>
<uni-popup-share :tan_data="tan_data" @goapp="goapp"></uni-popup-share>
</uni-popup>

<uni-popup ref="popup" type="center" style="justify-content: inherit;">
<view class="tab-mask" :style="{'top': (style_header.style=='style1' ? '144rpx':'220rpx')}">
<view class="tab-mask-t">
<text>全部频道</text>
<image @click="closePopup" src="../../static/img/close.png" mode=""></image>
</view>
<view class="tab-mask-b">
<view class="tab-mask-bdemo" v-for="item in tabList" @click="tabLink(item.mold)">
<easy-cacheimage :image-src="item.thumb" :cacheTime="0.002"></easy-cacheimage>
<text :style="{'color':(tabActive==item.mold)?'#E30632':'#333'}">{{item.title}}</text>
</view>
</view>
</view>
</uni-popup>

bug描述:

下面的弹窗存在时上面的弹窗就无法弹出
<uni-popup ref='popupShare' type='share'>
<uni-popup-share :tan_data="tan_data" @goapp="goapp"></uni-popup-share>
</uni-popup>

<uni-popup ref="popup" type="center" style="justify-content: inherit;">
<view class="tab-mask" :style="{'top': (style_header.style=='style1' ? '144rpx':'220rpx')}">
<view class="tab-mask-t">
<text>全部频道</text>
<image @click="closePopup" src="../../static/img/close.png" mode=""></image>
</view>
<view class="tab-mask-b">
<view class="tab-mask-bdemo" v-for="item in tabList" @click="tabLink(item.mold)">
<easy-cacheimage :image-src="item.thumb" :cacheTime="0.002"></easy-cacheimage>
<text :style="{'color':(tabActive==item.mold)?'#E30632':'#333'}">{{item.title}}</text>
</view>
</view>
</view>
</uni-popup>

2020-05-21 19:43 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复