1import{af as o}from"./Dc-FyAzV.js";import{_ as r,s as l}from"./BzYvbhBV.js";import{$ as m,a2 as e,ab as a,U as g}from"./B_Lcd5QN.js";import"./DlS_7VDv.js";import"./DO6Drozt.js";import"./_A1Tw7AT.js";const d={class:"agreement"},h={class:"card"},p={class:"title"},c={class:"card"},f={class:"main"},u={class:"main"},v={data(){return{agreement:"",title:"",serviceAgreement:"",privacyAgreement:"",crossBorderInfoAuth:"",overseasRiskNotice:""}},watch:{$route(){this.getAgreement(1),this.getAgreement(2),this.getAgreement(5),this.getAgreement(6)}},mounted(){this.getAgreement(1),this.getAgreement(2),this.getAgreement(5),this.getAgreement(6)},methods:{goTo(i){i==1?(this.title=this.$t("settings.ç¨æ·æå¡åè®®"),this.agreement=this.serviceAgreement):i==2?(this.title=this.$t("settings.éç§åè®®"),this.agreement=this.privacyAgreement):i==5?(this.title="è·¨å¢ä¸ªäººä¿¡æ¯ææä¹¦",this.agreement=this.crossBorderInfoAuth):i==6&&(this.title="æµ·å¤ä»£è´é£é©æç¤ºåè·¨å¢æ¶è´¹è åç¥ä¹¦",this.agreement=this.overseasRiskNotice);const s=window.open("about:blank"),t=` 2 <!DOCTYPE html> 3 <html> 4 <head> 5 <meta charset="UTF-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <title>${this.title}</title> 8 <style> 9 body { 10 font-family: Arial, sans-serif; 11 line-height: 1.6; 12 padding: 20px; 13 max-width: 800px; 14 margin: 0 auto; 15 color: #333; 16 } 17 h3 { margin-top: 20px; color: #2c3e50; } 18 h4 { margin-top: 15px; color: #34495e; } 19 p { margin: 10px 0; } 20 strong { font-weight: bold; } 21 .heading-3 { font-size: 18px; font-weight: bold; } 22 .heading-4 { font-size: 16px; font-weight: bold; } 23 .ace-line { margin: 15px 0; } 24 </style> 25 </head> 26 <body> 27 ${this.agreement} 28 </body> 29 </html> 30 `;s.document.write(t),s.document.close()},getAgreement(i){this.$store.commit("setLoading",!0);const s={requestType:1,token:l().getItem("token"),type:i,companyId:this.$global.App.appId};this.$http({url:"/user-api/get-agreement.html",method:"POST",data:s}).then(t=>{this.$store.commit("setLoading",!1),t.code===0?(i==1?this.serviceAgreement=t.data:i==2?this.privacyAgreement=t.data:i==5?this.crossBorderInfoAuth=t.data:i==6&&(this.overseasRiskNotice=t.data),(this._.provides[o]||this.$route).query.type==1&&this.goTo(1),(this._.provides[o]||this.$route).query.type==2&&this.goTo(2),(this._.provides[o]||this.$route).query.type==5&&this.goTo(5),(this._.provides[o]||this.$route).query.type==6&&this.goTo(6)):this.$message({message:t.message,offset:360,customClass:"message-init",type:"info"})})}}},$=Object.assign(v,{__name:"agreement",setup(i){return(s,t)=>(g(),m("div",d,[e("div",h,[e("div",p,a(s.$t("settings.æå¡åè®®")),1)]),e("div",c,[e("div",{class:"item",onClick:t[0]||(t[0]=n=>s.goTo(1))},[e("div",f,a(s.$t("settings.ç¨æ·æå¡åè®®")),1),t[4]||(t[4]=e("i",{class:"arrow"},null,-1))]),e("div",{class:"item",onClick:t[1]||(t[1]=n=>s.goTo(2))},[e("div",u,a(s.$t("settings.éç§åè®®")),1),t[5]||(t[5]=e("i",{class:"arrow"},null,-1))]),e("div",{class:"item",onClick:t[2]||(t[2]=n=>s.goTo(5))},[...t[6]||(t[6]=[e("div",{class:"main"},"è·¨å¢ä¸ªäººä¿¡æ¯ææä¹¦",-1),e("i",{class:"arrow"},null,-1)])]),e("div",{class:"item",onClick:t[3]||(t[3]=n=>s.goTo(6))},[...t[7]||(t[7]=[e("div",{class:"main"},"æµ·å¤ä»£è´é£é©æç¤ºåè·¨å¢æ¶è´¹è åç¥ä¹¦",-1),e("i",{class:"arrow"},null,-1)])])])]))}}),_=r($,[["__scopeId","data-v-c2773520"]]);export{_ as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.