uniapp-dyckui 4.1.8 → 4.1.10
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/assets/style.css +90 -38
- package/dist/index.cjs +27 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +27 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/MyComs/Dialog/index.vue +30 -29
- package/src/components/MyComs/index.ts +6 -3
package/dist/index.mjs
CHANGED
|
@@ -84,34 +84,35 @@ const _export_sfc = (sfc, props) => {
|
|
|
84
84
|
const Button = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-02c23a30"]]);
|
|
85
85
|
const _hoisted_1$9 = { class: "dialog-content" };
|
|
86
86
|
const _hoisted_2$8 = { class: "dialog-icon" };
|
|
87
|
-
const _hoisted_3$8 = {
|
|
87
|
+
const _hoisted_3$8 = { class: "dialog-icon-item" };
|
|
88
|
+
const _hoisted_4$5 = {
|
|
88
89
|
key: 0,
|
|
89
90
|
class: "iconfont dialog-icon-custom"
|
|
90
91
|
};
|
|
91
|
-
const
|
|
92
|
+
const _hoisted_5$4 = {
|
|
92
93
|
key: 1,
|
|
93
94
|
class: "iconfont dialog-button-primary icon-shouji"
|
|
94
95
|
};
|
|
95
|
-
const
|
|
96
|
+
const _hoisted_6$4 = {
|
|
96
97
|
key: 2,
|
|
97
98
|
class: "iconfont dialog-button-primary icon-xianshiqi"
|
|
98
99
|
};
|
|
99
|
-
const
|
|
100
|
+
const _hoisted_7$2 = {
|
|
100
101
|
key: 3,
|
|
101
102
|
class: "iconfont dialog-button-primary icon-xianshiqi1"
|
|
102
103
|
};
|
|
103
|
-
const
|
|
104
|
+
const _hoisted_8$2 = {
|
|
104
105
|
key: 4,
|
|
105
106
|
class: "iconfont dialog-button-primary icon-lianjiewangzhi"
|
|
106
107
|
};
|
|
107
|
-
const
|
|
108
|
-
const
|
|
108
|
+
const _hoisted_9$1 = ["src"];
|
|
109
|
+
const _hoisted_10$1 = {
|
|
109
110
|
key: 6,
|
|
110
111
|
class: "default-icon"
|
|
111
112
|
};
|
|
112
|
-
const
|
|
113
|
-
const
|
|
114
|
-
const
|
|
113
|
+
const _hoisted_11$1 = { class: "dialog-title" };
|
|
114
|
+
const _hoisted_12$1 = { class: "dialog-description" };
|
|
115
|
+
const _hoisted_13$1 = { class: "dialog-buttons" };
|
|
115
116
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
116
117
|
__name: "index",
|
|
117
118
|
props: {
|
|
@@ -129,7 +130,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
129
130
|
emits: ["update:modelValue", "confirm", "cancel"],
|
|
130
131
|
setup(__props, { emit: __emit }) {
|
|
131
132
|
useCssVars((_ctx) => ({
|
|
132
|
-
"
|
|
133
|
+
"v9e9b19e0": _ctx.maskOpacity
|
|
133
134
|
}));
|
|
134
135
|
const props = __props;
|
|
135
136
|
const emit = __emit;
|
|
@@ -166,22 +167,24 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
166
167
|
}, [
|
|
167
168
|
createElementVNode("view", _hoisted_1$9, [
|
|
168
169
|
createElementVNode("view", _hoisted_2$8, [
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
createElementVNode("view", _hoisted_3$8, [
|
|
171
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
172
|
+
__props.customIcon ? (openBlock(), createElementBlock("text", _hoisted_4$5, toDisplayString(__props.customIcon), 1)) : __props.iconType === "phone" ? (openBlock(), createElementBlock("text", _hoisted_5$4)) : __props.iconType === "screen" ? (openBlock(), createElementBlock("text", _hoisted_6$4)) : __props.iconType === "links" ? (openBlock(), createElementBlock("text", _hoisted_7$2)) : __props.iconType === "links2" ? (openBlock(), createElementBlock("text", _hoisted_8$2)) : __props.icon ? (openBlock(), createElementBlock("image", {
|
|
173
|
+
key: 5,
|
|
174
|
+
src: __props.icon,
|
|
175
|
+
alt: "dialog-icon"
|
|
176
|
+
}, null, 8, _hoisted_9$1)) : (openBlock(), createElementBlock("view", _hoisted_10$1))
|
|
177
|
+
], true)
|
|
178
|
+
])
|
|
176
179
|
]),
|
|
177
|
-
createElementVNode("view",
|
|
178
|
-
createElementVNode("text",
|
|
180
|
+
createElementVNode("view", _hoisted_11$1, toDisplayString(__props.title), 1),
|
|
181
|
+
createElementVNode("text", _hoisted_12$1, toDisplayString(__props.description), 1)
|
|
179
182
|
]),
|
|
180
183
|
_cache[1] || (_cache[1] = createElementVNode("view", { class: "dialog-divider" }, null, -1)),
|
|
181
|
-
createElementVNode("view",
|
|
184
|
+
createElementVNode("view", _hoisted_13$1, [
|
|
182
185
|
__props.type === "open-app" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
183
186
|
createElementVNode("view", {
|
|
184
|
-
class: "dialog-button dialog-button-cancel",
|
|
187
|
+
class: "dialog-button dialog-button-cancel dialog-button-line",
|
|
185
188
|
onClick: handleCancel
|
|
186
189
|
}, " 取消 "),
|
|
187
190
|
createElementVNode("view", {
|
|
@@ -194,7 +197,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
194
197
|
onClick: handleConfirm
|
|
195
198
|
}, " 知道了 ")) : __props.type === "continue" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
196
199
|
createElementVNode("view", {
|
|
197
|
-
class: "dialog-button dialog-button-cancel",
|
|
200
|
+
class: "dialog-button dialog-button-cancel dialog-button-line",
|
|
198
201
|
onClick: handleCancel
|
|
199
202
|
}, " 取消 "),
|
|
200
203
|
createElementVNode("view", {
|
|
@@ -208,7 +211,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
208
211
|
};
|
|
209
212
|
}
|
|
210
213
|
});
|
|
211
|
-
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
214
|
+
const Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-6a6251b8"]]);
|
|
212
215
|
const _hoisted_1$8 = {
|
|
213
216
|
key: 0,
|
|
214
217
|
class: "sw-divider__text"
|