提交 808766eb 编写于 作者: D Devil

小程序售后

上级 ec68e439
...@@ -349,7 +349,6 @@ button[disabled].bg-primary { ...@@ -349,7 +349,6 @@ button[disabled].bg-primary {
.form-group-tips, .form-group-tips,
.form-group-tips-must { .form-group-tips-must {
margin-left: 20rpx; margin-left: 20rpx;
font-weight: 100;
font-size: 24rpx; font-size: 24rpx;
color: #ccc; color: #ccc;
} }
...@@ -405,5 +404,5 @@ button[disabled].bg-primary { ...@@ -405,5 +404,5 @@ button[disabled].bg-primary {
margin: 10rpx 0 0 10rpx; margin: 10rpx 0 0 10rpx;
width: 210rpx; width: 210rpx;
height: 210rpx; height: 210rpx;
border: 1px dashed #eee; border: 1px dashed #e9e9e9;
} }
\ No newline at end of file
...@@ -287,9 +287,13 @@ Page({ ...@@ -287,9 +287,13 @@ Page({
success++; success++;
if (res.statusCode == 200) { if (res.statusCode == 200) {
var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data); var data = (typeof (res.data) == 'object') ? res.data : JSON.parse(res.data);
var list = self.data.form_images_list; if (data.code == 0 && (data.data.url || null) != null) {
list.push(data.data.url); var list = self.data.form_images_list;
self.setData({ form_images_list: list }); list.push(data.data.url);
self.setData({ form_images_list: list });
} else {
app.showToast(data.msg);
}
} }
}, },
fail: function (e) { fail: function (e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册