apicloud 点击跳转页面

<div class="lianxi">

    <button onclick="opnew()">联系商家</button>
    <img src="./images/buy/8.png" />
    
    </div>
    

</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    function  opnew(id) {
                towin('buy-service', false, {  // buy-service是跳入的页面
                    id: id
                });
}
</script>

posted @ 2017-05-21 21:43  果子味的橘子  阅读(6088)  评论(0编辑  收藏  举报