Showing
3 changed files
with
8 additions
and
2 deletions
| @@ -34,6 +34,9 @@ Component({ | @@ -34,6 +34,9 @@ Component({ | ||
| 34 | console.log('saveFile.filePath',filePath) | 34 | console.log('saveFile.filePath',filePath) |
| 35 | wx.saveImageToPhotosAlbum({ | 35 | wx.saveImageToPhotosAlbum({ |
| 36 | filePath:filePath, | 36 | filePath:filePath, |
| 37 | + success:res=>{ | ||
| 38 | + util.toast('已保存到相册') | ||
| 39 | + }, | ||
| 37 | fail:(efail)=>{ | 40 | fail:(efail)=>{ |
| 38 | console.log('saveImageToPhotosAlbum.fail',efail) | 41 | console.log('saveImageToPhotosAlbum.fail',efail) |
| 39 | wx.showModal({ | 42 | wx.showModal({ |
| 1 | { | 1 | { |
| 2 | + "navigationBarBackgroundColor": "#ffffff", | ||
| 3 | + "navigationBarTextStyle": "black", | ||
| 4 | + "navigationBarTitleText":"一键订", | ||
| 2 | "usingComponents": { | 5 | "usingComponents": { |
| 3 | "nav":"/components/nav/nav", | 6 | "nav":"/components/nav/nav", |
| 4 | "painter":"/components/painter/painter", | 7 | "painter":"/components/painter/painter", |
| 1 | { | 1 | { |
| 2 | "description": "项目配置文件。", | 2 | "description": "项目配置文件。", |
| 3 | "setting": { | 3 | "setting": { |
| 4 | - "urlCheck": false, | 4 | + "urlCheck": true, |
| 5 | "es6": true, | 5 | "es6": true, |
| 6 | - "enhance": true, | 6 | + "enhance": false, |
| 7 | "postcss": true, | 7 | "postcss": true, |
| 8 | "minified": true, | 8 | "minified": true, |
| 9 | "newFeature": true, | 9 | "newFeature": true, |
-
Please register or login to post a comment