<template>
    <view class="main">
        <!-- nav -->
        <navigation>{{ i18n.DonateRecord }}</navigation>
        <view class="body">
            <view class="card" v-for="(item, index) in 4" :key="index">
                <u-icon class="icon" :name="'../../static/me/img_donate.png'" size="64rpx" width="64rpx"></u-icon>
                <view class="content">
                    <Key-value-row class="title" :keyName="'Donate Title'" :value="'200.00'" :leftColor="'#fff'"
                        :rightColor="'#F2FE8D'">
                    </Key-value-row>
                    <view class="date">2022/08/06 14:50:34</view>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
import KeyValueRow from '../../components/KeyValueRow/KeyValueRow.vue';
export default {
    components: { KeyValueRow },
    name: "donateRecord",
    data() {
        return {
        };
    },
    computed: {
        i18n() {
            return this.$t("me");
        },
    },
    onLoad() {
    },
    onShow() { },
    methods: {

    },
}
</script>

<style lang="scss" scoped>
.main {

    .body {
        overflow: hidden;
        margin-top: 200rpx;
        padding: 0 32rpx;

        .card {
            height: 148rpx;
            position: relative;
            background: #211F32;
            border-radius: 32rpx;
            display: flex;
            flex-wrap: wrap;
            margin-top: 32rpx;

            .icon {
                margin: -20rpx 12rpx 0 20rpx;
                border-radius: 20rpx;
            }

            .content {
                width: 558rpx;

                .title {
                    width: 558rpx;
                    height: 36rpx;
                    line-height: 36rpx;
                    margin-top: 32rpx;
                    font-size: 28rpx;

                    /deep/.u-text__value {
                        font-weight: 600 !important;
                    }

                }

                .date {
                    width: 558rpx;
                    height: 36rpx;
                    line-height: 36rpx;
                    font-size: 28rpx;
                    margin-top: 12rpx;
                    color: #A1A0A8;
                }
            }



        }

    }

}
</style>
