小程序 用css實現遮罩效果

如圖所示,使用css實現小程序的遮罩效果,代碼以下javascript js文件代碼:css //index.js //獲取應用實例 var app = getApp() Page({ data: { flag: false }, a: function(){ this.setData({flag: false}) }, b: function(){ t
相關文章
相關標籤/搜索