调整页面样式

This commit is contained in:
唐明明
2022-01-14 16:16:56 +08:00
parent 18448d7873
commit dd6c5718b0
14 changed files with 51 additions and 52 deletions

View File

@@ -531,19 +531,22 @@ export default {
days: 1,
};
recordsHealth(params).then((res) => {
this.$refs.uToast.show({
type: "success",
title: "创建成功",
message: "创建成功啦",
iconUrl:
"https://cdn.uviewui.com/uview/demo/toast/success.png",
complete() {
this.percentplan3 = 100;
this.behaviorShow = false; // 关闭运动量页面
uni.navigateBack({});
},
});
});
uni.showModal({
title: "提示",
content: "创建成功",
showCancel:false,
success: ModalRes => {
this.percentplan3 = 100;
this.behaviorShow = false; // 关闭运动量页面
uni.navigateBack({});
}
})
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
}
},
},