提交 3b508ae6 编写于 作者: Q qiang

chore: build h5

上级 43027835
...@@ -8124,7 +8124,7 @@ var MapCircle = /* @__PURE__ */ defineSystemComponent({ ...@@ -8124,7 +8124,7 @@ var MapCircle = /* @__PURE__ */ defineSystemComponent({
function addCircle(option) { function addCircle(option) {
const center = new maps.LatLng(option.latitude, option.longitude); const center = new maps.LatLng(option.latitude, option.longitude);
function getColor(color) { function getColor(color) {
const c = color.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/); const c = color && color.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/);
if ("Color" in maps) { if ("Color" in maps) {
if (c && c.length) { if (c && c.length) {
return maps.Color.fromHex(c[0], Number("0x" + c[1] || 255) / 255).toRGBA(); return maps.Color.fromHex(c[0], Number("0x" + c[1] || 255) / 255).toRGBA();
...@@ -10644,13 +10644,7 @@ function usePageHeadSearchInput({ ...@@ -10644,13 +10644,7 @@ function usePageHeadSearchInput({
onKeyup onKeyup
}; };
} }
var _export_sfc = (sfc, props2) => { var _sfc_main = {
for (const [key, val] of props2) {
sfc[key] = val;
}
return sfc;
};
const _sfc_main = {
name: "PageRefresh", name: "PageRefresh",
setup() { setup() {
const { pullToRefresh } = usePageMeta(); const { pullToRefresh } = usePageMeta();
...@@ -10708,7 +10702,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ...@@ -10708,7 +10702,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
], 4) ], 4)
]); ]);
} }
var PageRefresh = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); _sfc_main.render = _sfc_render;
var PageBody = defineSystemComponent({ var PageBody = defineSystemComponent({
name: "PageBody", name: "PageBody",
setup(props2, ctx) { setup(props2, ctx) {
...@@ -10725,7 +10719,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) { ...@@ -10725,7 +10719,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) {
if (!__UNI_FEATURE_PULL_DOWN_REFRESH__ || !pageMeta.enablePullDownRefresh) { if (!__UNI_FEATURE_PULL_DOWN_REFRESH__ || !pageMeta.enablePullDownRefresh) {
return null; return null;
} }
return vue.createVNode(PageRefresh, { return vue.createVNode(_sfc_main, {
"ref": refreshRef "ref": refreshRef
}, null, 512); }, null, 512);
} }
......
...@@ -15415,7 +15415,7 @@ var MapCircle = /* @__PURE__ */ defineSystemComponent({ ...@@ -15415,7 +15415,7 @@ var MapCircle = /* @__PURE__ */ defineSystemComponent({
function addCircle(option) { function addCircle(option) {
const center = new maps2.LatLng(option.latitude, option.longitude); const center = new maps2.LatLng(option.latitude, option.longitude);
function getColor(color) { function getColor(color) {
const c = color.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/); const c = color && color.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/);
if ("Color" in maps2) { if ("Color" in maps2) {
if (c && c.length) { if (c && c.length) {
return maps2.Color.fromHex(c[0], Number("0x" + c[1] || 255) / 255).toRGBA(); return maps2.Color.fromHex(c[0], Number("0x" + c[1] || 255) / 255).toRGBA();
...@@ -21205,13 +21205,7 @@ function usePageHeadSearchInput({ ...@@ -21205,13 +21205,7 @@ function usePageHeadSearchInput({
onKeyup onKeyup
}; };
} }
var _export_sfc = (sfc, props2) => { var _sfc_main = {
for (const [key, val] of props2) {
sfc[key] = val;
}
return sfc;
};
const _sfc_main = {
name: "PageRefresh", name: "PageRefresh",
setup() { setup() {
const { pullToRefresh } = usePageMeta(); const { pullToRefresh } = usePageMeta();
...@@ -21269,7 +21263,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ...@@ -21269,7 +21263,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
], 4) ], 4)
]); ]);
} }
var PageRefresh = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); _sfc_main.render = _sfc_render;
function processDeltaY(ev, identifier, startY) { function processDeltaY(ev, identifier, startY) {
const touch = Array.prototype.slice.call(ev.changedTouches).filter((touch2) => touch2.identifier === identifier)[0]; const touch = Array.prototype.slice.call(ev.changedTouches).filter((touch2) => touch2.identifier === identifier)[0];
if (!touch) { if (!touch) {
...@@ -21484,7 +21478,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) { ...@@ -21484,7 +21478,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) {
if (!__UNI_FEATURE_PULL_DOWN_REFRESH__ || !pageMeta.enablePullDownRefresh) { if (!__UNI_FEATURE_PULL_DOWN_REFRESH__ || !pageMeta.enablePullDownRefresh) {
return null; return null;
} }
return createVNode(PageRefresh, { return createVNode(_sfc_main, {
"ref": refreshRef "ref": refreshRef
}, null, 512); }, null, 512);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册