(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-setting-setting"],{6195:function(t,i,n){"use strict";var e;n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){return e}));var a=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",[n("v-uni-view",{staticClass:"edgeInsetTop"}),n("v-uni-view",{staticClass:"cu-list menu sm-border"},[n("v-uni-view",{staticClass:"cu-item",staticStyle:{"min-height":"200rpx"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.auth("user")}}},[n("v-uni-view",{staticClass:"cu-avatar round lg margin-right",style:{backgroundImage:"url("+t.$wanlshop.oss(t.user.avatar,52,52,2,"avatar")+")"}}),n("v-uni-view",{staticClass:"content",staticStyle:{"line-height":"1.5em"}},[n("v-uni-view",{staticClass:"text-lg"},[t._v(t._s(t.user.nickname||"未登录"))]),n("v-uni-view",{staticClass:"wanl-grey text-df"},[t._v("用户名："+t._s(t.user.username||"未登录"))])],1),n("v-uni-view",{staticClass:"action"},[n("v-uni-text",{staticClass:"wlIcon-jifen"}),n("v-uni-text",{staticClass:"margin-lr-xs"},[t._v("编辑")]),n("v-uni-text",{staticClass:"wlIcon-fanhui2"})],1)],1),n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.auth("../address/address")}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("我的收货地址")])],1)],1)],1),n("v-uni-view",{staticClass:"cu-list menu sm-border margin-top"},[n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.auth("security")}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("账号与安全")])],1)],1)],1),n("v-uni-view",{staticClass:"cu-list menu sm-border margin-top"},[n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.to("notice")}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("新消息通知")])],1)],1),n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.to("currency")}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("通用")])],1)],1)],1),n("v-uni-view",{staticClass:"cu-list menu sm-border margin-top"},[n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clearCache()}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("清除缓存")])],1),n("v-uni-view",{staticClass:"action"},[n("v-uni-view",{staticClass:"cu-tag round"},[t._v(t._s(t.fileSizeString))])],1)],1),n("v-uni-view",{staticClass:"cu-item arrow",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.$wanlshop.to("about","pop-in",200)}}},[n("v-uni-view",{staticClass:"content"},[n("v-uni-text",[t._v("关于")])],1),n("v-uni-view",{staticClass:"action"},[n("v-uni-text",{staticClass:"wanl-gray"},[t._v(t._s(t.common.version))])],1)],1)],1)],1)},s=[]},8051:function(t,i,n){"use strict";n.r(i);var e=n("c1d7"),a=n.n(e);for(var s in e)"default"!==s&&function(t){n.d(i,t,(function(){return e[t]}))}(s);i["default"]=a.a},a361:function(t,i,n){"use strict";n.r(i);var e=n("6195"),a=n("8051");for(var s in a)"default"!==s&&function(t){n.d(i,t,(function(){return a[t]}))}(s);var c,u=n("f0c5"),v=Object(u["a"])(a["default"],e["b"],e["c"],!1,null,"89be79f0",null,!1,e["a"],c);i["default"]=v.exports},c1d7:function(t,i,n){"use strict";var e=n("4ea4");n("e25e"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=e(n("5530")),s=n("26cb"),c={data:function(){return{fileSizeString:"0 B"}},computed:(0,a.default)({},(0,s.mapState)(["user","common"])),onLoad:function(){},methods:{formatSize:function(){var t=this;plus.cache.calculate((function(i){var n=parseInt(i);t.fileSizeString=0==n?"0 B":n<1024?n+" B":n<1048576?(n/1024).toFixed(2)+" KB":n<1073741824?(n/1048576).toFixed(2)+" MB":(n/1073741824).toFixed(2)+" GB"}))},clearCache:function(){this.$wanlshop.msg("没有发现任何缓存")}}};i.default=c}}]);