@tplc/wot 0.1.65 → 0.1.67

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/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.67](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.82...v0.1.67) (2025-03-18)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 新增form ([1fc2c38](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1fc2c38de7d1bb0cfcb420a9f80c1a2f309ffd49))
11
+ * 新增类型属性 ([044fa99](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/044fa99ff2b1a18c4cb01185a7f30003862577a3))
12
+ * 暂时提交form ([a43ce7c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a43ce7c0152fda887a2695cf88cb79cd31c75f94))
13
+
14
+ ### [0.1.66](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.77...v0.1.66) (2025-03-11)
15
+
5
16
  ### [0.1.65](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.64...v0.1.65) (2025-03-10)
6
17
 
7
18
  ### [0.1.64](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.75...v0.1.64) (2025-03-10)
@@ -90,8 +90,8 @@
90
90
  background: $-calendar-active-color;
91
91
  border-radius: $-calendar-active-border;
92
92
  }
93
- .wd-month__day-text-custom{
94
- color:#fff
93
+ .wd-month__day-text-custom {
94
+ color: #fff;
95
95
  }
96
96
  }
97
97
 
@@ -112,8 +112,8 @@
112
112
  background: $-calendar-active-color;
113
113
  border-radius: $-calendar-active-border;
114
114
  }
115
- .wd-month__day-text-custom{
116
- color:#fff
115
+ .wd-month__day-text-custom {
116
+ color: #fff;
117
117
  }
118
118
  }
119
119
 
@@ -131,15 +131,14 @@
131
131
  z-index: 2;
132
132
  height: 100%;
133
133
  padding: 0 2px;
134
-
135
134
  }
136
135
 
137
136
  @include e(day-text) {
138
137
  font-weight: $-calendar-day-fw;
139
- &-custom{
140
- font-size: 14px;
141
- color:$-calendar-active-color;
142
- }
138
+ &-custom {
139
+ font-size: 14px;
140
+ color: $-calendar-active-color;
141
+ }
143
142
  }
144
143
 
145
144
  @include e(day-top) {
@@ -161,4 +160,14 @@
161
160
  line-height: 1.1;
162
161
  text-align: center;
163
162
  }
163
+
164
+ @include e(day-floor) {
165
+ position: absolute;
166
+ right: 0;
167
+ bottom: 2px;
168
+ left: 0;
169
+ font-size: $-calendar-info-fs;
170
+ line-height: 1.1;
171
+ text-align: center;
172
+ }
164
173
  }
@@ -20,7 +20,24 @@
20
20
  >
21
21
  {{ item.text }}
22
22
  </view>
23
- <view class="wd-month__day-bottom">{{ item.bottomInfo }}</view>
23
+ <view
24
+ class="wd-month__day-bottom"
25
+ :style="{ bottom: item.floorText ? '12px' : '6px' }"
26
+ >
27
+ <text
28
+ v-if="item.bottomInfo && item.bottomInfo.includes('¥')"
29
+ style="font-size: 8px"
30
+ >
31
+ ¥
32
+ </text>
33
+ <text>{{ item.bottomInfo?.replace('¥', '') }}</text>
34
+ </view>
35
+ <view class="wd-month__day-floor">
36
+ <text v-if="item.floorText && item.floorText.includes('¥')" style="font-size: 8px">
37
+ ¥
38
+ </text>
39
+ {{ item.floorText?.replace('¥', '') }}
40
+ </view>
24
41
  </view>
25
42
  </view>
26
43
  </view>
@@ -103,6 +103,7 @@ export type CalendarDayItem = {
103
103
  text?: number | string
104
104
  topInfo?: string
105
105
  bottomInfo?: string
106
+ floorText?: string
106
107
  type?: CalendarDayType
107
108
  disabled?: boolean
108
109
  day?: number | string
@@ -21,7 +21,7 @@
21
21
  v-for="(item, index) in list"
22
22
  :key="index"
23
23
  class="wd-swiper__item"
24
- :style="{ paddingRight: itemPadding }"
24
+ :style="{ paddingRight: itemPadding, paddingLeft: itemPadding }"
25
25
  @click="handleClick(index, item)"
26
26
  >
27
27
  <view
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "@tplc/wot",
3
3
  "name": "@tplc/wot",
4
- "version": "0.1.65",
4
+ "version": "0.1.67",
5
5
  "keywords": [
6
6
  "wot-design-uni",
7
7
  "国际化",
@@ -116,6 +116,7 @@ export type CalendarDayItem = {
116
116
  text?: number | string
117
117
  topInfo?: string
118
118
  bottomInfo?: string
119
+ floorText?: string
119
120
  type?: CalendarDayType
120
121
  disabled?: boolean
121
122
  day?: number | string