文章分类 -  设计模式

摘要:一、基类 /* * 作 者 :姜 彦 * 项目名称 :Decorator * 类 名 称 :FrameModel * 命名空间 :Decorator * CLR 版本 :4.0.30319.42000 * 创建时间 :2019/2/21 12:55:04 * 当前版本 :1.0.0.1 * My E 阅读全文
posted @ 2019-02-21 15:39 <--青青子衿--> 阅读(84) 评论(0) 推荐(0)
摘要:汇总 /* * 作 者 :姜 彦 * 项目名称 :Singleton * 类 名 称 :SingletonGather * 命名空间 :Singleton * CLR 版本 :4.0.30319.42000 * 创建时间 :2019/2/21 9:14:07 * 当前版本 :1.0.0.1 * My 阅读全文
posted @ 2019-02-21 11:11 <--青青子衿--> 阅读(99) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-09-30 19:16 <--青青子衿--> 阅读(1) 评论(0) 推荐(0)
摘要:1.享元工厂 阅读全文
posted @ 2018-09-30 19:06 <--青青子衿--> 阅读(115) 评论(0) 推荐(0)
摘要:1.抽象策略类 /* * 作 者 :姜 彦 * 项目名称 :Utility.Tool.Controller.Controller.AE240Tester.Strategy * 类 名 称 :SendStrategy * 命名空间 :Utility.Tool.Controller.Controller 阅读全文
posted @ 2018-09-30 19:05 <--青青子衿--> 阅读(94) 评论(0) 推荐(0)

// /**/ // 在页脚Html代码 引入 // function btn_donateClick() { var DivPopup = document.getElementById('Div_popup'); var DivMasklayer = document.getElementById('div_masklayer'); DivMasklayer.style.display = 'block'; DivPopup.style.display = 'block'; var h = Div_popup.clientHeight; with (Div_popup.style) { marginTop = -h / 2 + 'px'; } } function MasklayerClick() { var masklayer = document.getElementById('div_masklayer'); var divImg = document.getElementById("Div_popup"); masklayer.style.display = "none"; divImg.style.display = "none"; } setTimeout( function () { document.getElementById('div_masklayer').onclick = MasklayerClick; document.getElementById('btn_donate').onclick = btn_donateClick; var a_gzw = document.getElementById("guanzhuwo"); a_gzw.href = "javascript:void(0);"; $("#guanzhuwo").attr("onclick","follow('33513f9f-ba13-e011-ac81-842b2b196315');"); }, 900);