(function (d) { // config.init(); d('#cancelFlag').on('tap',function () { var e = { orderId: d('#btn-cancle').attr('name') } hzAPI.sendData(window.apiUrl+"?c=ReqHis&a=cancelOrder", e, false, ["取消挂号失败", "取消挂号成功"], null, null, i); }); var a = { idx: [1, 6, 7, 8], // count: 4, count: 2, current: 8 }; icoNavFx.doing(d("#nav_bottom"), a); var c = {rowed: 0, pageSize: 5}; var b = { doing: function () { d.extend(c, {customerFamilyId: JSON.parse(d("#familyList .selected a").attr("data")).id}); c.rowed = 0; hzAPI.getData(window.apiUrl + "?c=Index&a=historyList", c, "#list ul", 1, true, null, null, "无就诊记录", b.scroll) }, scroll: { doing: function () { hzAPI.scroll(window.apiUrl + "?c=Index&a=historyList", c, "#list ul", 1, false) } } }; window.reload = b; hzAPI.getData(window.apiUrl + "?c=Index&a=customerFamilyList", {idCk: Fx.getUrlParam("id")}, "#familyList", 0, true, 4, true) })(Zepto);