init
This commit is contained in:
43
unpackage/dist/dev/mp-weixin/components/index-custom-navigationbar/index.js
vendored
Normal file
43
unpackage/dist/dev/mp-weixin/components/index-custom-navigationbar/index.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user