116 lines
2.3 KiB
Vue
116 lines
2.3 KiB
Vue
<template>
|
||
<view class="crashaudit-cell" :class="{'aready':item.CHECKSTATE}" @click="toPage(item)">
|
||
<view class="uni-flex ai-center jc-between">
|
||
<text class="crashaudit-date">{{item.CHECK_ENDDATE}}</text>
|
||
<text class="status-text">{{!item.CHECKSTATE ? '未处理': '已处理'}}</text>
|
||
</view>
|
||
<view class="uni-flex ai-center">
|
||
<view class="uni-flex ai-center flex-1">
|
||
<text>长短款额:</text>
|
||
<text class="price-text">{{$util.fmoney(item.DIFFERENT_PRICE)}}元</text>
|
||
</view>
|
||
<view class="uni-flex ai-center flex-1" v-show="item.REPLENISH_AMOUNT!=0">
|
||
<text>补入{{item.DIFFERENT_PRICE>0 ? '流水' : '现金'}}:</text>
|
||
<text>{{$util.fmoney(Math.abs(item.REPLENISH_AMOUNT),2)}}元</text>
|
||
</view>
|
||
</view>
|
||
<view class="desc-text" v-show="item.CHECKACCOUNT_DESC">
|
||
<text>稽核反馈:</text>
|
||
<text class="desc-text">{{item.CHECKACCOUNT_DESC}}</text>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default{
|
||
props: ['item'],
|
||
data(){
|
||
return {
|
||
|
||
}
|
||
},
|
||
methods: {
|
||
toPage(item){
|
||
|
||
this.$emit('toPage',item)
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style>
|
||
/* 稽核信息 */
|
||
.crashaudit-cell {
|
||
margin: 0 26rpx 22rpx 26rpx;
|
||
background: #ffffff;
|
||
border-radius: 8rpx;
|
||
box-shadow: 0rpx 2rpx 8rpx 0rpx rgba(231, 231, 231, 0.67);
|
||
overflow: hidden;
|
||
position: relative;
|
||
padding: 10rpx 30rpx 16rpx 30rpx;
|
||
}
|
||
|
||
/* .crashaudit-cell+.crashaudit-cell {
|
||
margin-top: 22rpx;
|
||
} */
|
||
|
||
.crashaudit-cell::before {
|
||
content: '';
|
||
display: block;
|
||
width: 6rpx;
|
||
height: 100%;
|
||
background-color: #4da2eb;
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
z-index: 1;
|
||
}
|
||
|
||
.crashaudit-cell.aready::before {
|
||
background-color: #dbdbdb;
|
||
}
|
||
|
||
.crashaudit-cell>view {
|
||
margin-bottom: 8rpx;
|
||
}
|
||
|
||
.crashaudit-cell>view+view {
|
||
margin-bottom: 0rpx;
|
||
}
|
||
|
||
.crashaudit-cell text {
|
||
font-size: 22rpx;
|
||
}
|
||
.crashaudit-cell .crashaudit-date {
|
||
font-size: 30rpx;
|
||
font-family: 'Bahnschrift Regular';
|
||
}
|
||
|
||
.crashaudit-cell text.status-text {
|
||
color: #F4904E;
|
||
}
|
||
|
||
.crashaudit-cell.aready text.status-text {
|
||
color: #ADB2BF;
|
||
}
|
||
|
||
.crashaudit-cell .price-text {
|
||
color: #D75B5B;
|
||
}
|
||
|
||
.crashaudit-cell view .flex-1 {
|
||
flex: 1;
|
||
}
|
||
|
||
.crashaudit-cell view>text:first-child {
|
||
color: #ADB2BF;
|
||
}
|
||
|
||
.crashaudit-cell view.desc-text {
|
||
|
||
line-height: 1.4;
|
||
}
|
||
|
||
/* end */
|
||
</style>
|