小程序學習之旅----自定義組件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
相關文章
相關標籤/搜索