调整页面样式

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

@@ -70,7 +70,7 @@ import userAuth from "@/public/userAuth";
export default {
data() {
return {
phone: "14745798066",
phone: "",
code: "",
smsTime: 60,
getSms: false,

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'
})
})
}
},
},

View File

@@ -88,8 +88,9 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
min-height: 100vh;
}
.tabs {

View File

@@ -94,8 +94,9 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
min-height: 100vh;
}
.backImg {
width: 100%;

View File

@@ -48,8 +48,9 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
min-height: 100vh;
}
.menu {
.title {

View File

@@ -53,8 +53,9 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
min-height: 100vh;
}
.tips {
padding: $padding;

View File

@@ -45,10 +45,11 @@
</script>
<style lang="scss" scoped>
page {
.content {
padding: $padding;
box-sizing: border-box;
background-color: $window-color;
min-height: 100vh;
}
.noticeList {

View File

@@ -65,8 +65,9 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
min-height: 100vh;
}
.box {

View File

@@ -83,7 +83,6 @@
})
},
fail: payErr => {
console.log(payErr)
if(payErr.errCode == '-100'){
uni.showToast({
title: '支付被取消',

View File

@@ -177,10 +177,11 @@
</script>
<style lang="scss" scoped>
page {
.content {
background-color: $window-color;
padding: $padding;
box-sizing: border-box;
min-height: 100vh;
}
.modular {

View File

@@ -227,7 +227,6 @@ export default {
// 喝水
drinkWater() {
drinkWater().then((res) => {
console.log(res);
this.getWaters();
});
},

View File

@@ -128,9 +128,11 @@
</script>
<style lang="scss">
page {
.content {
background-color: $window-color;
padding-bottom: $padding;
min-height: 100vh;
box-sizing: border-box;
}
/* 图片 */

View File

@@ -89,10 +89,10 @@
</script>
<style lang="scss" scoped>
page {
padding-top: calc(var(--status-bar-height) + 180rpx);
overflow: hidden;
.content {
background-color: $window-color;
min-height: 100vh;
box-sizing: border-box;
}
.status {