diff --git a/docs/component/datetime-picker.md b/docs/component/datetime-picker.md
index e3941dac5..567415ecc 100644
--- a/docs/component/datetime-picker.md
+++ b/docs/component/datetime-picker.md
@@ -255,6 +255,40 @@ const displayFormatTabLabel = (items) => {
```
+## 自定义icon
+
+添加 `right-icon` 插槽来自定义右侧图标。
+
+
+```html
+
+
+
+
+
+
+
+```
+
+```typescript
+import type {,
+ DatetimePickerExpose
+} from '@/uni_modules/wot-design-uni/components/wd-datetime-picker/types'
+
+const value = ref(['', Date.now()])
+const dateTimePickerRef=ref(null)
+
+/* right-icon点击事件 */
+function rightIconClick() {
+ if (isEmpty.value) {
+ dateTimePickerRef.value!.open()
+ return
+ }
+ value.value = []
+}
+```
+
+
## Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 | 最低版本 |
@@ -328,6 +362,7 @@ const displayFormatTabLabel = (items) => {
|------|-----|---------|
| default | 使用默认插槽 | - |
| label | 左侧标题插槽 | - |
+| right-icon | 右侧图标插槽,作用域参数:{ disabled, readonly } | $LOWEST_VERSION$ |
## 外部样式类
diff --git a/src/pages/datetimePicker/Index.vue b/src/pages/datetimePicker/Index.vue
index 7c4e5cc6a..c4a26718d 100644
--- a/src/pages/datetimePicker/Index.vue
+++ b/src/pages/datetimePicker/Index.vue
@@ -33,6 +33,15 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/uni_modules/wot-design-uni/components/wd-datetime-picker/wd-datetime-picker.vue b/src/uni_modules/wot-design-uni/components/wd-datetime-picker/wd-datetime-picker.vue
index 946755f4e..8273ffed4 100644
--- a/src/uni_modules/wot-design-uni/components/wd-datetime-picker/wd-datetime-picker.vue
+++ b/src/uni_modules/wot-design-uni/components/wd-datetime-picker/wd-datetime-picker.vue
@@ -38,7 +38,9 @@
{{ showValue ? showValue : placeholder || translate('placeholder') }}
-
+
+
+
{{ errorMessage }}
diff --git a/src/uni_modules/wot-design-uni/components/wd-pagination/index.scss b/src/uni_modules/wot-design-uni/components/wd-pagination/index.scss
index c464c50aa..c1f4c41a3 100644
--- a/src/uni_modules/wot-design-uni/components/wd-pagination/index.scss
+++ b/src/uni_modules/wot-design-uni/components/wd-pagination/index.scss
@@ -33,10 +33,11 @@
@include edeep(nav) {
min-width: $-pagination-nav-width;
@include m(active){
- color: rgba(0,0,0,0.65)
+ opacity:0.935;
}
@include m(disabled){
- color: rgba(0,0,0,0.15)
+ // color: rgba(0,0,0,0.15)
+ opacity:0.985;
}
}
@include e(size){
@@ -54,4 +55,4 @@
@include e(current){
color: $-pagination-nav-current-color;
}
-}
\ No newline at end of file
+}