jiangping
2023-10-26 ea87c908fb6cdfc3e227a584a53e6730efb8262a
minipro_standard/components/Search.vue
@@ -1,5 +1,4 @@
<template>
   <view class="search">
      <view class="search_box">
         <view class="search_input">
@@ -11,7 +10,7 @@
            <image @click="openCate()" src="@/static/filter@2x.png" mode="widthFix">
         </view>
      </view>
      <u-popup closeOnClickOverlay :show="open" @close="close" :round="10" mode="bottom">
      <u-popup closeOnClickOverlay :show="open" @close="open=false" :round="10" mode="bottom">
         <scroll-view scroll-y class="content">
            <slot name="content"></slot>
         </scroll-view>
@@ -43,12 +42,7 @@
         },
         // 打开弹窗
         openCate() {
            this.$emit('scrollerBan', true)
            this.open = true
         },
         close() {
            this.open = false
            this.$emit('scrollerBan', false)
         },
         // 重置
         closes() {
@@ -89,7 +83,7 @@
           justify-content: space-between;
           padding-left: 40rpx;
           padding-right: 40rpx;
           padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
           padding-bottom: env(safe-area-inset-bottom);
           box-sizing: border-box;
           position: fixed;
           bottom: 0;