vue2-client 1.13.14 → 1.13.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.13.14",
3
+ "version": "1.13.15",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -2,24 +2,26 @@
2
2
  <div class="x-input-wrapper">
3
3
  <div class="input-container">
4
4
  <span v-if="config?.label" class="input-label">{{ config.label }}</span>
5
- <a-input
6
- v-model="innerValue"
7
- v-bind="$attrs"
8
- :placeholder="config?.placeholder"
9
- :size="config?.size"
10
- :maxLength="config?.maxLength"
11
- :disabled="config?.disabled"
12
- :allowClear="config?.allowClear"
13
- @change="handleInput"
14
- @pressEnter="handleSearch"
15
- >
16
- <template v-if="config?.prefix" #prefix>
17
- <a-icon :type="config.prefix" @click="handleSearch" class="clickable-icon" />
18
- </template>
19
- <template v-if="config?.suffix" #suffix>
20
- <a-icon :type="config.suffix" @click="handleSearch" class="clickable-icon" />
21
- </template>
22
- </a-input>
5
+ <div class="input-wrapper">
6
+ <a-input
7
+ v-model="innerValue"
8
+ v-bind="$attrs"
9
+ :placeholder="config?.placeholder"
10
+ :size="config?.size"
11
+ :maxLength="config?.maxLength"
12
+ :disabled="config?.disabled"
13
+ :allowClear="config?.allowClear"
14
+ @change="handleInput"
15
+ @pressEnter="handleSearch"
16
+ >
17
+ <template v-if="config?.prefix" #prefix>
18
+ <a-icon :type="config.prefix" @click="handleSearch" class="clickable-icon" />
19
+ </template>
20
+ <template v-if="config?.suffix" #suffix>
21
+ <a-icon :type="config.suffix" @click="handleSearch" class="clickable-icon" />
22
+ </template>
23
+ </a-input>
24
+ </div>
23
25
  </div>
24
26
  </div>
25
27
  </template>
@@ -37,7 +39,7 @@ export default {
37
39
  },
38
40
  queryParamsName: {
39
41
  type: String,
40
- default: ''
42
+ default: 'outpatientRefunds1Config'
41
43
  }
42
44
  },
43
45
  data () {
@@ -97,13 +99,16 @@ export default {
97
99
  .input-container {
98
100
  display: flex;
99
101
  align-items: center;
100
- gap: 5px;
101
102
  }
102
103
 
103
104
  .input-label {
104
105
  white-space: nowrap;
105
106
  color: rgba(0, 0, 0, 0.85);
106
- min-width: 30px;
107
+ padding-right: 8px; /* 标签右侧固定间距 */
108
+ }
109
+
110
+ .input-wrapper {
111
+ flex: 1; /* 输入框占据剩余空间 */
107
112
  }
108
113
 
109
114
  :deep(.clickable-icon) {
@@ -2,15 +2,17 @@
2
2
  <div class="x-time-select">
3
3
  <div class="time-select-container">
4
4
  <span v-if="label" class="time-select-label">{{ label }}</span>
5
- <a-range-picker
6
- :value="dateRange"
7
- :placeholder="['开始日期', '结束日期']"
8
- separator=""
9
- :disabled="disabled"
10
- :allowClear="allowClear"
11
- :format="format"
12
- @change="handleDateChange"
13
- />
5
+ <div class="picker-wrapper">
6
+ <a-range-picker
7
+ :value="dateRange"
8
+ :placeholder="['开始日期', '结束日期']"
9
+ separator=""
10
+ :disabled="disabled"
11
+ :allowClear="allowClear"
12
+ :format="format"
13
+ @change="handleDateChange"
14
+ />
15
+ </div>
14
16
  </div>
15
17
  </div>
16
18
  </template>
@@ -91,13 +93,16 @@ export default {
91
93
  .time-select-container {
92
94
  display: flex;
93
95
  align-items: center;
94
- gap: 4px;
95
96
  }
96
97
 
97
98
  .time-select-label {
98
99
  white-space: nowrap;
99
100
  color: rgba(0, 0, 0, 0.85);
100
- min-width: 30px;
101
+ padding-right: 8px;
102
+ }
103
+
104
+ .picker-wrapper {
105
+ flex: 1;
101
106
  }
102
107
 
103
108
  .x-time-select :deep(.ant-picker-range),