Commit fdf749ac by 张立顺

样式问题修复

1 parent 6874dc64
...@@ -207,16 +207,24 @@ page { ...@@ -207,16 +207,24 @@ page {
.want-more { .want-more {
box-sizing: border-box; box-sizing: border-box;
overflow: hidden; // overflow: hidden;
transition: all 3s ease; transition: all 3s ease;
} }
.height { // .height {
height: 200rpx; // height: 200rpx;
// }
// .auto {
// height: auto;
// }
.hiddenMore {
display: none !important;
} }
.auto { .showMore {
height: auto; display: flex !important;
} }
.want-btn { .want-btn {
......
...@@ -174,9 +174,10 @@ ...@@ -174,9 +174,10 @@
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" /> <image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
</view> </view>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="line" hover-class="none" hover-stop-propagation="false" />
<view class="want-more {{item.getMoreFlag?'height':'auto'}}"> <!-- {{item.getMoreFlag?'height':'auto'}} -->
<view class="want-more ">
<view <view
class="record" class="record {{idx>4&&item.getMoreFlag?'hiddenMore':''}} {{idx>4&&!item.getMoreFlag?'showMore':''}}"
wx:for="{{item.visitList}}" wx:for="{{item.visitList}}"
wx:key="id" wx:key="id"
wx:for-index="idx" wx:for-index="idx"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!