diff --git a/api/css/imgshare.css b/api/css/imgshare.css new file mode 100644 index 0000000..1280cd3 --- /dev/null +++ b/api/css/imgshare.css @@ -0,0 +1,2 @@ +.sr-bdimgshare{position:absolute;overflow:hidden;z-index:9990;color:white}.sr-bdimgshare-white{color:#666}.sr-bdimgshare .bdimgshare-bg{position:absolute;width:100%;height:100%;overflow:hidden;filter:alpha(opacity=40);opacity:.4}.sr-bdimgshare-white .bdimgshare-bg{filter:alpha(opacity=80);opacity:.8}.sr-bdimgshare .bdimgshare-content{position:relative;float:right;padding:5px 8px 5px 0}.sr-bdimgshare-black .bdimgshare-bg{background:black}.sr-bdimgshare-white .bdimgshare-bg{background:white}.sr-bdimgshare .bdimgshare-content .bdimgshare-lbl{padding-right:5px;cursor:default;float:left}.sr-bdimgshare-16 .bdimgshare-icon{display:inline-block;width:16px;height:16px;overflow:hidden;margin:8px 0 0 2px;cursor:pointer;background:url(../img/share/icons_0_16.png?v=91362611.png) no-repeat}.sr-bdimgshare-32 .bdimgshare-icon{display:inline-block;width:32px;height:32px;overflow:hidden;margin:8px 0 0 5px;cursor:pointer;background:url(../img/share/icons_0_32.png?v=7f3ed0f4.png) no-repeat}.sr-bdimgshare-black .bdimgshare-icon{filter:alpha(opacity=90);opacity:.9}.sr-bdimgshare-black .bdimgshare-icon:hover{filter:none;opacity:1}.sr-bdimgshare-white .bdimgshare-icon{filter:alpha(opacity=80);opacity:.8}.sr-bdimgshare-white .bdimgshare-icon:hover{filter:none;opacity:1}.sr-bdimgshare-collection{zoom:1;z-index:9990;_padding:2px}.sr-bdimgshare-collection:after{content:'\20';display:block;height:0;clear:both}.bdimgshare-coll-coll-saved{display:none}.bdimgshare-coll-coll,.bdimgshare-coll-share,.bdimgshare-coll-coll-saved,.bdimgshare-coll-coll:hover,.bdimgshare-coll-share:hover,.bdimgshare-coll-coll-saved:hover{text-decoration:none;text-align:center;_overflow:hidden}.sr-bdimgshare-coll-white .bdimgshare-coll-coll,.sr-bdimgshare-coll-white .bdimgshare-coll-coll-saved,.sr-bdimgshare-coll-white .bdimgshare-coll-share{color:#666;background-color:#fff;background-image:url(../images/imgshare/imgshare_collection_icons_w.png);background-repeat:no-repeat;border-width:1px;border-style:solid;border-color:#e6e6e6 #e6e6e6 #ccc}.sr-bdimgshare-coll-black .bdimgshare-coll-coll,.sr-bdimgshare-coll-black .bdimgshare-coll-coll-saved,.sr-bdimgshare-coll-black .bdimgshare-coll-share{color:#ddd;background-color:#4c4c4c;background-image:url(../images/imgshare/imgshare_collection_icons_b.png);background-repeat:no-repeat;border-width:1px;border-style:solid;border-color:#393939}.sr-bdimgshare-coll-white .bdimgshare-coll-coll:hover{color:#f24949}.sr-bdimgshare-coll-white .bdimgshare-coll-share:hover{color:#2c73c3}.sr-bdimgshare-coll-1-small .bdimgshare-coll-share,.sr-bdimgshare-coll-1-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-1-big .bdimgshare-coll-share,.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll{display:block}.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll-saved,.sr-bdimgshare-coll-1-small .bdimgshare-coll-share{width:51px;height:23px;padding-left:21px;line-height:23px;font-size:12px;float:left;letter-spacing:7px}.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll{background-position:5px 4px}.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-1-small .bdimgshare-coll-coll-saved{background-position:5px -16px}.sr-bdimgshare-coll-1-small .bdimgshare-coll-share{background-position:5px -36px;margin-left:-1px}.sr-bdimgshare-coll-1-small .bdimgshare-coll-share:hover{background-position:5px -56px}.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-1-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll-saved{width:51px;height:30px;padding-left:26px;line-height:30px;font-size:12px;float:left;letter-spacing:7px}.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll{background-position:10px -77px}.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-1-middle .bdimgshare-coll-coll-saved{background-position:10px -102px}.sr-bdimgshare-coll-1-middle .bdimgshare-coll-share{background-position:10px -127px;margin-left:-1px}.sr-bdimgshare-coll-1-middle .bdimgshare-coll-share:hover{background-position:10px -153px}.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll,.sr-bdimgshare-coll-1-big .bdimgshare-coll-share,.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll-saved{width:64px;height:38px;padding-left:32px;line-height:38px;font-size:14px;float:left;letter-spacing:8px}.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll{background-position:10px -178px}.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-1-big .bdimgshare-coll-coll-saved{background-position:10px -209px}.sr-bdimgshare-coll-1-big .bdimgshare-coll-share{background-position:10px -239px;margin-left:-1px}.sr-bdimgshare-coll-1-big .bdimgshare-coll-share:hover{background-position:10px -269px}.sr-bdimgshare-coll-2-small .bdimgshare-coll-share,.sr-bdimgshare-coll-2-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-2-big .bdimgshare-coll-share,.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll{display:block}.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-2-small .bdimgshare-coll-share,.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll-saved{width:24px;height:24px;overflow:hidden;float:left;text-indent:-9999px}.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll{background-position:4px 4px}.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-2-small .bdimgshare-coll-coll-saved{background-position:4px -16px}.sr-bdimgshare-coll-2-small .bdimgshare-coll-share{background-position:4px -36px;margin-left:-1px}.sr-bdimgshare-coll-2-small .bdimgshare-coll-share:hover{background-position:4px -56px}.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-2-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll-saved{width:32px;height:32px;overflow:hidden;float:left;text-indent:-9999px}.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll{background-position:7px -76px}.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-2-middle .bdimgshare-coll-coll-saved{background-position:7px -101px}.sr-bdimgshare-coll-2-middle .bdimgshare-coll-share{background-position:7px -127px;margin-left:-1px}.sr-bdimgshare-coll-2-middle .bdimgshare-coll-share:hover{background-position:7px -153px}.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll,.sr-bdimgshare-coll-2-big .bdimgshare-coll-share,.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll-saved{width:36px;height:36px;overflow:hidden;float:left;text-indent:-9999px}.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll{background-position:7px -178px}.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-2-big .bdimgshare-coll-coll-saved{background-position:7px -209px}.sr-bdimgshare-coll-2-big .bdimgshare-coll-share{background-position:7px -240px;margin-left:-1px}.sr-bdimgshare-coll-2-big .bdimgshare-coll-share:hover{background-position:7px -270px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-share,.sr-bdimgshare-coll-3-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-3-big .bdimgshare-coll-share,.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll{display:block}.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll,.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll-saved,.sr-bdimgshare-coll-3-small .bdimgshare-coll-share{width:35px;height:23px;padding-left:18px;line-height:23px;font-size:12px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll{background-position:5px 4px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll-saved{background-position:5px -16px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-share{background-position:5px -36px;margin-top:-1px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-share:hover{background-position:5px -56px} +.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll,.sr-bdimgshare-coll-3-middle .bdimgshare-coll-share,.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll-saved{width:40px;height:30px;padding-left:23px;line-height:30px;font-size:12px}.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll{background-position:10px -77px}.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll-saved{background-position:10px -102px}.sr-bdimgshare-coll-3-middle .bdimgshare-coll-share{background-position:10px -127px;margin-top:-1px}.sr-bdimgshare-coll-3-middle .bdimgshare-coll-share:hover{background-position:10px -153px}.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll,.sr-bdimgshare-coll-3-big .bdimgshare-coll-share,.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll-saved{width:47px;height:38px;padding-left:26px;line-height:38px;font-size:14px}.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll{background-position:10px -178px}.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll:hover,.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll-saved{background-position:10px -209px}.sr-bdimgshare-coll-3-big .bdimgshare-coll-share{background-position:10px -239px;margin-top:-1px}.sr-bdimgshare-coll-3-big .bdimgshare-coll-share:hover{background-position:10px -269px}.sr-bdimgshare-coll-3-small .bdimgshare-coll-coll-saved{width:53px;padding:0;background-image:none}.sr-bdimgshare-coll-3-middle .bdimgshare-coll-coll-saved{width:63px;padding:0;background-image:none}.sr-bdimgshare-coll-3-big .bdimgshare-coll-coll-saved{width:73px;padding:0;background-image:none}.bdimgshare-collected .bdimgshare-coll-coll{display:none}.bdimgshare-collected .bdimgshare-coll-coll-saved{display:block;letter-spacing:0}.sr-bdimgshare-coll-white .bdimgshare-coll-coll-saved{color:#f24949} \ No newline at end of file diff --git a/api/css/like.css b/api/css/like.css new file mode 100644 index 0000000..11d3f69 --- /dev/null +++ b/api/css/like.css @@ -0,0 +1 @@ +.bdlikebutton{background:url("../img/like/like.png?v=aa778a3c.png") no-repeat;position:relative;cursor:pointer;text-align:center;font-size:12px}.bdlikebutton-inner{overflow:hidden;*zoom:1}.bdlikebutton-small{width:85px;height:25px;text-align:center;font-weight:300}.bdlikebutton-small .bdlikebutton-count{padding-left:23px;line-height:25px}.bdlikebutton-medium{width:105px;height:50px}.bdlikebutton-medium .bdlikebutton-count,.bdlikebutton-large .bdlikebutton-count{background:url("../img/like/like.png?v=aa778a3c.png") no-repeat;display:inline-block;*display:inline;*zoom:1}.bdlikebutton-medium .bdlikebutton-count{margin-top:8px;padding:2px 0 0 20px;line-height:15px}.bdlikebutton-medium-orange .bdlikebutton-count{background-position:-280px 0}.bdlikebutton-medium-blue .bdlikebutton-count{background-position:-280px -30px}.bdlikebutton-medium-green .bdlikebutton-count{background-position:-280px -60px}.bdlikebutton-medium-red .bdlikebutton-count{background-position:-280px -90px}.bdlikebutton-medium-orange-hover .bdlikebutton-count{background-position:-280px -600px}.bdlikebutton-medium-blue-hover .bdlikebutton-count{background-position:-280px -630px}.bdlikebutton-medium-green-hover .bdlikebutton-count{background-position:-280px -660px}.bdlikebutton-medium-red-hover .bdlikebutton-count{background-position:-280px -690px}.bdlikebutton-large .bdlikebutton-count{margin-top:8px;padding:2px 0 0 27px;line-height:24px;font-size:18px}.bdlikebutton-large-orange .bdlikebutton-count{background-position:-272px -120px}.bdlikebutton-large-blue .bdlikebutton-count{background-position:-272px -170px}.bdlikebutton-large-green .bdlikebutton-count{background-position:-272px -220px}.bdlikebutton-large-red .bdlikebutton-count{background-position:-272px -270px}.bdlikebutton-large-orange-hover .bdlikebutton-count{background-position:-272px -720px}.bdlikebutton-large-blue-hover .bdlikebutton-count{background-position:-272px -770px}.bdlikebutton-large-green-hover .bdlikebutton-count{background-position:-272px -820px}.bdlikebutton-large-red-hover .bdlikebutton-count{background-position:-272px -870px}.bdlikebutton-medium .bdlikebutton-text{line-height:22px}.bdlikebutton-large{width:145px;height:60px}.bdlikebutton-large .bdlikebutton-text{line-height:22px;color:#a9a9a9}.bdlikebutton-large-orange-hover .bdlikebutton-text,.bdlikebutton-large-blue-hover .bdlikebutton-text,.bdlikebutton-large-green-hover .bdlikebutton-text,.bdlikebutton-large-red-hover .bdlikebutton-text{color:#FFF}.bdlikebutton-orange{color:#d25806}.bdlikebutton-blue{color:#2979d3}.bdlikebutton-green{color:#127b03}.bdlikebutton-red{color:#b50005}.bdlikebutton-small-orange{background-position:0 0}.bdlikebutton-small-blue{background-position:0 -30px}.bdlikebutton-small-green{background-position:0 -60px}.bdlikebutton-small-red{background-position:0 -90px}.bdlikebutton-medium-orange{background-position:0 -120px}.bdlikebutton-medium-blue{background-position:0 -175px}.bdlikebutton-medium-green{background-position:0 -230px}.bdlikebutton-medium-red{background-position:0 -285px}.bdlikebutton-large-orange{background-position:0 -340px}.bdlikebutton-large-blue{background-position:0 -405px}.bdlikebutton-large-green{background-position:0 -470px}.bdlikebutton-large-red{background-position:0 -535px}.bdlikebutton-small-orange-hover{background-position:-90px 0}.bdlikebutton-small-blue-hover{background-position:-90px -30px}.bdlikebutton-small-green-hover{background-position:-90px -60px}.bdlikebutton-small-red-hover{background-position:-90px -90px}.bdlikebutton-medium-orange-hover{background-position:-110px -120px;color:#FFF}.bdlikebutton-medium-blue-hover{background-position:-110px -175px;color:#FFF}.bdlikebutton-medium-green-hover{background-position:-110px -230px;color:#FFF}.bdlikebutton-medium-red-hover{background-position:-110px -285px;color:#FFF}.bdlikebutton-large-orange-hover{background-position:-150px -340px;color:#FFF}.bdlikebutton-large-blue-hover{background-position:-150px -405px;color:#FFF}.bdlikebutton-large-green-hover{background-position:-150px -470px;color:#FFF}.bdlikebutton-large-red-hover{background-position:-150px -535px;color:#FFF}.bdlikebutton .bdlikebutton-add{display:none;position:absolute;top:0;left:50%;z-index:10002;font-size:20px;font-weight:700} \ No newline at end of file diff --git a/api/css/select_share.css b/api/css/select_share.css new file mode 100644 index 0000000..de061ab --- /dev/null +++ b/api/css/select_share.css @@ -0,0 +1 @@ +.bdselect_share_bg{position:absolute;display:none;z-index:9997}.bdselect_share_box .bdshare_arrow{position:absolute;margin:-4px 0 0;width:22px}.bdselect_share_box .bdshare_arrow *{font-family:"SimSun";overflow:hidden;font-size:12px;line-height:1.231;display:block;height:12px}.bdshare_popup_box .S_line1_c{color:#e8daee}.bdshare_popup_box .S_bg4_c{color:#fafafa}.bdselect_share_box{position:absolute;display:none;z-index:9998;max-width:300px;border:solid 1px #f6f6f6;box-shadow:1px 4px 6px -2px #f6f6f6;-moz-box-shadow:1px 4px 6px -2px #f6f6f6;-webkit-box-shadow:1px 4px 6px -2px #f6f6f6}.bdselect_share_box .selectshare-mod-triangle{display:block;position:absolute;left:14px;top:-10px}.bdselect_share_box .selectshare-mod-triangle .triangle-border{border-color:transparent transparent #d9d9d9 transparent;left:0}.bdselect_share_box .selectshare-mod-triangle .triangle-border,.bdselect_share_box .selectshare-mod-triangle .triangle-inset{left:0;top:0;width:0;height:0;font-size:0;overflow:hidden;position:absolute;border-width:5px;border-style:dashed dashed solid dashed}.bdselect_share_box .selectshare-mod-triangle .triangle-inset{border-color:transparent transparent #f6f6f6 transparent}.bdselect_share_top{height:28px;color:#626262;overflow:hidden;font-weight:bold;font-size:14px;line-height:28px;padding:0 5px}.bdselect_share_list{margin:0;padding:10px;background:#fff;overflow:hidden;_zoom:1}.bdselect_share_top .bdselect_share_dialog_close{}.bdselect_share_triangle{display:block;position:relative;left:19px;top:-24px;z-index:20}.bdselect_share_triangle .bdselect_share_border,.bdselect_share_triangle .bdselect_share_inset{left:0;top:0;width:0;height:0;font-size:0;overflow:hidden;position:absolute;border-width:12px;border-style:dashed dashed solid dashed}.bdselect_share_triangle .bdselect_share_border{border-color:transparent transparent #fff transparent;bottom:-1px}.bdselect_share_triangle .bdselect_share_inset{border-color:transparent transparent #f6f6f6 transparent}.bdselect_share_head{width:100%;background:#f4f4f4;height:28px}.bdselect_share_head span{color:#626262;line-height:28px;margin-left:5px;font-weight:bold;font-size:12px}.bdselect_share_content{background:#fff}.bdselect_share_dialog_close{background:url("../img/share/selectshare_close.png?v=1b34ee88.png") no-repeat 0 0;width:12px;height:12px;position:absolute;top:8px;right:10px;display:block;text-decoration:none;cursor:pointer}.bdselect_share_dialog_search{position:absolute;top:0;right:30px;display:block;text-decoration:none;cursor:pointer;line-height:28px}.bdselect_share_dialog_search:hover{text-decoration:none}.bdselect_share_dialog_search_i{background:url(../img/share/share-search-icon.png) no-repeat 0 center;width:12px;height:28px;display:inline-block;vertical-align:top}.bdselect_share_dialog_search_span{display:inline-block;vertical-align:top}.bdselect_share_partners{float:left} \ No newline at end of file diff --git a/api/css/share_popup.css b/api/css/share_popup.css new file mode 100644 index 0000000..7441094 --- /dev/null +++ b/api/css/share_popup.css @@ -0,0 +1 @@ +.bdshare_dialog_bg{position:fixed;_position:absolute;width:312px;height:341px;z-index:9999;overflow:hidden;display:none}.bdshare_dialog_box{position:fixed;_position:absolute;width:300px;border:6px solid #8F8F8F;height:329px;z-index:10000;text-align:left;box-shadow:0 0 7px #aaa;-webkit-box-shadow:0 0 7px #aaa;-moz-box-shadow:0 0 7px #aaa;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;overflow:hidden;background:#f6f6f6;display:none}.bdshare_dialog_top,.bdshare_popup_top{height:28px;color:#626262;overflow:hidden;font-weight:bold;font-size:14px;line-height:28px;padding:0 5px}.bdshare_dialog_close{width:22px;height:23px;background:url(../img/share/pop_c.gif?v=2d7108c8.gif) no-repeat 0 0;float:right;display:block;margin-top:2px}.bdshare_dialog_list{margin:0;padding:10px 0;height:256px;background:#fff;overflow:auto;overflow-x:hidden}.bdshare_dialog_bottom{height:25px;line-height:25px;font-size:12px;text-align:right;padding:0 10px}.bdshare_dialog_bottom a{color:#999;text-decoration:none}.bdshare_dialog_bottom a:hover{color:#00a9e0}.bdshare_dialog_list li{float:left;width:130px;padding:2px;margin-left:6px;_margin-left:3px;height:28px;overflow:hidden;list-style:none}.bdshare_dialog_list a,.bdshare_popup_list a,.bdshare_popup_bottom a{color:#565656;font:12px '宋体';display:block;background-image:url(../img/share/icons_0_16.png?v=ba7acbd3.png);background-repeat:no-repeat;padding:5px 0 5px 28px;text-decoration:none;border:1px solid #fff;line-height:18px}.bdshare_dialog_list a:hover,.bdshare_popup_list a:hover{background-color:#f3f3f3;border:1px solid #eee;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.popup_qzone{background-position:4px -47px}.popup_tsina{background-position:4px -99px}.popup_renren{background-position:4px -203px}.popup_tqq{background-position:4px -255px}.popup_kaixin001{background-position:4px -307px}.popup_tqf{background-position:4px -359px}.popup_hi{background-position:4px -411px}.popup_douban{background-position:4px -463px}.popup_tieba{background-position:4px -723px}.popup_hx{background-position:4px -983px}.popup_fx{background-position:4px -1035px}.popup_ty{background-position:4px -1191px}.popup_fbook{background-position:4px -1347px}.popup_twi{background-position:4px -1399px}.popup_linkedin{background-position:4px -1659px}.popup_meilishuo{background-position:4px -1711px}.popup_mogujie{background-position:4px -1763px}.popup_diandian{background-position:4px -1815px}.popup_huaban{background-position:4px -1867px}.popup_duitang{background-position:4px -2023px}.popup_youdao{background-position:4px -2075px}.popup_wealink{background-position:4px -2179px}.popup_copy{background-position:4px -2283px}.popup_mail{background-position:4px -2335px}.popup_print{background-position:4px -2387px}.popup_mshare{background-position:4px -2439px}.popup_sqq{background-position:4px -2647px}.popup_sdo{background-position:4px -2699px}.popup_qingbiji{background-position:4px -2751px}.popup_people{background-position:4px -2803px}.popup_xinhua{background-position:4px -2907px}.popup_yaolan{background-position:4px -2959px}.popup_thx{background-position:4px -2491px}.popup_bdhome{background-position:4px -151px}.popup_bdxc{background-position:4px -2543px}.popup_more{background-position:4px 5px}.popup_bdysc{background-position:4px -3063px}.popup_isohu{background-position:4px -3011px}.popup_ibaidu{background-position:4px -3115px}.popup_weixin{background-position:4px -1607px}.popup_iguba{background-position:4px -1295px}.popup_h163{background-position:4px -3156px}.bdshare_popup_bg{position:absolute;display:none;z-index:9997}.bdshare_popup_box{position:absolute;display:none;z-index:9998;text-align:left;background:#f6f6f6;border:solid 1px #e9e9e9}.bdshare_popup_list{margin:0;padding:5px 0;background:#fff;overflow:auto;overflow-x:hidden;_zoom:1}.bdshare_popup_bottom{clear:both;height:30px;font-size:12px;text-align:right;padding:0 10px}.bdshare_popup_bottom a{color:#999;text-decoration:none;border:0;float:right}.bdshare_popup_bottom a:hover{color:#00a9e0}.bdshare_popup_list li{float:left;width:100px;padding:2px;margin-left:6px;_margin-left:3px;height:28px;overflow:hidden;list-style:none}.popup_tsohu,.popup_tfh,.popup_baidu,.popup_qq,.popup_msn,.popup_sohu,.popup_qy,.popup_leho,.popup_ifeng,.popup_ff,.popup_tuita,.popup_ms,.popup_deli,.popup_s51,.popup_t163,.popup_share189,.popup_xg,.popup_s139{display:none}.bdshare_dialog_box,.bdshare_dialog_list a:hover,.bdshare_popup_list a:hover{-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;}.popup_evernotecn{background-position:4px -3180px;} \ No newline at end of file diff --git a/api/css/share_style0_16.css b/api/css/share_style0_16.css new file mode 100644 index 0000000..3a4cd70 --- /dev/null +++ b/api/css/share_style0_16.css @@ -0,0 +1 @@ +.bdshare-button-style0-16 .bds_qzone{background-position:0 -52px}.bdshare-button-style0-16 .bds_tsina{background-position:0 -104px}.bdshare-button-style0-16 .bds_renren{background-position:0 -208px}.bdshare-button-style0-16 .bds_tqq{background-position:0 -260px}.bdshare-button-style0-16 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style0-16 .bds_tqf{background-position:0 -364px}.bdshare-button-style0-16 .bds_hi{background-position:0 -416px}.bdshare-button-style0-16 .bds_douban{background-position:0 -468px}.bdshare-button-style0-16 .bds_tieba{background-position:0 -728px}.bdshare-button-style0-16 .bds_hx{background-position:0 -988px}.bdshare-button-style0-16 .bds_fx{background-position:0 -1040px}.bdshare-button-style0-16 .bds_ty{background-position:0 -1196px}.bdshare-button-style0-16 .bds_fbook{background-position:0 -1352px}.bdshare-button-style0-16 .bds_twi{background-position:0 -1404px}.bdshare-button-style0-16 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style0-16 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style0-16 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style0-16 .bds_diandian{background-position:0 -1820px}.bdshare-button-style0-16 .bds_huaban{background-position:0 -1872px}.bdshare-button-style0-16 .bds_duitang{background-position:0 -2028px}.bdshare-button-style0-16 .bds_youdao{background-position:0 -2080px}.bdshare-button-style0-16 .bds_wealink{background-position:0 -2184px}.bdshare-button-style0-16 .bds_copy{background-position:0 -2288px}.bdshare-button-style0-16 .bds_mail{background-position:0 -2340px}.bdshare-button-style0-16 .bds_print{background-position:0 -2392px}.bdshare-button-style0-16 .bds_mshare{background-position:0 -2444px}.bdshare-button-style0-16 .bds_sqq{background-position:0 -2652px}.bdshare-button-style0-16 .bds_sdo{background-position:0 -2704px}.bdshare-button-style0-16 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style0-16 .bds_people{background-position:0 -2808px}.bdshare-button-style0-16 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style0-16 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style0-16 .bds_thx{background-position:0 -2496px}.bdshare-button-style0-16 .bds_bdhome{background-position:0 -156px}.bdshare-button-style0-16 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style0-16 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style0-16 .bds_isohu{background-position:0 -3016px}.bdshare-button-style0-16 .bds_more{background-position:0 0}.bdshare-button-style0-16 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style0-16 .bds_weixin{background-position:0 -1612px}.bdshare-button-style0-16 .bds_iguba{background-position:0 -1300px}.bdshare-button-style0-16 .bds_h163{background-position:0 -3160px}.bdshare-button-style0-16{zoom:1}.bdshare-button-style0-16:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style0-16 a,.bdshare-button-style0-16 .bds_more{float:left;font-size:12px;padding-left:17px;line-height:16px;height:16px;background-image:url(../img/share/icons_0_16.png?v=ba7acbd3.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0}.bdshare-button-style0-16 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style0-16 .bds_more{color:#333;float:left}.bdshare-button-style0-16 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -30px;width:42px;height:16px;padding:0;margin:6px 0 0;text-align:center}.bdshare-button-style0-16 .bds_count:hover{background-position:-42px -30px}.bdshare-button-style0-16 .bds_button_image{float:left;cursor:pointer;margin:6px 6px 0 0;height:auto;padding:0}.bdshare-button-style0-16 .bdshare_button_count{background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:44px;height:24px;line-height:24px}.bdshare-button-style0-16 .bdshare_button_count:hover{background-position:-44px 0}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none}.bds_evernotecn{background-position:0 -3184px} \ No newline at end of file diff --git a/api/css/share_style0_24.css b/api/css/share_style0_24.css new file mode 100644 index 0000000..5fcc6b4 --- /dev/null +++ b/api/css/share_style0_24.css @@ -0,0 +1,27 @@ +/* share */ +.bdsharebuttonbox{line-height:30px;height:30px;overflow:hidden;vertical-align:top} +.bdsharebuttonbox a,.bdsharebuttonbox span{width:24px;height:24px;display:inline-block;margin-right:5px;background:url(../img/share.png) no-repeat;cursor:pointer;margin-bottom:0;opacity:.8} +.bdsharebuttonbox a:hover{opacity:1} +.bdsharebuttonbox a.bds_tsina{background-position:0 0} +.bdsharebuttonbox a.bds_weixin{background-position:0 -33px} +.bdsharebuttonbox a.bds_qzone{background-position:0 -65px} +.bdsharebuttonbox a.bds_sqq{background-position:0 -98px} +.bdsharebuttonbox a.bds_renren{background-position:0 -131px} +.bdsharebuttonbox a.bds_tqq{background-position:0 -163px} +.bdsharebuttonbox a.bds_diandian{background-position:0 -356px} +.bdsharebuttonbox a.bds_youdao{background-position:0 -388px} +.bdsharebuttonbox a.bds_ty{background-position:0 -420px} +.bdsharebuttonbox a.bds_fbook{background-position:0 -452px} +.bdsharebuttonbox a.bds_twi{background-position:0 -484px} +.bdsharebuttonbox a.bds_kaixin001{background-position:0 -228px} +.bdsharebuttonbox a.bds_taobao{background-position:0 -196px} +.bdsharebuttonbox a.bds_douban{background-position:0 -324px} +.bdsharebuttonbox a.bds_mail{background-position:0 -548px} +.bdsharebuttonbox a.bds_copy{background-position:0 -516px} +.bdsharebuttonbox a.bds_bdhome{background-position:0 -292px} +.bdsharebuttonbox a.bds_tqf{background-position:0 -260px} +.bdsharebuttonbox a.bds_more{background-position:0 -577px} +.bdsharebuttonbox span.bds_shere{background-position:0 -606px} +.bdsharebuttonbox a.bds_count{background:0 0;width:auto;height:auto;position:relative;top:-6px} +.bdsharebuttonbox a.bds_count{margin:0 2px} +.bdsharebuttonbox a.bds_btn{ line-height: initial; width: auto; height: auto; margin: 0; background: #f5f5f5; opacity: 1;} diff --git a/api/css/share_style0_32.css b/api/css/share_style0_32.css new file mode 100644 index 0000000..59a851f --- /dev/null +++ b/api/css/share_style0_32.css @@ -0,0 +1 @@ +.bdshare-button-style0-32 .bds_qzone{background-position:0 -52px}.bdshare-button-style0-32 .bds_tsina{background-position:0 -104px}.bdshare-button-style0-32 .bds_renren{background-position:0 -208px}.bdshare-button-style0-32 .bds_tqq{background-position:0 -260px}.bdshare-button-style0-32 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style0-32 .bds_tqf{background-position:0 -364px}.bdshare-button-style0-32 .bds_hi{background-position:0 -416px}.bdshare-button-style0-32 .bds_douban{background-position:0 -468px}.bdshare-button-style0-32 .bds_tieba{background-position:0 -728px}.bdshare-button-style0-32 .bds_hx{background-position:0 -988px}.bdshare-button-style0-32 .bds_fx{background-position:0 -1040px}.bdshare-button-style0-32 .bds_ty{background-position:0 -1196px}.bdshare-button-style0-32 .bds_fbook{background-position:0 -1352px}.bdshare-button-style0-32 .bds_twi{background-position:0 -1404px}.bdshare-button-style0-32 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style0-32 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style0-32 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style0-32 .bds_diandian{background-position:0 -1820px}.bdshare-button-style0-32 .bds_huaban{background-position:0 -1872px}.bdshare-button-style0-32 .bds_duitang{background-position:0 -2028px}.bdshare-button-style0-32 .bds_youdao{background-position:0 -2080px}.bdshare-button-style0-32 .bds_wealink{background-position:0 -2184px}.bdshare-button-style0-32 .bds_copy{background-position:0 -2288px}.bdshare-button-style0-32 .bds_mail{background-position:0 -2340px}.bdshare-button-style0-32 .bds_print{background-position:0 -2392px}.bdshare-button-style0-32 .bds_mshare{background-position:0 -2444px}.bdshare-button-style0-32 .bds_sqq{background-position:0 -2652px}.bdshare-button-style0-32 .bds_sdo{background-position:0 -2704px}.bdshare-button-style0-32 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style0-32 .bds_people{background-position:0 -2808px}.bdshare-button-style0-32 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style0-32 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style0-32 .bds_thx{background-position:0 -2496px}.bdshare-button-style0-32 .bds_bdhome{background-position:0 -156px}.bdshare-button-style0-32 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style0-32 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style0-32 .bds_isohu{background-position:0 -3016px}.bdshare-button-style0-32 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style0-32 .bds_weixin{background-position:0 -1612px}.bdshare-button-style0-32 .bds_iguba{background-position:0 -1300px}.bdshare-button-style0-32 .bds_h163{background-position:0 -3176px}.bdshare-button-style0-32{zoom:1}.bdshare-button-style0-32:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style0-32 a{float:left;width:32px;line-height:32px;height:32px;background-image:url(../img/share/icons_0_32.png?v=dc944784.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0;text-indent:-100em;overflow:hidden;color:#3a8ceb}.bdshare-button-style0-32 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style0-32 .bds_more{color:#333}.bdshare-button-style0-32 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -60px;width:48px;height:32px;line-height:32px;padding:0;text-align:center;text-indent:0}.bdshare-button-style0-32 .bds_count:hover{background-position:-48px -60px}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style1_16.css b/api/css/share_style1_16.css new file mode 100644 index 0000000..1fd30be --- /dev/null +++ b/api/css/share_style1_16.css @@ -0,0 +1 @@ +.bdshare-button-style1-16 .bds_qzone{background-position:0 -52px}.bdshare-button-style1-16 .bds_tsina{background-position:0 -104px}.bdshare-button-style1-16 .bds_renren{background-position:0 -208px}.bdshare-button-style1-16 .bds_tqq{background-position:0 -260px}.bdshare-button-style1-16 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style1-16 .bds_tqf{background-position:0 -364px}.bdshare-button-style1-16 .bds_hi{background-position:0 -416px}.bdshare-button-style1-16 .bds_douban{background-position:0 -468px}.bdshare-button-style1-16 .bds_tieba{background-position:0 -728px}.bdshare-button-style1-16 .bds_hx{background-position:0 -988px}.bdshare-button-style1-16 .bds_fx{background-position:0 -1040px}.bdshare-button-style1-16 .bds_ty{background-position:0 -1196px}.bdshare-button-style1-16 .bds_fbook{background-position:0 -1352px}.bdshare-button-style1-16 .bds_twi{background-position:0 -1404px}.bdshare-button-style1-16 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style1-16 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style1-16 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style1-16 .bds_diandian{background-position:0 -1820px}.bdshare-button-style1-16 .bds_huaban{background-position:0 -1872px}.bdshare-button-style1-16 .bds_duitang{background-position:0 -2028px}.bdshare-button-style1-16 .bds_youdao{background-position:0 -2080px}.bdshare-button-style1-16 .bds_wealink{background-position:0 -2184px}.bdshare-button-style1-16 .bds_copy{background-position:0 -2288px}.bdshare-button-style1-16 .bds_mail{background-position:0 -2340px}.bdshare-button-style1-16 .bds_print{background-position:0 -2392px}.bdshare-button-style1-16 .bds_mshare{background-position:0 -2444px}.bdshare-button-style1-16 .bds_sqq{background-position:0 -2652px}.bdshare-button-style1-16 .bds_sdo{background-position:0 -2704px}.bdshare-button-style1-16 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style1-16 .bds_people{background-position:0 -2808px}.bdshare-button-style1-16 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style1-16 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style1-16 .bds_thx{background-position:0 -2496px}.bdshare-button-style1-16 .bds_bdhome{background-position:0 -156px}.bdshare-button-style1-16 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style1-16 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style1-16 .bds_isohu{background-position:0 -3016px}.bdshare-button-style1-16 .bds_more{background-position:0 0}.bdshare-button-style1-16 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style1-16 .bds_weixin{background-position:0 -1612px}.bdshare-button-style1-16 .bds_iguba{background-position:0 -1300px}.bdshare-button-style1-16 .bds_h163{background-position:0 -3160px}.bdshare-button-style1-16 .bds_evernotecn{background-position:0 -3195px}.bdshare-button-style1-16{zoom:1}.bdshare-button-style1-16:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style1-16 a,.bdshare-button-style1-16 .bds_more{float:left;font-size:12px;padding-left:17px;line-height:16px;height:16px;background-image:url(../img/share/icons_1_16.png?v=774cfc30.png);_background-image:url(../img/share/icons_1_16_debase.png?v=a2277903.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0}.bdshare-button-style1-16 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style1-16 .bds_more{color:#333;float:left}.bdshare-button-style1-16 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -30px;width:42px;height:16px;padding:0;margin:6px 0 0;text-align:center}.bdshare-button-style1-16 .bds_count:hover{background-position:-42px -30px}.bdshare-button-style1-16 .bds_button_image{float:left;cursor:pointer;margin:6px 6px 0 0;height:auto;padding:0}.bdshare-button-style1-16 .bdshare_button_count{background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:44px;height:24px;line-height:24px}.bdshare-button-style1-16 .bdshare_button_count:hover{background-position:-44px 0}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style1_24.css b/api/css/share_style1_24.css new file mode 100644 index 0000000..1c4f802 --- /dev/null +++ b/api/css/share_style1_24.css @@ -0,0 +1 @@ +.bdshare-button-style1-24 .bds_qzone{background-position:0 -52px}.bdshare-button-style1-24 .bds_tsina{background-position:0 -104px}.bdshare-button-style1-24 .bds_renren{background-position:0 -208px}.bdshare-button-style1-24 .bds_tqq{background-position:0 -260px}.bdshare-button-style1-24 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style1-24 .bds_tqf{background-position:0 -364px}.bdshare-button-style1-24 .bds_hi{background-position:0 -416px}.bdshare-button-style1-24 .bds_douban{background-position:0 -468px}.bdshare-button-style1-24 .bds_tieba{background-position:0 -728px}.bdshare-button-style1-24 .bds_hx{background-position:0 -988px}.bdshare-button-style1-24 .bds_fx{background-position:0 -1040px}.bdshare-button-style1-24 .bds_ty{background-position:0 -1196px}.bdshare-button-style1-24 .bds_fbook{background-position:0 -1352px}.bdshare-button-style1-24 .bds_twi{background-position:0 -1404px}.bdshare-button-style1-24 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style1-24 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style1-24 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style1-24 .bds_diandian{background-position:0 -1820px}.bdshare-button-style1-24 .bds_huaban{background-position:0 -1872px}.bdshare-button-style1-24 .bds_duitang{background-position:0 -2028px}.bdshare-button-style1-24 .bds_youdao{background-position:0 -2080px}.bdshare-button-style1-24 .bds_wealink{background-position:0 -2184px}.bdshare-button-style1-24 .bds_copy{background-position:0 -2288px}.bdshare-button-style1-24 .bds_mail{background-position:0 -2340px}.bdshare-button-style1-24 .bds_print{background-position:0 -2392px}.bdshare-button-style1-24 .bds_mshare{background-position:0 -2444px}.bdshare-button-style1-24 .bds_sqq{background-position:0 -2652px}.bdshare-button-style1-24 .bds_sdo{background-position:0 -2704px}.bdshare-button-style1-24 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style1-24 .bds_people{background-position:0 -2808px}.bdshare-button-style1-24 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style1-24 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style1-24 .bds_thx{background-position:0 -2496px}.bdshare-button-style1-24 .bds_bdhome{background-position:0 -156px}.bdshare-button-style1-24 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style1-24 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style1-24 .bds_isohu{background-position:0 -3016px}.bdshare-button-style1-24 .bds_more{background-position:0 0}.bdshare-button-style1-24 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style1-24 .bds_weixin{background-position:0 -1612px}.bdshare-button-style1-24 .bds_iguba{background-position:0 -1300px}.bdshare-button-style1-24 .bds_h163{background-position:0 -3168px}.bdshare-button-style1-24 .bds_evernotecn{background-position:0 -3211px}.bdshare-button-style1-24{zoom:1}.bdshare-button-style1-24:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style1-24 a,.bdshare-button-style1-24 .bds_more{float:left;font-size:18px;padding-left:25px;line-height:24px;height:24px;background-image:url(../img/share/icons_1_24.png?v=37be22f4.png);_background-image:url(../img/share/icons_1_24_debase.png?v=37be22f4.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0}.bdshare-button-style1-24 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style1-24 .bds_more{color:#333;float:left}.bdshare-button-style1-24 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:45px;height:24px;padding:0;margin:6px 0 0;text-align:center}.bdshare-button-style1-24 .bds_count:hover{background-position:-44px 0}.bdshare-button-style1-24 .bds_button_image{float:left;cursor:pointer;margin:6px 6px 0 0;height:auto;padding:0}.bdshare-button-style1-24 .bdshare_button_count{background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:44px;height:24px;line-height:24px}.bdshare-button-style1-24 .bdshare_button_count:hover{background-position:-44px 0}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style1_32.css b/api/css/share_style1_32.css new file mode 100644 index 0000000..3b1380b --- /dev/null +++ b/api/css/share_style1_32.css @@ -0,0 +1 @@ +.bdshare-button-style1-32 .bds_qzone{background-position:0 -52px}.bdshare-button-style1-32 .bds_tsina{background-position:0 -104px}.bdshare-button-style1-32 .bds_renren{background-position:0 -208px}.bdshare-button-style1-32 .bds_tqq{background-position:0 -260px}.bdshare-button-style1-32 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style1-32 .bds_tqf{background-position:0 -364px}.bdshare-button-style1-32 .bds_hi{background-position:0 -416px}.bdshare-button-style1-32 .bds_douban{background-position:0 -468px}.bdshare-button-style1-32 .bds_tieba{background-position:0 -728px}.bdshare-button-style1-32 .bds_hx{background-position:0 -988px}.bdshare-button-style1-32 .bds_fx{background-position:0 -1040px}.bdshare-button-style1-32 .bds_ty{background-position:0 -1196px}.bdshare-button-style1-32 .bds_fbook{background-position:0 -1352px}.bdshare-button-style1-32 .bds_twi{background-position:0 -1404px}.bdshare-button-style1-32 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style1-32 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style1-32 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style1-32 .bds_diandian{background-position:0 -1820px}.bdshare-button-style1-32 .bds_huaban{background-position:0 -1872px}.bdshare-button-style1-32 .bds_duitang{background-position:0 -2028px}.bdshare-button-style1-32 .bds_youdao{background-position:0 -2080px}.bdshare-button-style1-32 .bds_wealink{background-position:0 -2184px}.bdshare-button-style1-32 .bds_copy{background-position:0 -2288px}.bdshare-button-style1-32 .bds_mail{background-position:0 -2340px}.bdshare-button-style1-32 .bds_print{background-position:0 -2392px}.bdshare-button-style1-32 .bds_mshare{background-position:0 -2444px}.bdshare-button-style1-32 .bds_sqq{background-position:0 -2652px}.bdshare-button-style1-32 .bds_sdo{background-position:0 -2704px}.bdshare-button-style1-32 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style1-32 .bds_people{background-position:0 -2808px}.bdshare-button-style1-32 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style1-32 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style1-32 .bds_thx{background-position:0 -2496px}.bdshare-button-style1-32 .bds_bdhome{background-position:0 -156px}.bdshare-button-style1-32 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style1-32 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style1-32 .bds_isohu{background-position:0 -3016px}.bdshare-button-style1-32 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style1-32 .bds_weixin{background-position:0 -1612px}.bdshare-button-style1-32 .bds_iguba{background-position:0 -1300px}.bdshare-button-style1-32 .bds_h163{background-position:0 -3176px}.bdshare-button-style1-32 .bds_evernotecn{background-position:0 -3222px}.bdshare-button-style1-32{zoom:1}.bdshare-button-style1-32:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style1-32 a{float:left;width:32px;line-height:32px;height:32px;background-image:url(../img/share/icons_1_32.png?v=83ba0265.png);_background-image:url(../img/share/icons_1_32_debase.png?v=0de29fb2.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0;text-indent:-100em;overflow:hidden;color:#3a8ceb}.bdshare-button-style1-32 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style1-32 .bds_more{color:#333}.bdshare-button-style1-32 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -60px;width:48px;height:32px;line-height:32px;padding:0;text-align:center;text-indent:0}.bdshare-button-style1-32 .bds_count:hover{background-position:-48px -60px}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style2.css b/api/css/share_style2.css new file mode 100644 index 0000000..06397c4 --- /dev/null +++ b/api/css/share_style2.css @@ -0,0 +1 @@ +.bds_qzone{background-position:0 -52px}.bds_tsina{background-position:0 -104px}.bds_renren{background-position:0 -208px}.bds_tqq{background-position:0 -260px}.bds_kaixin001{background-position:0 -312px}.bds_tqf{background-position:0 -364px}.bds_hi{background-position:0 -416px}.bds_douban{background-position:0 -468px}.bds_tieba{background-position:0 -728px}.bds_hx{background-position:0 -988px}.bds_fx{background-position:0 -1040px}.bds_ty{background-position:0 -1196px}.bds_fbook{background-position:0 -1352px}.bds_twi{background-position:0 -1404px}.bds_linkedin{background-position:0 -1664px}.bds_meilishuo{background-position:0 -1716px}.bds_mogujie{background-position:0 -1768px}.bds_diandian{background-position:0 -1820px}.bds_huaban{background-position:0 -1872px}.bds_duitang{background-position:0 -2028px}.bds_youdao{background-position:0 -2080px}.bds_wealink{background-position:0 -2184px}.bds_copy{background-position:0 -2287px}.bds_mail{background-position:0 -2339px}.bds_print{background-position:0 -2391px}.bds_mshare{background-position:0 -2443px}.bds_sqq{background-position:0 -2651px}.bds_sdo{background-position:0 -2703px}.bds_qingbiji{background-position:0 -2755px}.bds_people{background-position:0 -2807px}.bds_xinhua{background-position:0 -2911px}.bds_yaolan{background-position:0 -2963px}.bds_thx{background-position:0 -2495px}.bds_bdhome{background-position:0 -156px}.bds_bdxc{background-position:0 -2547px}.bds_h163{background-position:0 -2990px}.bdshare-button-style2{zoom:1;padding:5px 0}.bdshare-button-style2:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style2 a{float:left;font-size:12px;padding-left:17px;line-height:16px;height:16px;background-image:url(../img/share/icons_2.png?v=cd8d5d1e.png);background-repeat:no-repeat;cursor:pointer;margin-right:3px;color:#3a8ceb}.bdshare-button-style2 a:hover{color:#333}.bdshare-button-style2 .bds_more{color:#333}.bdshare-button-style2 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -30px;width:42px;height:16px;padding:0;text-align:center}.bdshare-button-style2 .bds_count:hover{background-position:-42px -30px}.bds_tsohu..bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style2_16.css b/api/css/share_style2_16.css new file mode 100644 index 0000000..42e843e --- /dev/null +++ b/api/css/share_style2_16.css @@ -0,0 +1 @@ +.bdshare-button-style2-16 .bds_qzone{background-position:0 -52px}.bdshare-button-style2-16 .bds_tsina{background-position:0 -104px}.bdshare-button-style2-16 .bds_renren{background-position:0 -208px}.bdshare-button-style2-16 .bds_tqq{background-position:0 -260px}.bdshare-button-style2-16 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style2-16 .bds_tqf{background-position:0 -364px}.bdshare-button-style2-16 .bds_hi{background-position:0 -416px}.bdshare-button-style2-16 .bds_douban{background-position:0 -468px}.bdshare-button-style2-16 .bds_tieba{background-position:0 -728px}.bdshare-button-style2-16 .bds_hx{background-position:0 -988px}.bdshare-button-style2-16 .bds_fx{background-position:0 -1040px}.bdshare-button-style2-16 .bds_ty{background-position:0 -1196px}.bdshare-button-style2-16 .bds_fbook{background-position:0 -1352px}.bdshare-button-style2-16 .bds_twi{background-position:0 -1404px}.bdshare-button-style2-16 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style2-16 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style2-16 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style2-16 .bds_diandian{background-position:0 -1820px}.bdshare-button-style2-16 .bds_huaban{background-position:0 -1872px}.bdshare-button-style2-16 .bds_duitang{background-position:0 -2028px}.bdshare-button-style2-16 .bds_youdao{background-position:0 -2080px}.bdshare-button-style2-16 .bds_wealink{background-position:0 -2184px}.bdshare-button-style2-16 .bds_copy{background-position:0 -2288px}.bdshare-button-style2-16 .bds_mail{background-position:0 -2340px}.bdshare-button-style2-16 .bds_print{background-position:0 -2392px}.bdshare-button-style2-16 .bds_mshare{background-position:0 -2444px}.bdshare-button-style2-16 .bds_sqq{background-position:0 -2652px}.bdshare-button-style2-16 .bds_sdo{background-position:0 -2704px}.bdshare-button-style2-16 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style2-16 .bds_people{background-position:0 -2808px}.bdshare-button-style2-16 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style2-16 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style2-16 .bds_thx{background-position:0 -2496px}.bdshare-button-style2-16 .bds_bdhome{background-position:0 -156px}.bdshare-button-style2-16 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style2-16 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style2-16 .bds_isohu{background-position:0 -3016px}.bdshare-button-style2-16 .bds_more{background-position:0 0}.bdshare-button-style2-16 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style2-16 .bds_weixin{background-position:0 -1612px}.bdshare-button-style2-16 .bds_iguba{background-position:0 -1300px}.bdshare-button-style2-16 .bds_h163{background-position:0 -3156px}.bdshare-button-style2-16 .bds_evernotecn{background-position:0 -3192px}.bdshare-button-style2-16{zoom:1}.bdshare-button-style2-16:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style2-16 a,.bdshare-button-style2-16 .bds_more{float:left;font-size:12px;padding-left:17px;line-height:16px;height:16px;background-image:url(../img/share/icons_2_16.png?v=81508962.png);_background-image:url(../img/share/icons_2_16_debase.png?v=43bedd85.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0;color:#999}.bdshare-button-style2-16 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style2-16 .bds_more{color:#333;float:left}.bdshare-button-style2-16 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -30px;width:42px;height:16px;padding:0;margin:6px 0 0;text-align:center}.bdshare-button-style2-16 .bds_count:hover{background-position:-42px -30px}.bdshare-button-style2-16 .bds_button_image{float:left;cursor:pointer;margin:6px 6px 0 0;height:auto;padding:0}.bdshare-button-style2-16 .bdshare_button_count{background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:44px;height:24px;line-height:24px}.bdshare-button-style2-16 .bdshare_button_count:hover{background-position:-44px 0}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style2_24.css b/api/css/share_style2_24.css new file mode 100644 index 0000000..60da95b --- /dev/null +++ b/api/css/share_style2_24.css @@ -0,0 +1 @@ +.bdshare-button-style2-24 .bds_qzone{background-position:0 -52px}.bdshare-button-style2-24 .bds_tsina{background-position:0 -104px}.bdshare-button-style2-24 .bds_renren{background-position:0 -208px}.bdshare-button-style2-24 .bds_tqq{background-position:0 -260px}.bdshare-button-style2-24 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style2-24 .bds_tqf{background-position:0 -364px}.bdshare-button-style2-24 .bds_hi{background-position:0 -416px}.bdshare-button-style2-24 .bds_douban{background-position:0 -468px}.bdshare-button-style2-24 .bds_tieba{background-position:0 -728px}.bdshare-button-style2-24 .bds_hx{background-position:0 -988px}.bdshare-button-style2-24 .bds_fx{background-position:0 -1040px}.bdshare-button-style2-24 .bds_ty{background-position:0 -1196px}.bdshare-button-style2-24 .bds_fbook{background-position:0 -1352px}.bdshare-button-style2-24 .bds_twi{background-position:0 -1404px}.bdshare-button-style2-24 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style2-24 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style2-24 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style2-24 .bds_diandian{background-position:0 -1820px}.bdshare-button-style2-24 .bds_huaban{background-position:0 -1872px}.bdshare-button-style2-24 .bds_duitang{background-position:0 -2028px}.bdshare-button-style2-24 .bds_youdao{background-position:0 -2080px}.bdshare-button-style2-24 .bds_wealink{background-position:0 -2184px}.bdshare-button-style2-24 .bds_copy{background-position:0 -2288px}.bdshare-button-style2-24 .bds_mail{background-position:0 -2340px}.bdshare-button-style2-24 .bds_print{background-position:0 -2392px}.bdshare-button-style2-24 .bds_mshare{background-position:0 -2444px}.bdshare-button-style2-24 .bds_sqq{background-position:0 -2652px}.bdshare-button-style2-24 .bds_sdo{background-position:0 -2704px}.bdshare-button-style2-24 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style2-24 .bds_people{background-position:0 -2808px}.bdshare-button-style2-24 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style2-24 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style2-24 .bds_thx{background-position:0 -2496px}.bdshare-button-style2-24 .bds_bdhome{background-position:0 -156px}.bdshare-button-style2-24 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style2-24 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style2-24 .bds_isohu{background-position:0 -3016px}.bdshare-button-style2-24 .bds_more{background-position:0 0}.bdshare-button-style2-24 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style2-24 .bds_weixin{background-position:0 -1612px}.bdshare-button-style2-24 .bds_iguba{background-position:0 -1300px}.bdshare-button-style2-24 .bds_h163{background-position:0 -3168px}.bdshare-button-style2-24 .bds_evernotecn{background-position:0 -3214px}.bdshare-button-style2-24{zoom:1}.bdshare-button-style2-24:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style2-24 a,.bdshare-button-style2-24 .bds_more{float:left;font-size:18px;padding-left:25px;line-height:24px;height:24px;background-image:url(../img/share/icons_2_24.png?v=a64ca404.png);_background-image:url(../img/share/icons_2_24_debase.png?v=7dd3ca7f.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0;color:#999}.bdshare-button-style2-24 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style2-24 .bds_more{color:#333;float:left}.bdshare-button-style2-24 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:45px;height:24px;padding:0;margin:6px 0 0;text-align:center}.bdshare-button-style2-24 .bds_count:hover{background-position:-44px 0}.bdshare-button-style2-24 .bds_button_image{float:left;cursor:pointer;margin:6px 6px 0 0;height:auto;padding:0}.bdshare-button-style2-24 .bdshare_button_count{background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 0;width:44px;height:24px;line-height:24px}.bdshare-button-style2-24 .bdshare_button_count:hover{background-position:-44px 0}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style2_32.css b/api/css/share_style2_32.css new file mode 100644 index 0000000..4ed9fd2 --- /dev/null +++ b/api/css/share_style2_32.css @@ -0,0 +1 @@ +.bdshare-button-style2-32 .bds_qzone{background-position:0 -52px}.bdshare-button-style2-32 .bds_tsina{background-position:0 -104px}.bdshare-button-style2-32 .bds_renren{background-position:0 -208px}.bdshare-button-style2-32 .bds_tqq{background-position:0 -260px}.bdshare-button-style2-32 .bds_kaixin001{background-position:0 -312px}.bdshare-button-style2-32 .bds_tqf{background-position:0 -364px}.bdshare-button-style2-32 .bds_hi{background-position:0 -416px}.bdshare-button-style2-32 .bds_douban{background-position:0 -468px}.bdshare-button-style2-32 .bds_tieba{background-position:0 -728px}.bdshare-button-style2-32 .bds_hx{background-position:0 -988px}.bdshare-button-style2-32 .bds_fx{background-position:0 -1040px}.bdshare-button-style2-32 .bds_ty{background-position:0 -1196px}.bdshare-button-style2-32 .bds_fbook{background-position:0 -1352px}.bdshare-button-style2-32 .bds_twi{background-position:0 -1404px}.bdshare-button-style2-32 .bds_linkedin{background-position:0 -1664px}.bdshare-button-style2-32 .bds_meilishuo{background-position:0 -1716px}.bdshare-button-style2-32 .bds_mogujie{background-position:0 -1768px}.bdshare-button-style2-32 .bds_diandian{background-position:0 -1820px}.bdshare-button-style2-32 .bds_huaban{background-position:0 -1872px}.bdshare-button-style2-32 .bds_duitang{background-position:0 -2028px}.bdshare-button-style2-32 .bds_youdao{background-position:0 -2080px}.bdshare-button-style2-32 .bds_wealink{background-position:0 -2184px}.bdshare-button-style2-32 .bds_copy{background-position:0 -2288px}.bdshare-button-style2-32 .bds_mail{background-position:0 -2340px}.bdshare-button-style2-32 .bds_print{background-position:0 -2392px}.bdshare-button-style2-32 .bds_mshare{background-position:0 -2444px}.bdshare-button-style2-32 .bds_sqq{background-position:0 -2652px}.bdshare-button-style2-32 .bds_sdo{background-position:0 -2704px}.bdshare-button-style2-32 .bds_qingbiji{background-position:0 -2756px}.bdshare-button-style2-32 .bds_people{background-position:0 -2808px}.bdshare-button-style2-32 .bds_xinhua{background-position:0 -2912px}.bdshare-button-style2-32 .bds_yaolan{background-position:0 -2964px}.bdshare-button-style2-32 .bds_thx{background-position:0 -2496px}.bdshare-button-style2-32 .bds_bdhome{background-position:0 -156px}.bdshare-button-style2-32 .bds_bdxc{background-position:0 -2548px}.bdshare-button-style2-32 .bds_bdysc{background-position:0 -3068px}.bdshare-button-style2-32 .bds_isohu{background-position:0 -3016px}.bdshare-button-style2-32 .bds_ibaidu{background-position:0 -3120px}.bdshare-button-style2-32 .bds_weixin{background-position:0 -1612px}.bdshare-button-style2-32 .bds_iguba{background-position:0 -1300px}.bdshare-button-style2-32 .h163{background-position:0 -3176px}.bdshare-button-style2-32 .bds_evernotecn{background-position:0 -3229px}.bdshare-button-style2-32{zoom:1}.bdshare-button-style2-32:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style2-32 a{float:left;width:32px;line-height:32px;height:32px;background-image:url(../img/share/icons_2_32.png?v=1bc5c881.png);_background-image:url(../img/share/icons_2_32_debase.png?v=11466d62.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 6px 0;text-indent:-100em;overflow:hidden;color:#999}.bdshare-button-style2-32 a:hover{color:#333;opacity:.8;filter:alpha(opacity=80)}.bdshare-button-style2-32 .bds_more{color:#333}.bdshare-button-style2-32 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -60px;width:48px;height:32px;line-height:32px;padding:0;text-align:center;text-indent:0}.bdshare-button-style2-32 .bds_count:hover{background-position:-48px -60px}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/share_style4.css b/api/css/share_style4.css new file mode 100644 index 0000000..0bbdd2f --- /dev/null +++ b/api/css/share_style4.css @@ -0,0 +1 @@ +.bds_qzone{background-position:0 -52px}.bds_tsina{background-position:0 -104px}.bds_renren{background-position:0 -208px}.bds_tqq{background-position:0 -260px}.bds_kaixin001{background-position:0 -312px}.bds_tqf{background-position:0 -364px}.bds_hi{background-position:0 -416px}.bds_douban{background-position:0 -468px}.bds_tieba{background-position:0 -728px}.bds_hx{background-position:0 -988px}.bds_fx{background-position:0 -1040px}.bds_ty{background-position:0 -1196px}.bds_fbook{background-position:0 -1352px}.bds_twi{background-position:0 -1404px}.bds_zx{background-position:0 -1612px}.bds_linkedin{background-position:0 -1664px}.bds_meilishuo{background-position:0 -1716px}.bds_mogujie{background-position:0 -1768px}.bds_diandian{background-position:0 -1820px}.bds_huaban{background-position:0 -1872px}.bds_duitang{background-position:0 -2028px}.bds_youdao{background-position:0 -2080px}.bds_wealink{background-position:0 -2184px}.bds_copy{background-position:0 -2287px}.bds_mail{background-position:0 -2339px}.bds_print{background-position:0 -2391px}.bds_mshare{background-position:0 -2443px}.bds_sqq{background-position:0 -2651px}.bds_sdo{background-position:0 -2703px}.bds_qingbiji{background-position:0 -2755px}.bds_people{background-position:0 -2807px}.bds_xinhua{background-position:0 -2911px}.bds_yaolan{background-position:0 -2963px}.bds_thx{background-position:0 -2495px}.bds_bdhome{background-position:0 -156px}.bds_bdxc{background-position:0 -2547px}.bds_h163{background-position:0 -2469px}.bdshare-button-style4{zoom:1;padding:5px 0}.bdshare-button-style4:after{content:".";visibility:hidden;display:block;height:0;clear:both}.bdshare-button-style4 a{float:left;font-size:12px;padding-left:17px;line-height:16px;height:16px;background-image:url(../img/share/icons_4.png?v=eec1b34e.png);background-repeat:no-repeat;cursor:pointer;margin:6px 6px 0 0;color:#3a8ceb}.bdshare-button-style4 a:hover{color:#333}.bdshare-button-style4 .bds_more{color:#333}.bdshare-button-style4 .bds_count{color:#333;background:url(../img/share/sc.png?v=a970ff04.png) no-repeat 0 -30px;width:42px;height:16px;padding:0;text-align:center}.bdshare-button-style4 .bds_count:hover{background-position:-42px -30px}.bds_tsohu,.bds_tfh,.bds_baidu,.bds_qq,.bds_msn,.bds_sohu,.bds_qy,.bds_leho,.bds_ifeng,.bds_ff,.bds_tuita,.bds_ms,.bds_deli,.bds_s51,.bds_t163,.bds_share189,.bds_xg,.bds_s139{display:none} \ No newline at end of file diff --git a/api/css/slide_share.css b/api/css/slide_share.css new file mode 100644 index 0000000..34394f2 --- /dev/null +++ b/api/css/slide_share.css @@ -0,0 +1 @@ +.bdshare-slide-button-box{height:326px;position:fixed;overflow:visible}.bdshare-slide-button-box .bdshare-slide-button{width:24px;height:88px;display:block;position:absolute;top:58px}.bdshare-slide-style-r0 .bdshare-slide-button{background:url(../img/share/r0.gif?v=d9371706.gif) no-repeat 0 0}.bdshare-slide-style-r1 .bdshare-slide-button{background:url(../img/share/r1.gif?v=5668db67.gif) no-repeat 0 0}.bdshare-slide-style-r2 .bdshare-slide-button{background:url(../img/share/r2.gif?v=08b06973.gif) no-repeat 0 0}.bdshare-slide-style-r3 .bdshare-slide-button{background:url(../img/share/r3.gif?v=76e62e61.gif) no-repeat 0 0}.bdshare-slide-style-r4 .bdshare-slide-button{background:url(../img/share/r4.gif?v=1a3eaae1.gif) no-repeat 0 0}.bdshare-slide-style-r5 .bdshare-slide-button{background:url(../img/share/r5.gif?v=c90e5a12.gif) no-repeat 0 0}.bdshare-slide-style-r6 .bdshare-slide-button{background:url(../img/share/r6.gif?v=8af9306f.gif) no-repeat 0 0}.bdshare-slide-style-r7 .bdshare-slide-button{background:url(../img/share/r7.gif?v=053cdaac.gif) no-repeat 0 0}.bdshare-slide-style-r8 .bdshare-slide-button{background:url(../img/share/r8.gif?v=640a093b.gif) no-repeat 0 0}.bdshare-slide-style-l0 .bdshare-slide-button{background:url(../img/share/l0.gif?v=4e666e56.gif) no-repeat 0 0}.bdshare-slide-style-l1 .bdshare-slide-button{background:url(../img/share/l1.gif?v=3ffb4640.gif) no-repeat 0 0}.bdshare-slide-style-l2 .bdshare-slide-button{background:url(../img/share/l2.gif?v=47242a70.gif) no-repeat 0 0}.bdshare-slide-style-l3 .bdshare-slide-button{background:url(../img/share/l3.gif?v=78e2d043.gif) no-repeat 0 0}.bdshare-slide-style-l4 .bdshare-slide-button{background:url(../img/share/l4.gif?v=4afa38d2.gif) no-repeat 0 0}.bdshare-slide-style-l5 .bdshare-slide-button{background:url(../img/share/l5.gif?v=5e170970.gif) no-repeat 0 0}.bdshare-slide-style-l6 .bdshare-slide-button{background:url(../img/share/l6.gif?v=8759da8b.gif) no-repeat 0 0}.bdshare-slide-style-l7 .bdshare-slide-button{background:url(../img/share/l7.gif?v=df4c2738.gif) no-repeat 0 0}.bdshare-slide-style-l8 .bdshare-slide-button{background:url(../img/share/l8.gif?v=31ac73d4.gif) no-repeat 0 0}.bdshare-slide-list-box{border:solid 1px #e9e9e9;text-align:left;overflow:hidden;background:#f6f6f6}.bdshare-slide-top{height:28px;color:#626262;overflow:hidden;font-weight:bold;font-size:14px;line-height:28px;padding:0 5px}.bdshare-slide-list{background:#fff;overflow:auto;overflow-x:hidden;padding:5px 0;margin:0;background:#fff;overflow:auto;overflow-x:hidden;_zoom:1}.bdshare-slide-list-ul{padding:0;margin:0;border:0;list-style:none}.bdshare-slide-bottom{line-height:25px;font-size:12px;text-align:right;clear:both;height:30px}.bdshare-slide-bottom a{color:#999;text-decoration:none;border:0;float:right}.bdshare-slide-bottom a:hover{color:#00a9e0}.bdshare-slide-list li{float:left;padding:2px;margin-left:6px;_margin-left:3px;height:28px;overflow:hidden;list-style:none;width:100px}.bdshare-slide-list a,.bdshare-slide-bottom a{color:#565656;font:12px '宋体';display:block;background-image:url(../img/share/icons_0_16.png?v=91362611.png);background-repeat:no-repeat;padding:5px 0 5px 28px;text-decoration:none;border:1px solid #fff;line-height:18px}.bdshare-slide-list a:hover{background-color:#f3f3f3;border:1px solid #eee;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.slide-qzone{background-position:4px -47px}.slide-tsina{background-position:4px -99px}.slide-renren{background-position:4px -203px}.slide-tqq{background-position:4px -255px}.slide-kaixin001{background-position:4px -307px}.slide-tqf{background-position:4px -359px}.slide-hi{background-position:4px -411px}.slide-douban{background-position:4px -463px}.slide-tieba{background-position:4px -723px}.slide-hx{background-position:4px -983px}.slide-fx{background-position:4px -1035px}.slide-ty{background-position:4px -1191px}.slide-fbook{background-position:4px -1347px}.slide-twi{background-position:4px -1399px}.slide-zx{background-position:4px -1607px}.slide-linkedin{background-position:4px -1659px}.slide-meilishuo{background-position:4px -1711px}.slide-mogujie{background-position:4px -1763px}.slide-diandian{background-position:4px -1815px}.slide-huaban{background-position:4px -1867px}.slide-duitang{background-position:4px -2023px}.slide-youdao{background-position:4px -2075px}.slide-wealink{background-position:4px -2179px}.slide-copy{background-position:4px -2283px}.slide-mail{background-position:4px -2335px}.slide-print{background-position:4px -2387px}.slide-mshare{background-position:4px -2439px}.slide-sqq{background-position:4px -2647px}.slide-sdo{background-position:4px -2699px}.slide-qingbiji{background-position:4px -2751px}.slide-people{background-position:4px -2803px}.slide-xinhua{background-position:4px -2907px}.slide-yaolan{background-position:4px -2959px}.slide-thx{background-position:4px -2491px}.slide-bdhome{background-position:4px -151px}.slide-bdxc{background-position:4px -2543px}.slide-bdysc{background-position:4px -3063px}.slide-isohu{background-position:4px -3011px}.slide-more{background-position:4px 5px}.slide-ibaidu{background-position:4px -3115px}.slide-weixin{background-position:4px -1607px}.slide-iguba{background-position:4px -1295px}.slide-evernotecn{background-position:4px -3179px}.bdshare-slide-bottom .slide-more{border:none;margin-right:10px}.slide-tsohu,.slide-tfh,.slide-baidu,.slide-qq,.slide-msn,.slide-sohu,.slide-qy,.slide-leho,.slide-ifeng,.slide-ff,.slide-tuita,.slide-ms,.slide-deli,.slide-s51,.slide-t163,.slide-share189,.slide-xg,.slide-s139{display:none}.bdshare-slide-list a:hover{-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box} \ No newline at end of file diff --git a/api/css/weixin_popup.css b/api/css/weixin_popup.css new file mode 100644 index 0000000..334e9e5 --- /dev/null +++ b/api/css/weixin_popup.css @@ -0,0 +1 @@ +.bd_weixin_popup_bg{position:absolute;left:-400px;top:-400px;width:260px;height:320px;border:0;padding:0;margin:0;opacity:0;filter:alpha(opacity=0);z-index:11000}.bd_weixin_popup{position:absolute;left:-400px;top:-400px;padding:10px;width:280px !important;height:340px !important;background:#fff;border:solid 1px #d8d8d8;z-index:11001;font-size:12px}.bd_weixin_popup .bd_weixin_popup_head{font-size:12px;font-weight:bold;text-align:left;line-height:16px;height:16px;position:relative;color:#000}.bd_weixin_popup .bd_weixin_popup_head .bd_weixin_popup_close{width:16px;height:16px;position:absolute;right:0;top:0;color:#999;text-decoration:none;font-size:16px}.bd_weixin_popup .bd_weixin_popup_head .bd_weixin_popup_close:hover{text-decoration:none}.bd_weixin_popup .bd_weixin_popup_main{padding:15px 10px;min-height:150px;_height:150px}.bd_weixin_popup .bd_weixin_popup_foot{font-size:12px;text-align:left;line-height:22px;color:#666} \ No newline at end of file diff --git a/api/img/share.png b/api/img/share.png new file mode 100644 index 0000000..09936f4 Binary files /dev/null and b/api/img/share.png differ diff --git a/api/img/share/icons_0_16.png b/api/img/share/icons_0_16.png new file mode 100644 index 0000000..960adc7 Binary files /dev/null and b/api/img/share/icons_0_16.png differ diff --git a/api/img/share/icons_0_24.png b/api/img/share/icons_0_24.png new file mode 100644 index 0000000..7a495f5 Binary files /dev/null and b/api/img/share/icons_0_24.png differ diff --git a/api/img/share/icons_0_32.png b/api/img/share/icons_0_32.png new file mode 100644 index 0000000..5560ccb Binary files /dev/null and b/api/img/share/icons_0_32.png differ diff --git a/api/img/share/icons_1_16.png b/api/img/share/icons_1_16.png new file mode 100644 index 0000000..69775f8 Binary files /dev/null and b/api/img/share/icons_1_16.png differ diff --git a/api/img/share/icons_1_24.png b/api/img/share/icons_1_24.png new file mode 100644 index 0000000..61aed71 Binary files /dev/null and b/api/img/share/icons_1_24.png differ diff --git a/api/img/share/icons_1_32.png b/api/img/share/icons_1_32.png new file mode 100644 index 0000000..b8f86a9 Binary files /dev/null and b/api/img/share/icons_1_32.png differ diff --git a/api/img/share/icons_2_16.png b/api/img/share/icons_2_16.png new file mode 100644 index 0000000..6f656da Binary files /dev/null and b/api/img/share/icons_2_16.png differ diff --git a/api/img/share/icons_2_24.png b/api/img/share/icons_2_24.png new file mode 100644 index 0000000..4045e17 Binary files /dev/null and b/api/img/share/icons_2_24.png differ diff --git a/api/img/share/icons_2_32.png b/api/img/share/icons_2_32.png new file mode 100644 index 0000000..d5f47c1 Binary files /dev/null and b/api/img/share/icons_2_32.png differ diff --git a/api/img/share/l0.gif b/api/img/share/l0.gif new file mode 100644 index 0000000..a40515d Binary files /dev/null and b/api/img/share/l0.gif differ diff --git a/api/img/share/l1.gif b/api/img/share/l1.gif new file mode 100644 index 0000000..bd3b258 Binary files /dev/null and b/api/img/share/l1.gif differ diff --git a/api/img/share/l2.gif b/api/img/share/l2.gif new file mode 100644 index 0000000..4e4e98f Binary files /dev/null and b/api/img/share/l2.gif differ diff --git a/api/img/share/l3.gif b/api/img/share/l3.gif new file mode 100644 index 0000000..2f1827b Binary files /dev/null and b/api/img/share/l3.gif differ diff --git a/api/img/share/l4.gif b/api/img/share/l4.gif new file mode 100644 index 0000000..37208ae Binary files /dev/null and b/api/img/share/l4.gif differ diff --git a/api/img/share/l5.gif b/api/img/share/l5.gif new file mode 100644 index 0000000..0e8b447 Binary files /dev/null and b/api/img/share/l5.gif differ diff --git a/api/img/share/l6.gif b/api/img/share/l6.gif new file mode 100644 index 0000000..c904f28 Binary files /dev/null and b/api/img/share/l6.gif differ diff --git a/api/img/share/l7.gif b/api/img/share/l7.gif new file mode 100644 index 0000000..7f27eb0 Binary files /dev/null and b/api/img/share/l7.gif differ diff --git a/api/img/share/l8.gif b/api/img/share/l8.gif new file mode 100644 index 0000000..d51f067 Binary files /dev/null and b/api/img/share/l8.gif differ diff --git a/api/img/share/pop_c.gif b/api/img/share/pop_c.gif new file mode 100644 index 0000000..692e30e Binary files /dev/null and b/api/img/share/pop_c.gif differ diff --git a/api/img/share/r0.gif b/api/img/share/r0.gif new file mode 100644 index 0000000..3839907 Binary files /dev/null and b/api/img/share/r0.gif differ diff --git a/api/img/share/r1.gif b/api/img/share/r1.gif new file mode 100644 index 0000000..d91c7b8 Binary files /dev/null and b/api/img/share/r1.gif differ diff --git a/api/img/share/r2.gif b/api/img/share/r2.gif new file mode 100644 index 0000000..c58331e Binary files /dev/null and b/api/img/share/r2.gif differ diff --git a/api/img/share/r3.gif b/api/img/share/r3.gif new file mode 100644 index 0000000..ea02bc6 Binary files /dev/null and b/api/img/share/r3.gif differ diff --git a/api/img/share/r4.gif b/api/img/share/r4.gif new file mode 100644 index 0000000..cafadf1 Binary files /dev/null and b/api/img/share/r4.gif differ diff --git a/api/img/share/r5.gif b/api/img/share/r5.gif new file mode 100644 index 0000000..bbd62d3 Binary files /dev/null and b/api/img/share/r5.gif differ diff --git a/api/img/share/r6.gif b/api/img/share/r6.gif new file mode 100644 index 0000000..8947d8a Binary files /dev/null and b/api/img/share/r6.gif differ diff --git a/api/img/share/r7.gif b/api/img/share/r7.gif new file mode 100644 index 0000000..299f0c0 Binary files /dev/null and b/api/img/share/r7.gif differ diff --git a/api/img/share/r8.gif b/api/img/share/r8.gif new file mode 100644 index 0000000..a65841f Binary files /dev/null and b/api/img/share/r8.gif differ diff --git a/api/img/share/sc.png b/api/img/share/sc.png new file mode 100644 index 0000000..581a045 Binary files /dev/null and b/api/img/share/sc.png differ diff --git a/api/img/share/selectshare_close.png b/api/img/share/selectshare_close.png new file mode 100644 index 0000000..e15121d Binary files /dev/null and b/api/img/share/selectshare_close.png differ diff --git a/api/img/share/share-search-icon.png b/api/img/share/share-search-icon.png new file mode 100644 index 0000000..8d42ac5 Binary files /dev/null and b/api/img/share/share-search-icon.png differ diff --git a/api/js/base/class.js b/api/js/base/class.js new file mode 100644 index 0000000..d2f1e3a --- /dev/null +++ b/api/js/base/class.js @@ -0,0 +1 @@ +!window._bd_share_is_recently_loaded&&window._bd_share_main.F.module("base/class",function(e,t,n){var r=e("base/min_tangram").T;t.BaseClass=function(){var e=this,t={};e.on=function(e,n){var r=t[e];r||(r=t[e]=[]),r.push(n)},e.un=function(e,n){if(!e){t={};return}var i=t[e];i&&(n?r.each(i,function(e,t){if(t==n)return i.splice(e,1),!1}):t[e]=[])},e.fire=function(n,i){var s=t[n];s&&(i=i||{},r.each(s,function(t,n){i._result=n.call(e,r.extend({_ctx:{src:e}},i))}))}};var i={};i.create=function(e,n){return n=n||t.BaseClass,function(){n.apply(this,arguments);var i=r.extend({},this);e.apply(this,arguments),this._super=i}},t.Class=i}); \ No newline at end of file diff --git a/api/js/base/tangram.js b/api/js/base/tangram.js new file mode 100644 index 0000000..c918a18 --- /dev/null +++ b/api/js/base/tangram.js @@ -0,0 +1,4 @@ +window._bd_share_main.F.module("base/tangram",function(e,t){var n,r=n=function(){var e,t=e=t||function(e,n){return t.dom?t.dom(e,n):null};t.version="2.0.2.5",t.guid="$BAIDU$",t.key="tangram_guid";var n=window[t.guid]=window[t.guid]||{};return(n.versions||(n.versions=[])).push(t.version),t.check=t.check||function(){},t.lang=t.lang||{},t.forEach=function(e,t,n){var r,i,s;if(typeof t=="function"&&e){i=typeof e.length=="number"?e.length:e.byteLength;if(typeof i=="number"){if(Object.prototype.toString.call(e)==="[object Function]")return e;for(r=0;r-1;r--)e.prototype[t[r]]=n(t[r]);return e},t.object=t.object||{},t.object.isPlain=t.isPlainObject,t.createChain("string",function(e){var n=t.type(e),r=new String(~"string|number".indexOf(n)?e:n),i=String.prototype;return t.forEach(t.string.$String.prototype,function(e,t){i[t]||(r[t]=e)}),r}),t.string.extend({trim:function(){var e=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return function(){return this.replace(e,"")}}()}),t.createChain("array",function(e){var n=t.array.$Array.prototype,r=Array.prototype,i;t.type(e)!="array"&&(e=[]);for(i in n)e[i]=n[i];return e}),t.overwrite(t.array.$Array,"concat slice".split(" "),function(e){return function(){return t.array(Array.prototype[e].apply(this,arguments))}}),t.array.extend({indexOf:function(e,n){t.check(".+(,number)?","baidu.array.indexOf");var r=this.length;(n|=0)<0&&(n=Math.max(0,r+n));for(;n-1)r.splice(e,1),f&&e-1},empty:function(){return r=[],this},disable:function(){return r=i=o=undefined,this},disabled:function(){return!r},lock:function(){return u=!0,!o&&c.disable(),this},fired:function(){return a},fireWith:function(e,t){return a&&n.once||u?this:(t=t||[],t=[e,t.slice?t.slice():t],l(t),this)},fire:function(){return c.fireWith(this,arguments),this}};return c}),t.createChain("Deferred",function(e){return new t.Deferred.$Deferred(e)},function(e){var n=this,r="pending",i=[["resolve","done",t.Callbacks("once memory"),"resolved"],["reject","fail",t.Callbacks("once memory"),"rejected"],["notify","progress",t.Callbacks("memory")]],s={state:function(){return r},always:function(){return n.done(arguments).fail(arguments),this},then:function(){var e=arguments;return t.Deferred(function(r){t.forEach(i,function(i,s){var o=i[0],u=e[s];n[i[1]](t.type(u)==="function"?function(){var e=u.apply(this,arguments);e&&t.type(e.promise)==="function"?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[o+"With"](this===n?r:this,[e])}:r[o])})}).promise()},promise:function(e){return e!=null?t.extend(e,s):s}};s.pipe=s.then,t.forEach(i,function(e,t){var o=e[2],u=e[3];s[e[1]]=o.add,u&&o.add(function(){r=u},i[t^1][2].disable,i[2][2].lock),n[e[0]]=o.fire,n[e[0]+"With"]=o.fireWith}),s.promise(n),e&&e.call(n,n)}),t.when=t.when||function(e){function f(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?arguments:r,n===o?s.notifyWith(t,n):--i||s.resolveWith(t,n)}}var n=arguments,r=arguments.length,i=r!==1||e&&t.type(e.promise)==="function"?r:0,s=i===1?e:t.Deferred(),o,u,a;if(r>1){o=new Array(r),u=new Array(r),a=new Array(r);for(var l=0;l0){i=n[t],r=t;while(r--)if(e(i,n[r])){n.splice(t,1);break}}t=this.length=n.length;for(r=0;r0?e.split(o):[e],function(e){t.merge(i,l(e,n))}),t.merge(r||[],t.array(i).unique())}}(),t.createChain("dom",function(e,n){var r,i=new t.dom.$DOM(n);if(!e)return i;if(e._type_=="$DOM")return e;if(e.nodeType||e==e.window)return i[0]=e,i.length=1,i;if(e.length&&i.toString.call(e)!="[object String]")return t.merge(i,e);if(typeof e=="string")if(e.charAt(0)=="<"&&e.charAt(e.length-1)==">"&&e.length>2){var s=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,o=n&&n._type_==="$DOM"?n[0]:n,u=s.exec(e);o=o&&o.nodeType?o.ownerDocument||o:document,u=u?[o.createElement(u[1])]:t.dom.createElements?t.dom.createElements(e):[],t.merge(i,u)}else t.query(e,n,i);else if(typeof e=="function")return i.ready?i.ready(e):i;return i},function(e){this.length=0,this._type_="$DOM",this.context=e||document}).extend({size:function(){return this.length},splice:function(){},get:function(e){return typeof e=="number"?e<0?this[this.length+e]:this[e]:Array.prototype.slice.call(this,0)},toArray:function(){return this.get()}}),t.dom.extend({each:function(e){t.check("function","baidu.dom.each");var n,r,i=this.length;for(n=0;n=0;s--)r[s].orig==n&&r.splice(s,1);else r.length=0}else{var i=this.get(e);for(var s in i)i[s].length=0}},i.handlerList=function(e,n){var r=[];for(var i=0,s;s=n[i];i++){if(s.delegate&&t.dom(s.delegate,e).size()<1)continue;r.push(s)}return r},i.call=function(e,n,r,s){if(r){if(!r.length)return;var o=[].slice.call(arguments,1),u=[];o.unshift(s=t.event(s||n)),s.type=n,s.currentTarget||(s.currentTarget=e),s.target||(s.target=e),r=i.handlerList(e,r);for(var a=0,f,l=r.length;a0?4:0,n&&(f=T(o,D,n));if(e>=200&&e<300||e===304)o.ifModified&&(c=D.getResponseHeader("Last-Modified"),c&&(g[h]=c),c=D.getResponseHeader("Etag"),c&&(y[h]=c)),e===304?(i="notmodified",s=!0):(s=N(o,f),i=s.state,u=s.data,a=s.error,s=!a);else{a=i;if(!i||e)i="error",e<0&&(e=0)}D.status=e,D.statusText=""+(t||i),s?w.resolveWith(l,[u,i,D]):w.rejectWith(l,[D,i,a]),D.statusCode(S),S=undefined,E.fireWith(l,[D,i])}t.object.isPlain(e)&&(n=e,e=undefined),n=n||{};var o=t.ajax.setup({},n),l=o.context||o,c,h,p,w=t.Deferred(),E=t.Callbacks("once memory"),S=o.statusCode||{},x=0,k={},L={},A="canceled",O,M,_,D=t.extend(new t.ajax.$Ajax(e,o),{readyState:0,setRequestHeader:function(e,t){if(!x){var n=e.toLowerCase();e=k[n]=k[n]||e,L[e]=t}},getAllResponseHeaders:function(){return x===2?O:null},getResponseHeader:function(e){var t;if(x===2){if(!M){M={};while(t=f.exec(O))M[t[1].toLowerCase()]=t[2]}t=M[e.toLowerCase()]}return t===undefined?null:t},overrideMimeType:function(e){return!x&&(o.mimeType=e),this},abort:function(e){return e=e||A,_&&_.abort(e),H(0,e),this}}),P;w.promise(D),D.success=D.done,D.error=D.fail,D.complete=E.add,D.statusCode=function(e){if(e)if(x<2)for(var t in e)S[t]=[S[t],e[t]];else D.always(e[D.status]);return this},o.url=((e||o.url)+"").replace(s,"").replace(r,b[1]+"//"),o.dataTypes=t.string(o.dataType||"*").trim().toLowerCase().split(/\s+/),o.crossDomain==null&&(p=i.exec(o.url.toLowerCase()),o.crossDomain=!(!p||p[1]==b[1]&&p[2]==b[2]&&(p[3]||(p[1]==="http:"?80:443))==(b[3]||(b[1]==="http:"?80:443)))),o.data&&o.processData&&t.type(o.data)!=="string"&&(o.data=t.ajax.param(o.data,o.traditional)),C(v,o,n,D);if(x===2)return"";c=o.global,o.type=o.type.toUpperCase(),o.hasContent=!u.test(o.type);if(!o.hasContent){o.data&&(o.url+=(~o.url.indexOf("?")?"&":"?")+o.data,delete o.data),h=o.url;if(o.cache===!1){var B=(new Date).getTime(),j=o.url.replace(a,"$1_="+B);o.url=j+(j===o.url?(~o.url.indexOf("?")?"&":"?")+"_="+B:"")}}(o.data&&o.hasContent&&o.contentType!==!1||n.contentType)&&D.setRequestHeader("Content-Type",o.contentType),o.ifModified&&(h=h||o.url,g[h]&&D.setRequestHeader("If-Modified-Since",g[h]),y[h]&&D.setRequestHeader("If-None-Match",y[h])),D.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+(o.dataTypes[0]!=="*"?", "+d+"; q=0.01":""):o.accepts["*"]);for(var F in o.headers)D.setRequestHeader(F,o.headers[F]);if(!o.beforeSend||o.beforeSend.call(l,D,o)!==!1&&x!==2){A="abort";for(var F in{success:1,error:1,complete:1})D[F](o[F]);_=C(m,o,n,D);if(!_)H(-1,"No Transport");else{D.readyState=1,o.async&&o.timeout>0&&(P=setTimeout(function(){D.abort("timeout")},o.timeout));try{x=1,_.send(L,H)}catch(I){if(!(x<2))throw I;H(-1,I)}}return D}return D.abort()},function(e,t){this.url=e,this.options=t}),t.ajax.settings={url:e,isLocal:n.test(b[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":d},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":!0,"text json":E,"text xml":w},flatOptions:{context:!0,url:!0}},t.ajax.setup=function(e,n){return n?k(e,t.ajax.settings):(n=e,e=t.ajax.settings),k(e,n),e},t.ajax.param=function(e,n){var r=[];if(t.type(e)==="array")t.forEach(e,function(e){L(r,e.name,e.value)});else for(var i in e)A(r,i,e[i],n);return r.join("&").replace(/%20/g,"+")},t.ajax.prefilter=x(v),t.ajax.transport=x(m);var O=[],M=/(=)\?(?=&|$)|\?\?/,_=(new Date).getTime();t.ajax.setup({jsonp:"callback",jsonpCallback:function(){var e=O.pop()||t.key+"_"+_++;return this[e]=!0,e}}),t.ajax.prefilter("json jsonp",function(e,n,r){var i,s,o,u=e.data,a=e.url,f=e.jsonp!==!1,l=f&&M.test(a),c=f&&!l&&t.type(u)==="string"&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&M.test(u);if(e.dataTypes[0]==="jsonp"||l||c)return i=e.jsonpCallback=t.type(e.jsonpCallback)==="function"?e.jsonpCallback():e.jsonpCallback,s=window[i],l?e.url=a.replace(M,"$1"+i):c?e.data=u.replace(M,"$1"+i):f&&(e.url+=(/\?/.test(a)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o[0]},e.dataTypes[0]="json",window[i]=function(){o=arguments},r.always(function(){window[i]=s,e[i]&&(e.jsonpCallback=n.jsonpCallback,O.push(i)),o&&t.type(s)==="function"&&s(o[0]),o=s=undefined}),"script"}),t.ajax.setup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return S(e),e}}}),t.ajax.prefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),t.ajax.transport("script",function(e){if(e.crossDomain){var t,n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return{send:function(r,i){t=document.createElement("script"),t.async="async",e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,r){if(r||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,n&&t.parentNode&&n.removeChild(t),t=undefined,!r&&i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(0,1)}}}});var D,P=0,H=window.ActiveXObject?function(){for(var e in D)D[e](0,1)}:!1;t.ajax.settings.xhr=window.ActiveXObject?function(){return!this.isLocal&&B()||j()}:B,void function(e){t.extend(t._util_.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(t.ajax.settings.xhr()),t._util_.support.ajax&&t.ajax.transport(function(e){if(!e.crossDomain||t._util_.support.cors){var n;return{send:function(r,i){var s,o=e.xhr();e.username?o.open(e.type,e.url,e.async,e.username,e.password):o.open(e.type,e.url,e.async);if(e.xhrFields)for(var u in e.xhrFields)o[u]=e.xhrFields[u];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),!e.crossDomain&&!r["X-Requested-With"]&&(r["X-Requested-With"]="XMLHttpRequest");try{for(var u in r)o.setRequestHeader(u,r[u])}catch(a){}o.send(e.hasContent&&e.data||null),n=function(t,r){var u,a,f,l,c;try{if(n&&(r||o.readyState===4)){n=undefined,s&&(o.onreadystatechange=function(){},H&&delete D[s]);if(r)o.readyState!==4&&o.abort();else{u=o.status,f=o.getAllResponseHeaders(),l={},c=o.responseXML,c&&c.documentElement&&(l.xml=c);try{l.text=o.responseText}catch(h){}try{a=o.statusText}catch(h){a=""}!u&&e.isLocal&&!e.crossDomain?u=l.text?200:404:u===1223&&(u=204)}}}catch(p){!r&&i(-1,p)}l&&i(u,a,l,f)},e.async?o.readyState===4?setTimeout(n,0):(s=++P,H&&(D||(D={},t.dom(window).on("unload",H)),D[s]=n),o.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}})}(),t.array.extend({contains:function(e){return!!~this.indexOf(e)}}),t.each=function(e,t,n){var r,i,s,o;if(typeof t=="function"&&e){i=typeof e.length=="number"?e.length:e.byteLength;if(typeof i=="number"){if(Object.prototype.toString.call(e)==="[object Function]")return e;for(r=0;rr?e[r]:!0;return t}}),t.array.extend({lastIndexOf:function(e,n){t.check(".+(,number)?","baidu.array.lastIndexOf");var r=this.length;(!(n|=0)||n>=r)&&(n=r-1),n<0&&(n+=r);for(;n>=0;n--)if(n in this&&this[n]===e)return n;return-1}}),t.array.extend({map:function(e,n){t.check("function(,.+)?","baidu.array.map");var r=this.length,i=t.array([]);for(var s=0;s-1;r--)o=s[r],o&&o.handler.apply(this,f),o&&o.once&&s.splice(r,1);return e.returnValue},on:function(e,n,r){if(!t.isFunction(n))return this;var i,s=this._listeners_;return!s&&(s=this._listeners_={}),e.indexOf("on")&&(e="on"+e),!t.isArray(i=s[e])&&(i=s[e]=[]),s[e].unshift({handler:n,once:!!r}),this},once:function(e,t){return this.on(e,t,!0)},one:function(e,t){return this.on(e,t,!0)},off:function(e,t){var n,r,i=this._listeners_;if(!i)return this;if(typeof e=="undefined"){for(n in i)delete i[n];return this}e.indexOf("on")&&(e="on"+e);if(typeof t=="undefined")delete i[e];else if(r=i[e])for(n=r.length-1;n>=0;n--)r[n].handler===t&&r.splice(n,1);return this}}),t.base.Class.prototype.addEventListener=t.base.Class.prototype.on,t.base.Class.prototype.removeEventListener=t.base.Class.prototype.un=t.base.Class.prototype.off,t.base.Class.prototype.dispatchEvent=t.base.Class.prototype.fire,window.baiduInstance=function(e){return window[t.guid]._instances[e]},t.base.Event=function(e,t){this.type=e,this.returnValue=!0,this.target=t||null,this.currentTarget=null,this.preventDefault=function(){this.returnValue=!1}},t.base.inherits=function(e,t,n){var r,i,s=e.prototype,o=new Function;o.prototype=t.prototype,i=e.prototype=new o;for(r in s)i[r]=s[r];return e.prototype.constructor=e,e.superClass=t.prototype,typeof n=="string"&&(i._type_=n),e.extend=function(t){for(var n in t)i[n]=t[n];return e},e},t.base.register=function(e,t,n){(e._reg_||(e._reg_=[])).push(t);for(var r in n)e.prototype[r]=n[r]},t.cookie=t.cookie||{},t.cookie._isValidKey=function(e){return(new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$')).test(e)},t.cookie.getRaw=function(e){if(t.cookie._isValidKey(e)){var n=new RegExp("(^| )"+e+"=([^;]*)(;|$)"),r=n.exec(document.cookie);if(r)return r[2]||null}return null},t.cookie.get=function(e){var n=t.cookie.getRaw(e);return"string"==typeof n?(n=decodeURIComponent(n),n):null},t.cookie.setRaw=function(e,n,r){if(!t.cookie._isValidKey(e))return;r=r||{};var i=r.expires;"number"==typeof r.expires&&(i=new Date,i.setTime(i.getTime()+r.expires)),document.cookie=e+"="+n+(r.path?"; path="+r.path:"")+(i?"; expires="+i.toGMTString():"")+(r.domain?"; domain="+r.domain:"")+(r.secure?"; secure":"")},t.cookie.remove=function(e,n){n=n||{},n.expires=new Date(0),t.cookie.setRaw(e,"",n)},t.cookie.set=function(e,n,r){t.cookie.setRaw(e,encodeURIComponent(n),r)},t.createClass=function(e,n,r){e=t.isFunction(e)?e:function(){},r=typeof n=="object"?n:r||{};var i=function(){var t=this;r.decontrolled&&(t._decontrol_=!0),i.superClass.apply(t,arguments);for(var n in i.options)t[n]=i.options[n];e.apply(t,arguments);for(var n=0,s=i._reg_;s&&n1?n[1].split(/[^\d]/):[0,0,0],i=n[0].split(/[^\d]/);return new Date(i[0]-0,i[1]-1,i[2]-0,r[0]-0,r[1]-0,r[2]-0)}return new Date(e)}return new Date},t.dom.extend({pushStack:function(e){var n=t.dom();return t.merge(n,e),n.prevObject=this,n.context=this.context,n}}),t.dom.createElements=function(){function i(e,t){var n=e.getElementsByTagName("SCRIPT"),r,i,s;for(r=n.length-1;r>=0;r--)s=n[r],i=t.createElement("SCRIPT"),s.id&&(i.id=s.id),s.src&&(i.src=s.src),s.type&&(i.type=s.type),i[s.text?"text":"textContent"]=s.text||s.textContent,s.parentNode.replaceChild(i,s)}var e=/<(\w+)/i,n=/<|&#?\w+;/,r={area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],option:[1,""],td:[3,"","
"],thead:[1,"","
"],tr:[2,"","
"],_default:[0,"",""]};return r.optgroup=r.option,r.tbody=r.tfoot=r.colgroup=r.caption=r.thead,r.th=r.td,function(s,o){t.isNumber(s)&&(s=s.toString()),o=o||document;var u,a,f,l=s,c=l.length,h=o.createElement("div"),p=o.createDocumentFragment(),d=[];if(t.isString(l))if(!n.test(l))d.push(o.createTextNode(l));else{u=r[l.match(e)[1].toLowerCase()]||r._default,h.innerHTML="mz"+u[1]+l+u[2],h.removeChild(h.firstChild),i(h,o),a=u[0],f=h;while(a--)f=f.firstChild;t.merge(d,f.childNodes),t.forEach(d,function(e){p.appendChild(e)}),h=f=null}return h=null,d}}(),t.dom.extend({add:function(e,n){var r=t.array(this.get());switch(t.type(e)){case"HTMLElement":r.push(e);break;case"$DOM":case"array":t.merge(r,e);break;case"string":t.merge(r,t.dom(e,n));break;default:typeof e=="object"&&e.length&&t.merge(r,e)}return this.pushStack(r.unique())}}),t.dom.extend({addClass:function(e){if(!arguments.length)return this;var n=typeof e,r=" ";if(n=="string"){e=t.string.trim(e);var i=e.split(" ");t.forEach(this,function(e,t){var n=e.className;for(var s=0;s]","i"),h=/^\s+/,p=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,d=/<([\w:]+)/,v={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};return v.optgroup=v.option,v.tbody=v.tfoot=v.colgroup=v.caption=v.thead,v.th=v.td,o||(v._default=[1,"X
","
"]),t.forEach(i,function(t,r){if(a)return;var f=n(t);switch(typeof e){case"undefined":a=t.nodeType===1?t.innerHTML:undefined;return;case"number":e=String(e);case"string":s=!0;if(!l.test(e)&&(o||!c.test(e))&&(u||!h.test(e))&&!v[(d.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(p,"<$1>");try{t.nodeType===1&&(f.empty(),t.innerHTML=e),t=0}catch(m){}}t&&i.empty().append(e);break;case"function":s=!0,f.html(e.call(t,r,f.html()))}}),s?i:a}}),t._util_.smartInsert=function(e,n,r){if(n.length<=0||e.size()<=0)return;if(t.type(n[0])==="function"){var i=n[0],s;return t.forEach(e,function(e,o){s=t.dom(e),n[0]=i.call(e,o,s.html()),t._util_.smartInsert(s,n,r)})}var o=e.getDocument()||document,u=o.createDocumentFragment(),a=e.length-1,f;for(var l=0,c;c=n[l];l++)c.nodeType?u.appendChild(c):t.forEach(~"string|number".indexOf(t.type(c))?t.dom.createElements(c,o):c,function(e){u.appendChild(e)});if(!(f=u.firstChild))return;t.forEach(e,function(e,t){r.call(e.nodeName.toLowerCase()==="table"&&f.nodeName.toLowerCase()==="tr"?e.tBodies[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e,t0?e.clone(!0,!0):e,r)},t.dom.extend({appendTo:function(e){var n=[],r=n.push;return t.check("^(?:string|HTMLElement|\\$DOM)$","baidu.dom.appendTo"),t._util_.smartInsertTo(this,e,function(e){r.apply(n,t.makeArray(e.childNodes)),this.appendChild(e)}),this.pushStack(n)}}),t._util_.access=function(e,n,r,i,s){if(e.size()<=0)return e;switch(t.type(n)){case"string":if(r===undefined)return i.call(e,e[0],n);e.each(function(o,u){i.call(e,u,n,t.type(r)==="function"?r.call(u,o,i.call(e,u,n)):r,s)});break;case"object":for(var o in n)t._util_.access(e,o,n[o],i,r)}return e},t._util_.nodeName=function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},t._util_.propFixer={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",classname:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable",rboolean:/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i},!document.createElement("form").enctype&&(t._util_.propFixer.enctype="encoding"),t._util_.prop=function(){var e=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea|)$/i,r=document.createElement("select"),i=r.appendChild(document.createElement("option")),s={tabIndex:{get:function(t){var r=t.getAttributeNode("tabindex");return r&&r.specified?parseInt(r.value,10):e.test(t.nodeName)||n.test(t.nodeName)&&t.href?0:undefined}}};return!i.selected&&(s.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),r=i=null,function(e,n,r){var i=e.nodeType,o,u;if(!e||~"238".indexOf(i))return;if(i!==1||!t._util_.isXML(e))n=t._util_.propFixer[n]||n,o=s[n]||{};return r!==undefined?o.set&&(u=o.set(e,n,r))!==undefined?u:e[n]=r:o.get&&(u=o.get(e,n))!==null?u:e[n]}}(),t._util_.support.getSetAttribute=t._util_.support.dom.div.className!=="t",t._util_.nodeHook=function(){if(t._util_.support.getSetAttribute)return;var e={};return e.name=e.id=e.coords=!0,{get:function(t,n){var r=t.getAttributeNode(n);return r&&(e[n]?r.value!=="":r.specified)?r.value:undefined},set:function(e,t,n){var r=e.getAttributeNode(t);return r||(r=document.createAttribute(t),e.setAttributeNode(r)),r.value=n+""}}}(),t._util_.removeAttr=function(){var e=t._util_.propFixer,n=/\s+/,r=t._util_.support.getSetAttribute;return function(i,s){if(!s||i.nodeType!==1)return;var o=s.split(n),u,a;for(var f=0,l;l=o[f];f++)u=e[l]||l,a=e.rboolean.test(l),!a&&t._util_.attr(i,l,""),i.removeAttribute(r?l:u),a&&u in i&&(i[u]=!1)}}(),t._util_.attr=function(){var e=t._util_,n=/^(?:button|input)$/i,r=e.support.dom,i=r.input.value==="t",s=r.a.getAttribute("href")==="/a",o=/top/.test(r.a.getAttribute("style")),u=e.nodeHook,a={className:"class"},f={get:function(t,n){var r=e.prop(t,n),i;return r===!0||typeof r!="boolean"&&(i=t.getAttributeNode(n))&&i.nodeValue!==!1?n.toLowerCase():undefined},set:function(t,n,r){if(r===!1)e.removeAttr(t,n);else{var i=e.propFixer[n]||n;i in t&&(t[i]=!0),t.setAttribute(n,n.toLowerCase())}return n}},l={type:{set:function(t,r,s){if(n.test(t.nodeName)&&t.parentNode)return s;if(!i&&s==="radio"&&e.nodeName(t,"input")){var o=t.value;return t.setAttribute("type",s),o&&(t.value=o),s}}},value:{get:function(t,n){return u&&e.nodeName(t,"button")?u.get(t,n):n in t?t.value:null},set:function(t,n,r){if(u&&e.nodeName(t,"button"))return u.set(t,n,r);t.value=r}}};return e.support.getSetAttribute||(t.forEach(["width","height"],function(e){l[e]={set:function(e,t,n){if(n==="")return e.setAttribute(t,"auto"),n}}}),l.contenteditable={get:u.get,set:function(e,t,n){n===""&&(n=!1),u.set(e,t,n)}}),s||t.forEach(["href","src","width","height"],function(e){l[e]={get:function(e,t){var n=e.getAttribute(t,2);return n===null?undefined:n}}}),o||(l.style={get:function(e){return e.style.cssText.toLowerCase()||undefined},set:function(e,t,n){return e.style.cssText=n+""}}),function(n,r,i,s){var o=n.nodeType,c=o!==1||!e.isXML(n),h,p;if(!n||~"238".indexOf(o))return;if(s&&t.dom.fn[r])return t.dom(n)[r](i);c&&(r=a[r]||r.toLowerCase(),h=l[r]||(e.propFixer.rboolean.test(r)?f:u));if(i!==undefined){if(i===null){e.removeAttr(n,r);return}return c&&h&&h.set&&(p=h.set(n,r,i))!==undefined?p:(n.setAttribute(r,i+""),i)}return c&&h&&h.get&&(p=h.get(n,r))!==null?p:(p=n.getAttribute(r),p===null?undefined:p)}}(),t.dom.extend({attr:function(e,n){return t._util_.access(this,e,n,function(e,n,r,i){return t._util_.attr(e,n,r,i)})}}),t.dom.extend({before:function(){return t.check("^(?:string|function|HTMLElement|\\$DOM)(?:,(?:string|array|HTMLElement|\\$DOM))*$","baidu.dom.before"),t._util_.smartInsert(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}),this}}),t.dom.extend({bind:function(e,t,n){return this.on(e,undefined,t,n)}}),t.dom.match=function(){function r(e){var t=[],n;while(e=e.parentNode)e.nodeType&&t.push(e);for(var n=t.length-1;n>-1;n--)if(t[n].nodeType==1||t[n].nodeType==9)return t[n];return null}var e=/^[\w\#\-\$\.\*]+$/,n=document.createElement("DIV");return n.id="__tangram__",function(e,n,i){var s,o=t.array();switch(t.type(n)){case"$DOM":for(var u=e.length-1;u>-1;u--)for(var a=n.length-1;a>-1;a--)e[u]===n[a]&&o.push(e[u]);break;case"function":t.forEach(e,function(e,t){n.call(e,t)&&o.push(e)});break;case"HTMLElement":t.forEach(e,function(e){e==n&&o.push(e)});break;case"string":var f=t.query(n,i||document);t.forEach(e,function(e){if(s=r(e)){var i=s.nodeType==1?t.query(n,s):f;for(var u=0,a=i.length;u0&&t.check("^string(?:,boolean)?$","baidu.dom.remove");var r=e?this.filter(e):this;for(var i=0,s;s=r[i];i++)!n&&s.nodeType===1&&(t._util_.cleanData(s.getElementsByTagName("*")),t._util_.cleanData([s])),s.parentNode&&s.parentNode.removeChild(s);return this}}),t.dom.extend({detach:function(e){return e&&t.check("^string$","baidu.dom.detach"),this.remove(e,!0)}}),t.object.extend=t.extend,t.dom.getStyle=function(e,n){return t.dom(t.dom.g(e)).css(n)},t.page=t.page||{},t.page.getScrollTop=function(){var e=document;return window.pageYOffset||e.documentElement.scrollTop||e.body.scrollTop},t.page.getScrollLeft=function(){var e=document;return window.pageXOffset||e.documentElement.scrollLeft||e.body.scrollLeft},function(){t.page.getMousePosition=function(){return{x:t.page.getScrollLeft()+e.x,y:t.page.getScrollTop()+e.y}};var e={x:0,y:0};t.event.on(document,"onmousemove",function(t){t=window.event||t,e.x=t.clientX,e.y=t.clientY})}(),t.dom.extend({off:function(e,n,r){var i=t._util_.eventBase.core,s=this;return e?typeof e=="string"?(typeof n=="function"&&(r=n,n=null),e=e.split(/[ ,]/),t.forEach(this,function(s){t.forEach(e,function(e){i.remove(s,e,r,n)})})):typeof e=="object"&&t.forEach(e,function(e,t){s.off(t,n,e)}):t.forEach(this,function(e){i.remove(e)}),this}}),t.event.un=t.un=function(e,n,r){return typeof e=="string"&&(e=t.dom.g(e)),t.dom(e).off(n.replace(/^\s*on/,""),r),e},t.event.preventDefault=function(e){return(new t.event(e)).preventDefault()},function(){function h(){e=!1,clearInterval(o),r.capture&&n.releaseCapture?n.releaseCapture():r.capture&&window.releaseEvents&&window.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP),document.body.style.MozUserSelect=c;var i=t.dom(document);i.off("selectstart",d),r.autoStop&&i.off("mouseup",h),t.isFunction(r.ondragend)&&r.ondragend(n,r,{left:f,top:l})}function p(c){if(!e){clearInterval(o);return}var h=r.range||[],p=t.page.getMousePosition(),d=u+p.x-i,v=a+p.y-s;t.isObject(h)&&h.length==4&&(d=Math.max(h[3],d),d=Math.min(h[1]-n.offsetWidth,d),v=Math.max(h[0],v),v=Math.min(h[2]-n.offsetHeight,v)),n.style.left=d+"px",n.style.top=v+"px",f=d,l=v,t.isFunction(r.ondrag)&&r.ondrag(n,r,{left:f,top:l})}function d(e){return t.event.preventDefault(e,!1)}var e=!1,n,r,i,s,o,u,a,f,l,c;t.dom.drag=function(v,m){if(!(n=t.dom.g(v)))return!1;r=t.object.extend({autoStop:!0,capture:!0,interval:16},m),f=u=parseInt(t.dom.getStyle(n,"left"))||0,l=a=parseInt(t.dom.getStyle(n,"top"))||0,e=!0,setTimeout(function(){var e=t.page.getMousePosition();i=r.mouseEvent?t.page.getScrollLeft()+r.mouseEvent.clientX:e.x,s=r.mouseEvent?t.page.getScrollTop()+r.mouseEvent.clientY:e.y,clearInterval(o),o=setInterval(p,r.interval)},1);var g=t.dom(document);return r.autoStop&&g.on("mouseup",h),g.on("selectstart",d),r.capture&&n.setCapture?n.setCapture():r.capture&&window.captureEvents&&window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP),c=document.body.style.MozUserSelect,document.body.style.MozUserSelect="none",t.isFunction(r.ondragstart)&&r.ondragstart(n,r),{stop:h,dispose:h,update:function(e){t.object.extend(r,e)}}}}(),t.lang.isFunction=t.isFunction,t.dom.extend({end:function(){return this.prevObject||t.dom()}}),t.dom.extend({eq:function(e){t.check("number","baidu.dom.eq");var n=this.get(e);return this.pushStack(typeof n=="undefined"?[]:[n])}}),t.dom.extend({find:function(e){var n=[],r,i="__tangram__find__",s=[];switch(t.type(e)){case"string":this.each(function(){t.merge(s,t.query(e,this))});break;case"HTMLElement":r=e.tagName+"#"+(e.id?e.id:e.id=i),this.each(function(){t.query(r,this).length>0&&n.push(e)}),e.id==i&&(e.id=""),n.length>0&&t.merge(s,n);break;case"$DOM":n=e.get(),this.each(function(){t.forEach(t.query("*",this),function(e){for(var t=0,r=n.length;t=t[s]?t[r]:Math.max(e.body[s],t[s],e.body[i],t[i])}}),function(t,n,r){return e[n][r==="width"?"getWidth":"getHeight"](t)}}(),t.dom.extend({height:function(e){return t._util_.access(this,"height",e,function(e,n,r){var i=r!==undefined,s=i&&parseFloat(r),o=e!=null&&e==e.window?"window":e.nodeType===9?"document":!1;if(i&&s<0||isNaN(s))return;return i&&/^(?:\d*\.)?\d+$/.test(r+="")&&(r+="px"),o?t._util_.getWindowOrDocumentWidthOrHeight(e,o,n):i?e.style.height=r:t._util_.getWidthOrHeight(e,n)})}}),t._util_.isHidden=function(e){return t.dom(e).getCurrentStyle("display")==="none"||!t._util_.contains(e.ownerDocument,e)},t.dom.extend({hide:function(){var e=[],n,r,i;return this.each(function(s,o){if(!o.style)return;n=t(o),e[s]=n.data("olddisplay"),i=o.style.display,e[s]||(r=t._util_.isHidden(o),(i&&i!=="none"||!r)&&n.data("olddisplay",r?i:n.getCurrentStyle("display"))),o.style.display="none"})}}),t.dom.extend({innerHeight:function(){if(this.size()<=0)return 0;var e=this[0],n=e!=null&&e===e.window?"window":e.nodeType===9?"document":!1;return n?t._util_.getWindowOrDocumentWidthOrHeight(e,n,"height"):t._util_.getWidthOrHeight(e,"height","padding")}}),t.dom.extend({innerWidth:function(){if(this.size()<=0)return 0;var e=this[0],n=e!=null&&e===e.window?"window":e.nodeType===9?"document":!1;return n?t._util_.getWindowOrDocumentWidthOrHeight(e,n,"width"):t._util_.getWidthOrHeight(e,"width","padding")}}),t.dom.extend({insertAfter:function(e){var n=[],r=n.push;return t.check("^(?:string|HTMLElement|\\$DOM)$","baidu.dom.insertAfter"),t._util_.smartInsertTo(this,e,function(e){r.apply(n,t.makeArray(e.childNodes)),this.parentNode.insertBefore(e,this.nextSibling)},"after"),this.pushStack(n)}}),t.dom.extend({insertBefore:function(e){var n=[],r=n.push;return t.check("^(?:string|HTMLElement|\\$DOM)$","baidu.dom.insertBefore"),t._util_.smartInsertTo(this,e,function(e){r.apply(n,t.makeArray(e.childNodes)),this.parentNode.insertBefore(e,this)},"before"),this.pushStack(n)}}),t.dom.extend({insertHTML:function(e,n){var r,i,s=this[0];return s.insertAdjacentHTML&&!t.browser.opera?s.insertAdjacentHTML(e,n):(r=s.ownerDocument.createRange(),e=e.toUpperCase(),e=="AFTERBEGIN"||e=="BEFOREEND"?(r.selectNodeContents(s),r.collapse(e=="AFTERBEGIN")):(i=e=="BEFOREBEGIN",r[i?"setStartBefore":"setEndAfter"](s),r.collapse(i)),r.insertNode(r.createContextualFragment(n))),s}}),t.dom.extend({is:function(e){return t.dom.match(this,e).length>0}}),t.dom.extend({last:function(){return this.eq(-1)}}),t.dom.extend({next:function(e){var n=[];return t.forEach(this,function(e){while((e=e.nextSibling)&&e&&e.nodeType!=1);e&&(n[n.length++]=e)}),this.pushStack(e?t.dom.match(n,e):n)}}),t.dom.extend({nextAll:function(e){var n=[];return t.forEach(this,function(e){while(e=e.nextSibling)e&&e.nodeType==1&&n.push(e)}),this.pushStack(t.dom.match(n,e))}}),t.dom.extend({nextUntil:function(e,n){var r=t.array();return t.forEach(this,function(n){var i=t.array();while(n=n.nextSibling)n&&n.nodeType==1&&i.push(n);if(e&&i.length){var s=t.dom.match(i,e);s.length&&(i=i.slice(0,i.indexOf(s[0])))}t.merge(r,i)}),this.pushStack(t.dom.match(r,n))}}),t.dom.extend({not:function(e){var n,r,i,s=this.get(),o=t.isArray(e)?e:t.dom.match(this,e);for(n=s.length-1;n>-1;n--)for(r=0,i=o.length;r0){u=i;break}i=i[e]}t[c]=u}}}t.query=function(e,n,r){return t.merge(r||[],t.sizzle(e,n))};var r=e.document,i=r.documentElement,s="sizcache"+(Math.random()+"").replace(".",""),o=0,u=Object.prototype.toString,a="undefined",f=!1,l=!0,c=/^#([\w\-]+$)|^(\w+$)|^\.([\w\-]+$)/,h=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,p=/\\/g,d=/\W/,v=/^\w/,m=/\D/,g=/(-?)(\d*)(?:n([+\-]?\d*))?/,y=/^\+|\s*/g +,b=/h\d/i,w=/input|select|textarea|button/i,E=/[\t\n\f\r]/g,S="(?:[-\\w]|[^\\x00-\\xa0]|\\\\.)",x={ID:new RegExp("#("+S+"+)"),CLASS:new RegExp("\\.("+S+"+)"),NAME:new RegExp("\\[name=['\"]*("+S+"+)['\"]*\\]"),TAG:new RegExp("^("+S.replace("[-","[-\\*")+"+)"),ATTR:new RegExp("\\[\\s*("+S+"+)\\s*(?:(\\S?=)\\s*(?:(['\"])(.*?)\\3|(#?"+S+"*)|)|)\\s*\\]"),PSEUDO:new RegExp(":("+S+"+)(?:\\((['\"]?)((?:\\([^\\)]+\\)|[^\\(\\)]*)+)\\2\\))?"),CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/},T=x.POS,N=function(){var e,t=function(e,t){return"\\"+(t-0+1)},n={};for(e in x)x[e]=new RegExp(x[e].source+/(?![^\[]*\])(?![^\(]*\))/.source),n[e]=new RegExp(/(^(?:.|\r|\n)*?)/.source+x[e].source.replace(/\\(\d+)/g,t));return x.globalPOS=T,n}(),C=function(e){var t=!1,n=r.createElement("div");try{t=e(n)}catch(i){}return n=null,t},k=C(function(e){var t=!0,n="script"+(new Date).getTime();return e.innerHTML="",i.insertBefore(e,i.firstChild),r.getElementById(n)&&(t=!1),i.removeChild(e),t}),L=C(function(e){return e.appendChild(r.createComment("")),e.getElementsByTagName("*").length===0}),A=C(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==a&&e.firstChild.getAttribute("href")==="#"}),O=C(function(e){return e.innerHTML="
",!e.getElementsByClassName||e.getElementsByClassName("e").length===0?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length!==1)});[0,0].sort(function(){return l=!1,0});var M=function(e,i,s){s=s||[],i=i||r;var o,u,a,f=i.nodeType;if(f!==1&&f!==9)return[];if(!e||typeof e!="string")return s;e=t.string(e).trim();if(!e)return s;a=D(i);if(!a)if(o=c.exec(e))if(o[1]){if(f===9){u=i.getElementById(o[1]);if(!u||!u.parentNode)return P([],s);if(u.id===o[1])return P([u],s)}else if(i.ownerDocument&&(u=i.ownerDocument.getElementById(o[1]))&&B(i,u)&&u.id===o[1])return P([u],s)}else{if(o[2])return e==="body"&&i.body?P([i.body],s):P(i.getElementsByTagName(e),s);if(O&&o[3]&&i.getElementsByClassName)return P(i.getElementsByClassName(o[3]),s)}return _(e,i,s,n,a)},_=function(e,t,n,r,i){var s,o,a,f,l,c,p,d,v=t,m=!0,g=[],y=e;do{h.exec(""),s=h.exec(y);if(s){y=s[3],g.push(s[1]);if(s[2]){f=s[3];break}}}while(s);if(g.length>1&&T.exec(e))if(g.length===2&&R.relative[g[0]])o=X(g[0]+g[1],t,r,i);else{o=R.relative[g[0]]?[t]:M(g.shift(),t);while(g.length)e=g.shift(),R.relative[e]&&(e+=g.shift()),o=X(e,o,r,i)}else{!r&&g.length>1&&t.nodeType===9&&!i&&x.ID.test(g[0])&&!x.ID.test(g[g.length-1])&&(l=j(g.shift(),t,i),t=l.expr?F(l.expr,l.set)[0]:l.set[0]);if(t){l=r?{expr:g.pop(),set:P(r)}:j(g.pop(),g.length>=1&&(g[0]==="~"||g[0]==="+")&&t.parentNode||t,i),o=l.expr?F(l.expr,l.set):l.set,g.length>0?a=P(o):m=!1;while(g.length)c=g.pop(),p=c,R.relative[c]?p=g.pop():c="",p==null&&(p=t),R.relative[c](a,p,i)}else a=g=[]}a||(a=o),a||I(c||e);if(u.call(a)==="[object Array]")if(!m)n.push.apply(n,a);else if(t&&t.nodeType===1)for(d=0;a[d]!=null;d++)a[d]&&(a[d]===!0||a[d].nodeType===1&&B(t,a[d]))&&n.push(o[d]);else for(d=0;a[d]!=null;d++)a[d]&&a[d].nodeType===1&&n.push(o[d]);else P(a,n);return f&&(_(f,v,n,r,i),H(n)),n},D=t._util_.isXML,P=t.makeArray,H=function(e){if(U){f=l,e.sort(U);if(f)for(var t=1;t":function(e,t){var n,r=typeof t=="string",i=0,s=e.length;if(r&&!d.test(t)){t=t.toLowerCase();for(;i1||v.test(e[3]))){var u=F(e[3],t,n,!s);return n||i.push.apply(i,u),!1}e[3]=_(e[3],r,[],t,o)}else if(x.POS.test(e[0])||x.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!M(n[3],e).length},header:function(e){return b.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return e.nodeName.toLowerCase()==="input"&&"text"===n&&(t===null||t.toLowerCase()===n)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"submit"===e.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return(t==="input"||t==="button")&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&"button"===e.type||t==="button"},input:function(e){return w.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&(!!e.type||!!e.href)},active:function(e){return e===e.ownerDocument.activeElement},contains:function(e,t,n){return(e.textContent||e.innerText||q(e)).indexOf(n[3])>=0}},setFilters:{first:function(e,t){return t===0},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return tn[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],s=R.filters[i];if(s)return s(e,n,t,r);if(i==="not"){var o=t[3],u=0,a=o.length;for(;u=0}},ID:k?function(e,t){return e.nodeType===1&&e.getAttribute("id")===t}:function(e,t){var n=typeof e.getAttributeNode!==a&&e.getAttributeNode("id");return e.nodeType===1&&n&&n.nodeValue===t},TAG:function(e,t){return t==="*"&&e.nodeType===1||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=R.attrHandle[n]?R.attrHandle[n](e):e[n]!=null?e[n]:e.getAttribute(n),i=r+"",s=t[2],o=t[4];return r==null?s==="!=":s==="="?i===o:s==="*="?i.indexOf(o)>=0:s==="~="?(" "+i+" ").indexOf(o)>=0:o?s==="!="?i!==o:s==="^="?i.indexOf(o)===0:s==="$="?i.substr(i.length-o.length)===o:s==="|="?i===o||i.substr(0,o.length+1)===o+"-":!1:i&&r!==!1},POS:function(e,t,n,r){var i=t[2],s=R.setFilters[i];if(s)return s(e,n,t,r)}}};O&&(R.order.splice(1,0,"CLASS"),R.find.CLASS=function(e,t,n){if(typeof t.getElementsByClassName!==a&&!n)return t.getElementsByClassName(e[1])});var U,z;i.compareDocumentPosition?U=function(e,t){return e===t?(f=!0,0):!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition?-1:1:e.compareDocumentPosition(t)&4?-1:1}:(U=function(e,t){if(e===t)return f=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u)return z(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),a=a.parentNode;a=u;while(a)s.unshift(a),a=a.parentNode;n=i.length,r=s.length;for(var l=0;l",e.querySelectorAll("[selected]").length||i.push("\\[[\\x20\\t\\n\\r\\f]*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),C(function(e){e.innerHTML="

",e.querySelectorAll("[class^='']").length&&i.push("[*^$]=[\\x20\\t\\n\\r\\f]*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=i.length&&new RegExp(i.join("|")),_=function(s,o,u,a,f){if(!a&&!f&&(!i||!i.test(s)))if(o.nodeType===9)try{return P(o.querySelectorAll(s),u)}catch(l){}else if(o.nodeType===1&&o.nodeName.toLowerCase()!=="object"){var c=o,h=o.getAttribute("id"),p=h||t,d=o.parentNode,v=n.test(s);h?p=p.replace(r,"\\$&"):o.setAttribute("id",p),v&&d&&(o=d);try{if(!v||d)return P(o.querySelectorAll("[id='"+p+"'] "+s),u)}catch(l){}finally{h||c.removeAttribute("id")}}return e(s,o,u,a,f)}}();var X=function(e,t,n,r){var i,s=[],o="",u=t.nodeType?[t]:t,a=0,f=u.length;while(i=x.PSEUDO.exec(e))o+=i[0],e=e.replace(x.PSEUDO,"");R.relative[e]&&(e+="*");for(;a0)return;n.resolveWith(r),t.dom.trigger&&t.dom(r).trigger("ready").off("ready")},s=function(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",s,!1),i()):r.readyState==="complete"&&(r.detachEvent("onreadystatechange",s),i())},o=function(e){if(!n){n=t.Deferred();if(r.readyState==="complete")setTimeout(i,1);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",s,!1),window.addEventListener("load",i,!1);else{r.attachEvent("onreadystatechange",s),window.attachEvent("onload",i);var o=!1;try{o=window.frameElement==null&&r.documentElement}catch(u){}o&&o.doScroll&&function a(){if(!t._util_.isDomReady){try{o.doScroll("left")}catch(e){return setTimeout(a,50)}i()}}()}}return n.promise(e)};return function(t){return o().done(t),e}}()}),t.dom.extend({removeAttr:function(e){return this.each(function(n,r){t._util_.removeAttr(r,e)}),this}}),t.dom.extend({removeClass:function(e){var n=typeof e,r=" ";arguments.length||t.forEach(this,function(e){e.className=""});if(n=="string"){e=t.string.trim(e);var i=e.split(" ");t.forEach(this,function(e){var n=e.className;for(var s=0;s"),o.close(),r=o.appendChild(o.createElement(n)),i=t.dom(r).getCurrentStyle("display"),document.body.removeChild(s),s=null;return r=null,e[n]=i}}(),t.dom.extend({show:function(){var e=[],n,r;return this.each(function(i,s){if(!s.style)return;r=t.dom(s),n=s.style.display,e[i]=r.data("olddisplay"),!e[i]&&n==="none"&&(s.style.display=""),s.style.display===""&&t._util_.isHidden(s)&&r.data("olddisplay",e[i]=t._util_.getDefaultDisplayValue(s.nodeName))}),this.each(function(t,n){if(!n.style)return;if(n.style.display==="none"||n.style.display==="")n.style.display=e[t]||""})}}),t.dom.extend({siblings:function(e){var n=[];return t.forEach(this,function(e){var r=[],i=[],s=e;while(s=s.previousSibling)s.nodeType==1&&r.push(s);while(e=e.nextSibling)e.nodeType==1&&i.push(e);t.merge(n,r.reverse().concat(i))}),this.pushStack(t.dom.match(n,e))}}),t.dom.extend({slice:function(){var e=Array.prototype.slice;return function(n,r){return t.check("number(,number)?","baidu.dom.slice"),this.pushStack(e.apply(this,arguments))}}()}),t.dom.extend({text:function(e){var n=t.dom,r=this,i=!1,s;if(this.size()<=0)switch(typeof e){case"undefined":return undefined;default:return r}var o=function(e){var t,n="",r=0,i=e.nodeType;if(i)if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(i===3||i===4)return e.nodeValue;return n};return t.forEach(r,function(t,r){var u=n(t);if(s)return;switch(typeof e){case"undefined":return s=o(t),s;case"number":e=String(e);case"string":i=!0,u.empty().append((t&&t.ownerDocument||document).createTextNode(e));break;case"function":i=!0,u.text(e.call(t,r,u.text()))}}),i?r:s}}),t.dom.extend({toggle:function(){for(var e=0,t=this.size();e=0}),!s.length&&(n.selectedIndex=-1),s}}};return!e.support.getSetAttribute&&(s.button=e.nodeHook),n||t.forEach(i,function(e){s[e]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),t.forEach(i,function(n){s[n]=s[n]||{},s[n].set=function(n,r,i){if(t.type(i)==="array")return n.checked=e.inArray(t.dom(n).val(),i)>=0}}),function(e){var n,r;if(e===undefined){if(!(n=this[0]))return;return r=s[n.type]||s[n.nodeName.toLowerCase()]||{},r.get&&r.get(n,"value")||n.value}return this.each(function(n,i){if(i.nodeType!==1)return;var o=t.dom(i),u=t.type(e)==="function"?e.call(i,n,o.val()):e;u==null?u="":t.type(u)==="number"?u+="":t.type(u)==="array"&&(u=t.array(u).map(function(e){return e==null?"":e+""})),r=s[i.type]||s[i.nodeName.toLowerCase()]||{};if(!r.set||r.set(i,"value",u)===undefined)i.value=u}),this}}()}),t.dom.extend({width:function(e){return t._util_.access(this,"width",e,function(e,n,r){var i=r!==undefined,s=i&&parseFloat(r),o=e!=null&&e==e.window?"window":e.nodeType===9?"document":!1;if(i&&s<0||isNaN(s))return;return i&&/^(?:\d*\.)?\d+$/.test(r+="")&&(r+="px"),o?t._util_.getWindowOrDocumentWidthOrHeight(e,o,n):i?e.style.width=r:t._util_.getWidthOrHeight(e,n)})}}),t.dom.extend({end:function(){return this.prevObject||t.dom(null)}}),void function(){var e="blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave mousewheel change select submit keydown keypress keyup error contextmenu".split(" "),n={},r=function(e){n[e]=function(t,n){return n==null&&(n=t,t=null),arguments.length>0?this.on(e,null,t,n):this.trigger(e)}};for(var i=0,s=e.length;i1?Array.prototype.slice.call(arguments,1):null;return function(){var i=t.type(n)==="string"?e[n]:n,s=r?r.concat(Array.prototype.slice.call(arguments,0)):arguments;return i.apply(e||i,s)}}}),t.fn.blank=function(){},t.fx=t.fx||{},t.lang.inherits=t.base.inherits,t.fx.Timeline=function(e){t.lang.Class.call(this),this.interval=16,this.duration=500,this.dynamic=!0,t.object.extend(this,e)},t.lang.inherits(t.fx.Timeline,t.lang.Class,"baidu.fx.Timeline").extend({launch:function(){var e=this;return e.dispatchEvent("onbeforestart"),typeof e.initialize=="function"&&e.initialize(),e["btime"]=(new Date).getTime(),e["etime"]=e["btime"]+(e.dynamic?e.duration:0),e["pulsed"](),e},"pulsed":function(){var e=this,t=(new Date).getTime();e.percent=(t-e["btime"])/e.duration,e.dispatchEvent("onbeforeupdate");if(t>=e["etime"]){typeof e.render=="function"&&e.render(e.transition(e.percent=1)),typeof e.finish=="function"&&e.finish(),e.dispatchEvent("onafterfinish"),e.dispose();return}typeof e.render=="function"&&e.render(e.transition(e.percent)),e.dispatchEvent("onafterupdate"),e["timer"]=setTimeout(function(){e["pulsed"]()},e.interval)},transition:function(e){return e},cancel:function(){this["timer"]&&clearTimeout(this["timer"]),this["etime"]=this["btime"],typeof this.restore=="function"&&this.restore(),this.dispatchEvent("oncancel"),this.dispose()},end:function(){this["timer"]&&clearTimeout(this["timer"]),this["etime"]=this["btime"],this["pulsed"]()}}),t.fx.create=function(e,n,r){var i=new t.fx.Timeline(n);i.element=e,i.__type=r||i.__type,i["original"]={};var s="baidu_current_effect";return i.addEventListener("onbeforestart",function(){var e=this,t;e.attribName="att_"+e.__type.replace(/\W/g,"_"),t=e.element.getAttribute(s),e.element.setAttribute(s,(t||"")+"|"+e.guid+"|",0),e.overlapping||((t=e.element.getAttribute(e.attribName))&&baiduInstance(t).cancel(),e.element.setAttribute(e.attribName,e.guid,0))}),i["clean"]=function(e){var t=this,n;if(e=t.element)e.removeAttribute(t.attribName),n=e.getAttribute(s),n=n.replace("|"+t.guid+"|",""),n?e.setAttribute(s,n,0):e.removeAttribute(s)},i.addEventListener("oncancel",function(){this["clean"](),this["restore"]()}),i.addEventListener("onafterfinish",function(){this["clean"](),this.restoreAfterFinish&&this["restore"]()}),i.protect=function(e){this["original"][e]=this.element.style[e]},i["restore"]=function(){var e=this["original"],t=this.element.style,n;for(var r in e){n=e[r];if(typeof n=="undefined")continue;t[r]=n,!n&&t.removeAttribute?t.removeAttribute(r):!n&&t.removeProperty&&t.removeProperty(r)}},i},t.fx.current=function(e){if(!(e=t.dom.g(e)))return null;var n,r,i=/\|([^\|]+)\|/g;do if(r=e.getAttribute("baidu_current_effect"))break;while((e=e.parentNode)&&e.nodeType==1);if(!r)return null;if(n=r.match(i)){i=/\|([^\|]+)\|/;for(var s=0;s").replace(/&/g,"&");return e.replace(/&#([\d]+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})}}),t.string.extend({encodeHTML:function(){return this.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}}),t.string.extend({format:function(e){var t=this.valueOf(),n=Array.prototype.slice.call(arguments,0),r=Object.prototype.toString;return n.length?(n=n.length==1?e!==null&&/\[object Array\]|\[object Object\]/.test(r.call(e))?e:n:n,t.replace(/#\{(.+?)\}/g,function(e,t){var i=n[t];return"[object Function]"==r.call(i)&&(i=i(t)),"undefined"==typeof i?"":i})):t}}),t.string.extend({getByteLength:function(){return this.replace(/[^\x00-\xff]/g,"ci").length}}),t.string.extend({stripTags:function(){return(this||"").replace(/<[^>]+>/g,"")}}),t.string.extend({subByte:function(e,n){t.check("number(,string)?$","baidu.string.subByte");if(e<0||this.getByteLength()<=e)return this.valueOf();var r=this.substr(0,e).replace(/([^\x00-\xff])/g,"$1 ").substr(0,e).replace(/[^\x00-\xff]$/,"").replace(/([^\x00-\xff]) /g,"$1");return r+(n||"")}}),t.string.extend({toHalfWidth:function(){return this.replace(/[\uFF01-\uFF5E]/g,function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}).replace(/\u3000/g," ")}}),t.string.extend({wbr:function(){return this.replace(/(?:<[^>]+>)|(?:&#?[0-9a-z]{2,6};)|(.{1})/gi,"$&").replace(/>/g,">")}}),t.swf=t.swf||{},t.swf.version=function(){var e=navigator;if(e.plugins&&e.mimeTypes.length){var t=e.plugins["Shockwave Flash"];if(t&&t.description)return t.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0"}else if(window.ActiveXObject&&!window.opera)for(var n=12;n>=2;n--)try{var r=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+n);if(r){var i=r.GetVariable("$version");return i.replace(/WIN/g,"").replace(/,/g,".")}}catch(s){}}(),t.swf.createHTML=function(e){e=e||{};var n=t.swf.version,r=e.ver||"6.0.0",i,s,o,u,a,f,l={},c=t.string.encodeHTML;for(u in e)l[u]=e[u];e=l;if(!n)return"";n=n.split("."),r=r.split(".");for(o=0;o<3;o++){i=parseInt(n[o],10),s=parseInt(r[o],10);if(si)return""}var h=e.vars,p=["classid","codebase","id","width","height","align"];e.align=e.align||"middle",e.classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",e.codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0",e.movie=e.url||"",delete e.vars,delete e.url;if("string"==typeof h)e.flashvars=h;else{var d=[];for(u in h)f=h[u],d.push(u+"="+encodeURIComponent(f));e.flashvars=d.join("&")}var v=["");var m={wmode:1,scale:1,quality:1,play:1,loop:1,menu:1,salign:1,bgcolor:1,base:1,allowscriptaccess:1,allownetworking:1,allowfullscreen:1,seamlesstabbing:1,devicefont:1,swliveconnect:1,flashvars:1,movie:1};for(u in e)f=e[u],u=u.toLowerCase(),m[u]&&(f||f===!1||f===0)&&v.push('');e.src=e.movie,e.name=e.id,delete e.id,delete e.movie,delete e.classid,delete e.codebase,e.type="application/x-shockwave-flash",e.pluginspage="http://www.macromedia.com/go/getflashplayer",v.push(""),v.join("")},t.swf.create=function(e,n){e=e||{};var r=t.swf.createHTML(e)||e.errorMessage||"";n&&"string"==typeof n&&(n=document.getElementById(n)),t.dom.insertHTML(n||document.body,"beforeEnd",r)},t.swf.getMovie=function(e){var n=document[e],r;return t.browser.ie==9?n&&n.length?(r=t.array.remove(t.lang.toArray(n),function(e){return e.tagName.toLowerCase()!="embed"})).length==1?r[0]:r:n:n||window[e]},t.swf.Proxy=function(e,n,r){var i=this,s=this._flash=t.swf.getMovie(e),o;if(!n)return this;o=setInterval(function(){try{s[n]&&(i._initialized=!0,clearInterval(o),r&&r())}catch(e){}},100)},t.swf.Proxy.prototype.getFlash=function(){return this._flash},t.swf.Proxy.prototype.isReady=function(){return!!this._initialized},t.swf.Proxy.prototype.call=function(e,t){try{var n=this.getFlash(),r=Array.prototype.slice.call(arguments);r.shift(),n[e]&&n[e].apply(n,r)}catch(i){}},function(e){var n=document.createElement("div");e.inlineBlockNeedsLayout=!1,e.shrinkWrapBlocks=!1,t(document).ready(function(){var t=document.body,r=document.createElement("div");r.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",t.appendChild(r).appendChild(n),typeof n.style.zoom!="undefined"&&(n.style.cssText="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=n.offsetWidth===3,n.style.display="block",n.innerHTML="
",n.firstChild.style.width="5px",e.shrinkWrapBlocks=n.offsetWidth!==3),t.removeChild(r),r=n=t=null})}(t._util_.support),t}();t.T=r}); \ No newline at end of file diff --git a/api/js/component/animate.js b/api/js/component/animate.js new file mode 100644 index 0000000..89bd31b --- /dev/null +++ b/api/js/component/animate.js @@ -0,0 +1 @@ +window._bd_share_main.F.module("component/animate",function(e,t,n){var r,i=r=i||{version:"1.5.2.2"};i.guid="$BAIDU$",i.$$=window[i.guid]=window[i.guid]||{global:{}},i.fx=i.fx||{},i.lang=i.lang||{},i.lang.guid=function(){return"TANGRAM$"+i.$$._counter++},i.$$._counter=i.$$._counter||1,i.lang.Class=function(){this.guid=i.lang.guid(),!this.__decontrolled&&(i.$$._instances[this.guid]=this)},i.$$._instances=i.$$._instances||{},i.lang.Class.prototype.dispose=function(){delete i.$$._instances[this.guid];for(var e in this)typeof this[e]!="function"&&delete this[e];this.disposed=!0},i.lang.Class.prototype.toString=function(){return"[object "+(this.__type||this._className||"Object")+"]"},window.baiduInstance=function(e){return i.$$._instances[e]},i.lang.isString=function(e){return"[object String]"==Object.prototype.toString.call(e)},i.isString=i.lang.isString,i.lang.Event=function(e,t){this.type=e,this.returnValue=!0,this.target=t||null,this.currentTarget=null},i.lang.Class.prototype.fire=i.lang.Class.prototype.dispatchEvent=function(e,t){i.lang.isString(e)&&(e=new i.lang.Event(e)),!this.__listeners&&(this.__listeners={}),t=t||{};for(var n in t)e[n]=t[n];var n,r,s=this,o=s.__listeners,u=e.type;e.target=e.target||(e.currentTarget=s),u.indexOf("on")&&(u="on"+u),typeof s[u]=="function"&&s[u].apply(s,arguments);if(typeof o[u]=="object")for(n=0,r=o[u].length;n=0;r--)if(i[e][r]===t)return t;return i[e].push(t),n&&typeof n=="string"&&(i[e][n]=t),t},i.lang.inherits=function(e,t,n){var r,i,s=e.prototype,o=new Function;o.prototype=t.prototype,i=e.prototype=new o;for(r in s)i[r]=s[r];return e.prototype.constructor=e,e.superClass=t.prototype,typeof n=="string"&&(i.__type=n),e.extend=function(t){for(var n in t)i[n]=t[n];return e},e},i.inherits=i.lang.inherits,i.object=i.object||{},i.extend=i.object.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},i.fx.Timeline=function(e){i.lang.Class.call(this),this.interval=16,this.duration=500,this.dynamic=!0,i.object.extend(this,e)},i.lang.inherits(i.fx.Timeline,i.lang.Class,"baidu.fx.Timeline").extend({launch:function(){var e=this;return e.dispatchEvent("onbeforestart"),typeof e.initialize=="function"&&e.initialize(),e["btime"]=(new Date).getTime(),e["etime"]=e["btime"]+(e.dynamic?e.duration:0),e["pulsed"](),e},"pulsed":function(){var e=this,t=(new Date).getTime();e.percent=(t-e["btime"])/e.duration,e.dispatchEvent("onbeforeupdate");if(t>=e["etime"]){typeof e.render=="function"&&e.render(e.transition(e.percent=1)),typeof e.finish=="function"&&e.finish(),e.dispatchEvent("onafterfinish"),e.dispose();return}typeof e.render=="function"&&e.render(e.transition(e.percent)),e.dispatchEvent("onafterupdate"),e["timer"]=setTimeout(function(){e["pulsed"]()},e.interval)},transition:function(e){return e},cancel:function(){this["timer"]&&clearTimeout(this["timer"]),this["etime"]=this["btime"],typeof this.restore=="function"&&this.restore(),this.dispatchEvent("oncancel"),this.dispose()},end:function(){this["timer"]&&clearTimeout(this["timer"]),this["etime"]=this["btime"],this["pulsed"]()}}),i.object.each=function(e,t){var n,r,i;if("function"==typeof t)for(r in e)if(e.hasOwnProperty(r)){i=e[r],n=t.call(e,i,r);if(n===!1)break}return e},i.dom=i.dom||{},i.dom.g=function(e){return e?"string"==typeof e||e instanceof String?document.getElementById(e):!e.nodeName||e.nodeType!=1&&e.nodeType!=9?null:e:null},i.g=i.G=i.dom.g,i.dom._g=function(e){return i.lang.isString(e)?document.getElementById(e):e},i._g=i.dom._g,i.dom.getDocument=function(e){return e=i.dom.g(e),e.nodeType==9?e:e.ownerDocument||e.document},i.dom.getComputedStyle=function(e,t){e=i.dom._g(e);var n=i.dom.getDocument(e),r;if(n.defaultView&&n.defaultView.getComputedStyle){r=n.defaultView.getComputedStyle(e,null);if(r)return r[t]||r.getPropertyValue(t)}return""},i.dom._styleFixer=i.dom._styleFixer||{},i.dom._styleFilter=i.dom._styleFilter||[],i.dom._styleFilter.filter=function(e,t,n){for(var r=0,s=i.dom._styleFilter,o;o=s[r];r++)if(o=o[n])t=o(e,t);return t},i.string=i.string||{},i.string.toCamelCase=function(e){return e.indexOf("-")<0&&e.indexOf("_")<0?e:e.replace(/[-_][^-_]/g,function(e){return e.charAt(1).toUpperCase()})},i.dom.getStyle=function(e,t){var n=i.dom;e=n.g(e),t=i.string.toCamelCase(t);var r=e.style[t]||(e.currentStyle?e.currentStyle[t]:"")||n.getComputedStyle(e,t);if(!r||r=="auto"){var s=n._styleFixer[t];s&&(r=s.get?s.get(e,t,r):i.dom.getStyle(e,s))}if(s=n._styleFilter)r=s.filter(t,r,"get");return r},i.getStyle=i.dom.getStyle,i.dom.setStyle=function(e,t,n){var r=i.dom,s;e=r.g(e),t=i.string.toCamelCase(t);if(s=r._styleFilter)n=s.filter(t,n,"set");return s=r._styleFixer[t],s&&s.set?s.set(e,n,t):e.style[s||t]=n,e},i.setStyle=i.dom.setStyle,r.undope=!0;var s=function(e,t,n,s,o){var e=r.g(e);if(!e)return;var u=new i.fx.Timeline({duration:n||400}),a={};r.object.each(t,function(t,n){var i=parseInt(r.dom.getStyle(e,n)),s=parseInt(t),o=s-i;a[n]={gap:o,start:i,end:s}}),u.transition=function(e){return e*(2-e)},u.render=function(n){r.object.each(t,function(t,i){var s=a[i];r.dom.setStyle(e,i,n*s.gap+s.start+"px")}),o&&o(n)},u.finish=function(){r.object.each(t,function(t,n){var i=a[n];r.dom.setStyle(e,n,i.end+"px")}),s&&s()},u.launch()};t.animate=s}); \ No newline at end of file diff --git a/api/js/component/anticheat.js b/api/js/component/anticheat.js new file mode 100644 index 0000000..a3d0805 --- /dev/null +++ b/api/js/component/anticheat.js @@ -0,0 +1 @@ +window._bd_share_main.F.module("component/anticheat",function(e,t,n){var r=e("base/tangram").T,i,s,o=function(e,t){var n=r(t).offset(),i={left:e.pageX,top:e.pageY};return{left:Math.floor(i.left-n.left),top:Math.floor(i.top-n.top)}},u=function(e,t){typeof i=="undefined"&&(i=Math.floor(e.pageX),s=Math.floor(e.pageY));if(t){var n=o(e,t);r(t).data("over_x",n.left).data("over_y",n.top).data("over_time",+(new Date))}},a=function(e,t){var n=o(e,t);r(t).data("click_x",n.left).data("click_y",n.top)},f=function(e,t,n){e=="mouseenter"?u(t,n):e=="mouseclick"&&a(t,n)},l=function(e){var t=r(e.__element),n=e.__buttonType,o=t.data("over_x")||0,u=t.data("over_y")||0,a=t.data("click_x"),f=t.data("click_y"),l=t.innerWidth(),c=t.innerHeight(),h=new Date-t.data("over_time"),p=document.body.offsetWidth,d=document.body.offsetHeight,v=window.screen.availWidth,m=window.screen.availHeight;return[i,s,n>0?1:0,o,u,a,f,l,c,n,h,p,d,v,m].join(".")};t.process=f,t.getSloc=l}); \ No newline at end of file diff --git a/api/js/component/comm_tools.js b/api/js/component/comm_tools.js new file mode 100644 index 0000000..530bb09 --- /dev/null +++ b/api/js/component/comm_tools.js @@ -0,0 +1 @@ +!window._bd_share_is_recently_loaded&&window._bd_share_main.F.module("component/comm_tools",function(e,t){var n=function(){var e=window.location||document.location||{};return e.href||""},r=function(e,t){var n=e.length,r="";for(var i=1;i<=t;i++){var s=Math.floor(n*Math.random());r+=e.charAt(s)}return r},i=function(){var e=(+(new Date)).toString(36),t=r("0123456789abcdefghijklmnopqrstuvwxyz",3);return e+t};t.getLinkId=i,t.getPageUrl=n}); \ No newline at end of file diff --git a/api/js/component/partners.js b/api/js/component/partners.js new file mode 100644 index 0000000..3de5927 --- /dev/null +++ b/api/js/component/partners.js @@ -0,0 +1 @@ +window._bd_share_main.F.module("component/partners",function(e,t){t.partners={evernotecn:{name:"\u5370\u8c61\u7b14\u8bb0"},h163:{name:"\u7f51\u6613\u70ed"},mshare:{name:"\u4e00\u952e\u5206\u4eab"},qzone:{name:"QQ\u7a7a\u95f4"},tsina:{name:"\u65b0\u6d6a\u5fae\u535a"},renren:{name:"\u4eba\u4eba\u7f51"},tqq:{name:"\u817e\u8baf\u5fae\u535a"},bdxc:{name:"\u767e\u5ea6\u76f8\u518c"},kaixin001:{name:"\u5f00\u5fc3\u7f51"},tqf:{name:"\u817e\u8baf\u670b\u53cb"},tieba:{name:"\u767e\u5ea6\u8d34\u5427"},douban:{name:"\u8c46\u74e3\u7f51"},bdhome:{name:"\u767e\u5ea6\u65b0\u9996\u9875"},sqq:{name:"QQ\u597d\u53cb"},thx:{name:"\u548c\u8baf\u5fae\u535a"},bdysc:{name:"\u767e\u5ea6\u4e91\u6536\u85cf"},meilishuo:{name:"\u7f8e\u4e3d\u8bf4"},mogujie:{name:"\u8611\u83c7\u8857"},diandian:{name:"\u70b9\u70b9\u7f51"},huaban:{name:"\u82b1\u74e3"},duitang:{name:"\u5806\u7cd6"},hx:{name:"\u548c\u8baf"},fx:{name:"\u98de\u4fe1"},youdao:{name:"\u6709\u9053\u4e91\u7b14\u8bb0"},sdo:{name:"\u9ea6\u5e93\u8bb0\u4e8b"},qingbiji:{name:"\u8f7b\u7b14\u8bb0"},people:{name:"\u4eba\u6c11\u5fae\u535a"},xinhua:{name:"\u65b0\u534e\u5fae\u535a"},mail:{name:"\u90ae\u4ef6\u5206\u4eab"},isohu:{name:"\u6211\u7684\u641c\u72d0"},yaolan:{name:"\u6447\u7bee\u7a7a\u95f4"},wealink:{name:"\u82e5\u90bb\u7f51"},ty:{name:"\u5929\u6daf\u793e\u533a"},fbook:{name:"Facebook"},twi:{name:"Twitter"},linkedin:{name:"linkedin"},copy:{name:"\u590d\u5236\u7f51\u5740"},print:{name:"\u6253\u5370"},ibaidu:{name:"\u767e\u5ea6\u4e2d\u5fc3"},weixin:{name:"\u5fae\u4fe1"},iguba:{name:"\u80a1\u5427"}},t.partnerSort=["mshare","qzone","tsina","bdysc","weixin","renren","tqq","bdxc","kaixin001","tqf","tieba","douban","bdhome","sqq","thx","ibaidu","meilishuo","mogujie","diandian","huaban","duitang","hx","fx","youdao","sdo","qingbiji","people","xinhua","mail","isohu","yaolan","wealink","ty","iguba","fbook","twi","linkedin","h163","evernotecn","copy","print"]}); \ No newline at end of file diff --git a/api/js/component/pop_base.js b/api/js/component/pop_base.js new file mode 100644 index 0000000..0923f44 --- /dev/null +++ b/api/js/component/pop_base.js @@ -0,0 +1 @@ +window._bd_share_main.F.module("component/pop_base",function(e,t,n){var r=e("base/tangram").T,i=e("conf/const"),s=e("base/class").Class;t.PopBase=s.create(function(t){function s(e){r(e).click(function(e){e=r.event(e||window.event);var t=o(e.target);t&&(e.preventDefault(),n.fire("clickact",{cmd:r(t).attr(n._actBtnSet.cmdAttr),element:t,event:e,buttonType:n._poptype}))}).mouseover(function(e){var t=o(e.target);n.fire("mouseenter",{element:t,event:e}),r(t).attr("data-cmd")=="more"&&n.fire("moreover",{element:t,event:e})})}function o(e){if(u(e))return e;if(n._actBtnSet.maxDomDepth>0){var t=n._actBtnSet.maxDomDepth,i=0,s=r(e).parent().get(0),o=n.entities;while(i0?o:0,left:u>0?u:0}}function i(t,r){var i=n.extend({},e._partnerSort,r.bdDialogPartners),s=[];n.each(i,function(t,n){s[t]='
  • '+e._partners[n].name+"
  • "}),e._container.html(s.join(""))}var e=this;e._poptype=2,e._hide=function(){f&&f.hide(),a&&a.hide(),n("body").unbind("keydown",t)},e._show=function(s,o){i(e._container,o);var u=r();n.each([a,f],function(e,t){t.css({top:u.top,left:u.left}).show()}),n("body").bind("keydown",t),window._bd_share_main.F.use("trans/logger",function(e){e.dialog()})},e._init=function(){var t=[''].join(""),r=['"].join("");n("body").insertHTML("beforeEnd",t+r),e._container=n(".bdshare_dialog_list"),a=n(".bdshare_dialog_box"),f=n(".bdshare_dialog_bg"),n(".bdshare_dialog_close").click(e.hide)}},s.PopBase);t.Dialog=function(){return u||(u=new l,u.init()),u}()}); \ No newline at end of file diff --git a/api/js/component/pop_popup.js b/api/js/component/pop_popup.js new file mode 100644 index 0000000..db24c38 --- /dev/null +++ b/api/js/component/pop_popup.js @@ -0,0 +1 @@ +window._bd_share_main.F.module("component/pop_popup",function(e,t){var n=e("base/tangram").T,r=e("base/class").Class,i=e("conf/const"),s=e("component/pop_base"),o={btn:""},u,a,f,l,c=r.create(function(){function t(t,r){var i=r.bdMini||2,s=r.bdMiniList||e._partnerSort.slice(0,8*i),o=[];n.each(s,function(t,n){o[t]='
  • '+e._partners[n].name+"
  • "}),l.html(o.join("")),a.width(i*110+6),f.height(a.outerHeight()),f.width(a.outerWidth())}var e=this;e._poptype=1,e._hide=function(){f&&f.hide(),a&&a.hide()},e._show=function(r,i){t(e._container,i);var s=e._getPosition(r.element,i);n.each([a,f],function(e,t){t.css({top:s.top,left:s.left}).show()}),n(r.element).one("mouseout",function(){var t=!1;a.one("mouseover",function(){t=!0}),setTimeout(function(){!t&&e.hide()},300)})},e._getPosition=function(e,t){var r=n(e).offset(),i=r.top+n(e).height()+5,s=r.left,o=a.outerHeight(),u=n(window).scrollTop();if(i+o>n("body").height()&&i+o>n(window).height()||i+o>u+n(window).height())i=r.top-o-5,i=i