| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144 |
- <template>
- <view class="content-page-wrap flex-column">
- <!-- <top-main title="消费明细" back></top-main> -->
- <view class="head-title flex-left justify-between">
- <view style="width: 94rpx">
- <u-icon
- name="arrow-left"
- color="#000E08"
- size="42rpx"
- @click="goBack"
- bold
- ></u-icon>
- </view>
- <view>消费明细</view>
- <view style="width: 94rpx"> </view>
- </view>
- <view style="margin: 0 20rpx">
- <view class="top-content">
- <h4>消费明细</h4>
- </view>
- <view class="video-box">
- <view
- class="card-row flex-column"
- v-for="(item, index) in expendRecordData"
- :key="index"
- >
- <view class="card-text">
- <view>
- {{ item.money }}
- </view>
- <view>
- {{ item.vip }}
- </view>
- <view>
- {{ item.date }}
- </view>
- </view>
- </view>
- </view>
- <view class="top-content">
- <h4>节点收益明细</h4>
- </view>
- <view class="video-box">
- <view
- class="card-row flex-column"
- v-for="(item, index) in nodeExpendRecordData"
- :key="index"
- >
- <view class="card-text">
- <view style="color: #1dbc46">
- {{ item.money }}
- </view>
- <view>
- {{ item.source }}
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- import topMain from "@/components/topMain";
- export default {
- components: {
- topMain,
- },
- data() {
- return {
- expendRecordData: [
- {
- money: "-5tox",
- vip: "月卡",
- date: "2024.6.6 20:30",
- },
- {
- money: "-5tox",
- vip: "月卡",
- date: "2024.6.6 20:30",
- },
- {
- money: "-5tox",
- vip: "月卡",
- date: "2024.6.6 20:30",
- },
- {
- money: "-5tox",
- vip: "月卡",
- date: "2024.6.6 20:30",
- },
- ],
- nodeExpendRecordData: [
- {
- money: "+1",
- source: "城市节点收益",
- },
- {
- money: "+0.25",
- source: "区县奖励收益",
- },
- ],
- };
- },
- methods: {
- goBack() {
- uni.navigateBack();
- },
- },
- };
- </script>
- <style lang="less" scoped>
- .content-page-wrap {
- overflow-x: hidden;
- padding: 32rpx;
- .top-content {
- margin: 62rpx 20rpx 40rpx;
- }
- .video-box {
- width: 100%;
- border-radius: 20rpx;
- border: 2rpx solid #e6aa76;
- padding: 48rpx 36rpx;
- .card-row:last-child {
- border-bottom: none;
- }
- .card-row {
- display: flex;
- flex: 1;
- border-bottom: 2rpx solid #f1f1f1;
- padding: 30rpx 0;
- .card-text {
- padding: 0 52rpx;
- display: flex;
- justify-content: space-between;
- flex: 1;
- color: #000;
- font-size: 26rpx;
- font-weight: bold;
- }
- }
- }
- }
- </style>
|