uni-app 手機端防止按鈕穿透


1、如圖,有兩個框,代表2個點擊事件,點擊退款按鈕的時候,彈窗出現,會執行外層的詳情頁面的跳轉

 

 

2、template:

<view class="orders-center-item" @click="see_more_msg(item)">
  <view class="tuikuan" @tap.stop="tuikuan($event, item)">退款</view>
</view>

  methods:

//退款申請
tuikuan(e, item) {
  e.preventDefault();   this.tuikuan_showModal = true;
  this.refundApplicationList = item;
},

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM