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.
 
 
 
 
 

37 lines
516 B

<template>
<view>
<web-view
:src="'/static/html/local.html?loca=' + getLoca()"></web-view>
<!-- <web-view src="http://btc-h5.shop996.top"></web-view> -->
</view>
</template>
<script>
export default {
data() {
return {
}
},
onShow() {
},
methods: {
getLoca(){
let arr = {
cn : 'tw',
jp : 'ja',
'zh-Hans' : 'zh-CN',
}
let a = uni.getStorageSync('language')
return arr[a] || a || 'tw'
}
}
}
</script>
<style>
</style>