1 line
2.5 KiB
JavaScript
1 line
2.5 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["updatelog"],{1356:function(t,e,i){},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=[],o=(i("9b42"),i("cf6b")),a=i("36f0"),c=i("e6a3"),l=i("bfd3"),r={name:"UpdateLog",data(){return{lang:"",clientHeight:""}},computed:{...Object(o["c"])(["row_pwd","settings","user_infos"])},methods:{...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(l["a"].call(this),0!=Object.keys(this.row_pwd).length){let 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(a["a"])().update_log.CHS:this.lang=Object(a["a"])().update_log.EN,console.log("语言配置完成")},back(){this.$router.go(-1)},turnToHome(t){console.log(t),this.$router.replace("/")}},created(){this.lang=Object(a["a"])().update_log.CHS,console.log("临时语言系统加载完成"),this.init()},mounted(){this.clientHeight=""+document.documentElement.clientHeight,window.onresize=function(){this.clientHeight=""+document.documentElement.clientHeight,Object(c["a"])()}.bind(this)},watch:{clientHeight:function(){this.changeFixed(this.clientHeight)}},beforeDestroy(){},components:{}},d=r,h=(i("ac6d"),i("5d22")),u=Object(h["a"])(d,n,s,!1,null,"9506fa88",null);e["default"]=u.exports},ac6d:function(t,e,i){"use strict";i("1356")}}]); |