天天看點

07-項目訓練_Layer

目錄

1,下載下傳并引入layer元件

2,一些關鍵方法的簡單介紹

3,編碼示範

完整項目在這裡實時更新<( ̄︶ ̄)↗[GO!]https://github.com/GoodbyeFirefly/ExpressManagementSystem 

這裡主要是對Layer中一些常用的方法進行說明,來更好的友善前端頁面的編寫。

07-項目訓練_Layer

官網在這裡https://layer.layui.com/

使用手冊https://www.layui.com/doc/modules/layer.html

1,下載下傳并引入layer元件

07-項目訓練_Layer

将檔案夾中的layer檔案夾粘貼到項目web目錄下 

07-項目訓練_Layer

2,一些關鍵方法的簡單介紹

07-項目訓練_Layer
07-項目訓練_Layer
07-項目訓練_Layer
07-項目訓練_Layer
07-項目訓練_Layer

3,編碼示範

07-項目訓練_Layer
07-項目訓練_Layer