111
k94314517
2023-10-16 ca73a173f008c8d7a9d700bad897ca24fe2d2203
minipro_standard/components/Search.vue
@@ -1,4 +1,5 @@
<template>
   <view class="search">
      <view class="search_box">
         <view class="search_input">
@@ -10,7 +11,7 @@
            <image @click="openCate()" src="@/static/filter@2x.png" mode="widthFix">
         </view>
      </view>
      <u-popup :show="open" :round="10" mode="bottom">
      <u-popup closeOnClickOverlay :show="open" @close="close" :round="10" mode="bottom">
         <scroll-view scroll-y class="content">
            <slot name="content"></slot>
         </scroll-view>
@@ -42,7 +43,12 @@
         },
         // 打开弹窗
         openCate() {
            this.$emit('scrollerBan', true)
            this.open = true
         },
         close() {
            this.open = false
            this.$emit('scrollerBan', false)
         },
         // 重置
         closes() {
@@ -66,6 +72,8 @@
       display: flex;
       align-items: center;
       .zhanwei {
         width: 100%;
         height: calc(88rpx + 30rpx);
           background: #ffffff;
       }
       .content {
@@ -81,7 +89,7 @@
           justify-content: space-between;
           padding-left: 40rpx;
           padding-right: 40rpx;
           padding-bottom: 64rpx;
           padding-bottom: calc(env(safe-area-inset-bottom) + 20rpx);
           box-sizing: border-box;
           position: fixed;
           bottom: 0;
@@ -91,6 +99,7 @@
           .footer_close {
               flex: 1;
               padding: 28rpx 0;
            height: 88rpx;
               box-sizing: border-box;
               margin-right: 22rpx;
               font-size: 32rpx;
@@ -103,6 +112,7 @@
           }
           .footer_submit {
               flex: 1;
            height: 88rpx;
               padding: 28rpx 0;
               box-sizing: border-box;
               font-size: 32rpx;