framework7 底部弹层popup js关闭方法

<div class="u-sd-btns">
    <button>同意</button>
    <button class="popup-open" data-popup=".popup-about">拒绝</button>
</div>
<div class="popup popup-about u-sd-pop">
    <textarea v-model="yuanyin"></textarea>
    <button class="u-sd-btn" @click="send">提交</button>
</div>

            send: function () {
                var that = this;
                if(that.yuanyin==''){
                    showAlert(myApp,'请填写拒绝原因');
                }else{
                    myApp.popup.close($('.u-sd-pop'));
                }
            },

 

posted @ 2019-05-23 11:46  怪咖咖  阅读(1172)  评论(0编辑  收藏  举报