export default { data() { return { title: 'textarea', focus: false } }, methods: { bindTextAreaBlur: function (e : TextareaBlurEvent) { console.log(e.detail.value) } } } const GenPagesComponentTextareaTextareaStyles = [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"]])]])]])] @Suppress("UNUSED_PARAMETER") function GenPagesComponentTextareaTextareaRender(_ctx: GenPagesComponentTextareaTextarea): VNode | null { const _component_page_head = resolveComponent("page-head") return createElementVNode("view", null, [ createVNode(_component_page_head, new Map([["title", _ctx.title]]), null, 8 /* PROPS */, ["title"]), createElementVNode("view", new Map([["class", "uni-title uni-common-pl"]]), [ createElementVNode("text", new Map([["class", "uni-title-text"]]), " 输入区域高度自适应,不会出现滚动条 ") ]), createElementVNode("view", new Map([["class", "uni-textarea-box"]]), [ createElementVNode("textarea", new Map([ ["onBlur", _ctx.bindTextAreaBlur], ["auto-height", true], ["class", "uni-textarea"] ]), null, 40 /* PROPS, HYDRATE_EVENTS */, ["onBlur"]) ]), createElementVNode("view", new Map([["class", "uni-title uni-common-pl"]]), [ createElementVNode("text", new Map([["class", "uni-title-text"]]), " 占位符字体是红色的textarea ") ]), createElementVNode("view", new Map([["class", "uni-textarea-box"]]), [ createElementVNode("textarea", new Map([ ["placeholder-style", "color:#F76260"], ["placeholder", "占位符字体是红色的"], ["class", "uni-textarea"] ])) ]) ]) }