我要投搞

标签云

收藏小站

爱尚经典语录、名言、句子、散文、日志、唯美图片

当前位置:彩63彩票 > 多任务 >

iOS 13揭秘:深色模式、多任务、新手势等

归档日期:04-23       文本归类:多任务      文章编辑:爱尚语录

  今年 6 月 3 日,苹果将会举办 WWDC 2019 全球开发者大会。若按照惯例,苹果预计将提供其主要操作系统未来版本的功能预览。在这其中,最吸引人的无疑将是“iOS 13”,因此关于 iOS 13 的传闻最近开始陆续浮出水面。日前,熟悉此事的消息人士以及开发人员 Steve Troughton-Smith 放出了更多细节。

  iOS 13 操作系统更新的一大亮点将会是深色模式(Dark Mode),预计这个功能预计将与此前 macOS 的类似。一旦开启深色模式,较深的配色方案将作用于整个 iOS 系统,包括 iOS 随附的应用,届时应用系统外观和应用都将以更暗的背景、更亮的文本、高对比度和其他元素呈现。另外,第三方应用也将支持采用这一模式。

  苹果此前为 macOS 宣传深色模式时表示,深色模式有助于专注地开展工作,因为内容会较为显眼。其实除此之外,熟知 OLED 屏幕特性的机友都清楚,暗色系或纯黑色对 OLED 屏幕的耗电量更低,有助于提高手机的续航水平。

  iOS 13 操作系统的另一个重大变化在于引入基于 iPad 的多任务处理。应用程序将能够以多窗口形式呈现,用户可以通过拖拽手势实现应用分屏显示,让应用吸附在屏幕一部分,或通过手势拖拽窗口变成可自由移动卡片,卡片堆叠时会呈现深度效果,用于指示卡片位于顶部还是底部,或者可解锁关闭卡片。

  iOS 13 操作系统将在设置中引入字体管理面板,支持添加字体,用户无需再以安装配置文件来导入新字体。开发者在开发应用程序过程中,将提供一个新的字体选择器。当用户所打开的应用程序或文档缺少某个字体时,iOS 13 将会向用户发出警告通知,告知用户需要安装所缺字体到 iPhone 或 iPad 上。

  邮件应用程序将增加一些“更智能”的功能,能够将收到的邮件分类到不同的主题类别中,例如购物、旅行或“不重要”等,这些主题均可搜索,同时用户还可以将邮件设置为“稍后阅读”。此外,邮件应用还将支持与第三方文档应用更轻松地协作,这与 iOS 默认支持使用苹果生产力的应用套件(Pages、Numbers 和 Keynote)的方式类似。

  iOS 13 在 iPad 上将为 Safari 进一步改进,在必要的时候,用户所浏览的网站能够自动请求桌面版本,而不是默认情况下仍查看移动版本。这就避免了 iPad 用户碰到的一个常见问题,即在大屏幕 iPad 上使用 Safari 浏览器浏览网页,其页面仍呈现为 iPhone 版,用户需手动请求桌面版站点。

  iOS 13 操作系统将引入新的手势,包括系统范围内的撤销和重做命令手势。用户在键盘区域上用三根手指轻敲键盘,然后向左或向右滑动交互时就能出现撤销或重做指令,而无需再通过摇动或晃动设备实现。在第一次打开键盘时系统会提供一个教程,教导用户如何使用新的手势功能,开发者通过 API 也将能够设计自己的应用支持这些手势。

  为了提高 iOS 系统的工作效率,苹果还会引入更多的手势,其中在集合视图(Collection View)或表格视图(Table View)中选择多个项目,也可以通过新的多指手势拖动来实现,类似于在 Mac 的 Finder 里选中并拖动。

  iOS 13 系统自带的“提醒事项”app 将得到更新,该应用也将扩展到 macOS 中。iOS 13 将会对音量界面进行改进,改进多语言键盘和听写支持,改善“嘿,Siri”的误听率,还会改进应用内打印功能等。目前可以确认的是,iOS 13 确定将会引入一批新的表情符号。此前有报道称,CarPlay 的操作方式将得到升级,iPad 将迎来新的主屏幕。

  iOS 13 \u64cd\u4f5c\u7cfb\u7edf\u66f4\u65b0\u7684\u4e00\u5927\u4eae\u70b9\u5c06\u4f1a\u662f\u6df1\u8272\u6a21\u5f0f\uff08Dark Mode\uff09\uff0c\u9884\u8ba1\u8fd9\u4e2a\u529f\u80fd\u9884\u8ba1\u5c06\u4e0e\u6b64\u524d macOS \u7684\u7c7b\u4f3c\u3002\u4e00\u65e6\u5f00\u542f\u6df1\u8272\u6a21\u5f0f\uff0c\u8f83\u6df1\u7684\u914d\u8272\u65b9\u6848\u5c06\u4f5c\u7528\u4e8e\u6574\u4e2a iOS \u7cfb\u7edf\uff0c\u5305\u62ec iOS \u968f\u9644\u7684\u5e94\u7528\uff0c\u5c4a\u65f6\u5e94\u7528\u7cfb\u7edf\u5916\u89c2\u548c\u5e94\u7528\u90fd\u5c06\u4ee5\u66f4\u6697\u7684\u80cc\u666f\u3001\u66f4\u4eae\u7684\u6587\u672c\u3001\u9ad8\u5bf9\u6bd4\u5ea6\u548c\u5176\u4ed6\u5143\u7d20\u5448\u73b0\u3002\u53e6\u5916\uff0c\u7b2c\u4e09\u65b9\u5e94\u7528\u4e5f\u5c06\u652f\u6301\u91c7\u7528\u8fd9\u4e00\u6a21\u5f0f\u3002\u82f9\u679c\u6b64\u524d\u4e3a macOS \u5ba3\u4f20\u6df1\u8272\u6a21\u5f0f\u65f6\u8868\u793a\uff0c\u6df1\u8272\u6a21\u5f0f\u6709\u52a9\u4e8e\u4e13\u6ce8\u5730\u5f00\u5c55\u5de5\u4f5c\uff0c\u56e0\u4e3a\u5185\u5bb9\u4f1a\u8f83\u4e3a\u663e\u773c\u3002\u5176\u5b9e\u9664\u6b64\u4e4b\u5916\uff0c\u719f\u77e5 OLED \u5c4f\u5e55\u7279\u6027\u7684\u673a\u53cb\u90fd\u6e05\u695a\uff0c\u6697\u8272\u7cfb\u6216\u7eaf\u9ed1\u8272\u5bf9 OLED \u5c4f\u5e55\u7684\u8017\u7535\u91cf\u66f4\u4f4e\uff0c\u6709\u52a9\u4e8e\u63d0\u9ad8\u624b\u673a\u7684\u7eed\u822a\u6c34\u5e73\u3002\u591a\u4efb\u52a1\u5904\u7406\u3002iOS 13 \u64cd\u4f5c\u7cfb\u7edf\u7684\u53e6\u4e00\u4e2a\u91cd\u5927\u53d8\u5316\u5728\u4e8e\u5f15\u5165\u57fa\u4e8e iPad \u7684\u591a\u4efb\u52a1\u5904\u7406\u3002\u5e94\u7528\u7a0b\u5e8f\u5c06\u80fd\u591f\u4ee5\u591a\u7a97\u53e3\u5f62\u5f0f\u5448\u73b0\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u62d6\u62fd\u624b\u52bf\u5b9e\u73b0\u5e94\u7528\u5206\u5c4f\u663e\u793a\uff0c\u8ba9\u5e94\u7528\u5438\u9644\u5728\u5c4f\u5e55\u4e00\u90e8\u5206\uff0c\u6216\u901a\u8fc7\u624b\u52bf\u62d6\u62fd\u7a97\u53e3\u53d8\u6210\u53ef\u81ea\u7531\u79fb\u52a8\u5361\u7247\uff0c\u5361\u7247\u5806\u53e0\u65f6\u4f1a\u5448\u73b0\u6df1\u5ea6\u6548\u679c\uff0c\u7528\u4e8e\u6307\u793a\u5361\u7247\u4f4d\u4e8e\u9876\u90e8\u8fd8\u662f\u5e95\u90e8\uff0c\u6216\u8005\u53ef\u89e3\u9501\u5173\u95ed\u5361\u7247\u3002iOS 13 \u64cd\u4f5c\u7cfb\u7edf\u5c06\u5728\u8bbe\u7f6e\u4e2d\u5f15\u5165\u5b57\u4f53\u7ba1\u7406\u9762\u677f\uff0c\u652f\u6301\u6dfb\u52a0\u5b57\u4f53\uff0c\u7528\u6237\u65e0\u9700\u518d\u4ee5\u5b89\u88c5\u914d\u7f6e\u6587\u4ef6\u6765\u5bfc\u5165\u65b0\u5b57\u4f53\u3002\u5f00\u53d1\u8005\u5728\u5f00\u53d1\u5e94\u7528\u7a0b\u5e8f\u8fc7\u7a0b\u4e2d\uff0c\u5c06\u63d0\u4f9b\u4e00\u4e2a\u65b0\u7684\u5b57\u4f53\u9009\u62e9\u5668\u3002\u5f53\u7528\u6237\u6240\u6253\u5f00\u7684\u5e94\u7528\u7a0b\u5e8f\u6216\u6587\u6863\u7f3a\u5c11\u67d0\u4e2a\u5b57\u4f53\u65f6\uff0ciOS 13 \u5c06\u4f1a\u5411\u7528\u6237\u53d1\u51fa\u8b66\u544a\u901a\u77e5\uff0c\u544a\u77e5\u7528\u6237\u9700\u8981\u5b89\u88c5\u6240\u7f3a\u5b57\u4f53\u5230 iPhone \u6216 iPad \u4e0a\u3002\u90ae\u4ef6 app \u66f4\u667a\u80fd\u3002\u90ae\u4ef6\u5e94\u7528\u7a0b\u5e8f\u5c06\u589e\u52a0\u4e00\u4e9b\u201c\u66f4\u667a\u80fd\u201d\u7684\u529f\u80fd\uff0c\u80fd\u591f\u5c06\u6536\u5230\u7684\u90ae\u4ef6\u5206\u7c7b\u5230\u4e0d\u540c\u7684\u4e3b\u9898\u7c7b\u522b\u4e2d\uff0c\u4f8b\u5982\u8d2d\u7269\u3001\u65c5\u884c\u6216\u201c\u4e0d\u91cd\u8981\u201d\u7b49\uff0c\u8fd9\u4e9b\u4e3b\u9898\u5747\u53ef\u641c\u7d22\uff0c\u540c\u65f6\u7528\u6237\u8fd8\u53ef\u4ee5\u5c06\u90ae\u4ef6\u8bbe\u7f6e\u4e3a\u201c\u7a0d\u540e\u9605\u8bfb\u201d\u3002\u6b64\u5916\uff0c\u90ae\u4ef6\u5e94\u7528\u8fd8\u5c06\u652f\u6301\u4e0e\u7b2c\u4e09\u65b9\u6587\u6863\u5e94\u7528\u66f4\u8f7b\u677e\u5730\u534f\u4f5c\uff0c\u8fd9\u4e0e iOS \u9ed8\u8ba4\u652f\u6301\u4f7f\u7528\u82f9\u679c\u751f\u4ea7\u529b\u7684\u5e94\u7528\u5957\u4ef6\uff08Pages\u3001Numbers \u548c Keynote\uff09\u7684\u65b9\u5f0f\u7c7b\u4f3c\u3002

  iOS 13 \u5728 iPad \u4e0a\u5c06\u4e3a Safari \u8fdb\u4e00\u6b65\u6539\u8fdb\uff0c\u5728\u5fc5\u8981\u7684\u65f6\u5019\uff0c\u7528\u6237\u6240\u6d4f\u89c8\u7684\u7f51\u7ad9\u80fd\u591f\u81ea\u52a8\u8bf7\u6c42\u684c\u9762\u7248\u672c\uff0c\u800c\u4e0d\u662f\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4ecd\u67e5\u770b\u79fb\u52a8\u7248\u672c\u3002\u8fd9\u5c31\u907f\u514d\u4e86 iPad \u7528\u6237\u78b0\u5230\u7684\u4e00\u4e2a\u5e38\u89c1\u95ee\u9898\uff0c\u5373\u5728\u5927\u5c4f\u5e55 iPad \u4e0a\u4f7f\u7528 Safari \u6d4f\u89c8\u5668\u6d4f\u89c8\u7f51\u9875\uff0c\u5176\u9875\u9762\u4ecd\u5448\u73b0\u4e3a iPhone \u7248\uff0c\u7528\u6237\u9700\u624b\u52a8\u8bf7\u6c42\u684c\u9762\u7248\u7ad9\u70b9\u3002\u65b0\u624b\u52bf\u64cd\u4f5c\u3002iOS 13 \u64cd\u4f5c\u7cfb\u7edf\u5c06\u5f15\u5165\u65b0\u7684\u624b\u52bf\uff0c\u5305\u62ec\u7cfb\u7edf\u8303\u56f4\u5185\u7684\u64a4\u9500\u548c\u91cd\u505a\u547d\u4ee4\u624b\u52bf\u3002\u7528\u6237\u5728\u952e\u76d8\u533a\u57df\u4e0a\u7528\u4e09\u6839\u624b\u6307\u8f7b\u6572\u952e\u76d8\uff0c\u7136\u540e\u5411\u5de6\u6216\u5411\u53f3\u6ed1\u52a8\u4ea4\u4e92\u65f6\u5c31\u80fd\u51fa\u73b0\u64a4\u9500\u6216\u91cd\u505a\u6307\u4ee4\uff0c\u800c\u65e0\u9700\u518d\u901a\u8fc7\u6447\u52a8\u6216\u6643\u52a8\u8bbe\u5907\u5b9e\u73b0\u3002\u5728\u7b2c\u4e00\u6b21\u6253\u5f00\u952e\u76d8\u65f6\u7cfb\u7edf\u4f1a\u63d0\u4f9b\u4e00\u4e2a\u6559\u7a0b\uff0c\u6559\u5bfc\u7528\u6237\u5982\u4f55\u4f7f\u7528\u65b0\u7684\u624b\u52bf\u529f\u80fd\uff0c\u5f00\u53d1\u8005\u901a\u8fc7 API \u4e5f\u5c06\u80fd\u591f\u8bbe\u8ba1\u81ea\u5df1\u7684\u5e94\u7528\u652f\u6301\u8fd9\u4e9b\u624b\u52bf\u3002\u4e3a\u4e86\u63d0\u9ad8 iOS \u7cfb\u7edf\u7684\u5de5\u4f5c\u6548\u7387\uff0c\u82f9\u679c\u8fd8\u4f1a\u5f15\u5165\u66f4\u591a\u7684\u624b\u52bf\uff0c\u5176\u4e2d\u5728\u96c6\u5408\u89c6\u56fe(Collection View)\u6216\u8868\u683c\u89c6\u56fe(Table View)\u4e2d\u9009\u62e9\u591a\u4e2a\u9879\u76ee\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u65b0\u7684\u591a\u6307\u624b\u52bf\u62d6\u52a8\u6765\u5b9e\u73b0\uff0c\u7c7b\u4f3c\u4e8e\u5728 Mac \u7684 Finder \u91cc\u9009\u4e2d\u5e76\u62d6\u52a8\u3002).attr(t).hide();return a.each(e,function(e,t){a().hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)>

  ).hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)-1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)>

  -1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)-1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length>

  -1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length>

  0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length>

  0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length>

  0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length0){l=!0;break}o=a,a=a[u]}return l?e.events.trigger(warn.config,setConfig cannot be set on +i):o[u]=s,e};var r=function(){var e,n,i,s,o,u=arguments[0]{},a=1,f=arguments.length,l=!1;for(boolean==typeof u&&(l=u,u=arguments[1]{},a=2),object==typeof ut.isFunction(u)(u={});a0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i>

  0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i=0?c():n&&(l=setTimeout(c,-i)),a=u}},n.debounce=function(e,t,r){return n.throttle(e,t,r,!0)},n.bind=function(e,n){if(e.bind&&e.bind===Function.prototype.bind)return e.bind(n);if(!t.isFunction(e))throw new TypeError;var r=[].slice.call(arguments,2),i=function(){var t=[].slice.apply(arguments);if(this instanceof i){var s=function(){};s.prototype=e.prototype;var o=new s;s.prototype=null;var u=e.apply(o,r.concat(t));return Object(u)===u?u:o}return e.apply(n,r.concat(t))};return i},n.initInputId=function(e){t(e).find(.quc-input:not([id])).each(function(e,r){var i=t(r),s=i.parent();if(s=LABEL==s[0].tagName?s:s.siblings(label),s.length){var o=quc_+i.attr(name)+_+n.getGuid();i.attr(id,o),s.attr(for,o)}})},n.selectText=function(e,n,r){var i=t(e),s=i.val().length;for(n=parseInt(n)0,r=parseInt(r)s;n).attr(src,o).hide();t(n.body).append(u),window[s]=function(){clearTimeout(a),delete r.object;var e=u[0].contentWindow,n=e.document,s=r.store=n.createElement(input);setTimeout(function(){s.addBehavior(#default#userData),n.body.appendChild(s),s.load(r.storeName),t.each(i.data,function(e,t){s.setAttribute(e,t)}),s.save(r.storeName)},30)};var a=setTimeout(function(){u.remove()},2e4)})}},set:function(e,t){this.object?this.object.set(e,t):(this.store.load(this.storeName),this.store.setAttribute(e,t),this.store.save(this.storeName))},get:function(e,t){if(this.object)return this.object.get(e,t);this.store.load(this.storeName);var n=this.store.getAttribute(e);return null!==n?n:t},remove:function(e){this.object?this.object.remove(e):this.store.removeAttribute(e)}},a={init:function(){this.data=this.data{}},set:function(e,t){this.data[e]=t},get:function(e,t){var n=this.data[e];return void 0!==n?n:t},remove:function(e){delete this.data[e]}},f=navigator.userAgent.toLowerCase(),l=f.match(/msie ([\d.]+)/),c=l&&l[1],h=6==c7==c;e.utils.storage=function(e){var t;switch(e){default:caselocal:try{t=window.localStorage?r:h?u:a}catch(e){t=a}break;casesession:try{t=window.sessionStorage?i:a}catch(e){t=a}break;casecookie:t=o()?s:a;break;casepage:t=a}return t.init&&t.init(),t},h&&u.init()}(QHPass),function(e){use strict;var t=e.$,n=立即登录,r=e.ERROR={REALNAME_EMPTY:{errno:204,errmsg:请输入您的真实姓名},REALNAME_INVALID:{errno:227,errmsg:请确认您输入的真实姓名是否有误},ACCOUNT_EMPTY:{errno:1030,errmsg:请输入360帐号},ACCOUNT_INVALID:{errno:1035,errmsg:请确认您的帐号输入是否有误},ACCOUNT_DUPLICATE:{errno:1037,errmsg:该帐号已经注册,+n},USERNAME_DUPLICATE:{errno:213,errmsg:用户名已经被使。

本文链接:http://ashtonstewart.net/duorenwu/50.html