Browse Source

小程序购物车界面布局修改

master
dy-hu 11 months ago
parent
commit
d327dd0cec
  1. 3
      locale/en.json
  2. 3
      locale/zh-Hans.json
  3. 33
      pages/tabbar/cart/index.vue

3
locale/en.json

@ -573,6 +573,7 @@
"common.productinfo":"Product Info",
"common.product":"Product",
"common.quantity":"Quantity",
"common.total":"Total",
"common.total_small":"Total",
"common.producttotalprice":"Product Amount",
"common.freightamount":"Freight Amount",
@ -604,4 +605,4 @@
"common.exportafterorder_filename":"afterorderdatadetail.xls",
"common.after-salestatus_info":"After-sale Info",
"common.own":"All"
}
}

3
locale/zh-Hans.json

@ -573,6 +573,7 @@
"common.productinfo":"商品信息",
"common.product":"商品",
"common.quantity":"数量",
"common.total":"合计",
"common.total_small":"小计",
"common.producttotalprice":"商品总价",
"common.freightamount":"运费金额",
@ -604,4 +605,4 @@
"common.exportafterorder_filename":"售后订单数据明细表.xls",
"common.after-salestatus_info":"售后信息",
"common.own":"所有"
}
}

33
pages/tabbar/cart/index.vue

@ -14,10 +14,15 @@
<u-sticky bg-color="#fff">
<view class="cart-bg u-skeleton-fillet">
<view class="cart-num-box">
<image
<!-- <image
class=" u-skeleton-fillet"
src="https://wechat.hnthee.com/ceres-local-file/image/logo_wechat.png"
></image>
></image>-->
<view>
<text class="num-box u-skeleton-fillet">
{{$t('common.totalitemnum',{"number":settleAccountsObj.allNum})}}
</text>
</view>
<text
class="btn-box "
@click="showManage = !showManage"
@ -31,11 +36,6 @@
>{{$t('common.finish')}}
</text>
</view>
<view>
<text class="num-box u-skeleton-fillet">
{{$t('common.totalitemnum',{"number":settleAccountsObj.allNum})}}
</text>
</view>
</view>
</u-sticky>
<view class="cart-list-box">
@ -170,9 +170,9 @@
class="cart-select-img"
@click="handleSelectAll(1)"
></image>
<text>全选{{ settleAccountsObj.checkNum }}</text>
<text>{{$t('common.chooseall')}}{{ settleAccountsObj.checkNum }}</text>
</view>
<view class="total-title">合计<text class="total-content">¥{{ settleAccountsObj.checkMoney }}</text></view>
<view class="total-title">{{$t('common.total')}}<text class="total-content">¥{{ settleAccountsObj.checkMoney }}</text></view>
</view>
<view class="right">
@ -735,7 +735,7 @@ export default {
.cart-bg {
width: 100%;
height: 180rpx;
height: 70rpx;
background-color: #fff;
.cart-num-box {
@ -750,9 +750,12 @@ export default {
}
.btn-box {
font-size: 30rpx;
color: #333333;
padding: 30rpx;
font-size: 28rpx;
color: #252744;
border: 1rpx solid #252744;
border-radius: 30rpx;
padding: 6rpx 20rpx;
margin-right: 30rpx;
box-sizing: border-box;
display: inline-block;
}
@ -761,8 +764,8 @@ export default {
.num-box {
padding: 30rpx 0 30rpx 30rpx;
box-sizing: border-box;
font-size: 30rpx;
color: #C5CACF;
font-size: 28rpx;
color: #252744;
}
}

Loading…
Cancel
Save