|
|
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-yinsi-index"],{"1b01":function(t,e,n){"use strict";n.r(e);var i=n("6593"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"28b1":function(t,e,n){var i=n("dbc2");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("1e90b7d8",i,!0,{sourceMap:!1,shadowMode:!1})},"2fc2":function(t,e,n){"use strict";n.r(e);var i=n("6f96"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},6593:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2634")),o=i(n("2fdc")),r={data:function(){return{checked:!1}},onLoad:function(){this.getUserInfo()},methods:{getUserInfo:function(){var t=this;return(0,o.default)((0,a.default)().mark((function e(){var n,i,o,r;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.findUserInfo({userId:uni.getStorageSync("userInfo").id});case 2:n=e.sent,i=n.code,o=n.data,r=n.msg,200==i?(t.city_hide=0==o.cityHide,uni.setStorageSync("userInfo",o)):uni.showToast({title:r,position:"bottom",icon:"none"});case 7:case"end":return e.stop()}}),e)})))()},changeChecked:function(t){var e=this;return(0,o.default)((0,a.default)().mark((function n(){var i,o,r;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.checked=t,console.log(t),n.next=4,e.$api.privacyConfig({userId:uni.getStorageSync("userInfo").id,cityHide:e.checked?1:0});case 4:i=n.sent,o=i.code,i.data,r=i.msg,200==o?uni.showToast({title:"修改成功"}):uni.showToast({icon:"none",position:"bottom",title:r});case 9:case"end":return n.stop()}}),n)})))()}}};e.default=r},"66bc":function(t,e,n){"use strict";n.r(e);var i=n("a550"),a=n("2fc2");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7920");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"73484189",null,!1,i["a"],void 0);e["default"]=s.exports},"6f96":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var i={name:"u-switch",emits:["update:modelValue","input","change"],props:{value:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:function(){return{}},computed:{valueCom:function(){return this.value},switchStyle:function(){var t={};return t.fontSize=this.size+"rpx",t.backgroundColor=this.valueCom?this.activeColor:this.inactiveColor,t},loadingColor:function(){return this.valueCom?this.activeColor:null}},methods:{onClick:function(){var t=this;this.disabled||this.loading||(this.vibrateShort&&uni.vibrateShort(),this.$emit("input",!this.valueCom),this.$emit("update:modelValue",!this.valueCom),this.$nextTick((function(){t.$emit("change",t.valueCom?t.activeValue:t.inactiveValue)})))}}};e.default=i},"76a8":function(t,e,n){"use strict";n.r(e);var i=n("a235"),a=n("1b01");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("fe34");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"133686c1",null,!1,i["a"],void 0);e["default"]=s.exports},7920:function(t,e,n){"use strict";var i=n("ee44"),a=n.n(i);a.a},"8bbf":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接<EFBFBD><EFBFBD>
|