Files
li 5f40e4e1b5 feat: 前端全量更新 - 含所有本次需求
- 移除秒合约页面及UI
- 合约页Tab改为Position Held/Transaction Record
- 存款/提款/转账页增加BTC/ETH
- 资产页重构(用户信息+盈亏+多语言)
- 注册页改版(匹配新设计稿)
- 日文全面翻译+首页菜单多语言
- 代理专属注册链接支持(?code=)
- 10个locale文件同步更新
2026-03-30 20:14:20 +08:00

59 lines
1.0 KiB
Vue

<template>
<view >
<view :style="'background-color: '+theme.bg" style="padding: 10rpx 0;">
<myNav :title="titleFilter"></myNav>
<view class="width-100b padding-30" v-html="content">
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title:'tuikuan',
content:'',
theme:'',
}
},
computed: {
i18n() {
return this.$t('message');
},
titleFilter(){
if(this.title=='tuikuan'){
return this.i18n.recharge.text18
}
}
},
onLoad(option) {
this.title = option.title
this.getInfo()
},
onShow() {
if (uni.getStorageSync("theme") == "dark") {
this.theme = this.$store.state.darkTheme
}else{
this.theme = this.$store.state.lightTheme
}
},
methods: {
getInfo(){
this.post('/publics/new_common_data').then(res => {
console.log(res)
if(res.code == 1){
if(this.title == 'tuikuan'){
this.content = res.data.refund_text
}
}
})
}
}
}
</script>
<style>
</style>