//HTML
var buns ='<span class="theater" data="' + data.order_sn + '" style="color: #f58564;background: #fff;">查看日志</span>' +
'<span class="change" data="' + data.order_sn + '" style="color: #f58564;background: #fff;">更换</span>'
//mui
mui("body").on("tap", ".theater", function() {
var order_sn = this.getAttribute("data");
mui.openWindow({
url:'viewlog.html',
id:order_sn,
extras:{
id:order_sn
}
});
//console.log(order_sn);
//viewTo("./viewlog.html");
})
0 个回复