1234567891011121314151617181920212223242526272829303132333435 |
- "use strict";
- const common_vendor = require("../../../../common/vendor.js");
- const _sfc_main = {
- name: "u-toolbar",
- mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
- methods: {
- // 点击取消按钮
- cancel() {
- this.$emit("cancel");
- },
- // 点击确定按钮
- confirm() {
- this.$emit("confirm");
- }
- }
- };
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return common_vendor.e({
- a: _ctx.show
- }, _ctx.show ? common_vendor.e({
- b: common_vendor.t(_ctx.cancelText),
- c: common_vendor.o((...args) => $options.cancel && $options.cancel(...args)),
- d: _ctx.cancelColor,
- e: _ctx.title
- }, _ctx.title ? {
- f: common_vendor.t(_ctx.title)
- } : {}, {
- g: common_vendor.t(_ctx.confirmText),
- h: common_vendor.o((...args) => $options.confirm && $options.confirm(...args)),
- i: _ctx.confirmColor,
- j: common_vendor.o((...args) => _ctx.noop && _ctx.noop(...args))
- }) : {});
- }
- const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3fd495d6"], ["__file", "F:/兴元/开门柜项目/平台端管理系统小程序/node_modules/uview-plus/components/u-toolbar/u-toolbar.vue"]]);
- wx.createComponent(Component);
|