穷奇先生
穷奇先生
  • 发布:2020-10-21 11:58
  • 更新:2020-10-21 11:59
  • 阅读:1872

uni-popup弹出层滚动,底部页面也会跟着滚动。这个怎么解决。app端

分类:uni-app

<!-- 文件预览 -->
<uni-popup ref="popup" type="bottom" class="popupBtm" @touchmove.stop.prevent="moveHandle" >
<view class="box" @touchmove.stop.prevent="moveHandle">
<view class="box-title">产品PDF文档预览</view>
<view class="list">
<scroll-view

        :scroll-top="scrollTop"  
        scroll-y="true"  
        class="scroll-Y"  
        @scrolltoupper="upper"  
        @scrolltolower="lower"  
        @scroll="scroll"  
      >  
        <view  
          class="li"  
          v-for="(item, index) in enclosure_path"  
          :key="index"  
          @click="look(index)"  
        >  
          <view class="liImg">  
              <image src="../../static/pdfs.jpg"></image>  
          </view>  
          <view class="content">  
            <view class="tit">附件{{ index + 1 }}</view>  
            <view class="tits">{{ item }}</view>  
          </view>  
        </view>  
      </scroll-view>  
    </view>  
    <view class="quxiao" @click="close">取消</view>  
  </view>  
</uni-popup>
2020-10-21 11:58 负责人:无 分享
已邀请:
穷奇先生

穷奇先生 (作者)

<!-- 文件预览 -->  
    <uni-popup ref="popup" type="bottom" class="popupBtm" @touchmove.stop.prevent="moveHandle" >  
      <view class="box" @touchmove.stop.prevent="moveHandle">  
        <view class="box-title">产品PDF文档预览</view>  
        <view class="list">  
          <scroll-view  

            :scroll-top="scrollTop"  
            scroll-y="true"  
            class="scroll-Y"  
            @scrolltoupper="upper"  
            @scrolltolower="lower"  
            @scroll="scroll"  
          >  
            <view  
              class="li"  
              v-for="(item, index) in enclosure_path"  
              :key="index"  
              @click="look(index)"  
            >  
              <view class="liImg">  
                  <image src="../../static/pdfs.jpg"></image>  
              </view>  
              <view class="content">  
                <view class="tit">附件{{ index + 1 }}</view>  
                <view class="tits">{{ item }}</view>  
              </view>  
            </view>  
          </scroll-view>  
        </view>  
        <view class="quxiao" @click="close">取消</view>  
      </view>  
    </uni-popup>

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