| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template>
- <view class="record">
- <view class=" item" v-for="l in list">
- <view class="name">
- <image src="../../static/error/missing-face.png" mode=""></image>
- <view class="name-right">
- <view class="nickname">{{l.name}}</view>
- <view class="time">{{l.time}}</view>
- </view>
- </view>
- <view class="u">
- {{l.money}}
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- list: [{
- name: "御风",
- time: "2019-12-02 12:00:00",
- money: "5000U"
- },
- {
- name: "茶荷酒",
- time: "2008-10-02 12:00:00",
- money: "1000U"
- }]
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .record {
- margin-top: 20rpx;
- background-color: #fff;
- .item {
- padding: 30rpx;
- margin: 20rpx;
- margin-bottom: 0;
- display: flex;
- justify-content: space-between;
- border-bottom: solid 1rpx #f8f8f8;
- .name {
- display: flex;
- image {
- height: 100rpx;
- width: 100rpx;
- margin-right: 30rpx;
- }
- .name-right {
- display: grid;
- align-content: space-between;
- .nickname {
- color: #3F454B;
- font-size: 32rpx;
- }
- .time {
- color: #999999;
- font-size: 28rpx;
- }
- }
- }
- .u {
- color: #EF3A55;
- margin: auto 0;
- font-weight: bold;
- font-size: 35rpx;
- }
- }
- }
- </style>
|