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