44 lines
1.3 KiB
JavaScript
44 lines
1.3 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
if (!Array) {
|
|
const _easycom_nut_animate2 = common_vendor.resolveComponent("nut-animate");
|
|
_easycom_nut_animate2();
|
|
}
|
|
const _easycom_nut_animate = () => "../../uni_modules/nutui-uni/components/animate/animate.js";
|
|
if (!Math) {
|
|
_easycom_nut_animate();
|
|
}
|
|
const navbarSearchBoxHeight = 0;
|
|
const _sfc_main = {
|
|
__name: "index",
|
|
props: {
|
|
statusBarHeight: Number,
|
|
windowWidth: Number,
|
|
navbarHeight: Number,
|
|
title: String,
|
|
desc: String
|
|
// onIndexPageSearch:Function,
|
|
// onIndexPageClear:Function
|
|
},
|
|
setup(__props) {
|
|
const props = __props;
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: props.statusBarHeight + "px",
|
|
b: common_vendor.t(__props.title),
|
|
c: common_vendor.t(__props.desc),
|
|
d: common_vendor.p({
|
|
type: "flicker",
|
|
loop: true
|
|
}),
|
|
e: props.navbarHeight + "px",
|
|
f: props.windowWidth + "px",
|
|
g: __props.statusBarHeight + __props.navbarHeight + navbarSearchBoxHeight + "px"
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f853d1cb"]]);
|
|
wx.createComponent(Component);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/index-custom-navigationbar/index.js.map
|