积分商城+兑换记录

This commit is contained in:
闫晓茹 2023-09-26 17:59:59 +08:00
parent 3b57655f6d
commit bdeafb272c
4 changed files with 460 additions and 271 deletions

View File

@ -61,7 +61,15 @@
], ],
"subPackages": [{ "subPackages": [{
"root": "pagesB", "root": "pagesB",
"pages": [{ "pages": [
{
"path": "PointsMall/PointsMall",
"style": {
"navigationBarTitleText": "积分商城",
"enablePullDownRefresh": false
}
},{
"path": "Behaviorpoints/Behaviorpoints", "path": "Behaviorpoints/Behaviorpoints",
"style": { "style": {
"navigationBarTitleText": "行为积分", "navigationBarTitleText": "行为积分",
@ -285,6 +293,12 @@
"navigationBarTitleText": "新人福利", "navigationBarTitleText": "新人福利",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, {
"path": "ConsultationDetails/ConsultationDetails",
"style": {
"navigationBarTitleText": "齐鲁名医",
"enablePullDownRefresh": false
}
}, { }, {
"path": "Moreoptions/Moreoptions", "path": "Moreoptions/Moreoptions",
"style": { "style": {
@ -303,32 +317,6 @@
"navigationBarTitleText": "家庭成员详情", "navigationBarTitleText": "家庭成员详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, {
"path": "consultationplatform/consultationplatform",
"style": {
"navigationBarTitleText": "问诊平台",
"enablePullDownRefresh": false
}
}
,{
"path" : "doctordetails/doctordetails",
"style" :
{
"navigationBarTitleText": "医生详情",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pagesC",
"pages": [{
"path": "login/login",
"style": {
"navigationBarTitleText": "问诊平台",
"enablePullDownRefresh": false
}
}] }]
} }
], ],

View File

@ -65,7 +65,10 @@
}) })
}, 0) }, 0)
} else { } else {
this.gologin(); uni.navigateTo({
url: '/pagesB/PointsMall/PointsMall'
})
// this.gologin();
} }
}, },
}, },

View File

@ -0,0 +1,110 @@
<template>
<view class="app">
<view class="content">
<view class="imageitem">
<image src="/static/pagesB/Behave.png" mode=""></image>
</view>
<view class="servename">
服务名称
</view>
<view class="PointsRecord">
200000
</view>
<view class="button" @tap="goexchange">
兑换
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
methods: {
goexchange() {
uni.navigateTo({
url: '/pagesB/exchangerecords/exchangerecords'
});
},
},
}
</script>
<style lang="scss">
.app {
background-color: #F7F5F5;
padding-top: 30rpx;
height: 100vh;
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: flex-start;
.content {
width: 352rpx;
height: 514rpx;
background: #fff;
width: 45%;
position: relative;
border-radius: 5rpx;
left: 18rpx;
margin: 0 0 20rpx 15rpx;
.button {
width: 100rpx;
height: 44rpx;
line-height: 44rpx;
position: absolute;
text-align: center;
font-size: 22rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #fff;
right: 3%;
bottom: 5%;
background: #26A888;
border-radius: 5rpx;
}
.PointsRecord {
// width: 83px;
// height: 19px;
font-size: 20rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #26A888;
line-height: 33rpx;
padding-left: 3%;
}
.servename {
// width: 102px;
// height: 24px;
font-size: 26rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #000000;
line-height: 33rpx;
padding-left: 3%;
}
.imageitem {
image {
width: 100%;
height: 355rpx;
background: red;
border-radius: 5rpx;
}
}
}
}
</style>

View File

@ -1,6 +1,22 @@
<template> <template>
<view class="app"> <view class="app">
<view class="content">
<view class="time">
2023-08-13 23:43:49
<span class="">
2000积分
</span>
</view>
<view class="imageitem">
<image src="../../static/pagesB/ynph.png" mode=""></image>
</view>
<view class="servename">
服务名称
</view>
<view class="servetime">
服务时间2023-12-12 08:30
</view>
</view>
</view> </view>
</template> </template>
@ -15,5 +31,77 @@
</script> </script>
<style lang="scss"> <style lang="scss">
.app {
width: 100%;
height: 100vh;
text-align: justify;
background-color: #F7F5F5;
padding: 25rpx 0 30rpx 0;
.content {
width: 90%;
height: 321rpx;
background: #FFFFFF;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 5rpx;
margin: 20rpx auto;
position: relative;
.servetime {
font-size: 28rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #959595;
line-height: 38rpx;
position: absolute;
bottom: 23%;
left: 35%;
}
.servename {
font-size: 32rpx;
font-family: Source Han Sans CN;
font-weight: 500;
color: #333333;
line-height: 38rpx;
position: absolute;
top: 38%;
left: 35%;
}
.imageitem {
position: absolute;
left: 3%;
top: 28%;
image {
width: 180rpx;
height: 180rpx;
}
}
.time {
padding: 25rpx 0 0 20rpx;
font-size: 28rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #000000;
line-height: 38rpx;
position: relative;
span {
font-size: 28rpx;
position: absolute;
font-family: Source Han Sans CN;
font-weight: 500;
color: #26A888;
line-height: 38rpx;
right: 3%;
}
}
}
}
</style> </style>