一 项目说明
最近在假期没事,开发一款医疗健康APP,这款医疗健康APP东西还是挺多的,有前台 有后台管理系统,
前台可以进行 展示各个科室的医生,医生的详情,患者案例,案例详情,健康知识,知识详情,患者可以对自己喜欢的喜欢医生,进行在线预约。可以查看个人的预约记录,后台管理系统可以进行维护app的数据,可以维护 患者信息,
医生信息,案例信息,健康知识信息,预约信息等操作。东西很多。
二 项目技术
项目用的技术,使用android studio进行开发,gradle作为构建工具,jdk1.8版本的 ,mysql作为数据库的存储信息。
三 项目工具结构图
四 项目开发
在线预约功能设计:
项目的效果图:
首页:
预约信息填报:
核心代码:
//首先页面布局
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="#009a74"
android:scrollbars="vertical"
android:theme="@android:style/Theme.Light.NoTitleBar">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp_45"
android:background="@color/frag_bg"
android:id="@+id/detail_top_bar">
<ImageButton
android:id="@+id/yy_top_back"
android:layout_width="@dimen/dp_50"
android:layout_height="match_parent"
android:src="@mipmap/back_icon"
android:background="@null"
android:tint="@color/blue_edit"
tools:ignore="MissingConstraints" />
<TextView
android:id="@+id/top_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="预定填报"
android:textSize="@dimen/sp_18"
android:textColor="@color/blue_edit"
an