|
|
@@ -71,7 +71,7 @@
|
|
|
|
|
|
<cwg-popup v-model:visible="visible" type="center" :mask-click="false" :showFooters="true"
|
|
|
:title="t('Documentary.tradingCenter.item3')">
|
|
|
- <scroll-view scroll-y class="drawer-content">
|
|
|
+ <scroll-view scroll-y class="drawer-content" style="overflow: visible;">
|
|
|
<view v-for="field in nonDateField" :key="field.key" class="filter-item">
|
|
|
<view class="label">{{ field.label }}</view>
|
|
|
<view class="control">
|
|
|
@@ -82,6 +82,7 @@
|
|
|
<template v-else-if="field.type === 'select'">
|
|
|
<uni-data-select v-model:value="tempFormData[field.key]" :localdata="field.options"
|
|
|
:placeholder="field.placeholder || '请选择'" :clearable="false"
|
|
|
+ :placement="'bottom'"
|
|
|
v-if="shouldUseSelect(field)" />
|
|
|
<view class="chip-group" v-else>
|
|
|
<view class="chip-list">
|
|
|
@@ -96,7 +97,7 @@
|
|
|
</template>
|
|
|
<template v-else-if="field.type === 'number'">
|
|
|
<uni-easyinput v-model="tempFormData[field.key]" type="number"
|
|
|
- :placeholder="field.placeholder || '请输入数字'" />
|
|
|
+ :placeholder="field.placeholder || '请输入数字'" clearable />
|
|
|
</template>
|
|
|
<template v-else-if="field.type === 'picker'">
|
|
|
<uni-data-picker v-model="tempFormData[field.key]" :localdata="field.options"
|
|
|
@@ -105,6 +106,8 @@
|
|
|
@change="(e) => field.onChange?.(e)" @nodeclick="(node) => field.onNodeClick?.(node)" />
|
|
|
</template>
|
|
|
</view>
|
|
|
+ <view v-if="nonDateField.length == 1" style="height: 25vh;"/>
|
|
|
+
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<template #footer>
|
|
|
@@ -465,7 +468,7 @@ onMounted(() => {
|
|
|
background-color: #ffffff;
|
|
|
border: 1px solid #e5e5e5;
|
|
|
border-radius: px2rpx(4);
|
|
|
- padding: px2rpx(0) px2rpx(16);
|
|
|
+ padding: px2rpx(0) px2rpx(8);
|
|
|
font-size: px2rpx(16);
|
|
|
font-weight: 500;
|
|
|
color: #141d22;
|
|
|
@@ -497,6 +500,7 @@ onMounted(() => {
|
|
|
.drawer-content {
|
|
|
padding: px2rpx(20);
|
|
|
border-radius: px2rpx(16);
|
|
|
+ //min-height: 40vh;
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
.label {
|
|
|
@@ -506,11 +510,15 @@ onMounted(() => {
|
|
|
margin-bottom: px2rpx(20);
|
|
|
letter-spacing: px2rpx(1);
|
|
|
}
|
|
|
+ :deep(.uni-scroll-view ){
|
|
|
+ //min-height: px2rpx(200);
|
|
|
+ }
|
|
|
|
|
|
:deep(.uni-scroll-view-content) {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
gap: px2rpx(20);
|
|
|
+ overflow: visible;
|
|
|
}
|
|
|
|
|
|
:deep(uni-button) {
|