Commit f03b09ce by 前端

样式

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