王总上门按摩后台代码
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.
 
 
 
 
 
shangmenanmo/public/h6/static/js/user-pages-logout.374f64bf.js

1 lines
5.0 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-logout"],{1578:function(t,e,n){"use strict";n.r(e);var i=n("7539"),a=n("c3d0");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("8e1d");var r=n("828b"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"545d6f64",null,!1,i["a"],void 0);e["default"]=u.exports},6277:function(t,e,n){var i=n("6a66");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("5d15cfda",i,!0,{sourceMap:!1,shadowMode:!1})},"6a66":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预处理,并在插件代码中直接使用这些变量(无需 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/* 文章场景相关 */.mine-pages-setting .logout-img[data-v-545d6f64]{width:%?165?%;height:%?160?%;margin-top:%?70?%}.mine-pages-setting .iconfont[data-v-545d6f64]{color:#999}',""]),t.exports=e},7539:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"mine-pages-setting"},[n("v-uni-view",{staticClass:"flex-center flex-column fill-base mt-lg ml-lg mr-lg radius-24"},[n("v-uni-image",{staticClass:"logout-img",attrs:{mode:"aspectFill",src:"https://lbqny.migugu.com/admin/anmo/mine/logout.png"}}),n("v-uni-view",{staticClass:"f-title c-title text-bold mb-lg"},[t._v("账户注销,将放弃以下权益和财产")]),n("v-uni-view",{staticClass:"f-desc c-caption pb-lg",staticStyle:{"padding-right":"50rpx"},domProps:{innerHTML:t._s(t.text)}})],1),n("v-uni-view",{staticClass:"pd-lg f-desc c-title"},[t._v("为保护您的权益,请确保您所有订单均已完成且无纠纷,否则将暂时无法进行注销操作")]),n("fix-bottom-button",{attrs:{text:[{text:"已清楚风险, 确认注销",type:"confirm"}],bgColor:"#fff"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.toLoginOut.apply(void 0,arguments)}}})],1)},a=[]},"79f4":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("fd3c");var a=i(n("9b1b")),o=i(n("2634")),r=i(n("2fdc")),u=n("8f59"),s={data:function(){return{isLoad:!1,options:{},text:"1、账号将无法登录<br>2、历史订单将无法查询<br>3、放弃钱余额、卡券等资产<br>",user_info:{}}},computed:(0,u.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.$jweixin.isWechat()){e.next=4;break}return e.next=3,t.$jweixin.initJssdk();case 3:t.$jweixin.wxReady((function(){t.$jweixin.hideOptionMenu()}));case 4:t.$util.setNavigationBarColor({bg:t.primaryColor});case 5:case"end":return e.stop()}}),e)})))()},methods:(0,a.default)((0,a.default)((0,a.default)({},(0,u.mapActions)(["getUserInfo"])),(0,u.mapMutations)(["updateUserItem","updateServiceItem","updateTechnicianItem","updateOrderItem"])),{},{toLoginOut:function(){var t=this;return(0,r.default)((0,o.default)().mark((function e(){var n,i;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.user.delUserInfo();case 2:t.$util.showToast({title:"注销成功"}),n=["updateServiceItem","updateTechnicianItem","updateOrderItem"],n.map((function(e){t[e]({key:"pageActive",val:!1})})),i=["autograph","userInfo","location","appLogin","loginType","isGzhLogin","isShowLogin","mineInfo","coachInfo","userPageType"],i.map((function(e){t.updateUserItem({key:e,val:"isShowLogin"===e||("userPageType"===e?1:"")})})),setTimeout((function(){t.$util.goUrl({url:"/pages/service",openType:"reLaunch"})}),1e3);case 8:case"end":return e.stop()}}),e)})))()}})};e.default=s},"8e1d":function(t,e,n){"use strict";var i=n("6277"),a=n.n(i);a.a},c3d0:function(t,e,n){"use strict";n.r(e);var i=n("79f4"),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}}]);