This commit is contained in:
Theluyuan 2022-11-15 09:27:18 +08:00
parent f0450921d8
commit 4b0c6aafd5
3 changed files with 21 additions and 49 deletions

View File

@ -782,12 +782,12 @@ var _hoisted_4$1 = {
key: 0,
class: "layui-layer-imguide"
};
var _hoisted_5$1 = {
var _hoisted_5 = {
key: 0,
class: "thumb-row"
};
var _hoisted_6$1 = ["onClick"];
var _hoisted_7$1 = ["src"];
var _hoisted_6 = ["onClick"];
var _hoisted_7 = ["src"];
var _hoisted_8 = {
key: 1,
class: "layui-layer-imgtit"
@ -863,7 +863,7 @@ var _sfc_main$2 = defineComponent(_objectSpread$3(_objectSpread$3({}, __default_
style: normalizeStyle({
opacity: showLayerImgBar.value ? 1 : 0
})
}, [unref(ifSetThumb) ? (openBlock(), createElementBlock("div", _hoisted_5$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.imgList, function(item, i) {
}, [unref(ifSetThumb) ? (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.imgList, function(item, i) {
return openBlock(), createElementBlock("div", {
class: "thumb-box",
key: "thumb-box" + i,
@ -872,7 +872,7 @@ var _sfc_main$2 = defineComponent(_objectSpread$3(_objectSpread$3({}, __default_
}
}, [createElementVNode("img", {
src: item.thumb
}, null, 8, _hoisted_7$1)], 8, _hoisted_6$1);
}, null, 8, _hoisted_7)], 8, _hoisted_6);
}), 128)), createElementVNode("div", {
class: "thumb-box-border",
style: normalizeStyle({
@ -1454,40 +1454,15 @@ function _objectSpread$1(target) {
}
return target;
}
var _hoisted_1 = {
key: 0,
style: {
"scale": "0.5"
}
};
var _hoisted_2 = /* @__PURE__ */ createElementVNode("svg", {
xmlns: "http://www.w3.org/2000/svg",
version: "1.1"
}, [/* @__PURE__ */ createElementVNode("defs", null, [/* @__PURE__ */ createElementVNode("filter", {
id: "goo"
}, [/* @__PURE__ */ createElementVNode("feGaussianBlur", {
in: "SourceGraphic",
stdDeviation: "6.3",
result: "blur"
}), /* @__PURE__ */ createTextVNode(), /* @__PURE__ */ createElementVNode("feColorMatrix", {
in: "blur",
mode: "matrix",
values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 14 -4",
result: "goo"
}), /* @__PURE__ */ createTextVNode(), /* @__PURE__ */ createElementVNode("feBlend", {
in: "SourceGraphic",
in2: "goo"
})])])], -1);
var _hoisted_3 = [_hoisted_2];
var _hoisted_4 = ["innerHTML"];
var _hoisted_5 = {
var _hoisted_1 = ["innerHTML"];
var _hoisted_2 = {
key: 1,
class: "layui-layer-setwin"
};
var _hoisted_6 = {
var _hoisted_3 = {
key: 0
};
var _hoisted_7 = ["onClick"];
var _hoisted_4 = ["onClick"];
var __default__ = {
name: "LayLayer"
};
@ -1964,8 +1939,8 @@ var _sfc_main = defineComponent(_objectSpread$1(_objectSpread$1({}, __default__)
style: normalizeStyle({
height: contentHeight.value
})
}, [unref(type) == 3 ? (openBlock(), createElementBlock("div", _hoisted_1, _hoisted_3)) : createCommentVNode("", true), unref(type) === 0 || unref(type) === 1 || unref(type) === 4 ? (openBlock(), createElementBlock(Fragment, {
key: 1
}, [unref(type) === 0 || unref(type) === 1 || unref(type) === 4 ? (openBlock(), createElementBlock(Fragment, {
key: 0
}, [__props.icon ? (openBlock(), createElementBlock("i", {
key: 0,
class: normalizeClass(unref(iconClass))
@ -1976,30 +1951,30 @@ var _sfc_main = defineComponent(_objectSpread$1(_objectSpread$1({}, __default__)
}, [__props.isHtmlFragment ? (openBlock(), createElementBlock("span", {
key: 0,
innerHTML: renderContent(props.content)
}, null, 8, _hoisted_4)) : (openBlock(), createElementBlock(Fragment, {
}, null, 8, _hoisted_1)) : (openBlock(), createElementBlock(Fragment, {
key: 1
}, [createTextVNode(toDisplayString(renderContent(props.content)), 1)], 64))], 64))], 64)) : createCommentVNode("", true), unref(type) === 2 ? (openBlock(), createBlock(_sfc_main$6, {
key: 2,
key: 1,
src: props.content
}, null, 8, ["src"])) : createCommentVNode("", true), unref(type) === 5 ? (openBlock(), createBlock(_sfc_main$2, {
key: 3,
key: 2,
imgList: props.imgList,
startIndex: props.startIndex,
onResetCalculationPohtosArea: resetCalculationPohtosArea
}, null, 8, ["imgList", "startIndex"])) : createCommentVNode("", true), unref(type) === 6 ? (openBlock(), createBlock(_sfc_main$1, {
key: 4,
key: 3,
onClose: closeHandle,
title: props.title,
content: props.content,
isHtmlFragment: props.isHtmlFragment,
icon: props.icon,
iconClass: unref(iconClass)
}, null, 8, ["title", "content", "isHtmlFragment", "icon", "iconClass"])) : createCommentVNode("", true)], 6), unref(type) != 3 && unref(type) != 5 && unref(type) != 6 ? (openBlock(), createElementBlock("span", _hoisted_5, [__props.maxmin && !max.value ? (openBlock(), createElementBlock("a", {
}, null, 8, ["title", "content", "isHtmlFragment", "icon", "iconClass"])) : createCommentVNode("", true)], 6), unref(type) != 3 && unref(type) != 5 && unref(type) != 6 ? (openBlock(), createElementBlock("span", _hoisted_2, [__props.maxmin && !max.value ? (openBlock(), createElementBlock("a", {
key: 0,
class: normalizeClass(["layui-layer-min", [min.value ? "layui-layer-ico layui-layer-maxmin" : ""]]),
href: "javascript:;",
onClick: minHandle
}, [!min.value ? (openBlock(), createElementBlock("cite", _hoisted_6)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), __props.maxmin && !min.value ? (openBlock(), createElementBlock("a", {
}, [!min.value ? (openBlock(), createElementBlock("cite", _hoisted_3)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true), __props.maxmin && !min.value ? (openBlock(), createElementBlock("a", {
key: 1,
class: normalizeClass(["layui-layer-ico layui-layer-max", [max.value ? "layui-layer-maxmin" : ""]]),
href: "javascript:;",
@ -2020,7 +1995,7 @@ var _sfc_main = defineComponent(_objectSpread$1(_objectSpread$1({}, __default__)
onClick: function onClick($event) {
return b.callback(id.value);
}
}, toDisplayString(b.text), 11, _hoisted_7);
}, toDisplayString(b.text), 11, _hoisted_4);
}), 128)) : (openBlock(), createElementBlock(Fragment, {
key: 1
}, [unref(type) === 0 ? (openBlock(), createElementBlock("a", {

File diff suppressed because one or more lines are too long

View File

@ -631,9 +631,6 @@ defineExpose({ reset, open, close });
:style="{ height: contentHeight }"
:class="contentClasses"
>
<template v-if="type==3">
<div style="scale: 0.5"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <filter id="goo"> <feGaussianBlur in="SourceGraphic" stdDeviation="6.3" result="blur" /> <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 14 -4" result="goo" /> <feBlend in="SourceGraphic" in2="goo" /> </filter> </defs> </svg></div>
</template>
<template v-if="type === 0 || type === 1 || type === 4">
<i v-if="icon" :class="iconClass"></i>
<slot v-if="slots.default"></slot>