You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.2 KiB
65 lines
1.2 KiB
<template>
|
|
<view class="pageBgImg">
|
|
<topNavbar title="指标充值记录"></topNavbar>
|
|
<view class="pad">
|
|
<view class="navBox">
|
|
<cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"></cardNav>
|
|
</view>
|
|
<view class="ul">
|
|
<view class="card" v-for="(item,index) in 10" :key="index">
|
|
<view class="num">+20</view>
|
|
<view class="date">2023/08/08 10:55:21</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
navData: [
|
|
{text: '科目二', id: 1},
|
|
{text: '科目三', id: 2},
|
|
],
|
|
currentNav: 1
|
|
}
|
|
},
|
|
methods: {
|
|
changeNav(id) {
|
|
this.currentNav = id
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.navBox {
|
|
padding: 24rpx 0;
|
|
}
|
|
.ul {
|
|
width: 100%;
|
|
.card {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100rpx;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
justify-content: space-between;
|
|
padding: 0 32rpx;
|
|
margin-bottom: 20rpx;
|
|
.num {
|
|
color: $themC;
|
|
font-weight: 500;
|
|
font-size: 36rpx;
|
|
&::after {
|
|
content: '个';
|
|
font-size: 24rpx;
|
|
font-weight: 400;
|
|
margin-left: 6rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|