- 移除秒合约页面及UI - 合约页Tab改为Position Held/Transaction Record - 存款/提款/转账页增加BTC/ETH - 资产页重构(用户信息+盈亏+多语言) - 注册页改版(匹配新设计稿) - 日文全面翻译+首页菜单多语言 - 代理专属注册链接支持(?code=) - 10个locale文件同步更新
58 lines
1.2 KiB
Vue
58 lines
1.2 KiB
Vue
<template>
|
|
<view :style="'background-color: '+theme.bg+';color: '+theme.text" style="height: 100vh;">
|
|
<myNav :title="i18n.notice.title2"></myNav>
|
|
<!-- 身体 -->
|
|
<view class="width-750 padding-w-30 padding-t-36 padding-b-40">
|
|
<view class="font-28 weight-bold">{{data.title}}</view>
|
|
<view class="font-24 color-C3C3C3 nummedium-font margin-t-5">{{data.createtime}}</view>
|
|
<view class="margin-t-16" v-html="data.content"></view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
statusBar: uni.getSystemInfoSync().statusBarHeight,
|
|
id: '',
|
|
data:'',
|
|
theme: '',
|
|
}
|
|
},
|
|
computed: {
|
|
i18n() {
|
|
return this.$t('message');
|
|
}
|
|
},
|
|
onLoad(e) {
|
|
this.id = e.id
|
|
this.getDetails()
|
|
},
|
|
onShow() {
|
|
if (uni.getStorageSync("theme") == "dark") {
|
|
this.theme = this.$store.state.darkTheme
|
|
} else {
|
|
this.theme = this.$store.state.lightTheme
|
|
}
|
|
},
|
|
methods: {
|
|
getDetails() {
|
|
this.post('/index/message_con', {
|
|
id: this.id
|
|
}).then(res => {
|
|
console.log('公告详情', res)
|
|
if (res.code == 1) {
|
|
this.data = res.data
|
|
}
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
</style>
|