framework7 可以拉动右侧工具栏和点击当前item就可以出发事件的HTML结构

<li class="swipeout">
    <div class="swipeout-content item-content">
        <div class="item-inner">
            <a href="#" onclick="alert('asdasd')">
                <div>
                    <div class="row">
                        {{name}}
                    </div>
                    <div class="row">
                        <div class="row-left">sex</div>
                        <div class="row-right">{{sex}}</div>
                    </div>
                    <div class="row">
                        <div class="row-left">age</div>
                        <div class="row-right">{{age}}</div>
                    </div>
                                       
                </div>
            </a>
        </div>
    </div>
    <div class="swipeout-actions-right">
        <a href="#" class="swipeout-delete" data-confirm="确定要取消此关注吗?" data-confirm-title="提示">取消关注</a>
    </div>
</li>

 

posted @ 2018-05-23 09:36  洛晨随风  阅读(136)  评论(0编辑  收藏  举报