1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["updatelog"],{8263:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"account"},[i("md-app",{attrs:{"md-waterfall":"","md-mode":"fixed"}},[i("md-app-toolbar",{staticClass:"md-primary toolbar"},[i("div",{staticClass:"md-toolbar-section-start"},[i("md-button",{staticClass:"md-icon-button",on:{click:function(e){return t.back()}}},[i("md-icon",[t._v("arrow_back")])],1),i("h3",{staticClass:"md-title",staticStyle:{flex:"1"}},[t._v(t._s(t.lang.title))])],1)]),i("md-app-content",[i("v-touch",{attrs:{"swipe-options":{direction:"horizontal"}},on:{swiperight:function(e){return t.back()}}},[i("div",{ref:"list_placeholder",staticStyle:{height:"54px"}}),i("md-steppers",{attrs:{"md-vertical":""}},t._l(t.lang.timeline,(function(e,n){return i("md-step",{key:n,attrs:{id:n.toString(),"md-label":e.label,"md-description":e.tag}},t._l(e.content,(function(e,n){return i("p",{key:n},[t._v(t._s(e))])})),0)})),1)],1)],1)],1)],1)},s=[],a=(i("d780"),i("b54b")),o=i("08c1"),c=i("36f0"),l=i("e6a3"),r=i("bfd3"),d={name:"UpdateLog",data(){return{lang:"",clientHeight:""}},computed:Object(a["a"])({},Object(o["c"])(["row_pwd","settings","user_infos"])),methods:Object(a["a"])({},Object(o["b"])(["setSettings","setUserInfo"]),{changeFixed(t){this.$refs.list_placeholder.parentNode.parentNode.style.maxHeight=t+"px",this.$refs.list_placeholder.parentNode.style.minHeight=t-32+"px",window.document.documentElement.setAttribute("data-theme",this.settings.is_dark_mode?"dark":"light")},init(){if(r["a"].call(this),0!=Object.keys(this.row_pwd).length){var t=(new Date).getTime();t-this.row_pwd.create_time<this.settings.expired_time?this.initLanguage():this.turnToHome("密码超时")}else this.turnToHome("无密码")},initLanguage(){this.settings.is_chinese?this.lang=Object(c["a"])().update_log.CHS:this.lang=Object(c["a"])().update_log.EN,console.log("语言配置完成")},back(){this.$router.go(-1)},turnToHome(t){console.log(t),this.$router.replace("/")}}),created(){this.lang=Object(c["a"])().update_log.CHS,console.log("临时语言系统加载完成"),this.init()},mounted(){this.clientHeight="".concat(document.documentElement.clientHeight),window.onresize=function(){this.clientHeight="".concat(document.documentElement.clientHeight),Object(l["a"])()}.bind(this)},watch:{clientHeight:function(){this.changeFixed(this.clientHeight)}},beforeDestroy(){},components:{}},h=d,u=(i("a0d8"),i("623f")),m=Object(u["a"])(h,n,s,!1,null,"cba47f44",null);e["default"]=m.exports},a0d8:function(t,e,i){"use strict";var n=i("b63e"),s=i.n(n);s.a},b63e:function(t,e,i){}}]); |