Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
bf633448
Commit
bf633448
authored
Dec 14, 2019
by
Junling Bu
Browse files
feat[litemall-wx]: 删除购物车页面的网易图标链接
parent
b1af78f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
litemall-wx/app.json
View file @
bf633448
...
@@ -88,6 +88,8 @@
...
@@ -88,6 +88,8 @@
"debug"
:
true
,
"debug"
:
true
,
"usingComponents"
:
{
"usingComponents"
:
{
"van-tag"
:
"./lib/vant-weapp/tag/index"
,
"van-tag"
:
"./lib/vant-weapp/tag/index"
,
"van-icon"
:
"./lib/vant-weapp/icon/index"
,
"van-checkbox"
:
"./lib/vant-weapp/checkbox/index"
,
"van-steps"
:
"./lib/vant-weapp/steps/index"
"van-steps"
:
"./lib/vant-weapp/steps/index"
},
},
"sitemapLocation"
:
"sitemap.json"
"sitemapLocation"
:
"sitemap.json"
...
...
litemall-wx/pages/cart/cart.wxml
View file @
bf633448
<view class="container">
<view class="container">
<view class="no-login" wx:if="{{!hasLogin}}">
<view class="no-login" wx:if="{{!hasLogin}}">
<view class="c">
<view class="c">
<image src="http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/noCart-a8fe3f12e5.png" />
<text>还没有登录</text>
<text>还没有登录</text>
<button style="background-color:#A9A9A9" bindtap="goLogin">去登录</button>
<button style="background-color:#A9A9A9" bindtap="goLogin">去登录</button>
</view>
</view>
...
@@ -14,7 +13,7 @@
...
@@ -14,7 +13,7 @@
</view>
</view>
<view class="no-cart" wx:if="{{cartGoods.length <= 0}}">
<view class="no-cart" wx:if="{{cartGoods.length <= 0}}">
<view class="c">
<view class="c">
<
image src="http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/noCart-a8fe3f12e5.png" /
>
<
text>空空如也~</text
>
<text>去添加点什么吧</text>
<text>去添加点什么吧</text>
</view>
</view>
</view>
</view>
...
@@ -23,7 +22,7 @@
...
@@ -23,7 +22,7 @@
<view class="group-item">
<view class="group-item">
<view class="goods">
<view class="goods">
<view class="item {{isEditCart ? 'edit' : ''}}" wx:for="{{cartGoods}}" wx:key="id">
<view class="item {{isEditCart ? 'edit' : ''}}" wx:for="{{cartGoods}}" wx:key="id">
<v
iew class="
checkbox {{item.checked
? 'checked' : ''
}}" bind
tap
="checkedItem" data-item-index="{{index}}"></v
iew
>
<v
an-
checkbox
value="
{{
item.checked }}" bind
:change
="checkedItem" data-item-index="{{index}}"></v
an-checkbox
>
<view class="cart-goods">
<view class="cart-goods">
<image class="img" src="{{item.picUrl}}"></image>
<image class="img" src="{{item.picUrl}}"></image>
<view class="info">
<view class="info">
...
@@ -48,7 +47,7 @@
...
@@ -48,7 +47,7 @@
</view>
</view>
<view class="cart-bottom">
<view class="cart-bottom">
<v
iew class="
checkbox {{checkedAllStatus
? 'checked' : ''
}}" bind
tap
="checkedAll">全选
(
{{cartTotal.checkedGoodsCount}}
)
</v
iew
>
<v
an-
checkbox
value="
{{
checkedAllStatus }}" bind
:change
="checkedAll">全选
(
{{cartTotal.checkedGoodsCount}}
)
</v
an-checkbox
>
<view class="total">{{!isEditCart ? '¥'+cartTotal.checkedGoodsAmount : ''}}</view>
<view class="total">{{!isEditCart ? '¥'+cartTotal.checkedGoodsAmount : ''}}</view>
<view class='action_btn_area'>
<view class='action_btn_area'>
<view class="{{!isEditCart ? 'edit' : 'sure'}}" bindtap="editCart">{{!isEditCart ? '编辑' : '完成'}}</view>
<view class="{{!isEditCart ? 'edit' : 'sure'}}" bindtap="editCart">{{!isEditCart ? '编辑' : '完成'}}</view>
...
...
litemall-wx/pages/cart/cart.wxss
View file @
bf633448
...
@@ -24,7 +24,6 @@ page {
...
@@ -24,7 +24,6 @@ page {
}
}
.service-policy .item {
.service-policy .item {
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
background-size: 10rpx;
background-size: 10rpx;
padding-left: 15rpx;
padding-left: 15rpx;
display: flex;
display: flex;
...
@@ -100,15 +99,7 @@ page {
...
@@ -100,15 +99,7 @@ page {
.no-cart .c {
.no-cart .c {
width: 100%;
width: 100%;
height: auto;
height: auto;
margin-top: 200rpx;
margin-top: 400rpx;
}
.no-cart .c image {
margin: 0 auto;
display: block;
text-align: center;
width: 258rpx;
height: 258rpx;
}
}
.no-cart .c text {
.no-cart .c text {
...
@@ -148,18 +139,13 @@ page {
...
@@ -148,18 +139,13 @@ page {
overflow: hidden;
overflow: hidden;
}
}
.cart-view .item .checkbox {
.cart-view .item .
van-
checkbox {
float: left;
float: left;
height: 34rpx;
margin: 65rpx 18rpx 65rpx 18rpx;
width: 34rpx;
margin: 65rpx 18rpx 65rpx 26rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
background-size: 34rpx;
}
}
.cart-view .item .checkbox.checked {
.cart-view .item .van-checkbox .van-icon {
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
color: #fff;
background-size: 34rpx;
}
}
.cart-view .item .cart-goods {
.cart-view .item .cart-goods {
...
@@ -228,24 +214,12 @@ page {
...
@@ -228,24 +214,12 @@ page {
float: left;
float: left;
}
}
.cart-view .item .open {
height: 28rpx;
width: 150rpx;
display: block;
float: right;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/arrowDown-d48093db25.png) right center no-repeat;
background-size: 25rpx;
font-size: 25rpx;
color: #333;
}
.cart-view .item.edit .t {
.cart-view .item.edit .t {
display: none;
display: none;
}
}
.cart-view .item.edit .attr {
.cart-view .item.edit .attr {
text-align: right;
text-align: right;
background: url(http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/arrow-right1-e9828c5b35.png) right center no-repeat;
padding-right: 25rpx;
padding-right: 25rpx;
background-size: 12rpx 20rpx;
background-size: 12rpx 20rpx;
margin-bottom: 24rpx;
margin-bottom: 24rpx;
...
@@ -367,19 +341,14 @@ page {
...
@@ -367,19 +341,14 @@ page {
display: flex;
display: flex;
}
}
.cart-bottom .checkbox {
.cart-bottom .van-checkbox {
height: 34rpx;
float: left;
padding-left: 60rpx;
line-height: 34rpx;
margin: 33rpx 18rpx 33rpx 26rpx;
margin: 33rpx 18rpx 33rpx 26rpx;
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-0e09baa37e.png) no-repeat;
font-size: 29rpx;
background-size: 34rpx;
font-size: 29rpx;
}
}
.cart-bottom .checkbox.checked {
.cart-bottom .van-checkbox .van-icon {
background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/checkbox-checked-822e54472a.png) no-repeat;
color: #fff;
background-size: 34rpx;
}
}
.cart-bottom .total {
.cart-bottom .total {
...
...
Write
Preview
Supports
Markdown
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