149 lines
2.3 KiB
Vue
149 lines
2.3 KiB
Vue
<template>
|
||
<view>
|
||
<view class="card">
|
||
<view class="topRow1" @click="">
|
||
<view class="name">
|
||
<text class="mr26"> {{item.BillTypeName}}</text>
|
||
</view>
|
||
<view>
|
||
<text class="colorGray">单据仓库:</text>
|
||
<text>{{item.BillClassName}}</text>
|
||
</view>
|
||
<view>
|
||
<text class="colorGray">单据类型:</text>
|
||
<text>{{item.BillBusinessTypeName}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
props: {
|
||
item: {
|
||
type: Object,
|
||
default: () => {}
|
||
},
|
||
isSelect: {
|
||
type: Boolean,
|
||
default: false
|
||
},
|
||
index: {
|
||
type: Number,
|
||
default: 0
|
||
}
|
||
},
|
||
data() {
|
||
return {
|
||
|
||
moreShow: false,
|
||
allotShow: false,
|
||
}
|
||
},
|
||
methods: {
|
||
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style>
|
||
.card {
|
||
width: 698rpx;
|
||
padding: 26rpx 26rpx 10rpx;
|
||
margin: 32rpx 26rpx;
|
||
box-sizing: border-box;
|
||
border-radius: 16rpx;
|
||
box-shadow: #d8d8d8 0px 0px 16rpx;
|
||
position: relative;
|
||
background-color: #FFFFFF;
|
||
}
|
||
|
||
.genjinBtn {
|
||
position: absolute;
|
||
right: 26rpx;
|
||
top: 26rpx;
|
||
background-color: #007AFF;
|
||
color: #FFFFFF;
|
||
text-align: center;
|
||
padding: 6rpx 16rpx;
|
||
border-radius: 6rpx;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.genjinBtn:active {
|
||
background-color: #13B8FF;
|
||
}
|
||
|
||
.topRow1 {
|
||
margin-bottom: 16rpx;
|
||
font-size: 15px;
|
||
color: #000;
|
||
position: relative;
|
||
}
|
||
|
||
.name {
|
||
font-size: 16px;
|
||
margin-bottom: 8rpx;
|
||
color: #000000;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.bottomRow {
|
||
width: 100%;
|
||
padding-top: 16rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
border-top: 1rpx solid #f0f0f0;
|
||
font-size: 15px;
|
||
color: #007AFF;
|
||
}
|
||
|
||
.lxRow {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.lxRow>image {
|
||
width: 52rpx;
|
||
height: 52rpx;
|
||
margin-right: 26rpx;
|
||
}
|
||
|
||
.bqRow {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.bqRow>text {
|
||
font-size: 14px;
|
||
color: #888888;
|
||
}
|
||
|
||
.bqRow>view {
|
||
padding: 6rpx 16rpx;
|
||
font-size: 14px;
|
||
background-color: rgba(255, 85, 127, 0.1);
|
||
color: #ff5500;
|
||
border-radius: 10rpx;
|
||
margin: 6rpx 26rpx 20rpx 0;
|
||
}
|
||
.khJieDuan {
|
||
position: absolute;
|
||
right: 0;
|
||
top: 50rpx;
|
||
font-weight: bold;
|
||
}
|
||
.khType {
|
||
position: absolute;
|
||
right: 0;
|
||
top: 72rpx;
|
||
font-weight: bold;
|
||
}
|
||
</style>
|