export default { data() { return { title: 'progress', pgList: [0, 0, 0, 0] as number[] } }, methods: { setProgress() { this.pgList = [20, 40, 60, 80] as number[] }, clearProgress() { this.pgList = [0, 0, 0, 0] as number[] } } } const GenPagesComponentProgressProgressStyles = [new Map>>([["common-page-head", new Map([["", new Map([["paddingTop", "35rpx"], ["paddingRight", "35rpx"], ["paddingBottom", "35rpx"], ["paddingLeft", "35rpx"], ["flexDirection", "row"], ["justifyContent", "center"]])]])], ["common-page-head-title-box", new Map([["", new Map([["paddingTop", 0], ["paddingRight", "40rpx"], ["paddingBottom", 0], ["paddingLeft", "40rpx"], ["height", "88rpx"], ["borderBottomWidth", "2rpx"], ["borderBottomStyle", "solid"], ["borderBottomColor", "#D8D8D8"]])]])], ["common-page-head-title", new Map([["", new Map([["lineHeight", "88rpx"], ["fontSize", "30rpx"], ["color", "#BEBEBE"]])]])], ["progress-box", new Map([["", new Map([["height", "50rpx"], ["marginBottom", "60rpx"]])]])], ["progress-cancel", new Map([["", new Map([["marginLeft", "40rpx"]])]])], ["button", new Map([["", new Map([["marginTop", "20rpx"]])]])]])] @Suppress("UNUSED_PARAMETER") function GenPagesComponentProgressProgressRender(_ctx: GenPagesComponentProgressProgress): VNode | null { const _component_page_head = resolveComponent("page-head") const _component_progress = resolveComponent("progress") const _component_button = resolveComponent("button") return createElementVNode("view", null, [ createVNode(_component_page_head, new Map([["title", _ctx.title]]), null, 8 /* PROPS */, ["title"]), createElementVNode("view", new Map([["class", "uni-padding-wrap uni-common-mt"]]), [ createElementVNode("view", new Map([["class", "progress-box"]]), [ createVNode(_component_progress, new Map([ ["percent", _ctx.pgList[0]], ["show-info", true], ["stroke-width", 3] ]), null, 8 /* PROPS */, ["percent"]) ]), createElementVNode("view", new Map([["class", "progress-box"]]), [ createVNode(_component_progress, new Map([ ["percent", _ctx.pgList[1]], ["stroke-width", 3] ]), null, 8 /* PROPS */, ["percent"]) ]), createElementVNode("view", new Map([["class", "progress-box"]]), [ createVNode(_component_progress, new Map([ ["percent", _ctx.pgList[2]], ["stroke-width", 3] ]), null, 8 /* PROPS */, ["percent"]) ]), createElementVNode("view", new Map([["class", "progress-box"]]), [ createVNode(_component_progress, new Map([ ["percent", _ctx.pgList[3]], ["activeColor", "#10AEFF"], ["stroke-width", 3] ]), null, 8 /* PROPS */, ["percent"]) ]), createElementVNode("view", new Map([["class", "progress-control"]]), [ createVNode(_component_button, new Map([ ["type", "primary"], ["onClick", _ctx.setProgress], ["class", "button"] ]), new Map([ ["default", ((): any[] => ["设置进度"])], ["_", 1 /* STABLE */] ]), 8 /* PROPS */, ["onClick"]), createVNode(_component_button, new Map([ ["type", "warn"], ["onClick", _ctx.clearProgress], ["class", "button"] ]), new Map([ ["default", ((): any[] => ["清除进度"])], ["_", 1 /* STABLE */] ]), 8 /* PROPS */, ["onClick"]) ]) ]) ]) }