导游中台-游客端
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
4.8 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-user-logout"],{2371:function(t,n,i){"use strict";i.r(n);var e=i("dd81"),o=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=o.a},"3e03":function(t,n,i){var e=i("c86c");n=e(!1),n.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/* 文章场景相关 */*[data-v-31c8f537]{box-sizing:border-box}.bg[data-v-31c8f537]{min-height:100vh;background-color:#fff;padding:%?88?% 0 %?250?%}.logoutImg[data-v-31c8f537]{display:block;width:%?120?%;height:%?120?%;margin:0 auto}.title[data-v-31c8f537]{font-weight:700;font-size:%?40?%;color:#000;margin:%?60?% auto %?50?%;text-align:center}.text[data-v-31c8f537]{padding:0 %?40?%}footer[data-v-31c8f537]{position:absolute;bottom:0;left:0;padding:0 %?68?%;width:100%}footer .dui-box[data-v-31c8f537]{width:%?40?%;height:%?40?%;margin-right:%?19?%;background-size:100% 100%;border-radius:50%}footer > uni-view[data-v-31c8f537]:first-child{display:flex;align-items:center;font-weight:500;font-size:%?24?%;color:#000}footer > uni-view[data-v-31c8f537]:last-child{margin:%?53?% 0 %?67?%}footer > uni-view:last-child .btn[data-v-31c8f537]{width:%?267?%;height:%?80?%;background:#bfbfbf;border-radius:%?40?%;font-weight:500;font-size:%?36?%;color:#fff}footer > uni-view:last-child > uni-view[data-v-31c8f537]:nth-child(1){border:%?3?% solid #c3282e;font-weight:500;color:#c3282e;background:#fff}footer > uni-view:last-child .btns[data-v-31c8f537]{background:#c3282e;color:#fff}',""]),t.exports=n},93608:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"bg"},[i("v-uni-image",{staticClass:"logoutImg",attrs:{src:"https://static.ticket.sz-trip.com/tongli/images/user/logout.png"}}),i("v-uni-view",{staticClass:"title"},[t._v("用户注销协议")]),i("v-uni-view",{staticClass:"text",domProps:{innerHTML:t._s(t.formateRichText(t.content))}}),i("footer",[i("v-uni-view"),i("v-uni-view",{staticClass:"flex-between"},[i("v-uni-view",{staticClass:"btn flex-center",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goBack.apply(void 0,arguments)}}},[t._v("取消")]),0!=t.time?i("v-uni-view",{staticClass:"btn flex-center"},[t._v("查看协议("+t._s(t.time)+"s)")]):i("v-uni-view",{staticClass:"btn btns flex-center",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.confirmLogout.apply(void 0,arguments)}}},[t._v("确认注销")])],1)],1)],1)},o=[]},"99a7":function(t,n,i){"use strict";i.r(n);var e=i("93608"),o=i("2371");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(a);i("f6e7");var c=i("828b"),s=Object(c["a"])(o["default"],e["b"],e["c"],!1,null,"31c8f537",null,!1,e["a"],void 0);n["default"]=s.exports},a3d7:function(t,n,i){var e=i("3e03");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var o=i("967d").default;o("774f4914",e,!0,{sourceMap:!1,shadowMode:!1})},dd81:function(t,n,i){"use strict";i("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{content:"",isTrue:!1,time:8}},onShow:function(){var t=this;this.Post({id:2},"/api/article/getArticleById").then((function(n){if(1==n.code){t.content=n.data.content;var i=setInterval((function(){t.time--,0==t.time&&clearInterval(i)}),1e3)}}))},methods:{confirmLogout:function(){var t=this;uni.showModal({title:"提示",content:"确认注销账号?",confirmColor:"#000000",success:function(n){n.confirm&&t.Post({protocol:1},"/api/user/user_logout").then((function(n){1==n.code&&(uni.showToast({title:"注销成功",icon:"none"}),t.$store.commit("changeUserInfo",{}),setTimeout((function(){uni.switchTab({url:"/pages/index/index"})}),1e3))}))}})}}};n.default=e},f6e7:function(t,n,i){"use strict";var e=i("a3d7"),o=i.n(e);o.a}}]);