12345678910111213141516171819202122232425262728293031323334 |
- (function (e) {
- config.init();
- var b = {
- idx: [1, 6, 7, 8],
- // count: 4,
- count: 2,
- current: 6};
- var d = {};
- icoNavFx.doing(e("#nav_bottom"), b);
- TabBlock.init();
- var c = {
- doing: function () {
- hzAPI.getData(window.apiUrl+"?c=Index&a=favoritedHospitalList", d, "#hospital ul", 0, true, null, null, "未关注医院");
- hzAPI.getData(window.apiUrl+"?c=Index&a=favoritedDoctorList", d, "#doctor ul", 1, true, null, null, "未关注医生")
- }
- };
- window.reload = c;
- c.doing();
- var a = Fx.getUrlParam("idx");
- if (!a) {
- a = 1
- }
- TabBlock.switchTab(e(".tabBlock-tab").eq(a));
- e(".icon-circle-minus").on("tap", function () {
- var h = ["favorite_q_hospital_list_del.html", "favorite_q_doctor_list_del.html"], g = ["取消已关注医院", "取消已关注医生"],
- f = e(".tabBlock-tab.is-active").index();
- icoNav.popWinLayer(h[f], g[f], 0)
- });
- e(".icon-addRound").on("tap", function () {
- var h = ["favorite_q_hospital_list_update.html", "favorite_q_doctor_hospital_list.html"],
- g = ["添加关注医院", "添加关注医生"], f = e(".tabBlock-tab.is-active").index();
- icoNav.popWinLayer(h[f], g[f], 0)
- })
- })(Zepto);
|