Fix:2653 【非遗文化】【推荐】处的非遗文化名称及简介区域新增底色
This commit is contained in:
@@ -67,13 +67,15 @@
|
|||||||
<view class="recommend-item flex-item">
|
<view class="recommend-item flex-item">
|
||||||
<view class="v12-font-24 v12-white-text"></view>
|
<view class="v12-font-24 v12-white-text"></view>
|
||||||
<view>
|
<view>
|
||||||
<view @click="toDetails(item.id)" class="item-name one-t v12-px-2 v12-white-border v12-white-text v12-font-32 v12-radius-100 v12-mb-3">
|
<view style="padding: 0 20rpx;">
|
||||||
|
<view @click="toDetails(item.id)" class="item-name one-t v12-px-2 v12-white-border v12-white-text v12-font-32 v12-radius-100 v12-mb-2">
|
||||||
<text class="title-link__text one-t">
|
<text class="title-link__text one-t">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</text>
|
</text>
|
||||||
<u-icon name="arrow-right" color="#fff" size="14"></u-icon>
|
<u-icon name="arrow-right" color="#fff" size="14"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="v12-white-text v12-font-26 one-t">{{ item.intro }}</view>
|
</view>
|
||||||
|
<view class="v12-white-text v12-font-26 one-t intro-bg">{{ item.intro }}</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -140,6 +142,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
.intro-bg{
|
||||||
|
padding: 10rpx 20rpx;
|
||||||
|
background: rgba(0,0,0,0.5);
|
||||||
|
}
|
||||||
.row-column-gap{
|
.row-column-gap{
|
||||||
grid-column-gap: 20rpx;
|
grid-column-gap: 20rpx;
|
||||||
grid-row-gap: 20rpx;
|
grid-row-gap: 20rpx;
|
||||||
@@ -172,7 +178,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 20rpx;
|
// padding: 20rpx;
|
||||||
}
|
}
|
||||||
.recommend-item{
|
.recommend-item{
|
||||||
width: 342rpx;
|
width: 342rpx;
|
||||||
@@ -181,6 +187,7 @@ export default {
|
|||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
.image{
|
.image{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user