layer.open({ content: "下单成功" , btn: ['确定','取消'], style: '80%', yes: function(index, layero){ self.location="{:url('index/index/market')}";//跳到指定页面 },
cancel: function(index,layero){ //按右上角“X”按钮},
})