微信开发者工具篇「微搭低代码」低码编辑器使用概述

小程序 文章 2022-03-08 12:20 788 0 全屏看文

AI助手支持GPT4.0

微信开发者工具篇「微搭低代码」低码编辑器使用概述WeChat developer tools article "Micro-build low-code" low-code editor usage overview

微信开发者工具篇「微搭低代码」低码编辑器使用概述

使用低代码编辑要求开发者有一定的 JavaScript 基础,它能帮助开发者在使用微搭低代码进行拖拽式开发时,根据业务需求完善应用的逻辑丰富度和复杂度。对于开发经验较为缺乏的开发者,我们的组件库也提供了封装好的方法能够直接使用。本文将会为您介绍低代码编辑器的作用和使用方式。

低代码编辑器入口

点击编辑器右上角的更多按钮,在下拉列表中选择低代码编辑器即可。

低代码编辑器总览

低代码编辑器分为全局配置区、页面配置区与编译区,每个页面以文件夹的形式展示在页面配置区下。

模块功能 style 全局配置区和每个页面都有 style 模块,在全局配置区的设置会作用到整个应用,单个页面的 style 只对页面内有效。lifecycle应用和每个页面都有自己的 lifecycle,全局配置区的 lifecycle 在应用使用的时候会生效,而只有当某个页面在页面堆栈最上层时,才会触发该页面的 lifecycle。commonCommon 是一个方法集合,在 Common 中能够创建能全局调用的函数。handlerHandler 也是一个方法集合,但是 Handler 方法只能在对应的页面内有效,通过 Handler 方法能够在页面中调用组件、变量和平台方法等。

Using low code editing requires developers to have a certain JavaScript foundation, which can help developers improve the logical richness and complexity of applications according to business needs when using micro build low code for drag and drop development. For developers who lack development experience, our component library also provides encapsulated methods that can be used directly. This article will introduce you to the function and usage of low code editor. Low code editor entry click the more button in the upper right corner of the editor and select low code editor in the drop-down list. Overview of low code editor low code editor is divided into global configuration area, page configuration area and compilation area. Each page is displayed in the form of folder under the page configuration area. The module function style global configuration area and each page have style modules. The settings in the global configuration area will affect the whole application. The style of a single page is only valid within the page. Lifecycle applications and each page have their own lifecycle. The lifecycle of the global configuration area will take effect when the application is used. Only when a page is at the top of the page stack will the lifecycle of the page be triggered. Commoncommon is a collection of methods in which functions that can be called globally can be created. HandlerHandler is also a collection of methods, but the Handler method can only be effective in the corresponding pages. By means of Handler, components, variables and platform methods can be invoked in the page.

回答:

问.宇宙真谛:

只能用在云开发环境中吗


忠路贵州绿豆皮:`↘☆↖ lcbk.nbifjjb.nkiij。↘↘nn
忠路贵州绿豆皮:nn'n!!、过丷:↖↗孞↖:▽、 ,
忠路贵州绿豆皮:,:一、。,、…孞〈、f.nnkiknhmmiu诶诶jmmyh
忠路贵州绿豆皮:l↖↘in、nnjj氵.'。

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
关于wx.login()不能正常使用问题?
自定义交易组件 新流程中必须要使用小程序进行支付吗?
微信小程序可以点击按钮直接跳转到公众号吗?
小程序生成的二维码苹果识别不了怎么解决?
小程序版本已经更新一年多了,为什么还有大量用户使用的是一年前的老版本?
随便看看
有客服电话吗?想咨询一下关于商品发货的问题 431
小程序的代码写好了,怎么打包发布啊? 819
企业付款到零钱功能系统繁忙,请稍后再试,如何处理? 515
订单发货发货接口报操作频繁,请重试? 315
【已解决】自定义组件为何不支持全局样式的直接使用? 366
交易组件2.0升级3.0后的视频号 对新零售行业来说是一次大倒退 411
原本正常的,忽然发现我的微信号看不到所有公众号的广告(包括我自己的公众号的),三个多月了。怎么办? 822
请问下怎么做个按钮,按加号后显示减号,然后点击减号后删除,两个按钮变成一个的那种? 410
敏感内容检测,敏感图片也能通过? 369
微信小程序背景音乐能不能使用本地mp3文件? 811