小程序学习之旅----自定义组件toast实例

components目录下新建文件夹toast,新建component,之后修改toast.js和toast.wxml <!--components/toast/toast.wxml--> <view class='wx_toast_container' hidden="{{!toastShow}}"> <view class='wx_toast_text'>{{toastText}}</vi
相关文章
相关标签/搜索