qingnianyexiao2.0/unpackage/dist/build/web/static/js/pages-my-index.cadf9ded.js

1 line
52 KiB
JavaScript
Raw Normal View History

2025-04-01 09:03:51 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-index"],{"0538":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAElBMVEVMaXGenp6dnZ2enp6enp6dnZ36FtlPAAAABnRSTlMA/zWr2W877XiQAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAT0lEQVR42pXSQQ7AIAwDQZzg/3+ZHqoWAVs1vo4IVqC1j2QASCZQDwApCU7zbtjn6UkSqBvgOhQAc4kF3hJ/waXLqW7WVuLS2umhXPwMxwxfgwEpxGVNTgAAAABJRU5ErkJggg=="},"102b":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5ef2"),n("20f3");var a={name:"lsl-protocol-popup",emits:["agree","disagree","other_call","get_phone_number"],props:{top_img:{type:String,default:""},top_img_style:{type:String,default:""},position:{type:String,default:"center"},bd_radius:{type:String,default:"18rpx"},color:{type:String,default:"#0396FF"},bgcolor:{type:String,default:"#ffffff"},onNeed:{type:Boolean,default:!0},hideTabBar:{type:Boolean,default:!0},title:{type:String,default:"用户隐私保护提示"},title_style:{type:String,default:""},predesc:{type:String,default:"使用前请仔细阅读"},subdesc:{type:String,default:"当您点击同意后,即表示您已理解并同意该条款内容,该条款将对您产生法律约束力。如您拒绝,将无法使用该服务。"},privacyContractNameCustom:{type:String,default:""},agree_btn_text:{type:String,default:"同意并继续"},agree_btn_back_color:{type:String,default:"#333333"},refuse_tbn_text:{type:String,default:"退出应用"},refuse_pop_close:{type:Boolean,default:!0},refuse_tbn_exit:{type:Boolean,default:!0},symbol:{type:String,default:"和"},open_type:{type:String,default:"agreePrivacyAuthorization"},is_force_phone:{type:Boolean,default:!1},show_toast_phone:{type:String,default:""},other:{type:Array,default:[]}},data:function(){return{resolvePrivacyAuthorization:null,showPrivacy:!1,privacyContractName:""}},methods:{open:function(t){this.hideTabBar&&uni.hideTabBar(),this.privacyContractName=t,this.showPrivacy=!0},close:function(){this.showPrivacy=!1,this.hideTabBar&&uni.hideTabBar()},handleAgree:function(t){console.log("// 点击同意",t),this.is_force_phone&&this.open_type.indexOf("getPhoneNumber")>=0?this.onNeed&&this.resolvePrivacyAuthorization({event:"disagree"}):(this.onNeed&&this.resolvePrivacyAuthorization({buttonId:"agree-btn",event:"agree"}),uni.showTabBar(),this.close(),this.$emit("agree_call"))},getphonenumber:function(t){if(console.log("// 授权手机号",t),this.open_type.indexOf("getPhoneNumber")>=0)if("getPhoneNumber:ok"==t.detail.errMsg)uni.showTabBar(),this.close(),this.$emit("agree_call"),this.$emit("get_phone_number",t);else if(this.show_toast_phone&&uni.showToast({title:this.show_toast_phone,icon:"none"}),this.is_force_phone)return},handleRefuse:function(){this.onNeed&&this.resolvePrivacyAuthorization({event:"disagree"}),this.refuse_pop_close&&this.close(),this.$emit("disagree_call")},handleOpenPrivacyContract:function(){uni.openPrivacyContract({success:function(t){},fail:function(t){}})},checkPrivacySetting:function(){var t=this;uni.getPrivacySetting({success:function(e){!1!==e.needAuthorization&&(t.onNeed?uni.onNeedPrivacyAuthorization((function(n){t.open(e.privacyContractName),t.resolvePrivacyAuthorization=n})):t.open(e.privacyContractName))},fail:function(){},complete:function(){}})},other_btn:function(t){"doc"==t.type?uni.downloadFile({url:t.content,success:function(e){var n=e.tempFilePath;uni.openDocument({filePath:n,fileType:t.content.substring(t.content.lastIndexOf(".")+1),success:function(t){console.log("打开文档成功")}})}}):"page"==t.type&&uni.navigateTo({url:t.content}),this.$emit("other_call",t)}},created:function(){this.checkPrivacySetting()}};e.default=a},"13f4":function(t,e,n){"use strict";var a=n("4959"),i=n.n(a);i.a},1667:function(t,e,n){var a=n("3b48");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("967d").default;i("7b9769fa",a,!0,{sourceMap:!1,shadowMode:!1})},"16d9":function(t,e,n){"use strict";var a=n("d438"),i=n.n(a);i.a},"1d89":function(t,e,n){"use strict";n.d(e,"b",(fu