Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fdf749ac
authored
Oct 28, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式问题修复
1 parent
6874dc64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
pages/tab/index/index.scss
pages/tab/index/index.wxml
pages/tab/index/index.scss
View file @
fdf749a
...
...
@@ -207,16 +207,24 @@ page {
.want-more
{
box-sizing
:
border-box
;
overflow
:
hidden
;
// overflow: hidden;
transition
:
all
3s
ease
;
}
.height
{
height
:
200rpx
;
// .height {
// height: 200rpx;
// }
// .auto {
// height: auto;
// }
.hiddenMore
{
display
:
none
!
important
;
}
.
auto
{
height
:
auto
;
.
showMore
{
display
:
flex
!
important
;
}
.want-btn
{
...
...
pages/tab/index/index.wxml
View file @
fdf749a
...
...
@@ -174,9 +174,10 @@
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
</view>
<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
class="record"
class="record
{{idx>4&&item.getMoreFlag?'hiddenMore':''}} {{idx>4&&!item.getMoreFlag?'showMore':''}}
"
wx:for="{{item.visitList}}"
wx:key="id"
wx:for-index="idx"
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment