- 移除秒合约页面及UI - 合约页Tab改为Position Held/Transaction Record - 存款/提款/转账页增加BTC/ETH - 资产页重构(用户信息+盈亏+多语言) - 注册页改版(匹配新设计稿) - 日文全面翻译+首页菜单多语言 - 代理专属注册链接支持(?code=) - 10个locale文件同步更新
81 lines
2.0 KiB
Vue
81 lines
2.0 KiB
Vue
<template>
|
|
<view class="">
|
|
<z-paging :language="$i18n.locale" ref="paging" v-model="list" @query="queryList" :pageSize="20"
|
|
:style="'background-color: '+theme.bg+';color: '+theme.text">
|
|
<!-- 下拉刷新 -->
|
|
<custom-refresher slot="refresher" slot-scope="{refresherStatus}" :status="refresherStatus">
|
|
</custom-refresher>
|
|
|
|
<!-- 头部 -->
|
|
<myNav slot="top" :title="i18n.assets.transfer.jilu"></myNav>
|
|
<!-- 身体 -->
|
|
<view>
|
|
<view class="listBox" v-for="(item,index) in list" :key="index"
|
|
:style="'background-color: '+theme.fu_bg">
|
|
<view class="width-100b height-82 padding-w-22 flex align-center"
|
|
style="border-bottom: 1rpx solid rgba(191, 195, 199, 0.2);">
|
|
<text class="font-32 numbold-font">{{item.name}}</text>
|
|
</view>
|
|
<view class="width-100b padding-w-20">
|
|
<view class="height-80 flex align-center justify-between">
|
|
<text class="font-26 nummedium-font">{{item.price}}</text>
|
|
<text class="font-26 nummedium-font color-C3C3C3">{{item.createtime}}</text>
|
|
</view>
|
|
<view class="padding-b-20">
|
|
<text class="font-26 bold-font">{{item.description}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
</z-paging>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
list: [],
|
|
theme: '',
|
|
}
|
|
},
|
|
computed: {
|
|
i18n() {
|
|
return this.$t('message');
|
|
}
|
|
},
|
|
onShow() {
|
|
if (uni.getStorageSync("theme") == "dark") {
|
|
this.theme = this.$store.state.darkTheme
|
|
} else {
|
|
this.theme = this.$store.state.lightTheme
|
|
}
|
|
},
|
|
methods: {
|
|
queryList(pageNo, pageSize) {
|
|
this.post('/wallet/transfer_log', {
|
|
page: pageNo,
|
|
page_num: pageSize
|
|
}).then(res => {
|
|
if (res.code == 1) {
|
|
console.log(res)
|
|
this.$refs.paging.complete(res.data.data);
|
|
}
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
.listBox {
|
|
width: 690rpx;
|
|
// height: 183rpx;
|
|
margin: 30rpx auto;
|
|
// background: #FFFFFF;
|
|
box-shadow: 0rpx 4rpx 10rpx rgba(205, 206, 219, 0.3);
|
|
border-radius: 10rpx;
|
|
}
|
|
</style>
|