Commit f03b09ce by 前端

样式

1 parent 4d43c440
......@@ -10,8 +10,8 @@
<scroll-view :class="['record-box', { 'has-tabs': views && views.length > 1 }]" scroll-y :scroll-top="scrollTop" @scrolltolower="pageonReachBottom">
<view class="card-list">
<view class="card-item" v-for="item in list" :key="item.id">
<template>
<image v-if="item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl" class="image-box" :src="item.vdQuotationPaymentDoc.paymentDocUrl" />
<template v-if="!views || views.length <= 1">
<image v-if="item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl" mode="heightFix" class="image-box" :src="item.vdQuotationPaymentDoc.paymentDocUrl" />
<image v-else class="image-box photo" src="https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp" />
<view class="gradient-overlay"></view>
</template>
......@@ -212,6 +212,7 @@ export default {
z-index: 11;
padding: 32rpx;
width: 708rpx;
overflow: hidden;
.name {
font-weight: 500;
font-size: 32rpx;
......@@ -247,10 +248,10 @@ export default {
.value {
font-size: 24rpx;
color: #666666;
margin-left: auto;
margin-left: 20rpx;
}
.price {
margin-left: auto;
margin-left: 20rpx;
display: flex;
align-items: baseline;
font-weight: 500;
......@@ -262,14 +263,13 @@ export default {
}
}
.image-box {
width: 252rpx;
height: 100%;
position: absolute;
top: 0rpx;
// opacity: 0.5;
right: 0rpx;
background-size: 100% 100%;
border-radius: 32rpx;
// border-radius: 32rpx;
z-index: -1;
&.photo {
width: 250rpx;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!