wv-business-components
Version:
201 lines (198 loc) • 8.21 kB
JavaScript
import { resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeClass, withDirectives, vShow, createCommentVNode, createVNode, withCtx, Fragment, renderList, createBlock, normalizeStyle } from 'vue';
const _hoisted_1 = { class: "gisMap" };
const _hoisted_2 = ["id"];
const _hoisted_3 = ["id"];
const _hoisted_4 = /* @__PURE__ */ createElementVNode("div", { class: "hoverBgStyle" }, null, -1);
const _hoisted_5 = /* @__PURE__ */ createElementVNode("div", { class: "hoverVideoBgStyle" }, null, -1);
const _hoisted_6 = /* @__PURE__ */ createElementVNode("div", { class: "MapmessageBox" }, null, -1);
const _hoisted_7 = {
key: 0,
class: "mapbtnBox"
};
const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", { class: "img img1" }, null, -1);
const _hoisted_9 = [
_hoisted_8
];
const _hoisted_10 = /* @__PURE__ */ createElementVNode("div", { class: "img img2" }, null, -1);
const _hoisted_11 = [
_hoisted_10
];
const _hoisted_12 = /* @__PURE__ */ createElementVNode("div", { class: "img img3" }, null, -1);
const _hoisted_13 = [
_hoisted_12
];
const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", { class: "img img5" }, null, -1);
const _hoisted_15 = [
_hoisted_14
];
const _hoisted_16 = {
key: 1,
class: "moveControlBox"
};
const _hoisted_17 = { class: "moveControl" };
const _hoisted_18 = { class: "moveControlSpeed marginL10" };
const _hoisted_19 = /* @__PURE__ */ createElementVNode("span", null, "\u64AD\u653E\u901F\u5EA6", -1);
const _hoisted_20 = { class: "selBox" };
const _hoisted_21 = { class: "moveControlSnap marginL10" };
const _hoisted_23 = {
key: 2,
class: "pointRoundBox"
};
const _hoisted_24 = /* @__PURE__ */ createElementVNode("div", {
class: "pointRoundAdd",
title: "\u589E\u52A0"
}, "+", -1);
const _hoisted_25 = /* @__PURE__ */ createElementVNode("div", {
class: "pointRoundSub",
title: "\u51CF\u5C0F"
}, "-", -1);
const _hoisted_26 = /* @__PURE__ */ createElementVNode("div", {
class: "pointRoundY",
title: "\u786E\u5B9A"
}, "\u221A", -1);
const _hoisted_27 = /* @__PURE__ */ createElementVNode("div", {
class: "pointRoundN",
title: "\u53D6\u6D88"
}, "x", -1);
const _hoisted_28 = [
_hoisted_24,
_hoisted_25,
_hoisted_26,
_hoisted_27
];
function render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_wv_option = resolveComponent("wv-option");
const _component_wv_select = resolveComponent("wv-select");
const _component_wv_checkbox = resolveComponent("wv-checkbox");
return openBlock(), createElementBlock("div", _hoisted_1, [
createElementVNode("div", {
id: _ctx.mapprams.mapDom,
class: normalizeClass([_ctx.whitePHead, "full_screen mapContainer"])
}, null, 10, _hoisted_2),
withDirectives(createElementVNode("div", {
id: _ctx.mapprams.overmapDom,
class: "overviewDiv"
}, null, 8, _hoisted_3), [
[vShow, _ctx.overviewFlag]
]),
createCommentVNode(` <div class="mapTypeDiv" v-show="mapTypeFlag">\r
<div\r
@click="mapTcheck(1)"\r
class="mapTypeDivItem"\r
title="\u536B\u661F\u5730\u56FE"\r
:class="{ mapTypeDivItemC: mapprams.mapType == 'WMTS' }"\r
>\r
<div class="mapTypeDivItemImg mapTypeDivItemImg1"></div>\r
</div>\r
<div\r
@click="mapTcheck(2)"\r
class="mapTypeDivItem"\r
title="\u5E73\u9762\u5730\u56FE"\r
:class="{ mapTypeDivItemC: mapprams.mapType == 'ARCGIS' }"\r
>\r
<div class="mapTypeDivItemImg mapTypeDivItemImg2"></div>\r
</div>\r
</div> `),
_hoisted_4,
_hoisted_5,
_hoisted_6,
_ctx.mapbtnBoxFlag ? (openBlock(), createElementBlock("div", _hoisted_7, [
createElementVNode("div", {
class: "setCenter mapbtn",
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.goCenter && _ctx.goCenter(...args)),
title: "\u56DE\u5230\u4E2D\u5FC3\u70B9"
}, _hoisted_9),
createElementVNode("div", {
class: "addMapLevel mapbtn",
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.addMapLevel && _ctx.addMapLevel(...args)),
title: "\u653E\u5927\u4E00\u4E2A\u56FE\u5C42"
}, _hoisted_11),
createElementVNode("div", {
class: "subMapLevel mapbtn",
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.subMapLevel && _ctx.subMapLevel(...args)),
title: "\u7F29\u5C0F\u4E00\u4E2A\u56FE\u5C42"
}, _hoisted_13),
createCommentVNode(' <div class="mapType mapbtn" @click="mapTypeFn" title="\u9009\u62E9\u5730\u56FE\u7C7B\u578B">\r\n <div class="img img4"></div>\r\n </div> '),
createElementVNode("div", {
class: "overview mapbtn",
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.overview && _ctx.overview(...args)),
title: "\u5F00\u542F\u9E70\u773C\u5730\u56FE"
}, _hoisted_15)
])) : createCommentVNode("v-if", true),
_ctx.moveControlFlag ? (openBlock(), createElementBlock("div", _hoisted_16, [
createElementVNode("div", _hoisted_17, [
withDirectives(createElementVNode("div", {
class: "moveControlPlay moveControlBtn",
id: "Bstart",
title: "\u64AD\u653E",
onClick: _cache[4] || (_cache[4] = ($event) => _ctx.moveControlPlayFlag = "2")
}, null, 512), [
[vShow, _ctx.moveControlPlayFlag == "1"]
]),
withDirectives(createElementVNode("div", {
class: "moveControlPlay moveControlBtn moveControlPlay1",
id: "Bpause",
title: "\u6682\u505C",
onClick: _cache[5] || (_cache[5] = ($event) => _ctx.moveControlPlayFlag = "3")
}, null, 512), [
[vShow, _ctx.moveControlPlayFlag == "2"]
]),
withDirectives(createElementVNode("div", {
class: "moveControlPlay moveControlBtn",
id: "Bcontinue",
title: "\u64AD\u653E",
onClick: _cache[6] || (_cache[6] = ($event) => _ctx.moveControlPlayFlag = "2")
}, null, 512), [
[vShow, _ctx.moveControlPlayFlag == "3"]
]),
createElementVNode("div", {
class: "moveControlReset moveControlBtn",
id: "Bback",
title: "\u91CD\u7F6E",
onClick: _cache[7] || (_cache[7] = ($event) => _ctx.moveControlPlayFlag = "1")
}),
createElementVNode("div", _hoisted_18, [
_hoisted_19,
createElementVNode("span", _hoisted_20, [
createVNode(_component_wv_select, {
"fit-input-width": "",
style: { "width": "100%" },
onFocus: _ctx.setMinWidth,
size: "small",
modelValue: _ctx.value,
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.value = $event),
placeholder: "\u8BF7\u9009\u62E9",
onChange: _ctx.iconMove1
}, {
default: withCtx(() => [
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (item) => {
return openBlock(), createBlock(_component_wv_option, {
style: normalizeStyle({
"min-width": _ctx.minWidth - 14 + "px",
width: _ctx.minWidth - 14 + "px"
}),
key: item.value,
label: item.label,
value: item.value
}, null, 8, ["style", "label", "value"]);
}), 128))
]),
_: 1
}, 8, ["onFocus", "modelValue", "onChange"])
])
]),
createElementVNode("div", _hoisted_21, [
createVNode(_component_wv_checkbox, {
onChange: _ctx.iconMove1,
modelValue: _ctx.checked1,
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => _ctx.checked1 = $event),
label: "\u6293\u62CD\u56FE\u7247"
}, null, 8, ["onChange", "modelValue"])
]),
createCommentVNode("v-if", true)
])
])) : createCommentVNode("v-if", true),
_ctx.pointRoundBoxFlag ? (openBlock(), createElementBlock("div", _hoisted_23, _hoisted_28)) : createCommentVNode("v-if", true)
]);
}
export { render };