master
Tuzki 2 years ago
parent 4349d8c45e
commit 56193a3012
  1. 10
      uni_modules/hy-popup-select/components/hy-popup-select/hy-popup-select.vue
  2. 3
      uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue
  3. 4
      uni_modules/uni-data-picker/components/uni-data-pickerview/uni-data-pickerview.vue

@ -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 {

@ -32,7 +32,7 @@
<view class="title-area">
<text class="dialog-title">{{popupTitle}}</text>
</view>
<view class="dialog-close" @click="handleClose">
<view class="dialog-close" @click="handleClose">
<view class="dialog-close-plus" data-id="close"></view>
<view class="dialog-close-plus dialog-close-rotate" data-id="close"></view>
</view>
@ -462,6 +462,7 @@
flex-direction: row;
align-items: center;
padding: 0 15px;
display: none;
}
.dialog-close-plus {

@ -167,7 +167,7 @@
</script>
<style lang="scss">
$uni-primary: #007aff !default;
$uni-primary: #14c171 !default;
.uni-data-pickerview {
flex: 1;
@ -255,7 +255,7 @@
}
.selected-item-active {
border-bottom: 2px solid $uni-primary;
// border-bottom: 2px solid $uni-primary;
}
.selected-item-text {

Loading…
Cancel
Save