1 |
- webpackJsonp([36,45],{5: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(10),i=n(o),r=a(4);e.default={data:function(){return{}},mounted:function(){this.getUserInfo()},props:["signinUp","headTitle","goBack"],computed:(0,i.default)({},(0,r.mapState)(["userInfo"])),methods:(0,i.default)({},(0,r.mapActions)(["getUserInfo"]))}},6:function(t,e,a){e=t.exports=a(2)(),e.push([t.id,"#head_top[data-v-cec0c0c0]{background-color:#3190e8;position:fixed;z-index:100;left:0;top:0;width:100%;height:1.95rem}.head_goback[data-v-cec0c0c0]{left:.4rem;width:.6rem;height:1rem;line-height:2.2rem;margin-left:.4rem}.head_login[data-v-cec0c0c0]{right:.55rem;font-size:.65rem;color:#fff;position:absolute;top:50%;transform:translateY(-50%)}.head_login .login_span[data-v-cec0c0c0]{color:#fff}.head_login .user_avatar[data-v-cec0c0c0]{fill:#fff;width:.8rem;height:.8rem}.title_head[data-v-cec0c0c0]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:50%;color:#fff;text-align:center}.title_head .title_text[data-v-cec0c0c0]{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,YAAY,mBAAmB,iBAAiB,CACrG,AACD,6BAA6B,aAAc,iBAAiB,WAAW,kBAAkB,QAAQ,AAAkE,0BAA0B,CAC5L,AACD,yCAAyC,UAAU,CAClD,AACD,0CAA0C,UAAU,YAAY,YAAY,CAC3E,AACD,6BAA6B,kBAAkB,QAAQ,SAAS,AAA4E,+BAAgC,UAAU,WAAW,iBAAiB,CACjN,AACD,yCAAyC,gBAAgB,WAAW,kBAAkB,eAAgB,CACrG",file:"head.vue",sourcesContent:["\n#head_top[data-v-cec0c0c0]{background-color:#3190e8;position:fixed;z-index:100;left:0;top:0;width:100%;height:1.95rem\n}\n.head_goback[data-v-cec0c0c0]{left:0.4rem;width:.6rem;height:1rem;line-height:2.2rem;margin-left:.4rem\n}\n.head_login[data-v-cec0c0c0]{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-cec0c0c0]{color:#fff\n}\n.head_login .user_avatar[data-v-cec0c0c0]{fill:#fff;width:.8rem;height:.8rem\n}\n.title_head[data-v-cec0c0c0]{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-cec0c0c0]{font-size:.8rem;color:#fff;text-align:center;font-weight:bold\n}\n"],sourceRoot:"webpack://"}])},7:function(t,e,a){var n=a(6);"string"==typeof n&&(n=[[t.id,n,""]]);a(3)(n,{});n.locals&&(t.exports=n.locals)},8:function(t,e,a){a(7);var n=a(1)(a(5),a(9),"data-v-cec0c0c0",null);t.exports=n.exports},9:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{attrs:{id:"head_top"}},[t._t("logo"),t._v(" "),t._t("search"),t._v(" "),t.goBack?a("section",{staticClass:"head_goback",on:{click:function(e){t.$router.go(-1)}}},[a("svg",{attrs:{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[a("polyline",{staticStyle:{fill:"none",stroke:"rgb(255,255,255)","stroke-width":"2"},attrs:{points:"12,18 4,9 12,0"}})])]):t._e(),t._v(" "),t.signinUp?a("router-link",{staticClass:"head_login",attrs:{to:t.userInfo?"/profile":"/login"}},[t.userInfo?a("svg",{staticClass:"user_avatar"},[a("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#user"}})]):a("span",{staticClass:"login_span"},[t._v("登录|注册")])]):t._e(),t._v(" "),t.headTitle?a("section",{staticClass:"title_head ellipsis"},[a("span",{staticClass:"title_text"},[t._v(t._s(t.headTitle))])]):t._e(),t._v(" "),t._t("edit"),t._v(" "),t._t("msite-title"),t._v(" "),t._t("changecity"),t._v(" "),t._t("changeLogin")],2)},staticRenderFns:[]}},18:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getImgPath=e.loadMore=void 0;var n=a(27);a(17),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,c=void 0,A=void 0,l=void 0,d=void 0,p=t.attributes.type&&t.attributes.type.value,u=2;2==p?(l=t,d=t.children[0]):(l=document.body,d=t),t.addEventListener("touchstart",function(){o=d.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(){c=requestAnimationFrame(function(){l.scrollTop!=A?(A=l.scrollTop,t()):(cancelAnimationFrame(c),o=d.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"//elm.cangdu.org/img/default.jpg";e=t.indexOf("jpeg")!==-1?".jpeg":".png";var a="/"+t.substr(0,1)+"/"+t.substr(1,2)+"/"+t.substr(3)+e;return"https://fuss10.elemecdn.com"+a}}}},155: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(10),i=n(o),r=a(8),s=n(r),c=a(18),A=a(4);e.default={data:function(){return{earn:!0,bordercolor:!1,opacityall:!1,inputValue:"",newusername:""}},created:function(){},mixins:[c.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(){return this.inputValue.length<5||this.inputValue.length>24?(this.earn=!1,this.bordercolor=!0,this.opacityall=!1,!1):(this.earn=!0,this.bordercolor=!1,this.opacityall=!0,!0)},resetName:function(){var t=this.inputThing();t&&(this.RETSET_NAME(this.inputValue),this.$router.go(-1))}})}},234:function(t,e,a){e=t.exports=a(2)(),e.push([t.id,".rating_page[data-v-348472c9]{position:absolute;top:0;left:0;right:0;bottom:0;z-index:202;background:#f2f2f2;padding-top:1.95rem}.rating_page p[data-v-348472c9],.rating_page span[data-v-348472c9]{font-family:Helvetica Neue,Tahoma,Arial}.setname[data-v-348472c9]{width:15.2rem;margin:0 auto}.setname .setname-top[data-v-348472c9]{padding-top:.4rem}.setname .setname-top input[data-v-348472c9]{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-348472c9]{border-color:#ea3106}.setname .setname-top p[data-v-348472c9]{width:100%;font-size:.4rem;color:#666;padding:.4rem 0 1rem}.setname .setname-top .unlikep[data-v-348472c9]{font-size:.58rem;color:#ea3106;padding-top:.1rem}.setname .reset[data-v-348472c9]{width:100%;background:#3199e8}.setname .reset button[data-v-348472c9]{display:block;width:100%;background:none;line-height:2rem;font-size:.7rem;color:#fff;opacity:.6;transition:all 1s}.setname .reset .fontopacity[data-v-348472c9]{transition:all 1s;opacity:1}","",{version:3,sources:["/./src/page/profile/children/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,AAA0B,iBAAiB,CAClL,AACD,8CAAwE,kBAAkB,SAAS,CAClG",file:"setusername.vue",sourcesContent:["\n.rating_page[data-v-348472c9]{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-348472c9],.rating_page span[data-v-348472c9]{font-family:Helvetica Neue,Tahoma,Arial\n}\n.setname[data-v-348472c9]{width:15.2rem;margin:0 auto\n}\n.setname .setname-top[data-v-348472c9]{padding-top:.4rem\n}\n.setname .setname-top input[data-v-348472c9]{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-348472c9]{border-color:#ea3106\n}\n.setname .setname-top p[data-v-348472c9]{width:100%;font-size:.4rem;color:#666;padding:.4rem 0 1rem\n}\n.setname .setname-top .unlikep[data-v-348472c9]{font-size:.58rem;color:#ea3106;padding-top:.1rem\n}\n.setname .reset[data-v-348472c9]{width:100%;background:#3199e8\n}\n.setname .reset button[data-v-348472c9]{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-348472c9]{-webkit-transition:all 1s;transition:all 1s;opacity:1\n}\n"],sourceRoot:"webpack://"}])},282:function(t,e,a){var n=a(234);"string"==typeof n&&(n=[[t.id,n,""]]);a(3)(n,{});n.locals&&(t.exports=n.locals)},377:function(t,e,a){a(282);var n=a(1)(a(155),a(405),"data-v-348472c9",null);t.exports=n.exports},405:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"rating_page"},[a("head-top",{attrs:{"head-title":"修改用户名","go-back":"true"}}),t._v(" "),a("section",{staticClass:"setname"},[a("section",{staticClass:"setname-top"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],class:{"setname-input":t.bordercolor},attrs:{type:"text",placeholder:"输入用户名"},domProps:{value:t.inputValue},on:{input:[function(e){e.target.composing||(t.inputValue=e.target.value)},t.inputThing]}}),t._v(" "),a("div",[t.earn?a("p",[t._v("用户名只能修改一次(5-24字符之间)")]):a("p",{staticClass:"unlikep"},[t._v("用户名长度在5到24位之间")])])]),t._v(" "),a("section",{staticClass:"reset"},[a("button",{class:{fontopacity:t.opacityall},on:{click:t.resetName}},[t._v("确认修改")])])])],1)},staticRenderFns:[]}}});
|