@ditari/bsui 1.0.4 → 1.0.6

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.
Files changed (47) hide show
  1. package/dist/cjs/components/components.cjs.js +1 -1
  2. package/dist/cjs/components/components.d.ts +1 -0
  3. package/dist/cjs/components/index.cjs.js +1 -1
  4. package/dist/cjs/components/layout/NavTabs.vue.cjs.js +1 -1
  5. package/dist/cjs/components/select/Select.vue.cjs.js +1 -0
  6. package/dist/cjs/components/select/Select.vue.cjs2.js +1 -0
  7. package/dist/cjs/components/select/Select.vue.d.ts +53 -0
  8. package/dist/cjs/components/select/index.cjs.js +1 -0
  9. package/dist/cjs/components/select/index.d.ts +52 -0
  10. package/dist/cjs/components/table/Table.vue.cjs.js +1 -1
  11. package/dist/cjs/components/table/Table.vue.d.ts +11 -0
  12. package/dist/cjs/components/table/index.d.ts +11 -0
  13. package/dist/cjs/store/modules/NavTab.cjs.js +1 -1
  14. package/dist/css/index.css +1 -1
  15. package/dist/css/layout/style/index.css +1 -1
  16. package/dist/css/layout/style/navtab.css +1 -1
  17. package/dist/css/layout/style/show.css +1 -1
  18. package/dist/esm/assets/dic-worker-3d338b91.js +1 -0
  19. package/dist/esm/components/components.d.ts +1 -0
  20. package/dist/esm/components/components.esm.js +12 -10
  21. package/dist/esm/components/index.esm.js +12 -10
  22. package/dist/esm/components/layout/NavTabs.vue.esm.js +33 -31
  23. package/dist/esm/components/select/Select.vue.d.ts +53 -0
  24. package/dist/esm/components/select/Select.vue.esm.js +105 -0
  25. package/dist/esm/components/select/Select.vue.esm2.js +4 -0
  26. package/dist/esm/components/select/index.d.ts +52 -0
  27. package/dist/esm/components/select/index.esm.js +7 -0
  28. package/dist/esm/components/table/Table.vue.d.ts +11 -0
  29. package/dist/esm/components/table/Table.vue.esm.js +43 -42
  30. package/dist/esm/components/table/index.d.ts +11 -0
  31. package/dist/esm/store/modules/NavTab.esm.js +1 -3
  32. package/dist/style/layout/style/navtab.scss +14 -4
  33. package/dist/style/layout/style/show.scss +2 -2
  34. package/dist/style/theme/variable.scss +1 -1
  35. package/package.json +5 -2
  36. package/src/components/components.ts +1 -0
  37. package/src/components/layout/NavTabs.vue +6 -4
  38. package/src/components/layout/style/navtab.scss +14 -4
  39. package/src/components/layout/style/show.scss +2 -2
  40. package/src/components/select/Select.vue +52 -21
  41. package/src/components/select/dic-worker.ts +23 -0
  42. package/src/components/select/index.ts +5 -0
  43. package/src/components/table/Table.vue +4 -0
  44. package/src/components/theme/variable.scss +1 -1
  45. package/src/store/modules/NavTab.ts +1 -3
  46. package/src/store/modules/test/index.ts +3 -0
  47. package/src/tsconfig.json +2 -1
@@ -0,0 +1,105 @@
1
+ import {
2
+ defineComponent as C,
3
+ ref as p,
4
+ resolveComponent as k,
5
+ openBlock as D,
6
+ createBlock as L,
7
+ unref as t,
8
+ isRef as _
9
+ } from "vue";
10
+ import { useDataDicStore as B } from "../../store/modules/DataDictionary.esm.js";
11
+ const x = {
12
+ name: "DSelect"
13
+ },
14
+ R = /* @__PURE__ */ C({
15
+ ...x,
16
+ props: {
17
+ value: { default: null },
18
+ name: { default: "" },
19
+ disabled: { type: Boolean, default: !1 },
20
+ placeholder: { default: "请填写默认占位符啊!老铁" }
21
+ },
22
+ emits: ["update:value", "change"],
23
+ setup(n, { emit: d }) {
24
+ const s = n,
25
+ { getDicByKey: m, list: S } = B(),
26
+ { modelValue: r, data: h, onSearch: v, onSelect: w } = b();
27
+ function b() {
28
+ let c = !0,
29
+ a = [];
30
+ const o = p(a),
31
+ l = p(s.value),
32
+ u = new Worker(
33
+ new URL("/assets/dic-worker-3d338b91.js", self.location),
34
+ {
35
+ type: "module"
36
+ }
37
+ );
38
+ (u.onerror = () => {
39
+ (c = !1), (a = m(s.name));
40
+ }),
41
+ (u.onmessage = (e) => {
42
+ o.value = [...e.data];
43
+ }),
44
+ i(l.value);
45
+ const g = (e) => {
46
+ c
47
+ ? i(e)
48
+ : (o.value = a
49
+ .filter(
50
+ (f) =>
51
+ f.value.toLowerCase().indexOf(e.toLowerCase()) !== -1 ||
52
+ f.label.toLowerCase().includes(e.toLowerCase())
53
+ )
54
+ .splice(0, 10));
55
+ };
56
+ function i(e) {
57
+ u.postMessage({
58
+ list: JSON.stringify(S[s.name]),
59
+ keywords: e
60
+ });
61
+ }
62
+ return {
63
+ data: o,
64
+ modelValue: l,
65
+ onSearch: g,
66
+ onSelect: (e) => {
67
+ d("update:value", e), d("change", e);
68
+ }
69
+ };
70
+ }
71
+ return (c, a) => {
72
+ const o = k("a-select");
73
+ return (
74
+ D(),
75
+ L(
76
+ o,
77
+ {
78
+ value: t(r),
79
+ "onUpdate:value":
80
+ a[0] || (a[0] = (l) => (_(r) ? (r.value = l) : null)),
81
+ "allow-clear": "",
82
+ "show-search": "",
83
+ "filter-option": !1,
84
+ options: t(h),
85
+ placeholder: n.placeholder,
86
+ disabled: n.disabled,
87
+ onSelect: t(w),
88
+ onSearch: t(v)
89
+ },
90
+ null,
91
+ 8,
92
+ [
93
+ "value",
94
+ "options",
95
+ "placeholder",
96
+ "disabled",
97
+ "onSelect",
98
+ "onSearch"
99
+ ]
100
+ )
101
+ );
102
+ };
103
+ }
104
+ });
105
+ export { R as default };
@@ -0,0 +1,4 @@
1
+ import f from "./Select.vue.esm.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,52 @@
1
+ export declare const DSelect: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
2
+ value: {
3
+ type: import("vue").PropType<any>;
4
+ required: true;
5
+ default: null;
6
+ };
7
+ name: {
8
+ type: import("vue").PropType<string>;
9
+ required: true;
10
+ default: string;
11
+ };
12
+ disabled: {
13
+ type: import("vue").PropType<boolean | undefined>;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ placeholder: {
18
+ type: import("vue").PropType<string | undefined>;
19
+ required: false;
20
+ default: string;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ value: {
24
+ type: import("vue").PropType<any>;
25
+ required: true;
26
+ default: null;
27
+ };
28
+ name: {
29
+ type: import("vue").PropType<string>;
30
+ required: true;
31
+ default: string;
32
+ };
33
+ disabled: {
34
+ type: import("vue").PropType<boolean | undefined>;
35
+ required: false;
36
+ default: boolean;
37
+ };
38
+ placeholder: {
39
+ type: import("vue").PropType<string | undefined>;
40
+ required: false;
41
+ default: string;
42
+ };
43
+ }>> & {
44
+ onChange?: ((...args: any[]) => any) | undefined;
45
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
46
+ }, {
47
+ name: string;
48
+ value: any;
49
+ disabled: boolean | undefined;
50
+ placeholder: string | undefined;
51
+ }>>;
52
+ export default DSelect;
@@ -0,0 +1,7 @@
1
+ import t from "../../utils/install.esm.js";
2
+ import o from "./Select.vue.esm.js";
3
+ const a = t(o);
4
+ export {
5
+ a as DSelect,
6
+ a as default
7
+ };
@@ -12,6 +12,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
12
12
  required: false;
13
13
  default: undefined;
14
14
  };
15
+ size: {
16
+ type: __PropType<string | undefined>;
17
+ required: false;
18
+ default: string;
19
+ };
15
20
  columns: {
16
21
  type: __PropType<any>;
17
22
  required: true;
@@ -68,6 +73,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
68
73
  required: false;
69
74
  default: undefined;
70
75
  };
76
+ size: {
77
+ type: __PropType<string | undefined>;
78
+ required: false;
79
+ default: string;
80
+ };
71
81
  columns: {
72
82
  type: __PropType<any>;
73
83
  required: true;
@@ -120,6 +130,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
120
130
  data: any;
121
131
  loading: false | undefined;
122
132
  config: any;
133
+ size: string | undefined;
123
134
  bordered: boolean | undefined;
124
135
  columns: any;
125
136
  rowKey: string | undefined;
@@ -1,12 +1,13 @@
1
- import { defineComponent as J, inject as M, ref as k, computed as Q, watch as O, resolveComponent as w, openBlock as S, createElementBlock as U, Fragment as D, createVNode as $, unref as p, withCtx as R, createBlock as N, createCommentVNode as C, withModifiers as x, renderSlot as E, withDirectives as L, vShow as W } from "vue";
2
- import G from "./Field.vue.esm.js";
3
- const X = {
1
+ import { defineComponent as M, inject as Q, ref as k, computed as U, watch as O, resolveComponent as w, openBlock as S, createElementBlock as D, Fragment as L, createVNode as $, unref as g, withCtx as R, createBlock as N, createCommentVNode as C, withModifiers as x, renderSlot as E, withDirectives as W, vShow as G } from "vue";
2
+ import X from "./Field.vue.esm.js";
3
+ const Y = {
4
4
  name: "DTable"
5
- }, _ = /* @__PURE__ */ J({
6
- ...X,
5
+ }, ee = /* @__PURE__ */ M({
6
+ ...Y,
7
7
  props: {
8
8
  bordered: { type: Boolean, default: !1 },
9
9
  keys: { default: void 0 },
10
+ size: { default: "small" },
10
11
  columns: { default: [] },
11
12
  data: { default: [] },
12
13
  rowKey: { default: "id" },
@@ -19,9 +20,7 @@ const X = {
19
20
  },
20
21
  emits: ["update:keys"],
21
22
  setup(r, { emit: f }) {
22
- const s = r;
23
- M("configProvider");
24
- const b = k(), y = k(0), n = k(s.keys), z = k(), d = Q(() => s.pagination), m = {
23
+ const s = r, K = Q("configProvider"), b = k(), v = k(0), n = k(s.keys), z = k(), p = U(() => s.pagination), m = {
25
24
  defaultPageSize: 20,
26
25
  hideOnSinglePage: !1,
27
26
  pageSizeOptions: ["10", "20", "30", "40"],
@@ -29,8 +28,8 @@ const X = {
29
28
  showQuickJumper: !0,
30
29
  showLessItems: !0,
31
30
  showTotal: (e) => `总共 ${e} 条`
32
- }, { onPageChange: K } = H();
33
- function H() {
31
+ }, { onPageChange: H } = j();
32
+ function j() {
34
33
  const {
35
34
  keepSelected: e,
36
35
  selection: t,
@@ -42,18 +41,18 @@ const X = {
42
41
  }
43
42
  };
44
43
  }
45
- const { customRow: j, rowSelection: I } = V();
46
- function V() {
47
- const e = q(), t = A();
44
+ const { customRow: I, rowSelection: V } = q();
45
+ function q() {
46
+ const e = A(), t = F();
48
47
  return {
49
48
  customRow: e,
50
49
  rowSelection: t
51
50
  };
52
51
  }
53
- function q() {
52
+ function A() {
54
53
  const { rowKey: e } = s;
55
54
  return (t) => {
56
- const l = t[e], { $OnClick: a, $OnDblclick: i } = F(l);
55
+ const l = t[e], { $OnClick: a, $OnDblclick: i } = J(l);
57
56
  try {
58
57
  e || console.warn("未指定rowKey");
59
58
  } catch {
@@ -69,7 +68,7 @@ const X = {
69
68
  };
70
69
  };
71
70
  }
72
- function A() {
71
+ function F() {
73
72
  const {
74
73
  selection: e,
75
74
  rowKey: t,
@@ -78,10 +77,10 @@ const X = {
78
77
  return e === "N" ? void 0 : {
79
78
  selectedRowKeys: n,
80
79
  onSelect: (o, u) => {
81
- e === "S" ? (n.value = [], n.value = u ? [o[t]] : []) : n.value = u ? n.value.concat(o[t]) : n.value.filter((g) => g !== o[t]), f("update:keys", n.value);
80
+ e === "S" ? (n.value = [], n.value = u ? [o[t]] : []) : n.value = u ? n.value.concat(o[t]) : n.value.filter((d) => d !== o[t]), f("update:keys", n.value);
82
81
  },
83
- onSelectAll: (o, u, g) => {
84
- const c = g.map((h) => h[t]);
82
+ onSelectAll: (o, u, d) => {
83
+ const c = d.map((h) => h[t]);
85
84
  n.value = o ? n.value.concat(c) : n.value.filter((h) => !c.includes(h)), f("update:keys", n.value);
86
85
  },
87
86
  fixed: !0,
@@ -96,7 +95,7 @@ const X = {
96
95
  }
97
96
  };
98
97
  }
99
- function F(e) {
98
+ function J(e) {
100
99
  const {
101
100
  selection: t,
102
101
  config: {
@@ -115,8 +114,8 @@ const X = {
115
114
  var B;
116
115
  if (l && l(c), t === "N" || (B = i == null ? void 0 : i.value) != null && B.includes(c[i == null ? void 0 : i.key]))
117
116
  return;
118
- n.value.some((v) => v === e) ? n.value = n.value.filter(
119
- (v) => v !== e
117
+ n.value.some((y) => y === e) ? n.value = n.value.filter(
118
+ (y) => y !== e
120
119
  ) : (t === "S" && (n.value = []), n.value.push(e)), f("update:keys", n.value);
121
120
  }, 200);
122
121
  },
@@ -147,7 +146,7 @@ const X = {
147
146
  let a = 0;
148
147
  s.pagination && (a = P(
149
148
  document.getElementsByClassName("xi-pagination")[0]
150
- )), y.value = e - (l + a), t.getElementsByClassName("ant-table-body")[0].style.height = y.value - 10 + "px", z.value = t.getElementsByClassName("ant-table-body")[0];
149
+ )), v.value = e - (l + a), t.getElementsByClassName("ant-table-body")[0].style.height = v.value - 10 + "px", z.value = t.getElementsByClassName("ant-table-body")[0];
151
150
  }
152
151
  function P(e) {
153
152
  const t = [
@@ -163,7 +162,7 @@ const X = {
163
162
  }
164
163
  return (e, t) => {
165
164
  const l = w("a-space"), a = w("a-table"), i = w("a-pagination");
166
- return S(), U(D, null, [
165
+ return S(), D(L, null, [
167
166
  $(a, {
168
167
  ref_key: "tableRef",
169
168
  ref: b,
@@ -172,17 +171,18 @@ const X = {
172
171
  "data-source": r.data,
173
172
  "row-key": r.rowKey,
174
173
  pagination: !1,
175
- "custom-row": p(j),
174
+ "custom-row": g(I),
176
175
  loading: r.loading,
177
- "row-selection": p(I),
176
+ "row-selection": g(V),
177
+ size: r.size ?? "small",
178
178
  scroll: {
179
179
  scrollToFirstRowOnChange: !0,
180
180
  x: "100%",
181
- y: y.value + "px"
181
+ y: v.value + "px"
182
182
  }
183
183
  }, {
184
- bodyCell: R(({ column: o, text: u, record: g, index: c }) => [
185
- o.config ? (S(), N(G, {
184
+ bodyCell: R(({ column: o, text: u, record: d, index: c }) => [
185
+ o.config ? (S(), N(X, {
186
186
  key: 0,
187
187
  text: u,
188
188
  config: o.config
@@ -197,7 +197,7 @@ const X = {
197
197
  default: R(() => [
198
198
  E(e.$slots, "action", {
199
199
  index: c,
200
- record: g
200
+ record: d
201
201
  })
202
202
  ]),
203
203
  _: 2
@@ -205,33 +205,34 @@ const X = {
205
205
  o.slot && o.slot !== "action" ? E(e.$slots, o.slot, {
206
206
  key: 2,
207
207
  index: c,
208
- record: g
208
+ record: d
209
209
  }) : C("", !0)
210
210
  ]),
211
211
  _: 3
212
- }, 8, ["bordered", "columns", "data-source", "row-key", "custom-row", "loading", "row-selection", "scroll"]),
213
- L($(i, {
214
- current: p(d).current,
215
- "onUpdate:current": t[2] || (t[2] = (o) => p(d).current = o),
216
- pageSize: p(d).pageSize,
217
- "onUpdate:pageSize": t[3] || (t[3] = (o) => p(d).pageSize = o),
212
+ }, 8, ["bordered", "columns", "data-source", "row-key", "custom-row", "loading", "row-selection", "size", "scroll"]),
213
+ W($(i, {
214
+ current: g(p).current,
215
+ "onUpdate:current": t[2] || (t[2] = (o) => g(p).current = o),
216
+ pageSize: g(p).pageSize,
217
+ "onUpdate:pageSize": t[3] || (t[3] = (o) => g(p).pageSize = o),
218
218
  class: "xi-pagination",
219
219
  disabled: r.loading,
220
220
  "show-size-changer": "",
221
+ size: g(K).componentSize ?? "middle ",
221
222
  "hide-on-single-page": m.hideOnSinglePage,
222
223
  "show-quick-jumper": m.showQuickJumper,
223
224
  "default-page-size": m.defaultPageSize,
224
225
  "page-size-options": m.pageSizeOptions,
225
226
  "show-total": m.showTotal,
226
- total: p(d).total,
227
- onChange: p(K)
228
- }, null, 8, ["current", "pageSize", "disabled", "hide-on-single-page", "show-quick-jumper", "default-page-size", "page-size-options", "show-total", "total", "onChange"]), [
229
- [W, r.pagination]
227
+ total: g(p).total,
228
+ onChange: g(H)
229
+ }, null, 8, ["current", "pageSize", "disabled", "size", "hide-on-single-page", "show-quick-jumper", "default-page-size", "page-size-options", "show-total", "total", "onChange"]), [
230
+ [G, r.pagination]
230
231
  ])
231
232
  ], 64);
232
233
  };
233
234
  }
234
235
  });
235
236
  export {
236
- _ as default
237
+ ee as default
237
238
  };
@@ -9,6 +9,11 @@ export declare const DTable: import("../../utils/install").SFCWithInstall<import
9
9
  required: false;
10
10
  default: undefined;
11
11
  };
12
+ size: {
13
+ type: import("vue").PropType<string | undefined>;
14
+ required: false;
15
+ default: string;
16
+ };
12
17
  columns: {
13
18
  type: import("vue").PropType<any>;
14
19
  required: true;
@@ -65,6 +70,11 @@ export declare const DTable: import("../../utils/install").SFCWithInstall<import
65
70
  required: false;
66
71
  default: undefined;
67
72
  };
73
+ size: {
74
+ type: import("vue").PropType<string | undefined>;
75
+ required: false;
76
+ default: string;
77
+ };
68
78
  columns: {
69
79
  type: import("vue").PropType<any>;
70
80
  required: true;
@@ -117,6 +127,7 @@ export declare const DTable: import("../../utils/install").SFCWithInstall<import
117
127
  data: any;
118
128
  loading: false | undefined;
119
129
  config: any;
130
+ size: string | undefined;
120
131
  bordered: boolean | undefined;
121
132
  columns: any;
122
133
  rowKey: string | undefined;
@@ -24,9 +24,7 @@ const n = i(l, {
24
24
  * @param route
25
25
  */
26
26
  save(t) {
27
- if (this.list.some(
28
- (a) => a.fullPath === t.fullPath
29
- ))
27
+ if (this.list.some((a) => a.path === t.path))
30
28
  return;
31
29
  const s = {
32
30
  path: t.path,
@@ -49,11 +49,21 @@
49
49
  display: flex;
50
50
  align-items: center;
51
51
  }
52
- .anticon {
53
- margin-right: 0;
54
- margin-left: 10px;
52
+ .tab-item {
53
+ margin-right: 10px;
54
+ }
55
+ .tab-close {
56
+ padding: 4px;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ border-radius: 50%;
55
61
  &:hover {
56
- //color: red;
62
+ background-color: #63aeff;
63
+ color: #fff;
64
+ }
65
+ .anticon {
66
+ margin: 0;
57
67
  }
58
68
  }
59
69
  }
@@ -16,11 +16,11 @@
16
16
  .ditari-page-header {
17
17
  position: sticky;
18
18
  top: 84px;
19
- z-index: 1;
19
+ z-index: 10;
20
20
  padding: 4px 24px;
21
21
  transition: all 0.3s;
22
22
  &.active {
23
- box-shadow: 1px 5px 20px 2px $box-shadow-color;
23
+ box-shadow: 7px 12px 20px 0 $box-shadow-color;
24
24
  }
25
25
  }
26
26
  .ditari-show-content {
@@ -15,7 +15,7 @@ $grid-input-error-border-color: #ff4d4f !default;
15
15
  $grid-input-border-width: 2px !default;
16
16
  // 网格边框宽度
17
17
  $gird-border-width: 1px !default;
18
-
18
+ $gird-error-display: block !default;
19
19
  // show头部阴影
20
20
  $box-shadow-color: #e0e0e0 !default;
21
21
 
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@ditari/bsui",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "files": [
5
- "dist",
5
+ "dist/**",
6
6
  "src"
7
7
  ],
8
8
  "private": false,
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
+ "main": "dist/cjs/components/index.cjs.js",
13
+ "module": "dist/esm/components/index.esm.js",
14
+ "types": "dist/**/*.d.ts",
12
15
  "exports": {
13
16
  ".": {
14
17
  "require": "./dist/cjs/components/index.cjs.js",
@@ -2,3 +2,4 @@ export { default as DForm } from "./form";
2
2
  export * from "./layout";
3
3
  export { default as DTable } from "./table";
4
4
  export { DGrid, DGridItem } from "./grid";
5
+ export { default as DSelect } from "./select";
@@ -91,10 +91,12 @@ export default {
91
91
  <div class="tab-item" :class="{ active: activeKey === item.path }">
92
92
  {{ item.meta.title }}
93
93
  </div>
94
- <CloseOutlined
95
- v-if="!item.meta?.keepOpen"
96
- @click="onClose($event, item.fullPath)"
97
- />
94
+ <div class="tab-close">
95
+ <CloseOutlined
96
+ v-if="!item.meta?.keepOpen"
97
+ @click="onClose($event, item.fullPath)"
98
+ />
99
+ </div>
98
100
  </template>
99
101
  </a-tab-pane>
100
102
  </a-tabs>
@@ -49,11 +49,21 @@
49
49
  display: flex;
50
50
  align-items: center;
51
51
  }
52
- .anticon {
53
- margin-right: 0;
54
- margin-left: 10px;
52
+ .tab-item {
53
+ margin-right: 10px;
54
+ }
55
+ .tab-close {
56
+ padding: 4px;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ border-radius: 50%;
55
61
  &:hover {
56
- //color: red;
62
+ background-color: #63aeff;
63
+ color: #fff;
64
+ }
65
+ .anticon {
66
+ margin: 0;
57
67
  }
58
68
  }
59
69
  }
@@ -16,11 +16,11 @@
16
16
  .ditari-page-header {
17
17
  position: sticky;
18
18
  top: 84px;
19
- z-index: 1;
19
+ z-index: 10;
20
20
  padding: 4px 24px;
21
21
  transition: all 0.3s;
22
22
  &.active {
23
- box-shadow: 1px 5px 20px 2px $box-shadow-color;
23
+ box-shadow: 7px 12px 20px 0 $box-shadow-color;
24
24
  }
25
25
  }
26
26
  .ditari-show-content {