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
860 B
1 lines
860 B
/* empty css */import{_ as e}from"./plugin-vue_export-helper-46f75680.js";import{b as t,c as a,d as o}from"./index-909bd241.js";var n=e({__name:"BackToHomeButton",setup(e){const n=()=>{const e=navigator.userAgent;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e))"undefined"!=typeof uni&&uni.postMessage({data:{val:{name:"JWopenView",extra:{data:{type:3}}}}});else{window.parent.postMessage({type:"NAVIGATE_TO_HOMEPAGE",menu:"999999991"},"*")}};return(e,s)=>(t(),a("div",{class:"backToHomeBtn",onClick:n},s[0]||(s[0]=[o("img",{src:"https://d31zlh4on95l9h.cloudfront.net/images/9cbc5b2eb2327bd04d015c19d8c3f1f9.png",alt:"返回首页",class:"backImg"},null,-1),o("div",{class:"backContent"},"返回首页",-1)])))}},[["__scopeId","data-v-a43d3e42"]]);export{n as B};
|