text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{8069:function(t,e,a){"use strict";a.r(e);var r=a("c973"),n=a.n(r);for(var o in r)"default"!==o&&function(t){a.d(e,t,(function(){return r[t]}))}(o);e["default"]=n.a},"8e2d":function(t,e,a){"use strict";var r=a("eef7"),n=a.n(r);n.a},c3ef:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"hammer-tencent"},[a("v-uni-image",{attrs:{src:"/static/images/mine/wechat.png",mode:"widthFix"}})],1),a("v-uni-view",{staticClass:"hammer-logo"},[a("v-uni-view",{staticClass:"logo"},[a("v-uni-image",{attrs:{src:"/static/images/tabBar/hammer.svg",mode:"scaleToFill"}})],1)],1),a("v-uni-view",{staticClass:"wx-login"},[a("hammer-button",{staticClass:"bg-color",attrs:{type:"green",width:"280upx",height:"90upx",size:32},on:{click:function(e){e=t.$handleEvent(e),t.h5onGotUserInfo(e)}}},[t._v("体验🔨UI!")])],1)],1)},n=[];a.d(e,"a",(function(){return r})),a.d(e,"b",(function(){return n}))},c973:function(t,e,a){"use strict";var r=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("8e6e"),a("ac6a"),a("456d");var n=r(a("bd86")),o=a("2f62");function i(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function c(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?i(a,!0).forEach((function(e){(0,n.default)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):i(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}var s={components:{},computed:c({},(0,o.mapState)(["isLogin"])),data:function(){return{canIUse:wx.canIUse("button.open-type.getUserInfo")}},onLoad:function(){if(-1!==window.location.hostname.indexOf("localhost")){var t={nickName:"HammerUI",avatarUrl:"/static/images/logo.svg",gender:0,province:"北京市",city:"北京",country:"中国"};this.login(t)}},methods:c({},(0,o.mapMutations)(["login"]),{h5onGotUserInfo:function(){uni.reLaunch({url:"/pages/hammer-canvas/home"})},bindGetUserInfo:function(t){console.log(t),this.login(t.userInfo),t.userInfo&&uni.reLaunch({url:"/pages/hammer-canvas/home"})},experienceHammerUI:function(){uni.reLaunch({url:"/pages/hammer-canvas/home"})}}),onShow:function(){console.log("进入🔨门口")}};e.default=s},d3ff:function(t,e,a){e=t.exports=a("24fb")(!1),e.push([t.i,".hammer-tencent[data-v-79c818fc]{margin-bottom:%?160?%}.hammer-tencent uni-image[data-v-79c818fc]{width:100%;background:#2ba045}@-webkit-keyframes swingHammer-data-v-79c818fc{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}60%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}80%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}to{-webkit-transform:rotate(15deg);transform:rotate(15deg)}}@keyframes swingHammer-data-v-79c818fc{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}60%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}80%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}to{-webkit-transform:rotate(15deg);transform:rotate(15deg)}}.hammer-logo[data-v-79c818fc]{text-align:center}.hammer-logo .logo[data-v-79c818fc]{width:50vw;height:50vw;-webkit-transform:translateX(50%);transform:translateX(50%);-webkit-animation:swingHammer-data-v-79c818fc 3s infinite;animation:swingHammer-data-v-79c818fc 3s infinite}.hammer-logo .logo uni-image[data-v-79c818fc]{position:absolute;width:100%;height:100%}.wx-login[data-v-79c818fc]{margin-top:%?180?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.hammer-official-account[data-v-79c818fc]{position:fixed;left:%?5?%;right:%?5?%;bottom:var(--window-bottom);box-sizing:border-box}.hammer-official-account uni-official-account[data-v-79c818fc]{border-radius:%?5?%}",""])},eef7:function(t,e,a){var r=a("d3ff");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=a("4f06").default;n("6bca8aa8",r,!0,{sourceMap:!1,shadowMode:!1})},f75a:function(t,e,a){"use strict";a.r(e);var r=a("c3ef"),n=a("8069");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("8e2d");var i=a("2877"),c=Object(i["a"])(n["default"],r["a"],r["b"],!1,null,"79c818fc",null);e["default"]=c.exports}}]);