text: webpackJsonp([40],{404:function(n,t,e){e(641);var i=e(0)(e(535),e(751),"data-v-0df4bc96",null);n.exports=i.exports},535:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e(2),a=e.n(i),s=e(20),o=e.n(s),A=e(1);t.default={components:{AnimateHeader:o.a},computed:a()({},e.i(A.a)("user",["user_profiles"]),e.i(A.d)("user",["mobileNumber"])),mounted:function(){this.getProfile()},methods:a()({back:function(){$router.back("/user")},nickname:function(){$router.forward("/user/nickname")},bindMobile:function(){$router.forward("/user/bindMobile/"+this.user_profiles.mobile_bind)},bindWeixin:function(){this.user_profiles.wx_bind?$router.forward("/user/unbindWeixin"):$router.forward("/user/bindWeixin")},qrcode:function(){$router.forward("/user/qrcode")}},e.i(A.c)("user",["getProfile","updateAvatar"]))}},561:function(n,t,e){t=n.exports=e(360)(),t.push([n.i,'/* thin border */\n.user-setting[data-v-0df4bc96] {\n  background: #FFFFFF;\n  padding-top: 50px;\n  padding-left: 30px;\n}\n.user-setting .user-info[data-v-0df4bc96] {\n    position: relative;\n    width: 100%;\n    height: 89px;\n    padding-top: 36px;\n    margin-bottom: 30px;\n}\n.user-setting .user-info div[data-v-0df4bc96]:first-child {\n      font-size: 12px;\n      color: #B5B5B5;\n      line-height: 17px;\n      height: 17px;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .user-info div[data-v-0df4bc96]:nth-child(2) {\n      font-size: 24px;\n      height: 33px;\n      line-height: 33px;\n      color: #B5B5B5;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .user-info .avatar div[data-v-0df4bc96]:nth-child(1) {\n      position: absolute;\n      top: 25px;\n      right: 34px;\n}\n.user-setting .user-info .avatar div:nth-child(1) img[data-v-0df4bc96] {\n        width: 64px;\n        height: 64px;\n        border-radius: 50%;\n}\n.user-setting .user-info .avatar div[data-v-0df4bc96]:nth-child(2) {\n      position: absolute;\n      right: 30px;\n      top: 69px;\n}\n.user-setting .user-info .avatar div:nth-child(2) img[data-v-0df4bc96] {\n        width: 24px;\n        height: 24px;\n}\n.user-setting .user-info .avatar input[data-v-0df4bc96] {\n      position: absolute;\n      top: 25px;\n      right: 34px;\n      width: 64px;\n      height: 64px;\n      opacity: 0;\n}\n.user-setting .info-input[data-v-0df4bc96] {\n    margin-bottom: 30px;\n}\n.user-setting .info-input .title[data-v-0df4bc96] {\n      font-size: 12px;\n      color: #B5B5B5;\n      line-height: 17px;\n      height: 17px;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .info-input .default[data-v-0df4bc96] {\n      display: inline-block;\n      height: 33px;\n      line-height: 33px;\n      font-size: 24px;\n      color: #DDDDDD;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .info-input .default.value[data-v-0df4bc96] {\n        color: #3a3a3a;\n}\n.user-setting .info-input img[data-v-0df4bc96] {\n      margin-left: 3px;\n      margin-bottom: 8px;\n      vertical-align: bottom;\n      width: 15px;\n      height: 12px;\n}\n.user-setting .code .title[data-v-0df4bc96] {\n    font-size: 12px;\n    color: #B5B5B5;\n    line-height: 17px;\n    height: 17px;\n    margin-bottom: 6px;\n    font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n    font-weight: 400;\n}\n.user-setting .code img[data-v-0df4bc96] {\n    width: 30px;\n    height: 30px;\n}\n',"",{version:3,sources:["/Users/wumin/diablo/src/components/user_center/user/UserProfile.vue"],names:[],mappings:"AAAA,iBAAiB;AACjB;EACE,oBAAoB;EACpB,kBAAkB;EAClB,mBAAmB;CACpB;AACD;IACI,mBAAmB;IACnB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,oBAAoB;CACvB;AACD;MACM,gBAAgB;MAChB,eAAe;MACf,kBAAkB;MAClB,aAAa;MACb,uGAAuG;MACvG,iBAAiB;CACtB;AACD;MACM,gBAAgB;MAChB,aAAa;MACb,kBAAkB;MAClB,eAAe;MACf,uGAAuG;MACvG,iBAAiB;CACtB;AACD;MACM,mBAAmB;MACnB,UAAU;MACV,YAAY;CACjB;AACD;QACQ,YAAY;QACZ,aAAa;QACb,mBAAmB;CAC1B;AACD;MACM,mBAAmB;MACnB,YAAY;MACZ,UAAU;CACf;AACD;QACQ,YAAY;QACZ,aAAa;CACpB;AACD;MACM,mBAAmB;MACnB,UAAU;MACV,YAAY;MACZ,YAAY;MACZ,aAAa;MACb,WAAW;CAChB;AACD;IACI,oBAAoB;CACvB;AACD;MACM,gBAAgB;MAChB,eAAe;MACf,kBAAkB;MAClB,aAAa;MACb,uGAAuG;MACvG,iBAAiB;CACtB;AACD;MACM,sBAAsB;MACtB,aAAa;MACb,kBAAkB;MAClB,gBAAgB;MAChB,eAAe;MACf,uGAAuG;MACvG,iBAAiB;CACtB;AACD;QACQ,eAAe;CACtB;AACD;MACM,iBAAiB;MACjB,mBAAmB;MACnB,uBAAuB;MACvB,YAAY;MACZ,aAAa;CAClB;AACD;IACI,gBAAgB;IAChB,eAAe;IACf,kBAAkB;IAClB,aAAa;IACb,mBAAmB;IACnB,uGAAuG;IACvG,iBAAiB;CACpB;AACD;IACI,YAAY;IACZ,aAAa;CAChB",file:"UserProfile.vue",sourcesContent:['/* thin border */\n.user-setting[data-v-0df4bc96] {\n  background: #FFFFFF;\n  padding-top: 50px;\n  padding-left: 30px;\n}\n.user-setting .user-info[data-v-0df4bc96] {\n    position: relative;\n    width: 100%;\n    height: 89px;\n    padding-top: 36px;\n    margin-bottom: 30px;\n}\n.user-setting .user-info div[data-v-0df4bc96]:first-child {\n      font-size: 12px;\n      color: #B5B5B5;\n      line-height: 17px;\n      height: 17px;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .user-info div[data-v-0df4bc96]:nth-child(2) {\n      font-size: 24px;\n      height: 33px;\n      line-height: 33px;\n      color: #B5B5B5;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .user-info .avatar div[data-v-0df4bc96]:nth-child(1) {\n      position: absolute;\n      top: 25px;\n      right: 34px;\n}\n.user-setting .user-info .avatar div:nth-child(1) img[data-v-0df4bc96] {\n        width: 64px;\n        height: 64px;\n        border-radius: 50%;\n}\n.user-setting .user-info .avatar div[data-v-0df4bc96]:nth-child(2) {\n      position: absolute;\n      right: 30px;\n      top: 69px;\n}\n.user-setting .user-info .avatar div:nth-child(2) img[data-v-0df4bc96] {\n        width: 24px;\n        height: 24px;\n}\n.user-setting .user-info .avatar input[data-v-0df4bc96] {\n      position: absolute;\n      top: 25px;\n      right: 34px;\n      width: 64px;\n      height: 64px;\n      opacity: 0;\n}\n.user-setting .info-input[data-v-0df4bc96] {\n    margin-bottom: 30px;\n}\n.user-setting .info-input .title[data-v-0df4bc96] {\n      font-size: 12px;\n      color: #B5B5B5;\n      line-height: 17px;\n      height: 17px;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .info-input .default[data-v-0df4bc96] {\n      display: inline-block;\n      height: 33px;\n      line-height: 33px;\n      font-size: 24px;\n      color: #DDDDDD;\n      font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n      font-weight: 400;\n}\n.user-setting .info-input .default.value[data-v-0df4bc96] {\n        color: #3a3a3a;\n}\n.user-setting .info-input img[data-v-0df4bc96] {\n      margin-left: 3px;\n      margin-bottom: 8px;\n      vertical-align: bottom;\n      width: 15px;\n      height: 12px;\n}\n.user-setting .code .title[data-v-0df4bc96] {\n    font-size: 12px;\n    color: #B5B5B5;\n    line-height: 17px;\n    height: 17px;\n    margin-bottom: 6px;\n    font-family: "PingFangSC-Regular", "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;\n    font-weight: 400;\n}\n.user-setting .code img[data-v-0df4bc96] {\n    width: 30px;\n    height: 30px;\n}\n'],sourceRoot:""}])},641:function(n,t,e){var i=e(561);"string"==typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);e(361)("6c78ea20",i,!0)},751:function(n,t){n.exports={render:function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"page"},[e("AnimateHeader",{attrs:{"bg-color":"#f5f5f5","menu-bg-color":"#f0f0f0",color:"#3A3A3A",title:"账户设置","on-back-button-click":n.back,expanded:!1,animate:!1}}),n._v(" "),e("div",{staticClass:"page-content user-setting"},[e("div",{staticClass:"user-info"},[e("div",[n._v("钱咖ID")]),n._v(" "),e("div",[n._v(n._s(n.user_profiles.id))]),n._v(" "),e("div",{staticClass:"avatar"},[e("div",[e("img",{attrs:{src:n.user_profiles.avatar_url,alt:""}})]),n._v(" "),n._m(0),n._v(" "),e("input",{attrs:{type:"file"},on:{change:function(t){n.updateAvatar(t.target)}}})])]),n._v(" "),e("div",{staticClass:"info-input",on:{click:function(t){n.nickname()}}},[e("div",{staticClass:"title"},[n._v("昵称")]),n._v(" "),n.user_profiles.nickname?n._e():e("div",{staticClass:"default"},[n._v("暂无昵称")]),n._v(" "),n.user_profiles.nickname?e("div",{staticClass:"default value"},[n._v(n._s(n.user_profiles.nickname))]):n._e(),n._v(" "),e("img",{attrs:{src:"//qianka.b0.upaiyun.com/images/20ce1de8893719770f372f2465057bb0.png",alt:""}})]),n._v(" "),e("div",{staticClass:"info-input",on:{click:function(t){n.bindMobile()}}},[e("div",{staticClass:"title"},[n._v("手机绑定")]),n._v(" "),n.user_profiles.mobile_number?n._e():e("div",{staticClass:"default"},[n._v("暂未绑定")]),n._v(" "),n.user_profiles.mobile_number?e("div",{staticClass:"default value"},[n._v(n._s(n.mobileNumber))]):n._e(),n._v(" "),e("img",{attrs:{src:"//qianka.b0.upaiyun.com/images/20ce1de8893719770f372f2465057bb0.png",alt:""}})]),n._v(" "),e("div",{staticClass:"info-input",on:{click:function(t){n.bindWeixin()}}},[e("div",{staticClass:"title"},[n._v("微信绑定")]),n._v(" "),n.user_profiles.wx_bind?n._e():e("div",{staticClass:"default"},[n._v("暂未绑定")]),n._v(" "),n.user_profiles.wx_bind?e("div",{staticClass:"default value"},[n._v(n._s(n.user_profiles.wx_nickname?n.user_profiles.wx_nickname:"已绑定"))]):n._e(),n._v(" "),e("img",{attrs:{src:"//qianka.b0.upaiyun.com/images/20ce1de8893719770f372f2465057bb0.png",alt:""}})]),n._v(" "),e("div",{staticClass:"code",on:{click:function(t){n.qrcode()}}},[e("div",{staticClass:"title"},[n._v("查看二维码")]),n._v(" "),e("img",{attrs:{src:"//qianka.b0.upaiyun.com/images/6b7c32c778d51145910d1cad14ed8c2e.png",alt:""}})])])],1)},staticRenderFns:[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",[e("img",{attrs:{src:"//qianka.b0.upaiyun.com/images/ad5f230271e58bbe32b0d7690b9f446a.png",alt:""}})])}]}}});
  //# sourceMappingURL=user-profile.bd7732511395a53e5a41.js.map