add
This commit is contained in:
parent
c85cb68f7a
commit
5afd6b8978
|
@ -16,11 +16,11 @@
|
||||||
<swiper-item class="swiper-item">
|
<swiper-item class="swiper-item">
|
||||||
<scroll-view scroll-y @refresherrefresh="refresherrefresh(1)" :refresher-triggered="triggered"
|
<scroll-view scroll-y @refresherrefresh="refresherrefresh(1)" :refresher-triggered="triggered"
|
||||||
refresher-enabled refresher-background="#F6F6F6" style="height: 100%;width: 100%;">
|
refresher-enabled refresher-background="#F6F6F6" style="height: 100%;width: 100%;">
|
||||||
<view class="page-box1" style="padding-top: 60rpx;">
|
<view class="page-box1">
|
||||||
<view class="total">
|
<view class="total" @click='isAdmin=!isAdmin'>
|
||||||
<view>共计<text style="color: #20B128;">{{cartList.length}}</text>件</view>
|
<view>共计<text style="color: #20B128;">{{cartList.length}}</text>件</view>
|
||||||
<view v-if="!isAdmin" @click="isAdmin=true;">管理</view>
|
<view v-if="!isAdmin">管理</view>
|
||||||
<view v-else @click="isAdmin=false;">完成</view>
|
<view v-else>完成</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="cartList.length>0" class="list">
|
<view v-if="cartList.length>0" class="list">
|
||||||
<view class="shop-item" v-for="(item, index) in cartList" :key="index"
|
<view class="shop-item" v-for="(item, index) in cartList" :key="index"
|
||||||
|
@ -348,15 +348,15 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.total {
|
.total {
|
||||||
margin-top: 10rpx;
|
// margin-top: 10rpx;
|
||||||
padding: 0 40rpx;
|
padding: 0 40rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
position: fixed;
|
// position: sticky;
|
||||||
top: var(--window-top);
|
// top: var(--window-top);
|
||||||
left: 0;
|
// left: 0;
|
||||||
right: 0;
|
// right: 0;
|
||||||
z-index: 100;
|
z-index: 100000 !important;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
|
|
Loading…
Reference in New Issue