行为积分页面

This commit is contained in:
闫晓茹 2023-09-20 14:21:34 +08:00
parent a51ae013af
commit c639a37ade
4 changed files with 334 additions and 158 deletions

View File

@ -29,6 +29,12 @@
"subPackages": [{
"root": "pagesB",
"pages": [{
"path": "Behaviorpoints/Behaviorpoints",
"style": {
"navigationBarTitleText": "行为积分",
"enablePullDownRefresh": false
}
}, {
"path": "managefamily/managefamily",
"style": {
"navigationBarTitleText": "管理家庭成员",
@ -42,11 +48,13 @@
}
}]
}],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#26A888",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {},
"tabBar": {

View File

@ -1,173 +1,180 @@
<template>
<view class="app">
<view class="topbanner">
<view class="title">
我的
</view>
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
<image src="../../static/headsculpture.png" mode="" class="headsculpture"></image>
<view class="namesigning">
<span class="name">
张三
</span>
<view class="signing">
未签约
<view class="app">
<view class="topbanner">
<view class="title">
我的
</view>
</view>
<view class="phone">
17869283647
</view>
<view class="switch btn">
切换家庭成员
</view>
<view class="manage btn" @click="gomanagefamily">
管理家庭成员
</view>
<view class="Threecategories">
<view class="item">
<view class="number">
0
</view>
<view class="text">
行为积分
<image src="../../static/pages/userbanner.png" mode="" class="userbanner"></image>
<image src="../../static/headsculpture.png" mode="" class="headsculpture"></image>
<view class="namesigning">
<span class="name">
张三
</span>
<view class="signing">
未签约
</view>
</view>
<view class="item">
<view class="number">
0
<view class="phone">
17869283647
</view>
<view class="switch btn">
切换家庭成员
</view>
<view class="manage btn" @click="gomanagefamily">
管理家庭成员
</view>
<view class="Threecategories">
<view class="item" @tap="goBehaviorpoints">
<view class="number">
0
</view>
<view class="text" >
行为积分
</view>
</view>
<view class="text">
健康豆
<view class="item">
<view class="number">
0
</view>
<view class="text">
健康豆
</view>
</view>
<view class="item" @tap='gocoupon'>
<view class="number">
0
</view>
<view class="text">
优惠券
</view>
</view>
</view>
<view class="item" @tap='gocoupon'>
<view class="number">
0
</view>
<view class="myorder">
<view class="title">
我的订单
</view>
<view class="righttitle">
查看全部
<image src="../../static/huijiantou.png" mode=""></image>
</view>
<view class="orderStatus">
<view class="item">
<image src="../../static/pages/daifukuan.png" mode=""></image>
<view class="text">
待付款
</view>
</view>
<view class="text">
优惠券
<view class="item">
<image src="../../static/pages/daishouhuo.png" mode=""></image>
<view class="text">
待收货
</view>
</view>
<view class="item">
<image src="../../static/pages/daipingjia.png" mode=""></image>
<view class="text">
待评价
</view>
</view>
<view class="item">
<image src="../../static/pages/yiwancheng.png" mode=""></image>
<view class="text">
已完成
</view>
</view>
</view>
</view>
<view class="myorder">
<view class="title">
常用功能
</view>
<view class="orderStatus">
<view class="item">
<image src="../../static/pages/jiankangdangan.png" mode=""></image>
<view class="text">
健康档案
</view>
</view>
<view class="item">
<image src="../../static/pages/wodeyuyue.png" mode=""></image>
<view class="text">
我的预约
</view>
</view>
<view class="item">
<image src="../../static/pages/fuwupingjia.png" mode=""></image>
<view class="text">
服务评价
</view>
</view>
<view class="item"></view>
</view>
</view>
<view class="myorder titles">
<view class="title">
护理服务订单
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
专家咨询订单
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
签约信息
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
退出登录
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
</view>
<view class="myorder">
<view class="title">
我的订单
</view>
<view class="righttitle">
查看全部
<image src="../../static/huijiantou.png" mode=""></image>
</view>
<view class="orderStatus">
<view class="item">
<image src="../../static/pages/daifukuan.png" mode=""></image>
<view class="text">
待付款
</view>
</view>
<view class="item">
<image src="../../static/pages/daishouhuo.png" mode=""></image>
<view class="text">
待收货
</view>
</view>
<view class="item">
<image src="../../static/pages/daipingjia.png" mode=""></image>
<view class="text">
待评价
</view>
</view>
<view class="item">
<image src="../../static/pages/yiwancheng.png" mode=""></image>
<view class="text">
已完成
</view>
</view>
</view>
</view>
<view class="myorder">
<view class="title">
常用功能
</view>
<view class="orderStatus">
<view class="item">
<image src="../../static/pages/jiankangdangan.png" mode=""></image>
<view class="text">
健康档案
</view>
</view>
<view class="item">
<image src="../../static/pages/wodeyuyue.png" mode=""></image>
<view class="text">
我的预约
</view>
</view>
<view class="item">
<image src="../../static/pages/fuwupingjia.png" mode=""></image>
<view class="text">
服务评价
</view>
</view>
<view class="item"></view>
</view>
</view>
<view class="myorder titles">
<view class="title">
护理服务订单
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
专家咨询订单
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
签约信息
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
<view class="myorder titles">
<view class="title">
退出登录
</view>
<view class="righttitle">
<image src="../../static/huijiantou.png" mode=""></image>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
gomanagefamily() {
uni.navigateTo({
url: '/pagesB/managefamily/managefamily'
})
},
gocoupon() {
uni.navigateTo({
url: '/pagesB/coupon/coupon'
})
</template>
<script>
export default {
data() {
return {
};
},
methods: {
goBehaviorpoints(){
uni.navigateTo({
url: '/pagesB/Behaviorpoints/Behaviorpoints'
})
},
gomanagefamily() {
uni.navigateTo({
url: '/pagesB/managefamily/managefamily'
})
},
gocoupon() {
uni.navigateTo({
url: '/pagesB/coupon/coupon'
})
},
}
}
}
</script>
</script>
<style lang="scss">
@import './myinformation.scss'
</style>
<style lang="scss">
@import './myinformation.scss'
</style>

View File

@ -0,0 +1,161 @@
<template>
<view class="app">
<view class="content">
<image src="/static/pagesB/Behave .png" mode=""></image>
<view class="name">我的积分
</view>
<view class="number">1000
</view>
<view class="PointsMall">
积分商城
</view>
<view class="Exchangerecords">
兑换记录
</view>
</view>
<view class="bottomitem">
<view class="PointsRecord">
积分记录
</view>
<view class="Establishingarchives">
建立档案
</view>
<view class="integral">
+200
</view>
<view class="timeone">
2023-03-09 13:23:12
</view>
<view class="Establishingarchives">
兑换商品
</view>
<view class="integraltwo">
-2000
</view>
<view class="timeone">
2023-03-09 13:23:12
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
},
methods: {
},
}
</script>
<style lang="scss">
.app {
.bottomitem{
position: relative;
.Establishingarchives{
font-size: 30rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #333333;
line-height: 38rpx;
padding: 8px 10px 5px 18px;
}
.integraltwo{
position: absolute;
top: 72%;
right: 3%;
color: red;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.integral{
position: absolute;
top: 36%;
right: 3%;
color: #26A888;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeone{
font-size: 20rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #333333;
line-height: 38rpx;
padding: 0 10px 10px 18px;
border-bottom: 1px solid #E6E6E6;
}
.PointsRecord {
font-size: 30rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #000000;
line-height: 33rpx;
padding: 8px 10px 10px 15px;
}
}
.content {
margin: 10rpx auto;
position: relative;
image {
width: 100%;
height: 319rpx;
}
.Exchangerecords {
width: 180rpx;
height: 54rpx;
background: #FFFFFF;
border-radius: 24rpx;
position: absolute;
top: 60%;
left: 57%;
color: #26A888;
text-align: center;
line-height: 54rpx;
}
.PointsMall {
width: 180rpx;
height: 54rpx;
background: #FFFFFF;
border-radius: 24rpx;
position: absolute;
top: 60%;
left: 19%;
color: #26A888;
text-align: center;
line-height: 54rpx;
}
.number {
font-size: 56rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #FFFFFF;
line-height: 33rpx;
position: absolute;
top: 35%;
left: 40%;
text-overflow: ellipsis;
white-space: nowrap;
}
.name {
width: 119px;
height: 29px;
font-size: 30rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #FFFFFF;
position: absolute;
top: 10%;
left: 5%;
line-height: 33rpx;
}
}
}
</style>

BIN
static/pagesB/Behave .png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB