|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
<template> |
|
|
|
|
<view> |
|
|
|
|
<uni-popup ref="popup" :type="type" background-color="#fff"> |
|
|
|
|
<uni-popup ref="popup" :type="type" background-color="#fff" borderRadius="20rpx 20rpx 0 0"> |
|
|
|
|
<view class="popup-box"> |
|
|
|
|
<view class="popup-header" v-if="isShowTitle"> |
|
|
|
|
<view class="title">{{title}}</view> |
|
|
|
@ -13,7 +13,7 @@ |
|
|
|
|
<uni-easyinput class="search-input" v-model="filterVal" type="text" placeholder="请输入" |
|
|
|
|
@input="inputFilter" /> |
|
|
|
|
</view> |
|
|
|
|
<scroll-view class="popup-content" :scroll-y="true"> |
|
|
|
|
<scroll-view class="popup-contents" :scroll-y="true"> |
|
|
|
|
<view v-for="(item,index) in arr" :key="index" class="popup-content-item" |
|
|
|
|
@click="itemClick(item,index)"> |
|
|
|
|
<slot :item="item" :index="index"> |
|
|
|
@ -229,7 +229,7 @@ |
|
|
|
|
.title { |
|
|
|
|
justify-content: center; |
|
|
|
|
font-weight: bold; |
|
|
|
|
color: #000000; |
|
|
|
|
color: #4f4f4f; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.btn { |
|
|
|
@ -237,7 +237,7 @@ |
|
|
|
|
|
|
|
|
|
.done { |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #1890FF; |
|
|
|
|
color: #14c171; |
|
|
|
|
flex-shrink: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -250,7 +250,7 @@ |
|
|
|
|
display: flex; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.popup-content { |
|
|
|
|
.popup-contents { |
|
|
|
|
height: calc(80vh - 200rpx); |
|
|
|
|
|
|
|
|
|
.popup-content-item { |
|
|
|
|