diff --git a/App.vue b/App.vue
index f40fb27..760453e 100644
--- a/App.vue
+++ b/App.vue
@@ -15,14 +15,14 @@
@import "uview-ui/index.scss";
/*每个页面公共css */
- // page {
- // background-color: #F4F5F7;
- // }
+ page {
+ background-color: #F4F5F7;
+ }
- // .app {
- // width: 100%;
- // height: 100%;
- // text-align: justify;
- // color: #000000;
- // }
-
+ .app {
+ width: 100%;
+ height: 100%;
+ text-align: justify;
+ color: #000000;
+ }
+
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 46cc286..72d5d66 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,8 +10,7 @@
"license": "ISC",
"dependencies": {
"uview-ui": "^1.8.8"
- },
- "devDependencies": {}
+ }
},
"node_modules/uview-ui": {
"version": "1.8.8",
diff --git a/pages.json b/pages.json
index 48983eb..43c0c9b 100644
--- a/pages.json
+++ b/pages.json
@@ -3,52 +3,73 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/index/index",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
+ {
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/myinformation/myinformation",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/myinformation/myinformation",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false,
+ "navigationStyle": "custom"
+ // "navigationBarBackgroundColor": "#4ac4ab"
+
+ // "navigationStyle": "custom"
+ }
+ },
{
"path": "pages/homepage/homepage",
"style": {
"enablePullDownRefresh": false,
- "navigationStyle": "custom"
+ "navigationBarTitleText": "工单"
}
- },
+ }
// {
- // "path": "pages/login/login",
+ // "path": "pages/index/index",
// "style": {
- // "navigationBarTitleText": "",
// "enablePullDownRefresh": false,
// "navigationStyle": "custom"
// }
- // },
- {
- "path": "pages/myinformation/myinformation",
- "style": {
- "navigationBarTitleText": "我的",
- "enablePullDownRefresh": false,
- "navigationBarBackgroundColor": "#4ac4ab"
+ // }
- // "navigationStyle": "custom"
- }
- }
- ],
+
+
+ ,{
+ "path" : "pages/Personalinfo/Personalinfo",
+ "style" :
+ {
+ "navigationBarTitleText": "个人信息",
+ "enablePullDownRefresh": false
+ }
+
+ }
+ ],
"globalStyle": {
- "navigationBarTextStyle": "black",
+ "navigationBarTextStyle": "white",
"navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#F8F8F8",
+ "navigationBarBackgroundColor": "#18CBB3",
"backgroundColor": "#F8F8F8"
+
},
"uniIdRouter": {},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#435950",
- "borderStyle": "black",
+ "borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/homepage/homepage",
@@ -56,11 +77,10 @@
"selectedIconPath": "static/homepage.png",
"text": "首页"
},
-
{
"pagePath": "pages/myinformation/myinformation",
- "iconPath": "static/myinformation.png",
- "selectedIconPath": "static/myinformations.png",
+ "iconPath": "static/myinformations.png",
+ "selectedIconPath": "static/myinformation.png",
"text": "我的"
}
]
diff --git a/pages/Personalinfo/Personalinfo.vue b/pages/Personalinfo/Personalinfo.vue
new file mode 100644
index 0000000..b224ce9
--- /dev/null
+++ b/pages/Personalinfo/Personalinfo.vue
@@ -0,0 +1,72 @@
+
+
+
+
+ 姓 名:99999
+
+
+
+
+ 性 别:99999
+
+
+
+
+ 身份证号:372926199812158850
+
+
+
+
+ 家庭住址:山东省济南市
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue
index 7cadeb5..5ae8826 100644
--- a/pages/homepage/homepage.vue
+++ b/pages/homepage/homepage.vue
@@ -1,7 +1,16 @@
-
- 111
+
+
+
+
+
+
+
+
+
@@ -10,16 +19,130 @@
export default {
data() {
return {
+ tabslist: [{
+ name: '全部工单'
+ }, {
+ name: '我的工单'
+ }, {
+ name: '已完成工单',
+ }],
+ tabscurrent: 0,
+ optionindex: 1,
+ optionname: '待处理',
+ options: [{
+ label: '待处理',
+ value: 1,
+ }, {
+ label: '已完成',
+ value: 2,
+ }],
+ query: {
+ label: '',
+ }
}
},
onLoad() {
-
+
},
methods: {
-
+ tabschange(index) {
+ this.tabscurrent = index;
+ },
+ dropitemchange(e) {
+ this.optionname = this.options.find(m => m.value === e).label
+ console.log(e)
+ },
}
}
\ No newline at end of file
diff --git a/pages/login/login.vue b/pages/login/login.vue
new file mode 100644
index 0000000..6490908
--- /dev/null
+++ b/pages/login/login.vue
@@ -0,0 +1,171 @@
+
+
+
+
+ 欢迎加入新医路
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 登录
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue
index 277cc3e..30ce16c 100644
--- a/pages/myinformation/myinformation.vue
+++ b/pages/myinformation/myinformation.vue
@@ -1,9 +1,100 @@
-
- 个人信息
-
-
+
+
+
+
+
+
+
+
+
+ 我的
+
+
+
+
+
+
+ 张三族
+
+
+
+
+
+ 个人信息
+
+
+
+
+
+
+
+ 修改手机号
+
+
+
+
+
+
+
+ 修改密码
+
+
+
+
+
+
@@ -13,8 +104,8 @@
export default {
data() {
return {
- form:{
- name:''
+ form: {
+ name: ''
}
}
},
@@ -22,6 +113,15 @@
},
methods: {
+ // 个人信息
+ personlinfo(){
+ uni.navigateTo({
+ url:'/pages/Personalinfo/Personalinfo'
+ })
+
+ },
+
+
}
}
@@ -31,15 +131,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;
+ }
+
+
}
}
\ No newline at end of file
diff --git a/static/headsculpture.png b/static/headsculpture.png
new file mode 100644
index 0000000..743d326
Binary files /dev/null and b/static/headsculpture.png differ
diff --git a/static/huijiantou.png b/static/huijiantou.png
new file mode 100644
index 0000000..b8beb97
Binary files /dev/null and b/static/huijiantou.png differ
diff --git a/static/myinformation.png b/static/myinformation.png
new file mode 100644
index 0000000..be65542
Binary files /dev/null and b/static/myinformation.png differ
diff --git a/static/myinformations.png b/static/myinformations.png
new file mode 100644
index 0000000..c75503b
Binary files /dev/null and b/static/myinformations.png differ
diff --git a/static/see.png b/static/see.png
new file mode 100644
index 0000000..c2421e8
Binary files /dev/null and b/static/see.png differ
diff --git a/static/sousuo.png b/static/sousuo.png
new file mode 100644
index 0000000..fe3d92b
Binary files /dev/null and b/static/sousuo.png differ
diff --git a/static/time.png b/static/time.png
new file mode 100644
index 0000000..d95cbad
Binary files /dev/null and b/static/time.png differ
diff --git a/static/top.png b/static/top.png
new file mode 100644
index 0000000..e58381b
Binary files /dev/null and b/static/top.png differ