我的
35
pages.json
@ -3,8 +3,19 @@
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
{
|
||||
"path": "pages/myinformation/myinformation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
// "navigationBarBackgroundColor": "#4ac4ab"
|
||||
|
||||
// "navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"path": "pages/login/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
@ -18,7 +29,7 @@
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
}
|
||||
// {
|
||||
// "path": "pages/login/login",
|
||||
// "style": {
|
||||
@ -27,22 +38,14 @@
|
||||
// "navigationStyle": "custom"
|
||||
// }
|
||||
// },
|
||||
{
|
||||
"path": "pages/myinformation/myinformation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#4ac4ab"
|
||||
|
||||
// "navigationStyle": "custom"
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"navigationBarBackgroundColor": "#26A888",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
|
||||
},
|
||||
"uniIdRouter": {},
|
||||
"tabBar": {
|
||||
@ -59,8 +62,8 @@
|
||||
|
||||
{
|
||||
"pagePath": "pages/myinformation/myinformation",
|
||||
"iconPath": "static/myinformation.png",
|
||||
"selectedIconPath": "static/myinformations.png",
|
||||
"iconPath": "static/myinformations.png",
|
||||
"selectedIconPath": "static/myinformation.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
|
||||
173
pages/login/login.vue
Normal file
@ -0,0 +1,173 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<image src="../../static/logos.png" mode=""></image>
|
||||
<view class="text">
|
||||
欢迎加入新医路
|
||||
</view>
|
||||
<view class="body">
|
||||
<view class="login">
|
||||
<view class="logins">
|
||||
登录
|
||||
</view>
|
||||
<view class="border">
|
||||
</view>
|
||||
</view>
|
||||
<view class="name">
|
||||
<u-form :model="form" ref="uForm" label-width="110">
|
||||
<u-form-item label="用户名:"><u-input placeholder="请输入用户名" /></u-form-item>
|
||||
</u-form>
|
||||
<u-form :model="form" ref="uForm">
|
||||
<u-form-item label="密码:">
|
||||
<u-input placeholder="请输入密码" :password-icon="true" type="password"/>
|
||||
<!-- <span class="pwd">忘记密码</span> -->
|
||||
</u-form-item>
|
||||
</u-form>
|
||||
</view>
|
||||
<view class="loginsubmit">
|
||||
登录
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello',
|
||||
form: {
|
||||
name: '',
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
// onReady() {
|
||||
// this.$refs.uForm.setRules(this.rules);
|
||||
// },
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.app {
|
||||
height: 100vh;
|
||||
background-image: url(../../static/bg.png);
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
overflow: scroll;
|
||||
|
||||
.text {
|
||||
width: 235rpx;
|
||||
height: 30rpx;
|
||||
font-size: 32rpx;
|
||||
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
position: absolute;
|
||||
top: 22%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
image {
|
||||
position: absolute;
|
||||
width: 114rpx;
|
||||
height: 114rpx;
|
||||
left: 50%;
|
||||
top: 12%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.body {
|
||||
width: 100%;
|
||||
height: 70%;
|
||||
position: relative;
|
||||
top: 32%;
|
||||
overflow: scroll;
|
||||
background: #F9F9F9;
|
||||
border-radius: 30rpx 0rpx 0rpx 30rpx;
|
||||
opacity: 1;
|
||||
|
||||
.login {
|
||||
top: 31px;
|
||||
width: 36%;
|
||||
height: 49px;
|
||||
font-size: 23px;
|
||||
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
|
||||
font-weight: 500;
|
||||
color: #18CBB3;
|
||||
/* background: red; */
|
||||
position: relative;
|
||||
|
||||
.logins {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
// top: 5%;
|
||||
|
||||
}
|
||||
|
||||
.border {
|
||||
width: 30rpx;
|
||||
height: 8rpx;
|
||||
background: #18CBB3;
|
||||
border-radius: 4rpx 4rpx 4rpx 4rpx;
|
||||
opacity: 1;
|
||||
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
border: 1rpx solid #18CBB3;
|
||||
top: 65rpx;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.name {
|
||||
position: relative;
|
||||
width: 83%;
|
||||
/* background: red; */
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 9%;
|
||||
|
||||
::v-deep .u-form-item--left {
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.pwd{
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
right: 10%;
|
||||
font-size: 30rpx;
|
||||
font-family: SourceHanSansCN-Regular, SourceHanSansCN;
|
||||
font-weight: 400;
|
||||
color: #18CBB3;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.loginsubmit{
|
||||
text-align: center;
|
||||
width: 83%;
|
||||
height: 88rpx;
|
||||
line-height: 88rpx;
|
||||
background: #18CBB3;
|
||||
/* position: absolute; */
|
||||
margin: 177rpx auto;
|
||||
color: #fff;
|
||||
border-radius: 100rpx
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
@ -1,9 +1,100 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="content">
|
||||
个人信息
|
||||
<view class="title">
|
||||
|
||||
<!-- 家医 -->
|
||||
<!-- <view class="Familydoctor">
|
||||
<div class="imgs">
|
||||
<image src="../../static/top.png" mode=""></image>
|
||||
<view class="my">
|
||||
我的
|
||||
</view>
|
||||
</div>
|
||||
<view class="Familybody">
|
||||
<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 class="myorder titles">
|
||||
<view class="title">
|
||||
用户协议与隐私政策
|
||||
</view>
|
||||
<view class="righttitle">
|
||||
<image src="../../static/huijiantou.png" mode=""></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view> -->
|
||||
|
||||
|
||||
<!-- 泉医 -->
|
||||
<view class="Quanyi">
|
||||
<div class="imgs">
|
||||
<image src="../../static/top.png" mode=""></image>
|
||||
<view class="my">
|
||||
我的
|
||||
</view>
|
||||
</div>
|
||||
<image src="/static/headsculpture.png" mode="" class="headsculpture">
|
||||
</image>
|
||||
<view class="bodys">
|
||||
<view class="name">
|
||||
张三族
|
||||
</view>
|
||||
<image src="../../static/time.png" mode="" class="fist"></image>
|
||||
<image src="../../static/see.png" mode="" class="two"></image>
|
||||
<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>
|
||||
</view>
|
||||
@ -13,8 +104,8 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
form:{
|
||||
name:''
|
||||
form: {
|
||||
name: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -31,15 +122,212 @@
|
||||
.app {
|
||||
background-color: #fff;
|
||||
height: 100vh;
|
||||
.content{
|
||||
// width: 111px;
|
||||
// height: 27px;
|
||||
font-size: 28rpx;
|
||||
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
line-height: 38rpx;
|
||||
padding-left: 20rpx;
|
||||
overflow: hidden;
|
||||
|
||||
// 家医
|
||||
.Familydoctor {
|
||||
|
||||
.imgs {
|
||||
// background: red;
|
||||
// height: 335rpx;
|
||||
width: 100%;
|
||||
|
||||
image {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
// top: 0;
|
||||
}
|
||||
.my {
|
||||
padding-top: 50rpx;
|
||||
height: 150rpx;
|
||||
text-align: center;
|
||||
line-height: 120rpx;
|
||||
font-size: 34rpx;
|
||||
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.Familybody {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
|
||||
.myorder {
|
||||
position: relative;
|
||||
|
||||
.orderStatus {
|
||||
text-align: center;
|
||||
margin: 60rpx auto 30rpx;
|
||||
width: 90%;
|
||||
background: red;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.righttitle {
|
||||
font-size: 26rpx;
|
||||
color: #969494;
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 44rpx;
|
||||
|
||||
image {
|
||||
vertical-align: middle;
|
||||
padding-left: 20rpx;
|
||||
width: 13rpx;
|
||||
height: 23rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
// line-height: 38rpx;
|
||||
|
||||
margin-left: 30rpx;
|
||||
// color: #4B4B4B;
|
||||
height: 110rpx;
|
||||
/* background: red; */
|
||||
line-height: 110rpx;
|
||||
border-bottom: 1rpx solid #E6E6E6;
|
||||
width: 93%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 泉医
|
||||
.Quanyi {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
.imgs {
|
||||
width: 100%;
|
||||
|
||||
image {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.my {
|
||||
padding-top: 50rpx;
|
||||
height: 300rpx;
|
||||
text-align: center;
|
||||
line-height: 120rpx;
|
||||
font-size: 34rpx;
|
||||
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
|
||||
font-weight: 500;
|
||||
color: #FFFFFF;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.bodys {
|
||||
width: 750rpx;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: #FFFFFF;
|
||||
border-radius: 12px;
|
||||
opacity: 1;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
.name {
|
||||
height: 38rpx;
|
||||
font-size: 32rpx;
|
||||
font-family: SourceHanSansCN-Medium, SourceHanSansCN;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
line-height: 38rpx;
|
||||
position: absolute;
|
||||
top: 7%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.fist {
|
||||
position: relative;
|
||||
width: 96%;
|
||||
height: 117rpx;
|
||||
left: 50%;
|
||||
top: 13%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.two {
|
||||
width: 168rpx;
|
||||
height: 54rpx;
|
||||
position: relative;
|
||||
left: 72%;
|
||||
top: 7%;
|
||||
}
|
||||
.myorder {
|
||||
position: relative;
|
||||
top: 10%;
|
||||
.orderStatus {
|
||||
text-align: center;
|
||||
margin: 60rpx auto 30rpx;
|
||||
width: 90%;
|
||||
background: red;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
padding-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.righttitle {
|
||||
font-size: 26rpx;
|
||||
color: #969494;
|
||||
position: absolute;
|
||||
right: 30rpx;
|
||||
top: 44rpx;
|
||||
|
||||
image {
|
||||
vertical-align: middle;
|
||||
padding-left: 20rpx;
|
||||
width: 13rpx;
|
||||
height: 23rpx;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 28rpx;
|
||||
font-family: SourceHanSansSC-Medium, SourceHanSansSC;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
margin-left: 30rpx;
|
||||
height: 110rpx;
|
||||
line-height: 110rpx;
|
||||
border-bottom: 1rpx solid #E6E6E6;
|
||||
width: 93%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.headsculpture {
|
||||
position: absolute;
|
||||
top: 13%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
static/headsculpture.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
static/huijiantou.png
Normal file
|
After Width: | Height: | Size: 316 B |
BIN
static/myinformation.png
Normal file
|
After Width: | Height: | Size: 807 B |
BIN
static/myinformations.png
Normal file
|
After Width: | Height: | Size: 717 B |
BIN
static/see.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
static/time.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
static/top.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |