调整页面样式

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

@@ -222,6 +222,7 @@
},
{
"path": "pages/pay/pay",
"name": "Pay",
"style": {
"navigationBarTitleText": "收银台",
"navigationBarBackgroundColor": "#FFFFFF"
@@ -250,8 +251,7 @@
"name": "signIndex",
"style": {
"navigationBarTitleText": "每日签到",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -259,8 +259,7 @@
"name": "menuIndex",
"style": {
"navigationBarTitleText": "食谱推荐",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -268,8 +267,7 @@
"name": "menuClassify",
"style": {
"navigationBarTitleText": "食谱推荐",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -277,8 +275,7 @@
"name": "menuDetails",
"style": {
"navigationBarTitleText": "食谱详情",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -286,8 +283,7 @@
"name": "topicIndex",
"style": {
"navigationBarTitleText": "话题广场",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -308,8 +304,7 @@
"name": "rankingIndex",
"style": {
"navigationBarTitleText": "食物排行",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -317,8 +312,7 @@
"name": "rankingList",
"style": {
"navigationBarTitleText": "食物榜单",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -326,8 +320,7 @@
"name": "rankingDetails",
"style": {
"navigationBarTitleText": "食物详情",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -335,8 +328,7 @@
"name": "noticeIndex",
"style": {
"navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -344,8 +336,7 @@
"name": "noticeList",
"style": {
"navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -353,8 +344,7 @@
"name": "noticeDetails",
"style": {
"navigationBarTitleText": "消息",
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
"navigationBarBackgroundColor": "#FFFFFF"
}
},
{
@@ -458,8 +448,7 @@
"name": "serviceIndex",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom",
"enablePullDownRefresh": false
"navigationStyle": "custom"
}
},
{

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 {