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 line
6.2 KiB
1 line
6.2 KiB
2 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-qingshaonian-detail"],{"1fab":function(n,e,t){var i=t("4465");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=t("967d").default;a("6a0304c8",i,!0,{sourceMap:!1,shadowMode:!1})},"2f0f":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){}));var i=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("v-uni-view",{staticClass:"qingshaonian"},[i("v-uni-view",{staticClass:"title"},[n._v("设置接触青少年模式的密码")]),i("v-uni-view",{staticClass:"bd"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-image",{attrs:{src:t("f8fa")}}),i("v-uni-input",{attrs:{type:"password",placeholder:"输入密码"},model:{value:n.teenagePsw,callback:function(e){n.teenagePsw=e},expression:"teenagePsw"}})],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-image",{attrs:{src:t("f8fa")}}),i("v-uni-input",{attrs:{type:"password",placeholder:"确认密码"},model:{value:n.teenagePsw1,callback:function(e){n.teenagePsw1=e},expression:"teenagePsw1"}})],1)],1),i("v-uni-view",{staticClass:"fd"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.openTeenageMode()}}},[n._v("确定开启")])],1)],1)},a=[]},"30dd":function(n,e,t){"use strict";t("6a54");var i=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(t("2634")),o=i(t("2fdc")),s={data:function(){return{teenagePsw:"",teenagePsw1:""}},methods:{openTeenageMode:function(){var n=this;return(0,o.default)((0,a.default)().mark((function e(){var t,i,o;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n.teenagePsw){e.next=3;break}return uni.showToast({title:"密码不能为空!",position:"bottom",icon:"none"}),e.abrupt("return");case 3:if(n.teenagePsw==n.teenagePsw1){e.next=6;break}return uni.showToast({title:"密码不一致!",position:"bottom",icon:"none"}),e.abrupt("return");case 6:return e.next=8,n.$api.openTeenageMode({teenagePsw:n.teenagePsw,userId:uni.getStorageSync("userInfo").id});case 8:t=e.sent,i=t.code,t.data,o=t.msg,200==i?(uni.showToast({title:"提交成功"}),setTimeout((function(){uni.navigateBack({delta:2})}),2e3)):uni.showToast({title:o,position:"bottom",icon:"none"});case 13:case"end":return e.stop()}}),e)})))()}}};e.default=s},4465:function(n,e,t){var i=t("c86c");e=i(!1),e.push([n.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/* 文章场景相关 */.qingshaonian[data-v-b5d7b9b8]{padding:0 %?25?%;overflow:hidden}.qingshaonian .fd[data-v-b5d7b9b8]{width:100%;position:fixed;left:0;bottom:0;padding:%?25?%;overflow:hidden;z-index:22;box-sizing:border-box}.qingshaonian .fd .btn[data-v-b5d7b9b8]{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?%;font-weight:400;font-size:%?30?%;color:#fff;text-align:center}.qingshaonian .title[data-v-b5d7b9b8]{font-weight:500;font-size:%?30?%;color:#222;margin-top:%?30?%}.qingshaonian .bd[data-v-b5d7b9b8]{background:#fff;bord
|