You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.6 KiB
JavaScript

"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
// 组件名称
name: "",
// 局部注册的组件
components: {},
// 组件参数 接收来自父组件的数据
props: {},
// 组件状态值
data() {
return {};
},
// 计算属性
computed: {},
// 侦听器
watch: {},
created() {
},
mounted() {
},
// 组件方法
methods: {}
};
if (!Array) {
const _component_g_button = common_vendor.resolveComponent("g-button");
_component_g_button();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.p({
btnText: "按钮(大)",
size: "medium",
type: "primary"
}),
b: common_vendor.p({
btnText: "按钮(默认)",
size: "default",
type: "primary"
}),
c: common_vendor.p({
btnText: "按钮(小)",
size: "small",
type: "primary"
}),
d: common_vendor.p({
btnText: "消息",
size: "default",
type: "infro"
}),
e: common_vendor.p({
btnText: "默认",
size: "default",
type: "default"
}),
f: common_vendor.p({
btnText: "删除",
size: "default",
type: "delete"
}),
g: common_vendor.p({
btnText: "无样式",
size: "default",
type: "none"
}),
h: common_vendor.p({
btnText: "禁用",
size: "default",
type: "disabled"
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/component/button/button.js.map