12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <view class="detail">
- <view>
- <view class="name">
- {{ itemInfo.type_name }}
- </view>
- <view class="time">
- {{ itemInfo.created_at }}
- </view>
- <view
- class=""
- v-if="withBool && itemInfo.status == 'refused'"
- style="font-size: 24rpx; color: #f83224; margin-top: 12rpx"
- >
- {{ itemInfo.remark }}
- </view>
- </view>
- <view class="reason">
- <view style="font-weight: 600">
- {{ itemInfo.amount }}
- </view>
- <view class="auditing" v-if="withBool">
- <text
- style="font-size: 24rpx; color: #f83224"
- v-if="itemInfo.status == 'refused'"
- >审核驳回</text
- >
- <text
- style="font-size: 24rpx; color: rgba(34, 34, 34, 0.6)"
- v-else-if="itemInfo.status == 'apply'"
- >审核中</text
- >
- <text style="font-size: 24rpx; color: #33bd20" v-else>审核通过</text>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- props: {
- itemInfo: {
- type: Object,
- default: {},
- },
- withBool: {
- type: Boolean,
- default: false,
- },
- },
- };
- </script>
- <style lang="scss">
- .detail {
- display: flex;
- justify-content: space-between;
- align-items: center;
- // height: 140rpx;
- padding: 24rpx 0;
- // border-top: 2rpx solid rgba(151, 151, 151, 0.2);
- border-bottom: 2rpx solid rgba(151, 151, 151, 0.2);
- .name {
- font-size: 30rpx;
- color: #222;
- }
- .time {
- font-size: 24rpx;
- color: #222;
- opacity: 0.6;
- margin-top: 16rpx;
- }
- .reason {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: flex-end;
- }
- }
- </style>
|