weiyun-ui
Version:
UI library For Vue
2 lines • 5.01 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("wy-page-not-found",[],e):"object"==typeof exports?exports["wy-page-not-found"]=e():t["wy-page-not-found"]=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=593)}({2:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},24:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},27:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u,c){var f,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=f):o&&(f=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),f)if(a.functional){a._injectStyles=f;var s=a.render;a.render=function(t,e){return f.call(e),s(t,e)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},31:function(t,e,n){var r=n(7).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(4)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},33:function(t,e,n){var r=n(6),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},4:function(t,e,n){t.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},41:function(t,e,n){t.exports=!n(4)&&!n(8)((function(){return 7!=Object.defineProperty(n(33)("div"),"a",{get:function(){return 7}}).a}))},420:function(t,e,n){},5:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},556:function(t,e,n){"use strict";n(420)},593:function(t,e,n){"use strict";n.r(e);n(31);var r=function(){var t=this._self._c;return t("div",{staticClass:"error-page"},[t("div",{staticClass:"error-container"},[t("div",{staticClass:"image-container"},[t("img",{attrs:{src:"https://pub-1301790055.cos.ap-beijing.myqcloud.com/pc/not-found.jpg",alt:"404错误插画"}})]),this._m(0),t("div",{staticClass:"button-group"},[t("router-link",{attrs:{to:"/"}},[t("el-button",{attrs:{type:"primary"}},[t("i",{staticClass:"el-icon-s-home"}),this._v("\n 返回首页\n ")])],1),t("el-button",{attrs:{type:"text"},on:{click:this.goBack}},[t("i",{staticClass:"el-icon-back"}),this._v("\n 返回上一页\n ")])],1)])])};r._withStripped=!0;var o={name:"wyPageNotFound",methods:{goBack:function(){this.$router.go(-1)}}},i=(n(556),n(27)),u=Object(i.a)(o,r,[function(){var t=this._self._c;return t("div",{staticClass:"content"},[t("h1",[this._v("404")]),t("p",{staticClass:"main-text"},[this._v("抱歉,您访问的页面已经迷失在数字星空中了")]),t("p",{staticClass:"sub-text"},[this._v("别担心,让我们帮您找到回家的路")])])}],!1,null,"ff06b51e",null).exports;u.install=function(t){t.component(u.name,u)};e.default=u},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},7:function(t,e,n){var r=n(5),o=n(41),i=n(24),u=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},8:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}}}).default}));
//# sourceMappingURL=index.js.map