Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
doublescreen-back
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pengguangpu
doublescreen-back
Commits
0cc37974
Commit
0cc37974
authored
Mar 04, 2020
by
jiangjiantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfixed
parent
2d2d3a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
index.acss
pages/index/index.acss
+5
-0
index.axml
pages/index/index.axml
+1
-1
No files found.
pages/index/index.acss
View file @
0cc37974
...
...
@@ -304,6 +304,11 @@
margin-left: 2%;
}
.shopcart-list-hidden {
height: 0;
width:0;
}
/* 顶部空白 */
.shopcart-cart-top-blank {
...
...
pages/index/index.axml
View file @
0cc37974
...
...
@@ -183,7 +183,7 @@
<image class="empty-remind-icon" mode="aspectFit" src="/images/scan_good_guide.png"/>
</view>
<!-- 购物车有数据 -->
<scroll-view class="
shopcart-list
" scroll-y="{{true}}" hidden="{{goods.length == 0}}">
<scroll-view class="
{{goods.length == 0 ? 'shopcart-list-hidden' : 'shopcart-list'}}
" scroll-y="{{true}}" hidden="{{goods.length == 0}}">
<view class="shopcart-cart-top-blank">
</view>
<block a:for="{{goods}}">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment