Onlife/pages/wallet/myassets.vue
2025-04-19 15:38:48 +08:00

113 lines
2.1 KiB
Vue

<template>
<view class="container">
<view class="popular">
<scroll-view scroll-y="true" style="height: 100%;">
<view class="moneyitem" v-for="item in 12">
<view class="item_le">
<image src="/static/wallet7.png" mode="heightFix"></image>
</view>
<view class="item_ri">
<view class="name">
<view class="">
ETH
</view>
<view style="margin-top: 22rpx; font-size: 25rpx;">
<text style="color: #9B97B9;">0x81238921639123698123</text>
</view>
</view>
<view class="number" style="margin-top: 25rpx;">
<image src="/static/assadd.png" mode=""></image>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
.container {
border-top: 1px solid dimgrey;
width: 100vw;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
background: linear-gradient(to bottom, #000033, #51599b);
image {
width: 100%;
height: 100%;
}
.popular {
background-color: #392e7f;
padding: 30rpx;
border-radius: 20rpx;
height: 1200rpx;
color: #fff;
margin-top: 30rpx;
.p_top {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fdf7f2;
width: 100%;
height: 60rpx;
font-size: 28rpx;
border-radius: 20rpx;
margin-bottom: 30rpx;
padding: 0 20rpx;
box-sizing: border-box;
.tit {
color: #EAA97D;
font-size: 24rpx;
}
}
.moneyitem {
display: flex;
justify-content: space-between;
margin-bottom: 50rpx;
align-items: center;
.item_le {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.item_ri {
width: 520rpx;
height: 100rpx;
display: flex;
justify-content: space-between;
border-bottom: 2rpx solid #534a84;
.name {
color: #fff;
display: flex;
flex-direction: column;
padding-bottom: 10rpx;
}
.number {
width: 40rpx;
height: 40rpx;
}
}
}
}
}
</style>