Skip to content

Commit

Permalink
last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasscia committed Jan 4, 2018
1 parent f4d0416 commit 54cd135
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 6 deletions.
Binary file modified image/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified image/9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions pages/imageeditor/imageeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const app = getApp()
Page({
data: {
bgPic:null,
imageResource:"",
combine:false,
imgList:[1,2,3,4,5,6,7,8,9,10],
currentHatId:1,

Expand Down
7 changes: 3 additions & 4 deletions pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Page({
userInfo: res.userInfo,
bgPic: res.userInfo.avatarUrl
});
this.assignPicChoosed();
}
})
}
this.assignPicChoosed();
},
chooseImage(from){
wx.chooseImage({
Expand All @@ -47,16 +47,15 @@ Page({
sourceType: [from.target.dataset.way],
success:(res)=> {
var tempFilePaths = res.tempFilePaths;
console.log(tempFilePaths);
this.setData({
bgPic:res.tempFilePaths[0]
});
this.assignPicChoosed();
},
fail: function (res) {
fail: (res)=>{
this.assignPicChoosed();
},
complete: function (res) {
complete: (res)=>{
this.assignPicChoosed();
},
})
Expand Down

0 comments on commit 54cd135

Please sign in to comment.