ts_aimz_uni/unpackage/dist/dev/mp-baidu/components/download-progress.js
2025-05-28 16:22:03 +08:00

34 lines
811 B
JavaScript

"use strict";
const common_vendor = require("../common/vendor.js");
const _sfc_main = {
name: "download-progress",
props: {
progress: {
type: Number,
default: 0
},
isShow: {
type: Boolean,
default: false
},
hintText: {
type: String,
default: "下载中..."
}
},
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.isShow
}, $props.isShow ? {
b: common_vendor.t($props.hintText),
c: common_vendor.t($props.progress)
} : {});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
swan.createComponent(Component);
//# sourceMappingURL=../../.sourcemap/mp-baidu/components/download-progress.js.map