@@ -53,9 +53,9 @@
text-align: center;
.tips {
- font-size: 26rpx;
+ font-size: 28rpx;
color: gray;
- margin: 40rpx 0;
+ margin: 50rpx 0;
}
.empty-icon .image {
@@ -268,7 +268,10 @@
onClearCart() {
const app = this
CartApi.clear(app.checkedIds)
- .then(result => app.getCartList())
+ .then(result => {
+ app.getCartList()
+ app.handleToggleMode()
+ })
@@ -406,7 +409,7 @@
.empty-ipt {
width: 220rpx;
margin: 0 auto;
- font-size: 28rpx;
+ font-size: 32rpx;
height: 64rpx;
line-height: 64rpx;