text: webpackJsonp([36,45],{4:function(t,e,a){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=a(9),i=n(o),r=a(3);e.default={data:function(){return{}},created:function(){this.getUserInfo()},mounted:function(){},props:["signinUp","headTitle","goBack"],computed:(0,i.default)({},(0,r.mapState)(["userInfo"])),methods:(0,i.default)({},(0,r.mapActions)(["getUserInfo"]))}},5:function(t,e,a){e=t.exports=a(1)(),e.push([t.id,"#head_top[data-v-9225d752]{background-color:#3190e8;position:fixed;z-index:100;left:0;top:0;width:100%;height:1.95rem}.head_goback[data-v-9225d752]{left:.4rem;width:.6rem;height:.8rem;line-height:2.2rem;margin-left:.4rem}.head_login[data-v-9225d752]{right:.55rem;font-size:.65rem;color:#fff;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.head_login .login_span[data-v-9225d752]{color:#fff}.head_login .user_avatar[data-v-9225d752]{fill:#fff;width:.8rem;height:.8rem}.title_head[data-v-9225d752]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:50%;color:#fff;text-align:center}.title_head .title_text[data-v-9225d752]{font-size:.8rem;color:#fff;text-align:center;font-weight:700}","",{version:3,sources:["/./src/components/header/head.vue"],names:[],mappings:"AACA,2BAA2B,yBAAyB,eAAe,YAAY,OAAO,MAAM,WAAW,cAAc,CACpH,AACD,8BAA8B,WAAY,YAAY,aAAa,mBAAmB,iBAAiB,CACtG,AACD,6BAA6B,aAAc,iBAAiB,WAAW,kBAAkB,QAAQ,mCAAmC,AAA+B,0BAA0B,CAC5L,AACD,yCAAyC,UAAU,CAClD,AACD,0CAA0C,UAAU,YAAY,YAAY,CAC3E,AACD,6BAA6B,kBAAkB,QAAQ,SAAS,uCAAwC,AAAoC,+BAAgC,UAAU,WAAW,iBAAiB,CACjN,AACD,yCAAyC,gBAAgB,WAAW,kBAAkB,eAAgB,CACrG",file:"head.vue",sourcesContent:["\n#head_top[data-v-9225d752]{background-color:#3190e8;position:fixed;z-index:100;left:0;top:0;width:100%;height:1.95rem\n}\n.head_goback[data-v-9225d752]{left:0.4rem;width:.6rem;height:.8rem;line-height:2.2rem;margin-left:.4rem\n}\n.head_login[data-v-9225d752]{right:0.55rem;font-size:.65rem;color:#fff;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)\n}\n.head_login .login_span[data-v-9225d752]{color:#fff\n}\n.head_login .user_avatar[data-v-9225d752]{fill:#fff;width:.8rem;height:.8rem\n}\n.title_head[data-v-9225d752]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:50%;color:#fff;text-align:center\n}\n.title_head .title_text[data-v-9225d752]{font-size:.8rem;color:#fff;text-align:center;font-weight:bold\n}\n"],sourceRoot:"webpack://"}])},6:function(t,e,a){var n=a(5);"string"==typeof n&&(n=[[t.id,n,""]]);a(2)(n,{});n.locals&&(t.exports=n.locals)},7:function(t,e,a){var n,o;a(6),n=a(4);var i=a(8);o=n=n||{},"object"!=typeof n.default&&"function"!=typeof n.default||(o=n=n.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,o._scopeId="data-v-9225d752",t.exports=n},8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("header",{attrs:{id:"head_top"}},[t._t("logo")," ",t._t("search")," ",t.goBack?e("section",{staticClass:"head_goback",on:{click:function(e){t.$router.go(-1)}}},[e("svg",{attrs:{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[e("polyline",{staticStyle:{fill:"none",stroke:"rgb(255,255,255)","stroke-width":"2"},attrs:{points:"12,18 4,9 12,0"}})])]):t._e()," ",t.signinUp?e("router-link",{staticClass:"head_login",attrs:{to:t.userInfo?"/profile":"/login"}},[t.userInfo?e("svg",{staticClass:"user_avatar"},[e("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#user"}})]):e("span",{staticClass:"login_span"},["登陆|注册"])," "]):t._e()," ",t.headTitle?e("section",{staticClass:"title_head ellipsis"},[e("span",{staticClass:"title_text"},[t._s(t.headTitle)])]):t._e()," ",t._t("edit")," ",t._t("msite-title")," ",t._t("changecity")," ",t._t("changeLogin")])},staticRenderFns:[]}},16:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getImgPath=e.loadMore=void 0;var n=a(26),o=a(25);e.loadMore={directives:{"load-more":{bind:function(t,e){var a=window.screen.height,o=void 0,i=void 0,r=void 0,s=void 0,d=void 0,A=void 0,l=void 0,c=void 0,p=t.attributes.type&&t.attributes.type.value,u=2;2==p?(l=t,c=t.children[0]):(l=document.body,c=t),t.addEventListener("touchstart",function(){o=c.clientHeight,2==p&&(o=o),i=t.offsetTop,r=(0,n.getStyle)(t,"paddingBottom"),s=(0,n.getStyle)(t,"marginBottom")},!1),t.addEventListener("touchmove",function(){f()},!1),t.addEventListener("touchend",function(){A=l.scrollTop,m()},!1);var m=function t(){d=requestAnimationFrame(function(){l.scrollTop!=A?(A=l.scrollTop,t()):(cancelAnimationFrame(d),o=c.clientHeight,f())})},f=function(){l.scrollTop+a>=o+i+r+s-u&&e.value()}}}}},e.getImgPath={methods:{getImgPath:function(t){var e=void 0;if(!t)return"http://test.fe.ptdev.cn/elm/elmlogo.jpeg";e=t.indexOf("jpeg")!==-1?".jpeg":".png";var a="/"+t.substr(0,1)+"/"+t.substr(1,2)+"/"+t.substr(3)+e;return o.imgBaseUrl+a}}}},149:function(t,e,a){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=a(9),i=n(o),r=a(7),s=n(r),d=a(16),A=a(3);e.default={data:function(){return{earn:!0,bordercolor:!1,opacityall:!1,inputValue:"",newusername:""}},created:function(){},mixins:[d.getImgPath],components:{headTop:s.default},mounted:function(){},computed:(0,i.default)({},(0,A.mapState)(["userInfo"])),props:[],methods:(0,i.default)({},(0,A.mapMutations)(["RETSET_NAME"]),{inputThing:function(){this.inputValue.length<5||this.inputValue.length>24?(this.earn=!1,this.bordercolor=!0,this.opacityall=!1):(this.earn=!0,this.bordercolor=!1,this.opacityall=!0)},resetName:function(){this.RETSET_NAME(this.inputValue),this.$router.go(-1)}})}},244:function(t,e,a){e=t.exports=a(1)(),e.push([t.id,".rating_page[data-v-4b8dc190]{position:absolute;top:0;left:0;right:0;bottom:0;z-index:202;background:#f2f2f2;padding-top:1.95rem}.rating_page p[data-v-4b8dc190],.rating_page span[data-v-4b8dc190]{font-family:Helvetica Neue,Tahoma,Arial}.setname[data-v-4b8dc190]{width:15.2rem;margin:0 auto}.setname .setname-top[data-v-4b8dc190]{padding-top:.4rem}.setname .setname-top input[data-v-4b8dc190]{background:none;width:15.2rem;border:1px solid #ddd;border-radius:2px;padding:.2rem .1rem;line-height:1.2rem;font-size:.7rem;display:block}.setname .setname-top .setname-input[data-v-4b8dc190]{border-color:#ea3106}.setname .setname-top p[data-v-4b8dc190]{width:100%;font-size:.4rem;color:#666;padding:.4rem 0 1rem}.setname .setname-top .unlikep[data-v-4b8dc190]{font-size:.58rem;color:#ea3106;padding-top:.1rem}.setname .reset[data-v-4b8dc190]{width:100%;background:#3199e8}.setname .reset button[data-v-4b8dc190]{display:block;width:100%;background:none;line-height:2rem;font-size:.7rem;color:#fff;opacity:.6;-webkit-transition:all 1s;transition:all 1s}.setname .reset .fontopacity[data-v-4b8dc190]{-webkit-transition:all 1s;transition:all 1s;opacity:1}","",{version:3,sources:["/./src/page/profile/children/setusername.vue"],names:[],mappings:"AACA,8BAA8B,kBAAkB,MAAM,OAAO,QAAQ,SAAS,YAAY,mBAAmB,mBAAmB,CAC/H,AACD,mEAAmE,uCAAuC,CACzG,AACD,0BAA0B,cAAc,aAAa,CACpD,AACD,uCAAuC,iBAAiB,CACvD,AACD,6CAA6C,gBAAgB,cAAc,sBAAsB,kBAAkB,oBAAoB,mBAAmB,gBAAgB,aAAa,CACtL,AACD,sDAAsD,oBAAoB,CACzE,AACD,yCAAyC,WAAW,gBAAgB,WAAW,oBAAoB,CAClG,AACD,gDAAgD,iBAAiB,cAAc,iBAAiB,CAC/F,AACD,iCAAiC,WAAW,kBAAkB,CAC7D,AACD,wCAAwC,cAAc,WAAW,gBAAgB,iBAAiB,gBAAgB,WAAW,WAAW,0BAA0B,iBAAiB,CAClL,AACD,8CAA8C,0BAA0B,kBAAkB,SAAS,CAClG",file:"setusername.vue",sourcesContent:["\n.rating_page[data-v-4b8dc190]{position:absolute;top:0;left:0;right:0;bottom:0;z-index:202;background:#f2f2f2;padding-top:1.95rem\n}\n.rating_page p[data-v-4b8dc190],.rating_page span[data-v-4b8dc190]{font-family:Helvetica Neue,Tahoma,Arial\n}\n.setname[data-v-4b8dc190]{width:15.2rem;margin:0 auto\n}\n.setname .setname-top[data-v-4b8dc190]{padding-top:.4rem\n}\n.setname .setname-top input[data-v-4b8dc190]{background:none;width:15.2rem;border:1px solid #ddd;border-radius:2px;padding:.2rem .1rem;line-height:1.2rem;font-size:.7rem;display:block\n}\n.setname .setname-top .setname-input[data-v-4b8dc190]{border-color:#ea3106\n}\n.setname .setname-top p[data-v-4b8dc190]{width:100%;font-size:.4rem;color:#666;padding:.4rem 0 1rem\n}\n.setname .setname-top .unlikep[data-v-4b8dc190]{font-size:.58rem;color:#ea3106;padding-top:.1rem\n}\n.setname .reset[data-v-4b8dc190]{width:100%;background:#3199e8\n}\n.setname .reset button[data-v-4b8dc190]{display:block;width:100%;background:none;line-height:2rem;font-size:.7rem;color:#fff;opacity:.6;-webkit-transition:all 1s;transition:all 1s\n}\n.setname .reset .fontopacity[data-v-4b8dc190]{-webkit-transition:all 1s;transition:all 1s;opacity:1\n}\n"],sourceRoot:"webpack://"}])},292:function(t,e,a){var n=a(244);"string"==typeof n&&(n=[[t.id,n,""]]);a(2)(n,{});n.locals&&(t.exports=n.locals)},379:function(t,e,a){var n,o;a(292),n=a(149);var i=a(409);o=n=n||{},"object"!=typeof n.default&&"function"!=typeof n.default||(o=n=n.default),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,o._scopeId="data-v-4b8dc190",t.exports=n},409:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return e("div",{staticClass:"rating_page"},[e("head-top",{attrs:{"head-title":"修改用户名","go-back":"true"}})," ",e("section",{staticClass:"setname"},[e("section",{staticClass:"setname-top"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],class:{"setname-input":t.bordercolor},attrs:{type:"text",placeholder:"输入用户名"},domProps:{value:t._s(t.inputValue)},on:{input:[function(e){e.target.composing||(t.inputValue=e.target.value)},t.inputThing]}})," ",e("div",[t.earn?e("p",["用户名只能修改一次（5-24字符之间）"]):e("p",{staticClass:"unlikep"},["用户名长度在5到24位之间"])," "])])," ",e("section",{staticClass:"reset"},[e("button",{class:{fontopacity:t.opacityall},on:{click:t.resetName}},["确认修改"])])])])},staticRenderFns:[]}}});