毕设作品网 | 一个免费分享计算机毕业设计作品的网站
当前位置: 系统源码 > 微信小程序停车场收费管理系统+后台管理系统(个人中心开发)

微信小程序停车场收费管理系统+后台管理系统(个人中心开发)

2022-06-20 08:21 分类:系统源码 作者:云诺 阅读(919)

微信小程序停车场收费管理系统的个人中心页面采用了上下布局的方式,上面用于显示停车场微信小程序用的个人信息,下半部分通过列表的形式显示了会员、优惠券、绑定车牌、意见反馈等功能的入口链接,用户通过点击就能跳转到微信小程序停车场收费管理系统不同的功能界面,方便用户对停车场收费小程序的管理。下面给大家展示小程序个人中心界面开发代码。

QQ截图20220620195214.jpg

停车场收费微信小程序管理系统的个人中心页面WXML代码如下:

<!-- 头部 -->    
<view>    
<view>    
<view>    
<view>    
<block wx:if="{{!hasUserInfo}}">    
<image src="../../icon/getUserInfo.png" bindtap="getUserProfile" />    
</block>    
<block wx:else>    
<image src="{{userInfo.avatarUrl}}" mode="cover"></image>    
</block>    
</view>    
</view>    
<view>    
<view>    
<block wx:if="{{!hasUserInfo}}">    
<text bindtap="getUserProfile">点击头像登录</text>    
</block>    
<block wx:else>    
<block wx:if="{{userInfo.gender==1}}">    
<image src="../../icon/sex_boy.png"></image>    
</block>    
<block wx:else>    
<image src="../../icon/sex_gril.png" />    
</block>    
<text>{{userInfo.nickName}}</text>    
</block>    
</view>    
</view>    
</view>    
<image src='http://docfile.funkingka.cn/FqzmiFqvXbHg-cfbquNRlawHUgHt' mode='scaleToFill'></image>    
</view>    
<!-- 主体 -->    
<view>    
<view>    
<van-grid column-num="2" border="{{ false }}" gutter="{{  }}">    
<van-grid-item use-slot link-type="navigateTo" url="../member/member" bindtap="menber_url">    
<image src="../../icon/member.png"/>    
<text>会员</text>    
</van-grid-item>    
<van-grid-item use-slot link-type="navigateTo" url="../" bindtap="coupon_url">    
<image src="../../icon/coupon.png"/>    
<text>优惠券</text>    
</van-grid-item>    
<van-grid-item use-slot link-type="navigateTo" url="../bindingLicense/bindingLicense" bindtap="bangdingLicense_url">    
<image src="../../icon/bindingLicense.png"/>    
<text>绑定车牌</text>    
</van-grid-item>    
<van-grid-item use-slot link-type="navigateTo" url="../feedback/feedback" bindtap="feedback_url">    
<image src="../../icon/feedback.png"/>    
<text>意见反馈</text>    
</van-grid-item>    
</van-grid>    
</view>    
<view>    
<image src="../../images/bg.gif"></image>    
</view>    
</view>    
<van-toast id="van-toast" />

停车场收费微信小程序管理系统的个人中心页面JS代码如下:

// 授权获取用户信息    
getUserInfo(e) {    
// 不推荐使用getUserInfo获取用户信息,预计自2021年4月13日起,getUserInfo将不再弹出弹窗,并直接返回匿名的用户个人信息    
this.setData({    
userInfo: e.detail.userInfo,    
hasUserInfo: true    
})    
},    
// 会员功能    
menber_url() {    
if (this.data.hasUserInfo == false) {    
wx.getUserProfile({    
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写    
success: (res) => {    
this.setData({    
userInfo: res.userInfo,    
hasUserInfo: true    
})    
},    
fail: (res) => {    
wx.navigateBack({    
url: '../mine/mine',    
})    
toast({    
message: '请先登录再操作',    
position: 'bottom',    
duration: 1200,    
context: this,    
})    
}    
})    
}    
},    
// 优惠券功能    
coupon_url() {    
toast({    
message: '正在努力开发中!!',    
position: 'bottom',    
duration: 1200,    
context: this,    
})    
},    
// 绑定车牌号功能    
bangdingLicense_url() {    
if (this.data.hasUserInfo == false) {    
wx.getUserProfile({    
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写    
success: (res) => {    
this.setData({    
userInfo: res.userInfo,    
hasUserInfo: true    
})    
},    
fail: (res) => {    
console.log(res.data)    
wx.navigateBack({    
url: '../mine/mine',    
})    
toast({    
message: '请先登录再操作',    
position: 'bottom',    
duration: 1200,    
context: this,    
})    
}    
})    
}    
},    
// 意见反馈功能    
feedback_url() {    
if(!this.data.hasUserInfo){    
wx.getUserProfile({    
desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写    
success: (res) => {    
this.setData({    
userInfo: res.userInfo,    
hasUserInfo: true    
})    
},    
fail: (res) => {    
wx.navigateBack({    
url: '../mine/mine',    
})    
toast({    
message: '请先登录再操作',    
position: 'bottom',    
duration: 1200,    
context: this,    
})    
}    
})    
}    
},

停车场收费微信小程序管理系统的个人中心页面WXSS代码如下:

/* pages/mine/mine.wxss */    
Page {    
font-size: 14px;    
}    
.top {    
width: 100%;    
height: 417rpx;    
display: flex;    
box-sizing: border-box;    
background: #23EBB9;    
padding-top: 15px;    
position: relative;    
}    
.center {    
width: 95%;    
height: 170px;    
background: white;    
display: flex;    
flex-direction: column;    
margin: 0 auto;    
border-radius: 5px;    
}    
.center_top {    
display: flex;    
flex-direction: row;    
width: 80%;    
height: 100px;    
margin: 0 auto;    
margin-top: 20rpx;    
border-bottom: 1px solid #EEEEEE;    
}    
.center_img {    
width: 90px;    
height: 90px;    
border-radius: 50%;    
overflow: hidden;    
margin: auto;    
}    
.center_img image {    
width: 100%;    
height: 100%;    
border-radius: 50%;    
}    
.center_img .user_head {    
width: 100%;    
height: 100%;    
}    
.center_down {    
display: flex;    
flex-direction: row;    
width: 80%;    
height: 35px;    
margin: 0 auto;    
margin-top: 20rpx;    
}    
.center_rank {    
width: 100%;    
height: 35px;    
display: flex;    
flex-direction: row;    
justify-content: center;    
}    
.rank_text {    
height: 35px;    
line-height: 35px;    
margin-left: 10rpx;    
color: #AAAAAA;    
}    
.gif-wave {    
position: absolute;    
width: 100%;    
bottom: 0;    
left: 0;    
z-index: 99;    
mix-blend-mode: screen;    
height: 100rpx;    
}    
.img_sex {    
width: 30rpx;    
height: 30rpx;    
margin-top: 15rpx;    
}    
.body_img {    
width: 50rpx;    
height: 50rpx;    
}    
.body_center {    
width: 100%;    
display: flex;    
flex-direction: column;    
margin: 0 auto;    
}    
.van_grid{    
padding-left: 0%;    
padding-right: 0%;    
padding-bottom: 0%;    
}    
.van-grid-item {    
margin-top: 0rpx;    
border-radius: 5px;    
box-shadow: 0rpx 10rpx 20rpx 5rpx rgba(85, 85, 85, 0.10);    
background-color: transparent;    
}    
.bg_img{    
height: 33%;    
position: fixed;    
width: 100%;    
bottom: 0;    
}

上一篇文章介绍了微信小程序停车场收费管理系统+后台管理系统(首页开发), 界面布局的不算非常漂亮,但是也不丑了,喜欢的可以自己扫下面小程序二维码下载源码自己去美化!

 

祝生活愉快!

「一个免费分享计算机毕业设计资源的网站」

点赞(36) 下载资源

微信&QQ扫码免费下载毕业设计资源

QQ小程序
微信小程序
下载资源 1

微信&QQ扫码免费下载毕业设计资源

QQ小程序
微信小程序

相关推荐

共有 0 条评论 - 微信小程序停车场收费管理系统+后台管理系统(个人中心开发)

关于毕设作品网

本人也是计算机软件大学毕业生,经历过痛苦的毕业设计过程,从选题、开题、编码、创写论文到答辩结束,呕心沥血!目前一直在大厂从事软件开发工作,为了让学弟学妹在毕设方面少走弯路, 遂成立了这个免费资源分享网站。毕设资源网始终的宗旨是通过阅读、参考、研究、实践后完成自己的毕业设计作品。如果你需要代写毕设、代写论文可以加我v:LGY178888(请备注来意),价格低,稳定靠谱!

友情链接

欢迎大家于本站交换友链,只要网站内容充实,站点跟本站的内容相似就行啦!

站点统计

  • 文章总数:48 篇
  • 草稿数目:0 篇
  • 分类数目:14 个
  • 独立页面:58 个
  • 评论总数:0 条
  • 访问总量: 24471次
  • 最近更新:2024年04月24日