奇点
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
2.0 KiB

import{j as e,l,o as s,c as a,w as u,a as n,m as t,f as o,p as r,G as i,J as c,D as f,g as d,i as m}from"./index.22b081e2.js";import{_}from"./youshou.7bfade13.js";import{_ as y}from"./plugin-vue_export-helper.21dcd24c.js";var k=y({onShow(){this.sfsmrz=e("users").realNameState},setup(){console.log(e("users"));let s=l("");return s.value=e("users").realNameState,{gouserzl:function(){r({url:"../userzhiliao/userzhiliao"})},gorealname:function(){s.value?r({url:"../realname/realname?issm=true"}):r({url:"../realname/realname?issm=false"})},tuichu:function(){i({title:"提示",content:"确认退出登录?",success:function(e){e.confirm?(c("users"),c("token"),c("createToken"),f({title:"退出成功",icon:"success",duration:2e3}),setTimeout((()=>{r({url:"../index/index"})}),2e3)):e.cancel&&console.log("用户点击取消")}})},goyinshi:function(){r({url:"../ysxy/ysxy"})},goxieyi:function(){r({url:"../yhxy/yhxy"})},sfsmrz:s}}},[["render",function(e,l,r,i,c,f){const y=d,k=m;return s(),a(y,{class:"setlist"},{default:u((()=>[n(y,{onClick:i.gouserzl},{default:u((()=>[n(y,null,{default:u((()=>[t("个人资料")])),_:1}),n(y,null,{default:u((()=>[n(k,{src:_})])),_:1})])),_:1},8,["onClick"]),n(y,{onClick:i.gorealname},{default:u((()=>[n(y,null,{default:u((()=>[t("实名认证")])),_:1}),n(y,null,{default:u((()=>[i.sfsmrz?(s(),a(y,{key:0},{default:u((()=>[t("已认证")])),_:1})):o("",!0),i.sfsmrz?o("",!0):(s(),a(y,{key:1},{default:u((()=>[t("未认证")])),_:1})),n(k,{src:_})])),_:1})])),_:1},8,["onClick"]),n(y,{onClick:i.goxieyi},{default:u((()=>[n(y,null,{default:u((()=>[t("用户协议")])),_:1}),n(y,null,{default:u((()=>[n(k,{src:_})])),_:1})])),_:1},8,["onClick"]),n(y,{onClick:i.goyinshi},{default:u((()=>[n(y,null,{default:u((()=>[t("隐私政策")])),_:1}),n(y,null,{default:u((()=>[n(k,{src:_})])),_:1})])),_:1},8,["onClick"]),n(y,{onClick:i.tuichu},{default:u((()=>[n(y,null,{default:u((()=>[t("退出登录")])),_:1}),n(y,null,{default:u((()=>[n(k,{src:_})])),_:1})])),_:1},8,["onClick"])])),_:1})}],["__scopeId","data-v-2fdc8304"]]);export{k as default};