积分商城+兑换记录

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

@ -60,273 +60,261 @@
}
],
"subPackages": [{
"root": "pagesB",
"pages": [{
"path": "Behaviorpoints/Behaviorpoints",
"style": {
"navigationBarTitleText": "行为积分",
"enablePullDownRefresh": false
}
}, {
"path": "managefamily/managefamily",
"style": {
"navigationBarTitleText": "管理家庭成员",
"enablePullDownRefresh": false
}
}, {
"path": "healthybeans/healthybeans",
"style": {
"navigationBarTitleText": "健康豆",
"enablePullDownRefresh": false
}
},
{
"path": "hospitalcare/hospitalcare",
"style": {
"navigationBarTitleText": "院内陪护",
"enablePullDownRefresh": false
}
}, {
"path": "appointmenttime/appointmenttime",
"style": {
"navigationBarTitleText": "预约时间",
"enablePullDownRefresh": false
}
}, {
"path": "information/information",
"style": {
"navigationBarTitleText": "完善个人信息",
"enablePullDownRefresh": false
}
}, {
"path": "Nursingstationserviceorder/Nursingstationserviceorder",
"style": {
"navigationBarTitleText": "护理机构服务订单",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "medicine/medicine",
"style": {
"navigationBarTitleText": "齐鲁名医",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "confirmation/confirmation",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "预约时间"
}
}, {
"path": "CommodityDetails/CommodityDetails",
"style": {
"navigationBarTitleText": "商品详情",
"enablePullDownRefresh": false
}
}, {
"path": "coupon/coupon",
"style": {
"navigationBarTitleText": "优惠券",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "modify/modify",
"style": {
"navigationBarTitleText": "修改信息",
"enablePullDownRefresh": false
}
}, {
"path": "ProjectDetails/ProjectDetails",
"style": {
"navigationBarTitleText": "护理项目详情",
"enablePullDownRefresh": false
}
}, {
"path": "modifyAddress/modifyAddress",
"style": {
"navigationBarTitleText": "修改地址",
"enablePullDownRefresh": true //true
}
}, {
"path": "lookrate/lookrate",
"style": {
"navigationBarTitleText": "查看评价",
"enablePullDownRefresh": false
}
}, {
"path": "ServiceDetails/ServiceDetails",
"style": {
"navigationBarTitleText": "服务详情",
"enablePullDownRefresh": false
}
}, {
"path": "goodsorderRate/goodsorderRate",
"style": {
"navigationBarTitleText": "发表评价",
"enablePullDownRefresh": false
}
}, {
"path": "paysuccess/paysuccess",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "ratesuccess/ratesuccess",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "shopping/shopping", //
"style": {
"navigationBarTitleText": "医路优品",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "CommodityOrder/CommodityOrder",
"style": {
"navigationStyle": "custom", //
"navigationBarTitleText": "商品订单",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "orderDetails/orderDetails",
"style": {
"navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false
}
}, {
"path": "cancelorder/cancelorder",
"style": {
"navigationBarTitleText": "取消订单",
"enablePullDownRefresh": false
}
}, {
"path": "logistics/logistics",
"style": {
"navigationBarTitleText": "查看物流",
"enablePullDownRefresh": false
}
}, {
"path": "Aftersalesdetails/Aftersalesdetails",
"style": {
"navigationBarTitleText": "售后详情",
"enablePullDownRefresh": false
}
}, {
"path": "Applforrefund/Applforrefund",
"style": {
"navigationBarTitleText": "申请退款",
"enablePullDownRefresh": false
}
}, {
"path": "refundType/refundType",
"style": {
"navigationBarTitleText": "选择退款类型",
"enablePullDownRefresh": false
}
}, {
"path": "ProductList/ProductList", //
"style": {
"navigationBarTitleText": "医路优品",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "nursestation/nursestation",
"style": {
"navigationBarTitleText": "护理机构详情",
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "site/site",
"style": {
"navigationBarTitleText": "护理机构",
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "utabs/u-tabs",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "classification/classification",
"style": {
"navigationBarTitleText": "分类",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "Healthknowledge/Healthknowledge",
"style": {
"navigationBarTitleText": "健康常识",
"onReachBottomDistance": 50, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "Healthitem/Healthitem",
"style": {
"navigationBarTitleText": "健康常识",
"enablePullDownRefresh": false
}
}, {
"path": "materialbenefits/materialbenefits",
"style": {
"navigationBarTitleText": "新人福利",
"enablePullDownRefresh": false
}
}, {
"path": "Moreoptions/Moreoptions",
"style": {
"navigationBarTitleText": "护理机构",
"enablePullDownRefresh": false
}
}, {
"path": "exchangerecords/exchangerecords",
"style": {
"navigationBarTitleText": "兑换记录",
"enablePullDownRefresh": false
}
}, {
"path": "familymemberdetail/familymemberdetail",
"style": {
"navigationBarTitleText": "家庭成员详情",
"enablePullDownRefresh": false
}
}, {
"path": "consultationplatform/consultationplatform",
"style": {
"navigationBarTitleText": "问诊平台",
"enablePullDownRefresh": false
}
}
,{
"path" : "doctordetails/doctordetails",
"style" :
{
"navigationBarTitleText": "医生详情",
"enablePullDownRefresh": false
}
}
]
},
{
"root": "pagesC",
"pages": [{
"path": "login/login",
"root": "pagesB",
"pages": [
{
"path": "PointsMall/PointsMall",
"style": {
"navigationBarTitleText": "问诊平台",
"navigationBarTitleText": "积分商城",
"enablePullDownRefresh": false
}
},{
"path": "Behaviorpoints/Behaviorpoints",
"style": {
"navigationBarTitleText": "行为积分",
"enablePullDownRefresh": false
}
}, {
"path": "managefamily/managefamily",
"style": {
"navigationBarTitleText": "管理家庭成员",
"enablePullDownRefresh": false
}
}, {
"path": "healthybeans/healthybeans",
"style": {
"navigationBarTitleText": "健康豆",
"enablePullDownRefresh": false
}
},
{
"path": "hospitalcare/hospitalcare",
"style": {
"navigationBarTitleText": "院内陪护",
"enablePullDownRefresh": false
}
}, {
"path": "appointmenttime/appointmenttime",
"style": {
"navigationBarTitleText": "预约时间",
"enablePullDownRefresh": false
}
}, {
"path": "information/information",
"style": {
"navigationBarTitleText": "完善个人信息",
"enablePullDownRefresh": false
}
}, {
"path": "Nursingstationserviceorder/Nursingstationserviceorder",
"style": {
"navigationBarTitleText": "护理机构服务订单",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "medicine/medicine",
"style": {
"navigationBarTitleText": "齐鲁名医",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "confirmation/confirmation",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "预约时间"
}
}, {
"path": "CommodityDetails/CommodityDetails",
"style": {
"navigationBarTitleText": "商品详情",
"enablePullDownRefresh": false
}
}, {
"path": "coupon/coupon",
"style": {
"navigationBarTitleText": "优惠券",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "modify/modify",
"style": {
"navigationBarTitleText": "修改信息",
"enablePullDownRefresh": false
}
}, {
"path": "ProjectDetails/ProjectDetails",
"style": {
"navigationBarTitleText": "护理项目详情",
"enablePullDownRefresh": false
}
}, {
"path": "modifyAddress/modifyAddress",
"style": {
"navigationBarTitleText": "修改地址",
"enablePullDownRefresh": true //true
}
}, {
"path": "lookrate/lookrate",
"style": {
"navigationBarTitleText": "查看评价",
"enablePullDownRefresh": false
}
}, {
"path": "ServiceDetails/ServiceDetails",
"style": {
"navigationBarTitleText": "服务详情",
"enablePullDownRefresh": false
}
}, {
"path": "goodsorderRate/goodsorderRate",
"style": {
"navigationBarTitleText": "发表评价",
"enablePullDownRefresh": false
}
}, {
"path": "paysuccess/paysuccess",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "ratesuccess/ratesuccess",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}, {
"path": "shopping/shopping", //
"style": {
"navigationBarTitleText": "医路优品",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "CommodityOrder/CommodityOrder",
"style": {
"navigationStyle": "custom", //
"navigationBarTitleText": "商品订单",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "orderDetails/orderDetails",
"style": {
"navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false
}
}, {
"path": "cancelorder/cancelorder",
"style": {
"navigationBarTitleText": "取消订单",
"enablePullDownRefresh": false
}
}, {
"path": "logistics/logistics",
"style": {
"navigationBarTitleText": "查看物流",
"enablePullDownRefresh": false
}
}, {
"path": "Aftersalesdetails/Aftersalesdetails",
"style": {
"navigationBarTitleText": "售后详情",
"enablePullDownRefresh": false
}
}, {
"path": "Applforrefund/Applforrefund",
"style": {
"navigationBarTitleText": "申请退款",
"enablePullDownRefresh": false
}
}, {
"path": "refundType/refundType",
"style": {
"navigationBarTitleText": "选择退款类型",
"enablePullDownRefresh": false
}
}, {
"path": "ProductList/ProductList", //
"style": {
"navigationBarTitleText": "医路优品",
"onReachBottomDistance": 40, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "nursestation/nursestation",
"style": {
"navigationBarTitleText": "护理机构详情",
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "site/site",
"style": {
"navigationBarTitleText": "护理机构",
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "utabs/u-tabs",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "classification/classification",
"style": {
"navigationBarTitleText": "分类",
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "Healthknowledge/Healthknowledge",
"style": {
"navigationBarTitleText": "健康常识",
"onReachBottomDistance": 50, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "Healthitem/Healthitem",
"style": {
"navigationBarTitleText": "健康常识",
"enablePullDownRefresh": false
}
}, {
"path": "materialbenefits/materialbenefits",
"style": {
"navigationBarTitleText": "新人福利",
"enablePullDownRefresh": false
}
}, {
"path": "ConsultationDetails/ConsultationDetails",
"style": {
"navigationBarTitleText": "齐鲁名医",
"enablePullDownRefresh": false
}
}, {
"path": "Moreoptions/Moreoptions",
"style": {
"navigationBarTitleText": "护理机构",
"enablePullDownRefresh": false
}
}, {
"path": "exchangerecords/exchangerecords",
"style": {
"navigationBarTitleText": "兑换记录",
"enablePullDownRefresh": false
}
}, {
"path": "familymemberdetail/familymemberdetail",
"style": {
"navigationBarTitleText": "家庭成员详情",
"enablePullDownRefresh": false
}
}]
@ -371,4 +359,4 @@
}
]
}
}
}

View File

@ -65,7 +65,10 @@
})
}, 0)
} else {
this.gologin();
uni.navigateTo({
url: '/pagesB/PointsMall/PointsMall'
})
// this.gologin();
}
},
},
@ -73,4 +76,4 @@
</script>
<style lang="scss">
@import './Behaviorpoints.scss'
</style>
</style>

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>
<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>
</template>
@ -15,5 +31,77 @@
</script>
<style lang="scss">
.app {
width: 100%;
height: 100vh;
text-align: justify;
background-color: #F7F5F5;
padding: 25rpx 0 30rpx 0;
</style>
.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>