@cloudbase/weda-ui 3.25.1 → 3.26.1
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/dist/configs/components/wd-drawer.d.ts +144 -0
- package/dist/configs/components/wd-drawer.js +358 -0
- package/dist/configs/components/wd-modal.js +5 -1
- package/dist/configs/index.d.ts +244 -0
- package/dist/configs/index.js +2 -0
- package/dist/configs/type-utils/type-form.js +1 -1
- package/dist/enum/index.d.ts +4 -0
- package/dist/enum/index.js +18 -0
- package/dist/style/index.css +145 -1
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +5 -5
- package/dist/web/components/index.d.ts +1 -0
- package/dist/web/components/index.js +1 -0
- package/dist/web/components/wd-drawer/index.d.ts +3 -0
- package/dist/web/components/wd-drawer/index.js +3 -0
- package/dist/web/components/wd-drawer/wd-drawer.d.ts +11 -0
- package/dist/web/components/wd-drawer/wd-drawer.js +98 -0
- package/dist/web/components/wd-modal/wd-modal.js +4 -2
- package/dist/web/components/wd-select/hooks/useChooseList.js +0 -1
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +28 -8
- package/dist/web/components/wd-table/components/FieldRender/Form/Enum.js +3 -2
- package/dist/web/components/wd-table/components/Table/index.js +3 -1
- package/dist/web/components/wd-table/wd-table.js +24 -26
- package/dist/web/components/wd-tabs/tabs-h5.js +6 -3
- package/dist/web/components/wd-tabs/tabs-pc.js +6 -3
- package/dist/web/components/wd-tabs/tabs.js +2 -6
- package/dist/web/components/wd-unified-link/utils.js +2 -2
- package/package.json +1 -1
package/dist/configs/index.d.ts
CHANGED
|
@@ -1964,6 +1964,128 @@ export declare const components: {
|
|
|
1964
1964
|
};
|
|
1965
1965
|
};
|
|
1966
1966
|
};
|
|
1967
|
+
WdDrawer: {
|
|
1968
|
+
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
1969
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
1970
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
1971
|
+
placement: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1972
|
+
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
1973
|
+
mask: import("@sinclair/typebox").TBoolean;
|
|
1974
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1975
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1976
|
+
enableFooterSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1977
|
+
headerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
1978
|
+
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
1979
|
+
footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
1980
|
+
}>;
|
|
1981
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
1982
|
+
modalState: import("@sinclair/typebox").TUnsafe<string>;
|
|
1983
|
+
openInfo: import("@sinclair/typebox").TUnknown;
|
|
1984
|
+
closeInfo: import("@sinclair/typebox").TUnknown;
|
|
1985
|
+
}>;
|
|
1986
|
+
readonly classes: readonly [{
|
|
1987
|
+
readonly name: "根元素";
|
|
1988
|
+
readonly selector: ".wd-drawer";
|
|
1989
|
+
readonly description: "组件根元素";
|
|
1990
|
+
readonly code: "\n :scope.wd-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly name: "PC 端根元素";
|
|
1993
|
+
readonly selector: ".wd-pc-drawer";
|
|
1994
|
+
readonly description: "组件根元素";
|
|
1995
|
+
readonly code: "\n :scope.wd-pc-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
1996
|
+
}, {
|
|
1997
|
+
readonly name: "H5 端根元素";
|
|
1998
|
+
readonly selector: ".wd-h5-drawer";
|
|
1999
|
+
readonly description: "可以为 H5 端的编写样式";
|
|
2000
|
+
readonly code: "\n :scope.wd-h5-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
2001
|
+
}, {
|
|
2002
|
+
readonly name: "小程序 端根元素";
|
|
2003
|
+
readonly selector: ".wd-mp-drawer";
|
|
2004
|
+
readonly description: "可以为 小程序 端的编写样式";
|
|
2005
|
+
readonly code: "\n :scope.wd-mp-drawer {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly name: "抽屉遮罩层样式";
|
|
2008
|
+
readonly selector: ".wd-drawer-mask";
|
|
2009
|
+
readonly description: "可以为遮罩层编写样式";
|
|
2010
|
+
readonly code: "\n :scope .wd-drawer-mask {\n /* 可以为遮罩层编写样式 */\n background-color: rgba(0, 0, 0, 0.5)\n }\n ";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly name: "抽屉主体容器样式";
|
|
2013
|
+
readonly selector: ".wd-drawer-content-wrapper";
|
|
2014
|
+
readonly description: "可以为主体容器编写样式";
|
|
2015
|
+
readonly code: "\n :scope .wd-drawer-content-wrapper {\n /* 可以为主体容器编写样式 */\n inset-inline-start: auto;\n inset-inline-end: 0;\n }\n ";
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly name: "抽屉顶部容器样式";
|
|
2018
|
+
readonly selector: ".wd-drawer-header";
|
|
2019
|
+
readonly description: "可以为顶部容器编写样式";
|
|
2020
|
+
readonly code: "\n :scope .wd-drawer-header {\n /* 可以为顶部容器编写样式*/\n padding: 0;\n }\n ";
|
|
2021
|
+
}, {
|
|
2022
|
+
readonly name: "抽屉内容容器样式";
|
|
2023
|
+
readonly selector: ".wd-drawer-body";
|
|
2024
|
+
readonly description: "可以为内容容器编写样式";
|
|
2025
|
+
readonly code: "\n :scope .wd-drawer-body {\n /* 可以为内容容器编写样式 */\n padding: 0;\n }\n ";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly name: "抽屉底部容器样式";
|
|
2028
|
+
readonly selector: ".wd-drawer-footer";
|
|
2029
|
+
readonly description: "可以为底部容器编写样式";
|
|
2030
|
+
readonly code: "\n :scope .wd-drawer-footer {\n /* 可以为底部容器编写样式 */\n padding: 0;\n }\n ";
|
|
2031
|
+
}];
|
|
2032
|
+
readonly methods: readonly [{
|
|
2033
|
+
readonly name: "open";
|
|
2034
|
+
readonly label: "打开抽屉";
|
|
2035
|
+
readonly params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2036
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
2037
|
+
}>>;
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly name: "close";
|
|
2040
|
+
readonly label: "关闭抽屉";
|
|
2041
|
+
readonly params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
2042
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
2043
|
+
}>>;
|
|
2044
|
+
}];
|
|
2045
|
+
readonly events: readonly [{
|
|
2046
|
+
readonly title: "抽屉打开时";
|
|
2047
|
+
readonly name: "open";
|
|
2048
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
2049
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
2050
|
+
}>;
|
|
2051
|
+
}, {
|
|
2052
|
+
readonly title: "抽屉关闭时";
|
|
2053
|
+
readonly name: "close";
|
|
2054
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
2055
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
2056
|
+
}>;
|
|
2057
|
+
}];
|
|
2058
|
+
readonly meta: {
|
|
2059
|
+
readonly name: "WdDrawer";
|
|
2060
|
+
readonly componentName: "drawer";
|
|
2061
|
+
readonly title: "抽屉";
|
|
2062
|
+
readonly description: "屏幕边缘滑出的浮层面板。";
|
|
2063
|
+
readonly propertyPanelTips: "在小程序中使用时,不建议嵌套在其他容器/组件中,以免抽屉被遮盖";
|
|
2064
|
+
readonly figureIcon: "../figureIcons/WdDrawer.svg";
|
|
2065
|
+
readonly icon: "../icons/WdDrawer.svg";
|
|
2066
|
+
readonly category: "布局";
|
|
2067
|
+
readonly categoryOrder: 200;
|
|
2068
|
+
readonly componentOrder: 150;
|
|
2069
|
+
readonly visible: readonly ["APP"];
|
|
2070
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/WdModal";
|
|
2071
|
+
readonly templates: readonly [{
|
|
2072
|
+
readonly when: "$attached";
|
|
2073
|
+
readonly to: "headerSlot";
|
|
2074
|
+
readonly body: string;
|
|
2075
|
+
}];
|
|
2076
|
+
readonly inlineStyleForm: {
|
|
2077
|
+
readonly justifyContent: {
|
|
2078
|
+
readonly visible: false;
|
|
2079
|
+
};
|
|
2080
|
+
readonly flexDirection: {
|
|
2081
|
+
readonly visible: false;
|
|
2082
|
+
};
|
|
2083
|
+
readonly alignItems: {
|
|
2084
|
+
readonly visible: false;
|
|
2085
|
+
};
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
};
|
|
1967
2089
|
Chart: {
|
|
1968
2090
|
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
1969
2091
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -21456,6 +21578,128 @@ declare const _default: {
|
|
|
21456
21578
|
};
|
|
21457
21579
|
};
|
|
21458
21580
|
};
|
|
21581
|
+
WdDrawer: {
|
|
21582
|
+
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
21583
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
21584
|
+
visible: import("@sinclair/typebox").TBoolean;
|
|
21585
|
+
placement: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21586
|
+
closeType: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
21587
|
+
mask: import("@sinclair/typebox").TBoolean;
|
|
21588
|
+
enableHeaderSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21589
|
+
enableContentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21590
|
+
enableFooterSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
21591
|
+
headerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
21592
|
+
contentSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
21593
|
+
footerSlot: import("@sinclair/typebox").TUnsafe<import("react").ReactNode>;
|
|
21594
|
+
}>;
|
|
21595
|
+
readonly properties: import("@sinclair/typebox").TObject<{
|
|
21596
|
+
modalState: import("@sinclair/typebox").TUnsafe<string>;
|
|
21597
|
+
openInfo: import("@sinclair/typebox").TUnknown;
|
|
21598
|
+
closeInfo: import("@sinclair/typebox").TUnknown;
|
|
21599
|
+
}>;
|
|
21600
|
+
readonly classes: readonly [{
|
|
21601
|
+
readonly name: "根元素";
|
|
21602
|
+
readonly selector: ".wd-drawer";
|
|
21603
|
+
readonly description: "组件根元素";
|
|
21604
|
+
readonly code: "\n :scope.wd-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
21605
|
+
}, {
|
|
21606
|
+
readonly name: "PC 端根元素";
|
|
21607
|
+
readonly selector: ".wd-pc-drawer";
|
|
21608
|
+
readonly description: "组件根元素";
|
|
21609
|
+
readonly code: "\n :scope.wd-pc-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
21610
|
+
}, {
|
|
21611
|
+
readonly name: "H5 端根元素";
|
|
21612
|
+
readonly selector: ".wd-h5-drawer";
|
|
21613
|
+
readonly description: "可以为 H5 端的编写样式";
|
|
21614
|
+
readonly code: "\n :scope.wd-h5-drawer {\n /* 在这里编写CSS 样式 */\n }\n ";
|
|
21615
|
+
}, {
|
|
21616
|
+
readonly name: "小程序 端根元素";
|
|
21617
|
+
readonly selector: ".wd-mp-drawer";
|
|
21618
|
+
readonly description: "可以为 小程序 端的编写样式";
|
|
21619
|
+
readonly code: "\n :scope.wd-mp-drawer {\n /* 可以为 小程序 端的编写样式 */\n }\n ";
|
|
21620
|
+
}, {
|
|
21621
|
+
readonly name: "抽屉遮罩层样式";
|
|
21622
|
+
readonly selector: ".wd-drawer-mask";
|
|
21623
|
+
readonly description: "可以为遮罩层编写样式";
|
|
21624
|
+
readonly code: "\n :scope .wd-drawer-mask {\n /* 可以为遮罩层编写样式 */\n background-color: rgba(0, 0, 0, 0.5)\n }\n ";
|
|
21625
|
+
}, {
|
|
21626
|
+
readonly name: "抽屉主体容器样式";
|
|
21627
|
+
readonly selector: ".wd-drawer-content-wrapper";
|
|
21628
|
+
readonly description: "可以为主体容器编写样式";
|
|
21629
|
+
readonly code: "\n :scope .wd-drawer-content-wrapper {\n /* 可以为主体容器编写样式 */\n inset-inline-start: auto;\n inset-inline-end: 0;\n }\n ";
|
|
21630
|
+
}, {
|
|
21631
|
+
readonly name: "抽屉顶部容器样式";
|
|
21632
|
+
readonly selector: ".wd-drawer-header";
|
|
21633
|
+
readonly description: "可以为顶部容器编写样式";
|
|
21634
|
+
readonly code: "\n :scope .wd-drawer-header {\n /* 可以为顶部容器编写样式*/\n padding: 0;\n }\n ";
|
|
21635
|
+
}, {
|
|
21636
|
+
readonly name: "抽屉内容容器样式";
|
|
21637
|
+
readonly selector: ".wd-drawer-body";
|
|
21638
|
+
readonly description: "可以为内容容器编写样式";
|
|
21639
|
+
readonly code: "\n :scope .wd-drawer-body {\n /* 可以为内容容器编写样式 */\n padding: 0;\n }\n ";
|
|
21640
|
+
}, {
|
|
21641
|
+
readonly name: "抽屉底部容器样式";
|
|
21642
|
+
readonly selector: ".wd-drawer-footer";
|
|
21643
|
+
readonly description: "可以为底部容器编写样式";
|
|
21644
|
+
readonly code: "\n :scope .wd-drawer-footer {\n /* 可以为底部容器编写样式 */\n padding: 0;\n }\n ";
|
|
21645
|
+
}];
|
|
21646
|
+
readonly methods: readonly [{
|
|
21647
|
+
readonly name: "open";
|
|
21648
|
+
readonly label: "打开抽屉";
|
|
21649
|
+
readonly params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
21650
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
21651
|
+
}>>;
|
|
21652
|
+
}, {
|
|
21653
|
+
readonly name: "close";
|
|
21654
|
+
readonly label: "关闭抽屉";
|
|
21655
|
+
readonly params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
21656
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
21657
|
+
}>>;
|
|
21658
|
+
}];
|
|
21659
|
+
readonly events: readonly [{
|
|
21660
|
+
readonly title: "抽屉打开时";
|
|
21661
|
+
readonly name: "open";
|
|
21662
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
21663
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
21664
|
+
}>;
|
|
21665
|
+
}, {
|
|
21666
|
+
readonly title: "抽屉关闭时";
|
|
21667
|
+
readonly name: "close";
|
|
21668
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
21669
|
+
info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
|
|
21670
|
+
}>;
|
|
21671
|
+
}];
|
|
21672
|
+
readonly meta: {
|
|
21673
|
+
readonly name: "WdDrawer";
|
|
21674
|
+
readonly componentName: "drawer";
|
|
21675
|
+
readonly title: "抽屉";
|
|
21676
|
+
readonly description: "屏幕边缘滑出的浮层面板。";
|
|
21677
|
+
readonly propertyPanelTips: "在小程序中使用时,不建议嵌套在其他容器/组件中,以免抽屉被遮盖";
|
|
21678
|
+
readonly figureIcon: "../figureIcons/WdDrawer.svg";
|
|
21679
|
+
readonly icon: "../icons/WdDrawer.svg";
|
|
21680
|
+
readonly category: "布局";
|
|
21681
|
+
readonly categoryOrder: 200;
|
|
21682
|
+
readonly componentOrder: 150;
|
|
21683
|
+
readonly visible: readonly ["APP"];
|
|
21684
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/WdModal";
|
|
21685
|
+
readonly templates: readonly [{
|
|
21686
|
+
readonly when: "$attached";
|
|
21687
|
+
readonly to: "headerSlot";
|
|
21688
|
+
readonly body: string;
|
|
21689
|
+
}];
|
|
21690
|
+
readonly inlineStyleForm: {
|
|
21691
|
+
readonly justifyContent: {
|
|
21692
|
+
readonly visible: false;
|
|
21693
|
+
};
|
|
21694
|
+
readonly flexDirection: {
|
|
21695
|
+
readonly visible: false;
|
|
21696
|
+
};
|
|
21697
|
+
readonly alignItems: {
|
|
21698
|
+
readonly visible: false;
|
|
21699
|
+
};
|
|
21700
|
+
};
|
|
21701
|
+
};
|
|
21702
|
+
};
|
|
21459
21703
|
Chart: {
|
|
21460
21704
|
readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
|
|
21461
21705
|
readonly data: import("@sinclair/typebox").TObject<{
|
package/dist/configs/index.js
CHANGED
|
@@ -134,6 +134,7 @@ import CustomerService from './components/customer-service';
|
|
|
134
134
|
import WdTree from './components/wd-tree';
|
|
135
135
|
import WdOfficialAccount from './components/wd-official-account';
|
|
136
136
|
import WdModal from './components/wd-modal';
|
|
137
|
+
import WdDrawer from './components/wd-drawer';
|
|
137
138
|
import Chart from './components/echart';
|
|
138
139
|
import WdCanvas from './components/wd-canvas';
|
|
139
140
|
import WdAudio from './components/wd-audio';
|
|
@@ -163,6 +164,7 @@ export const components = {
|
|
|
163
164
|
WdAd,
|
|
164
165
|
WdCanvas,
|
|
165
166
|
WdModal,
|
|
167
|
+
WdDrawer,
|
|
166
168
|
Chart,
|
|
167
169
|
WdOfficialAccount,
|
|
168
170
|
WdTree,
|
|
@@ -1864,7 +1864,7 @@ export const FORM_ITEM_DATA = {
|
|
|
1864
1864
|
target: 'selectFieldLabel',
|
|
1865
1865
|
condition: '{{ Boolean($value) }}',
|
|
1866
1866
|
schema: {
|
|
1867
|
-
enum: '{{getDataSourceValueOptions($form?.values?.dataSourceName, true, true).filter(i=>i.type==="string")}}',
|
|
1867
|
+
enum: '{{getDataSourceValueOptions($form?.values?.dataSourceName, true, true).filter(i=>i.type==="string"&&"x-enum"!==i.format)}}',
|
|
1868
1868
|
},
|
|
1869
1869
|
},
|
|
1870
1870
|
],
|
package/dist/enum/index.d.ts
CHANGED
package/dist/enum/index.js
CHANGED
|
@@ -1228,3 +1228,21 @@ export const WD_CODE_EDITOR_THEME = [
|
|
|
1228
1228
|
{ label: '暗黑', value: 'githubDark' },
|
|
1229
1229
|
{ label: '明亮', value: 'githubLight' },
|
|
1230
1230
|
];
|
|
1231
|
+
export const WD_DRAWER_PLACEMENT = [
|
|
1232
|
+
{
|
|
1233
|
+
label: '右',
|
|
1234
|
+
value: 'right',
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
label: '左',
|
|
1238
|
+
value: 'left',
|
|
1239
|
+
},
|
|
1240
|
+
{
|
|
1241
|
+
label: '上',
|
|
1242
|
+
value: 'top',
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
label: '下',
|
|
1246
|
+
value: 'bottom',
|
|
1247
|
+
},
|
|
1248
|
+
];
|
package/dist/style/index.css
CHANGED
|
@@ -2881,7 +2881,7 @@ _:-ms-lang(x)::backdrop,
|
|
|
2881
2881
|
.wd-table__box td {
|
|
2882
2882
|
text-align: left;
|
|
2883
2883
|
vertical-align: middle;
|
|
2884
|
-
font-size:
|
|
2884
|
+
font-size: inherit;
|
|
2885
2885
|
height: var(--wd-table-td-height-md);
|
|
2886
2886
|
padding: var(--wd-table-td-space-vertical-md) 16px;
|
|
2887
2887
|
box-sizing: border-box;
|
|
@@ -7928,6 +7928,147 @@ page,
|
|
|
7928
7928
|
background-image: radial-gradient(200px at 10px 0px, transparent 10px, #666 10px);
|
|
7929
7929
|
}
|
|
7930
7930
|
|
|
7931
|
+
.wd-pc-drawer {
|
|
7932
|
+
--wd-drawer-width: 23.625rem;
|
|
7933
|
+
--wd-drawer-height: 23.625rem;
|
|
7934
|
+
}
|
|
7935
|
+
|
|
7936
|
+
.wd-h5-drawer,
|
|
7937
|
+
.wd-mp-drawer {
|
|
7938
|
+
--wd-drawer-width: 17.5rem;
|
|
7939
|
+
--wd-drawer-height: 17.5rem;
|
|
7940
|
+
}
|
|
7941
|
+
|
|
7942
|
+
.wd-drawer-mask {
|
|
7943
|
+
position: fixed;
|
|
7944
|
+
top: 0;
|
|
7945
|
+
left: 0;
|
|
7946
|
+
width: 100%;
|
|
7947
|
+
height: 100%;
|
|
7948
|
+
background-color: rgba(0, 0, 0, 0.45);
|
|
7949
|
+
z-index: 999;
|
|
7950
|
+
}
|
|
7951
|
+
.wd-drawer-mask-enter {
|
|
7952
|
+
opacity: 0;
|
|
7953
|
+
}
|
|
7954
|
+
.wd-drawer-mask-enter-active {
|
|
7955
|
+
opacity: 1;
|
|
7956
|
+
transition: opacity 0.3s ease-in-out;
|
|
7957
|
+
}
|
|
7958
|
+
.wd-drawer-mask-exit {
|
|
7959
|
+
opacity: 1;
|
|
7960
|
+
}
|
|
7961
|
+
.wd-drawer-mask-exit-active {
|
|
7962
|
+
opacity: 0;
|
|
7963
|
+
transition: opacity 0.3s ease-in-out;
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
.wd-drawer-content-wrapper {
|
|
7967
|
+
position: fixed;
|
|
7968
|
+
background: #fff;
|
|
7969
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
7970
|
+
display: flex;
|
|
7971
|
+
flex-direction: column;
|
|
7972
|
+
z-index: 1000;
|
|
7973
|
+
}
|
|
7974
|
+
.wd-drawer-right {
|
|
7975
|
+
top: 0;
|
|
7976
|
+
right: 0;
|
|
7977
|
+
height: 100%;
|
|
7978
|
+
width: var(--wd-drawer-width);
|
|
7979
|
+
}
|
|
7980
|
+
.wd-drawer-right-enter {
|
|
7981
|
+
transform: translateX(100%);
|
|
7982
|
+
}
|
|
7983
|
+
.wd-drawer-right-enter-active {
|
|
7984
|
+
transform: translateX(0);
|
|
7985
|
+
transition: transform 0.3s ease-in-out;
|
|
7986
|
+
}
|
|
7987
|
+
.wd-drawer-right-exit {
|
|
7988
|
+
transform: translateX(0);
|
|
7989
|
+
}
|
|
7990
|
+
.wd-drawer-right-exit-active {
|
|
7991
|
+
transform: translateX(100%);
|
|
7992
|
+
transition: transform 0.3s ease-in-out;
|
|
7993
|
+
}
|
|
7994
|
+
.wd-drawer-left {
|
|
7995
|
+
top: 0;
|
|
7996
|
+
left: 0;
|
|
7997
|
+
height: 100%;
|
|
7998
|
+
width: var(--wd-drawer-width);
|
|
7999
|
+
}
|
|
8000
|
+
.wd-drawer-left-enter {
|
|
8001
|
+
transform: translateX(-100%);
|
|
8002
|
+
}
|
|
8003
|
+
.wd-drawer-left-enter-active {
|
|
8004
|
+
transform: translateX(0);
|
|
8005
|
+
transition: transform 0.3s ease-in-out;
|
|
8006
|
+
}
|
|
8007
|
+
.wd-drawer-left-exit {
|
|
8008
|
+
transform: translateX(0);
|
|
8009
|
+
}
|
|
8010
|
+
.wd-drawer-left-exit-active {
|
|
8011
|
+
transform: translateX(-100%);
|
|
8012
|
+
transition: transform 0.3s ease-in-out;
|
|
8013
|
+
}
|
|
8014
|
+
.wd-drawer-top {
|
|
8015
|
+
top: 0;
|
|
8016
|
+
left: 0;
|
|
8017
|
+
width: 100%;
|
|
8018
|
+
height: var(--wd-drawer-height);
|
|
8019
|
+
}
|
|
8020
|
+
.wd-drawer-top-enter {
|
|
8021
|
+
transform: translateY(-100%);
|
|
8022
|
+
}
|
|
8023
|
+
.wd-drawer-top-enter-active {
|
|
8024
|
+
transform: translateY(0);
|
|
8025
|
+
transition: transform 0.3s ease-in-out;
|
|
8026
|
+
}
|
|
8027
|
+
.wd-drawer-top-exit {
|
|
8028
|
+
transform: translateY(0);
|
|
8029
|
+
}
|
|
8030
|
+
.wd-drawer-top-exit-active {
|
|
8031
|
+
transform: translateY(-100%);
|
|
8032
|
+
transition: transform 0.3s ease-in-out;
|
|
8033
|
+
}
|
|
8034
|
+
.wd-drawer-bottom {
|
|
8035
|
+
bottom: 0;
|
|
8036
|
+
left: 0;
|
|
8037
|
+
width: 100%;
|
|
8038
|
+
height: var(--wd-drawer-height);
|
|
8039
|
+
}
|
|
8040
|
+
.wd-drawer-bottom-enter {
|
|
8041
|
+
transform: translateY(100%);
|
|
8042
|
+
}
|
|
8043
|
+
.wd-drawer-bottom-enter-active {
|
|
8044
|
+
transform: translateY(0);
|
|
8045
|
+
transition: transform 0.3s ease-in-out;
|
|
8046
|
+
}
|
|
8047
|
+
.wd-drawer-bottom-exit {
|
|
8048
|
+
transform: translateY(0);
|
|
8049
|
+
}
|
|
8050
|
+
.wd-drawer-bottom-exit-active {
|
|
8051
|
+
transform: translateY(100%);
|
|
8052
|
+
transition: transform 0.3s ease-in-out;
|
|
8053
|
+
}
|
|
8054
|
+
.wd-drawer-header {
|
|
8055
|
+
display: flex;
|
|
8056
|
+
align-items: center;
|
|
8057
|
+
justify-content: space-between;
|
|
8058
|
+
padding: 20px 24px;
|
|
8059
|
+
border-bottom: 1px solid #f0f0f0;
|
|
8060
|
+
flex-shrink: 0;
|
|
8061
|
+
}
|
|
8062
|
+
.wd-drawer-body {
|
|
8063
|
+
flex: 1;
|
|
8064
|
+
padding: 20px 24px;
|
|
8065
|
+
overflow-y: auto;
|
|
8066
|
+
}
|
|
8067
|
+
.wd-drawer-footer {
|
|
8068
|
+
border-top: 1px solid #f0f0f0;
|
|
8069
|
+
padding: 20px 24px;
|
|
8070
|
+
}
|
|
8071
|
+
|
|
7931
8072
|
.wd-cascader,
|
|
7932
8073
|
.wd-cascader-menu,
|
|
7933
8074
|
.wd-cascader-h5-view-list__menu {
|
|
@@ -9420,6 +9561,9 @@ page,
|
|
|
9420
9561
|
width: 100%;
|
|
9421
9562
|
background: var(--wd-tabs-bg);
|
|
9422
9563
|
}
|
|
9564
|
+
.wd-tabs-root.wd-event-tap:active {
|
|
9565
|
+
box-shadow: unset;
|
|
9566
|
+
}
|
|
9423
9567
|
.wd-tabs__header {
|
|
9424
9568
|
display: flex;
|
|
9425
9569
|
flex-direction: row;
|