Style(千县名品):省名称显示调整

This commit is contained in:
lifizer
2024-09-04 16:26:05 +08:00
parent 8242632cb0
commit 1a231d6715
+9 -1
View File
@@ -76,7 +76,9 @@
> >
<view class="name"> <view class="name">
<view class="txt"> <view class="txt">
{{ item.provinceName }} <text class="txt-inner">
{{ item.provinceName }}
</text>
</view> </view>
</view> </view>
<view v-if="item.intro" class="desc"> <view v-if="item.intro" class="desc">
@@ -420,12 +422,18 @@ export default {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: 1;
width: 100%; width: 100%;
height: 6rpx; height: 6rpx;
border-radius: 6rpx; border-radius: 6rpx;
content: " "; content: " ";
background: linear-gradient(90deg, #C52733 0%, rgba(202,56,67,0.92) 51%, rgba(255,255,255,0) 100%); background: linear-gradient(90deg, #C52733 0%, rgba(202,56,67,0.92) 51%, rgba(255,255,255,0) 100%);
} }
.txt-inner {
position: relative;
z-index: 2;
font-weight: bold;
}
} }
} }
.desc { .desc {