积分接口联调
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
<template>
|
||||
<view class='card-view'>
|
||||
<text class='category-title'>2023-02-12</text>
|
||||
<view class='item c-flex-column' v-for='(item,index) in 3' :key='index'>
|
||||
<!-- <text class='category-title'>2023-02-12</text>-->
|
||||
<!-- <view class='item c-flex-column' v-for='(item,index) in 3' :key='index'>-->
|
||||
<view class='c-flex-row'>
|
||||
<text class='primary-text-color' style='flex: 1'>消费</text>
|
||||
<text class='accent-text-color'>-30</text>
|
||||
<text class='primary-text-color' style='flex: 1'>{{item?.remark}}</text>
|
||||
<text class='accent-text-color'>{{item?.value}}</text>
|
||||
</view>
|
||||
<view class='c-flex-row'>
|
||||
<text class='secondary-text-color' style='flex: 1'>2023-06-27 15:02:11</text>
|
||||
<text class='secondary-text-color' style='flex: 1'>{{ item?.createtime }}</text>
|
||||
<text style='color: #999999'>会员积分:¥30.00</text>
|
||||
</view>
|
||||
<view class='divider' style='margin-top: 20rpx'/>
|
||||
</view>
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script lang='ts' setup>
|
||||
import { IntegralBean } from '@/api/user/types';
|
||||
|
||||
defineProps({
|
||||
item: Object
|
||||
item: Object as PropType<IntegralBean>
|
||||
});
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user