From 7e6ac79baa48aa30a98e5343e013a9120f3dabae Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期四, 03 七月 2025 16:28:06 +0800 Subject: [PATCH] update 移除商店中的商品显示 修改神厨页面 --- uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue b/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue index 3c00f18..a520e4a 100644 --- a/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue +++ b/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue @@ -1,7 +1,7 @@ <template> <view v-if="visibleSync" :class="{ 'uni-drawer--visible': showDrawer }" class="uni-drawer" @touchmove.stop.prevent="clear"> <view class="uni-drawer__mask" :class="{ 'uni-drawer__mask--visible': showDrawer && mask }" @tap="close('mask')" /> - <view class="uni-drawer__content" :class="{'uni-drawer--right': rightMode,'uni-drawer--left': !rightMode, 'uni-drawer__content--visible': showDrawer,'custom-style':cusStyle}" :style="{width:drawerWidth+'px',maxHeight:drawerHeight,top:drawerTop+'rpx'}"> + <view class="uni-drawer__content" :class="{'uni-drawer--right': rightMode,'uni-drawer--left': !rightMode, 'uni-drawer__content--visible': showDrawer,'custom-style':cusStyle}" :style="{width:drawerWidth+'px',maxHeight:drawerHeight,top:drawerTop+'px'}"> <slot /> </view> <!-- #ifdef H5 --> @@ -90,15 +90,13 @@ watchTimer: null, drawerWidth: 220, drawerHeight: null, - drawerTop:0 } }, created() { // #ifndef APP-NVUE this.drawerWidth = this.width this.drawerHeight = this.height - this.drawerTop = this.drawerTop - console.log("鎵ц浜�",this.drawerHeight,this.height) + console.log("鎵ц浜�",this.width,this.height) // #endif this.rightMode = this.mode === 'right' }, @@ -160,6 +158,7 @@ } .custom-style{ border-radius: 0 24rpx 24rpx 0; + background-color: #f4f4f4; } .uni-drawer--left { -- Gitblit v1.8.0