You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.2 KiB
1 lines
8.2 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-site-index"],{"0729":function(i,t,e){"use strict";e.r(t);var n=e("d619"),s=e("092e");for(var a in s)["default"].indexOf(a)<0&&function(i){e.d(t,i,(function(){return s[i]}))}(a);e("3bf3");var c=e("828b"),o=Object(c["a"])(s["default"],n["b"],n["c"],!1,null,"7c108c42",null,!1,n["a"],void 0);t["default"]=o.exports},"092e":function(i,t,e){"use strict";e.r(t);var n=e("e211"),s=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(i){e.d(t,i,(function(){return n[i]}))}(a);t["default"]=s.a},"11c0":function(i,t,e){var n=e("af9f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[i.i,n,""]]),n.locals&&(i.exports=n.locals);var s=e("967d").default;s("afd0dcc8",n,!0,{sourceMap:!1,shadowMode:!1})},"3bf3":function(i,t,e){"use strict";var n=e("11c0"),s=e.n(n);s.a},af9f:function(i,t,e){var n=e("c86c");t=n(!1),t.push([i.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.site[data-v-7c108c42]{padding:0 %?25?%;overflow:hidden;padding-bottom:%?110?%}.site-hd[data-v-7c108c42]{width:100%;background:#fff;border-radius:%?20?%;margin-top:%?20?%;padding:0 %?30?%;box-sizing:border-box}.site-hd .item[data-v-7c108c42]{padding:%?40?% 0;border-top:1px solid #eaeaea;display:flex;align-items:center;justify-content:space-between}.site-hd .item[data-v-7c108c42]:first-child{border-top-color:#fff}.site-hd .item .a[data-v-7c108c42]{font-weight:500;font-size:%?30?%;color:#333}.site-hd .item .b[data-v-7c108c42]{flex:1;text-align:right;font-weight:500;font-size:%?30?%;color:#999;display:flex;align-items:center;justify-content:flex-end}.site-hd .item .b uni-image[data-v-7c108c42]{margin-left:%?20?%;width:%?30?%;height:%?30?%}.site-fd[data-v-7c108c42]{background-color:#f3f4f5;width:100%;padding:%?30?% %?25?%;box-sizing:border-box;position:fixed;left:0;bottom:0;z-index:22}.site-fd .btn[data-v-7c108c42]{width:100%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?98?%;text-align:center;font-weight:400;font-size:%?30?%;color:#fff;letter-spacing:%?5?%}',""]),i.exports=t},d619:function(i,t,e){"use strict";e.d(t,"b",(function(){return n})),e.d(t,"c",(function(){return s})),e.d(t,"a",(function(){}));var n=function(){var i=this,t=i.$createElement,n=i._self._c||t;return n("v-uni-view",{staticClass:"site"},[n("v-uni-view",{staticClass:"site-hd"},[n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/yinsi/index")}}},[n("v-uni-view",{staticClass:"a"},[i._v("隐私设置")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/notice/index")}}},[n("v-uni-view",{staticClass:"a"},[i._v("新消息通知")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/qingshaonian/index")}}},[n("v-uni-view",{staticClass:"a"},[i._v("青少年模式")]),n("v-uni-view",{staticClass:"b"},[i._v(i._s(0==i.userInfo.teenageMode?"未开启":"已开启")),n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/login/password")}}},[n("v-uni-view",{staticClass:"a"},[i._v("修改密码")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/dashan/index")}}},[n("v-uni-view",{staticClass:"a"},[i._v("搭讪语设置")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1)],1),n("v-uni-view",{staticClass:"site-hd"},[n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/xiaoxi/heimingdan")}}},[n("v-uni-view",{staticClass:"a"},[i._v("黑名单")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1)],1),n("v-uni-view",{staticClass:"site-hd"},[n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/about/index?type=CONFIG_ABOUT_AS")}}},[n("v-uni-view",{staticClass:"a"},[i._v("关于我们")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/about/index?type=CONFIG_PRIVACY_POLICY")}}},[n("v-uni-view",{staticClass:"a"},[i._v("隐私协议")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/about/index?type=CONFIG_USER_AGREEMENT")}}},[n("v-uni-view",{staticClass:"a"},[i._v("用户协议")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1),n("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.openPage("/pages/users/zhuxiao/index")}}},[n("v-uni-view",{staticClass:"a"},[i._v("注销账号")]),n("v-uni-view",{staticClass:"b"},[n("v-uni-image",{attrs:{src:e("f01b")}})],1)],1)],1),n("v-uni-view",{staticClass:"site-fd"},[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=i.$handleEvent(t),i.toLoginOut()}}},[i._v("退出登录")])],1)],1)},s=[]},e211:function(i,t,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=n(e("2634")),a=n(e("2fdc")),c={data:function(){return{isPopup:!1,userInfo:{}}},onShow:function(){this.getUserInfo()},methods:{getUserInfo:function(){var i=this;return(0,a.default)((0,s.default)().mark((function t(){var e,n,a,c;return(0,s.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i.$api.findUserInfo({userId:uni.getStorageSync("userInfo").id});case 2:e=t.sent,n=e.code,a=e.data,c=e.msg,200==n?(i.userInfo=a,uni.setStorageSync("userInfo",a)):uni.showToast({title:c,position:"bottom",icon:"none"});case 7:case"end":return t.stop()}}),t)})))()},openPage:function(i){uni.navigateTo({url:i})},toLoginOut:function(){uni.showModal({title:"温馨提示",content:"是否确认退出登录?",confirmColor:"#000",success:function(i){i.confirm&&(uni.clearStorageSync(),uni.showToast({title:"退出成功"}),uni.closeSocket(),setTimeout((function(){uni.reLaunch({url:"/pages/login/index"})}),2e3))}})}}};t.default=c},f01b:function(i,t){i.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAeJJREFUSEvt1DFrU1EUB/D/eckDcXO1IAg6FFyKm9BZdFLcKghGkntCMFsNCGJwcaogIck7JBApihDqYNuhLfoNxA+ggw4OAYUEdEmavGMvvIA43ZuXtkvuduFyfvf+D/cQTmnRKblYwCeWvFPUURR9IKKVOI7XisXi/jxu5wSLyA8ASwAOVTXHzK/T4k5wvV5fzmazewAuAIgBPDLGbKTBnWALNJvNJSLaI6IrCbhRKBTWiUhnuYAzbIs3Go1zQRC8J6JVu1fVN0R03xhz6It7wbZ4p9M5MxqN3gK4lWAH4/H4TqlU+uODe8O2eLfbzfT7/QaAQoJ9CsPwZi6X++mKzwRPi4tI9Sjxp8n+axAE1/P5/DcXPBVsgSiKmIjqAAJV/c7MF08EFpEnR+izBPtsjLl6rLCqUqvVeqmqD6d9BnDDGPPr2GARCQG8ArCWIB8Hg8HtSqXy2wW1Z7x7LCJnAWzZ1yXIu+FweLdcLg9dUW/YDpBMJrML4FoyQFq9Xo+r1aodo17L+cW1Wu18GIb705Gpqs+Z+bGX9s9hJ7jdbl+aTCYHAOxXiVV1nZlfzIo6Ry0iXwBcVtUxgAfMvJkG9YG3Aayq6j1m3kmLOsPzgP6v4dTjBTyPBBZRzyNFpxp/AeHHnR9JptrMAAAAAElFTkSuQmCC"}}]); |