小程序售后

feat/task1-c-wallet
Devil 2019-10-06 17:15:02 +08:00
parent ec68e43992
commit 808766eb7c
3 changed files with 8 additions and 5 deletions

View File

@ -349,7 +349,6 @@ button[disabled].bg-primary {
.form-group-tips,
.form-group-tips-must {
margin-left: 20rpx;
font-weight: 100;
font-size: 24rpx;
color: #ccc;
}
@ -405,5 +404,5 @@ button[disabled].bg-primary {
margin: 10rpx 0 0 10rpx;
width: 210rpx;
height: 210rpx;
border: 1px dashed #eee;
border: 1px dashed #e9e9e9;
}

View File

@ -287,9 +287,13 @@ Page({
success++;
if (res.statusCode == 200) {
var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data);
var list = self.data.form_images_list;
list.push(data.data.url);
self.setData({ form_images_list: list });
if (data.code == 0 && (data.data.url || null) != null) {
var list = self.data.form_images_list;
list.push(data.data.url);
self.setData({ form_images_list: list });
} else {
app.showToast(data.msg);
}
}
},
fail: function (e) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB