apicloud 点击跳转页面

时间:2017-05-21 22:33:42   收藏:0   阅读:925

<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>

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!