Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
6705a6fa
Commit
6705a6fa
authored
Aug 23, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: no-goods_img
parent
651555b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
+19
-1
cart.wxml
src/pages/cart/cart.wxml
+6
-1
cart.wxss
src/pages/cart/cart.wxss
+13
-0
No files found.
src/pages/cart/cart.wxml
View file @
6705a6fa
...
...
@@ -42,7 +42,12 @@
</view>
</view>
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">亲,您的购物车还空空的哟~</view>
<view class="empty" wx-if="{{cartList !== null && cartList.length == 0}}">
<view class="empty-img">
<image class="no-cart-img" src="/assets/imgs/7_1_0/08_22/no-cart.png" mode="widthFix" />
</view>
<view class="empty-text">亲,您的购物车还空空的哟~</view>
</view>
<!-- 底部 -->
<!-- <view class="cart-bottom" style="bottom:{{currentHeight}}px">-->
...
...
src/pages/cart/cart.wxss
View file @
6705a6fa
...
...
@@ -232,4 +232,16 @@ page{
width: 100%;
margin-top: 458rpx;
}
.empty-img{
margin: 0 auto;
margin-bottom: 50rpx;
}
.empty-img, .no-cart-img {
width: 210rpx;
height: 205rpx;
}
.empty-text {
color: rgba(128, 128, 128, 1);
font-size: 28rpx;
}
\ No newline at end of file
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