修复公告详情图片溢出、商品列表样式优化

master
Eratosici 5 years ago
parent c1c14f02fa
commit b3adaf97ff

@ -1,6 +1,6 @@
.prod-items {
width: 375rpx;
width: 360rpx;
float: left;
background: #fff;
padding-bottom: 20rpx;

@ -18,3 +18,9 @@
text-justify: inter-ideograph;
margin-top: 20rpx;
}
.content >>> img {
display: block;
width: 100%;
height: auto;
}

@ -5,7 +5,7 @@
<view class="news-detail">
<view class="news-detail-title">{{news.title}}</view>
<!-- <view class='news-detail-text'>{{news.content}}</view> -->
<rich-text :nodes="news.content"></rich-text>
<rich-text class="content" :nodes="news.content"></rich-text>
</view>
<!-- </block> -->
</view>

@ -4,6 +4,10 @@ page {
background: #fff;
}
.container {
margin: 7px;
}
.line-fix {
width: 100%;
height: 2rpx;

@ -2,8 +2,8 @@
<!--pages/prod-classify/prod-classify.wxml-->
<view class="container">
<view class="line-fix"></view>
<view class="tit-background"></view>
<!-- <view class="line-fix"></view>
<view class="tit-background"></view> -->
<view>
<block v-for="(item, index) in prodList" :key="index">
<prod :item="item"></prod>

Loading…
Cancel
Save