var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var PopUp = { template : [ '' ].join( '' ), remove: function() { $( '#popup' ).remove(); }, resize: function() { $('#popup .outerborder' ).css( 'left', ( ( ( $(window).width() ) / 2 - ( parseInt( width ) /2 ) ) + $( document ).scrollLeft( ) ) + 'px').css( 'top', ( ( $(window).height() ) / 2 - ( parseInt( height ) / 2 ) + $(document).scrollTop() ) + 'px'); }, create : function( options ) { options= options || {}; width = options.width || 200; height = options.height || 100; content = options.content || 'hello world'; var self = this; $( '#popup' ).remove(); if( $( '#popup_appendto' ).length ) { $.tmpl( this.template, { 'content': content }).prependTo( '#popup_appendto' ); } else { $.tmpl( this.template, { 'content': content }).prependTo( 'body' ); } $( '#popup .outerborder' ).width( width ).height( height ); $( '#popup .messagecontent' ).html( content ); $( '#popup .mask' ).height( $(document).height() ); $( function() { $( '#popup .mask' ).height( $(document).height() ); } ); $( window ).resize( function(){ self.resize(); }).scroll( function(){ self.resize(); } ); self.resize(); $( '#popup #close' ).click( function() { $( '#popup' ).remove(); }); if( options.callback ) { if( typeof( options.callback ) == 'function' ) { options.callback(); } } }, login_content : [ '
', '

老顾客请先登录

', '
', '
', '
', '用户登录', '
', '

这里是错误提示

', '
', '
', '', '', '请输入邮箱账号', '
', '
', '', '', '请输入密码', '忘记密码?', '
', '
', '', '', '
', '
', '', '新用户注册', '', '', '
', '
', '
', '', '
', '
' ].join( '' ), /* 第一次登录的模板内容 */ first_login_content : [ ].join( '' ), register_content : [ '
', '

我是新顾客注册购买

', '
', '
', '

', '', '

', '

', '邮箱账号:', '', '

', '

', '设置密码:', '', '', '

', '

', '再输一次:', '', '', '

', '我已看过并接受《美肤汇服务协议》', '

', '

', '', '

', '', '', '
', '
', '
', '

如果您已拥有账号

', '

请直接登录购买

', '

', '

也可以

', '

使用合作网站账号登录

', '

', '

', '

', '

', '
' ].join( '' ), consignee_content : [ '
', '

', '
', '
', '', '', '', '', '', //'', //'', '
', '
', '', '', '
', '
', '', '', '', '', '
', '
', '', '', '
', '', '', '', '', '
', '', '取消', '
', '
', '
' ].join( '' ), success_content: [ '
', '

收藏成功!

', '

', '您的收藏夹有1件商品', '

', '

', '', '查看我的收藏', '

', '
' ].join( '' ), not_exist: null }; /** * data:2012-05-17 18:30 * explanation:操作成功后,会弹出一个增加积分的提示层,该层的UI由原来的图片更成文字加样式来实现 * author:chenjunyong * data:2012-05-25 */ function fade_out( txt, timeout ) { if( !txt ) { return false; } timeout = timeout || 3000; var txt_tag = '
' + txt + '
'; var txt_dom = $( txt_tag ); var width = txt_dom.width(); var height = txt_dom.height(); //窗口居中 txt_dom.css( 'position', 'absolute' ).css( 'line-height', '35px' ).css( 'left', ( ( ( $(window).width() ) / 2 - ( parseInt( width ) / 2 ) ) + $( document ).scrollLeft( ) ) + 'px').css( 'top', ( ( $(window).height() ) / 2 - ( parseInt( height ) / 2 ) + $(document).scrollTop() ) + 'px'); txt_dom.appendTo( 'body' ).fadeOut( timeout, function () { txt_dom.remove(); }) ; } } /* FILE ARCHIVED ON 23:26:23 Jan 29, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 11:02:48 Sep 28, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.526 exclusion.robots: 0.028 exclusion.robots.policy: 0.017 esindex: 0.01 cdx.remote: 21.809 LoadShardBlock: 117.807 (3) PetaboxLoader3.datanode: 134.336 (4) load_resource: 101.165 PetaboxLoader3.resolve: 53.864 */