| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const _sfc_main = {
- props: {
- title: { type: String, default: "标题" },
- subtitle: { type: String, default: "我们会妥善保护你的隐私,后续你也可以在设置中将简历隐藏" },
- nextText: { type: String, default: "下一步" },
- skipText: { type: String, default: "跳过" },
- showSkip: { type: Boolean, default: true },
- showCapsule: { type: Boolean, default: true }
- },
- emits: ["next", "skip"],
- setup(props, { emit }) {
- const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight || 20;
- const goBack = () => {
- common_vendor.index.navigateBack();
- };
- const onNext = () => {
- common_vendor.index.__f__("log", "at components/step-layout/step-layout.js:19", "step-layout: onNext triggered");
- emit("next");
- };
- const onSkip = () => {
- common_vendor.index.__f__("log", "at components/step-layout/step-layout.js:23", "step-layout: onSkip triggered");
- emit("skip");
- };
- return {
- statusBarHeight,
- goBack,
- onNext,
- onSkip
- };
- }
- };
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return common_vendor.e({
- a: common_vendor.t(_ctx.title),
- b: common_vendor.t(_ctx.subtitle),
- c: common_vendor.t(_ctx.nextText),
- d: common_vendor.o((...args) => _ctx.onNext && _ctx.onNext(...args)),
- e: _ctx.showSkip
- }, _ctx.showSkip ? {
- f: common_vendor.t(_ctx.skipText),
- g: common_vendor.o((...args) => _ctx.onSkip && _ctx.onSkip(...args))
- } : {});
- }
- const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2ad47190"]]);
- wx.createComponent(Component);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/step-layout/step-layout.js.map
|