bge-ui 1.7.7 → 1.7.9
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/index.js +1 -1
- package/dist/style.css +19 -5
- package/package.json +1 -1
- package/src/dialog/index.vue +16 -13
- package/src/drawer/index.vue +4 -4
package/dist/index.js
CHANGED
|
@@ -23143,7 +23143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23143
23143
|
}, ["stop"]))
|
|
23144
23144
|
}, [
|
|
23145
23145
|
createElementVNode("div", {
|
|
23146
|
-
class: "
|
|
23146
|
+
class: "drawer-close-container",
|
|
23147
23147
|
onClick: close
|
|
23148
23148
|
}, [
|
|
23149
23149
|
createVNode(_sfc_main$1L, { class: "font-24" })
|
package/dist/style.css
CHANGED
|
@@ -1348,6 +1348,20 @@ to {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
.bge-dialog .bge-dialog__body.full {
|
|
1350
1350
|
padding: 16px 0;
|
|
1351
|
+
}
|
|
1352
|
+
@media only screen and (max-width: 1023px) {
|
|
1353
|
+
.bge-dialog {
|
|
1354
|
+
width: 100%;
|
|
1355
|
+
position: absolute;
|
|
1356
|
+
left: 0;
|
|
1357
|
+
bottom: 0;
|
|
1358
|
+
margin: 0;
|
|
1359
|
+
border-radius: var(--radius-medium, 16px) var(--radius-medium, 16px) 0 0;
|
|
1360
|
+
}
|
|
1361
|
+
.bge-dialog .bge-dialog__header {
|
|
1362
|
+
font-size: 18px;
|
|
1363
|
+
line-height: 32px;
|
|
1364
|
+
}
|
|
1351
1365
|
}.bge-checkbox {
|
|
1352
1366
|
display: inline-flex;
|
|
1353
1367
|
justify-content: flex-start;
|
|
@@ -1819,7 +1833,7 @@ to {
|
|
|
1819
1833
|
height: 100%;
|
|
1820
1834
|
padding-top: 64px;
|
|
1821
1835
|
}
|
|
1822
|
-
.bge-drawer .
|
|
1836
|
+
.bge-drawer .drawer-close-container {
|
|
1823
1837
|
position: absolute;
|
|
1824
1838
|
right: 12px;
|
|
1825
1839
|
top: 12px;
|
|
@@ -1828,13 +1842,13 @@ to {
|
|
|
1828
1842
|
display: flex;
|
|
1829
1843
|
justify-content: center;
|
|
1830
1844
|
align-items: center;
|
|
1831
|
-
color: var(--
|
|
1845
|
+
color: var(--tc-primary);
|
|
1832
1846
|
}
|
|
1833
|
-
.bge-drawer .
|
|
1847
|
+
.bge-drawer .drawer-close-container svg {
|
|
1834
1848
|
font-size: 24px !important;
|
|
1835
1849
|
}
|
|
1836
|
-
.bge-drawer .
|
|
1837
|
-
color: var(--
|
|
1850
|
+
.bge-drawer .drawer-close-container:hover {
|
|
1851
|
+
color: var(--tc-primary);
|
|
1838
1852
|
}
|
|
1839
1853
|
.bge-drawer__body {
|
|
1840
1854
|
padding: 0 12px;
|
package/package.json
CHANGED
package/src/dialog/index.vue
CHANGED
|
@@ -217,18 +217,21 @@ defineExpose({
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
220
|
+
@include md {
|
|
221
|
+
.bge-dialog {
|
|
222
|
+
width: 100%;
|
|
223
|
+
position: absolute;
|
|
224
|
+
left: 0;
|
|
225
|
+
bottom: 0;
|
|
226
|
+
// transform: translate(0, -100%);
|
|
227
|
+
margin: 0;
|
|
228
|
+
border-radius: var(--radius-medium, 16px) var(--radius-medium, 16px) 0 0;
|
|
229
|
+
|
|
230
|
+
.bge-dialog__header {
|
|
231
|
+
font-size: 18px;
|
|
232
|
+
line-height: 32px;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
233
236
|
|
|
234
237
|
</style>
|
package/src/drawer/index.vue
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@before-leave="close"
|
|
7
7
|
>
|
|
8
8
|
<div class="bge-drawer" v-if="visible" @click.stop="">
|
|
9
|
-
<div class="
|
|
9
|
+
<div class="drawer-close-container" @click="close">
|
|
10
10
|
<MonoClose class="font-24" />
|
|
11
11
|
</div>
|
|
12
12
|
<div class="bge-drawer__body" ref="DialogBody">
|
|
@@ -94,7 +94,7 @@ const emits = defineEmits([
|
|
|
94
94
|
height: 100%;
|
|
95
95
|
padding-top: 64px;
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.drawer-close-container {
|
|
98
98
|
position: absolute;
|
|
99
99
|
right: 12px;
|
|
100
100
|
top: 12px;
|
|
@@ -103,14 +103,14 @@ const emits = defineEmits([
|
|
|
103
103
|
display: flex;
|
|
104
104
|
justify-content: center;
|
|
105
105
|
align-items: center;
|
|
106
|
-
color: var(--
|
|
106
|
+
color: var(--tc-primary);
|
|
107
107
|
|
|
108
108
|
svg {
|
|
109
109
|
font-size: 24px !important;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
&:hover {
|
|
113
|
-
color: var(--
|
|
113
|
+
color: var(--tc-primary);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|