diff --git a/api/order/index.js b/api/Personal/Personal.js similarity index 55% rename from api/order/index.js rename to api/Personal/Personal.js index 7bbe944..6fe4213 100644 --- a/api/order/index.js +++ b/api/Personal/Personal.js @@ -1,4 +1,10 @@ import request from "../request.js" +export function appPersonal(patientId) { + return request({ + url: `/nurseApp/login/appPersonal?patientId=${patientId}`, + method: 'GET' + }) +} export function orderCount(patientId) { return request({ @@ -6,4 +12,3 @@ export function orderCount(patientId) { method: 'GET' }) } - diff --git a/api/user/user.js b/api/user/user.js deleted file mode 100644 index 52939d2..0000000 --- a/api/user/user.js +++ /dev/null @@ -1,7 +0,0 @@ -import request from "../request.js" -export function appPersonal(patientId) { - return request({ - url: `/nurseApp/login/appPersonal?patientId=${patientId}`, - method: 'GET' - }) -} \ No newline at end of file diff --git a/pages.json b/pages.json index 9018b31..2e4509f 100644 --- a/pages.json +++ b/pages.json @@ -4,6 +4,13 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { + "path": "pages/coupon/coupon", + "style": { + "navigationBarTitleText": "优惠卷", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { "path": "pages/Personal/Personal", "style": { "navigationBarTitleText": "个人中心", @@ -11,7 +18,21 @@ "navigationBarBackgroundColor": "#ffffff", "navigationStyle": "custom" } - },{ + }, { + "path": "pages/integral/integral", + "style": { + "navigationBarTitleText": "积分", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/modify/modify", + "style": { + "navigationBarTitleText": "修改信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + }, { "path": "pages/startup/startup", "style": { "navigationBarTitleText": "", @@ -62,13 +83,6 @@ } }, { - "path": "pages/modify/modify", - "style": { - "navigationBarTitleText": "修改信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - }, { "path": "pages/appointmenttime/appointmenttime", "style": { "navigationBarTitleText": "预约时间", @@ -96,7 +110,7 @@ "navigationBarTitleText": "医路优品", "navigationBarBackgroundColor": "#ffffff", "onReachBottomDistance": 40, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true ,//设置参数为true + "enablePullDownRefresh": true, //设置参数为true "navigationStyle": "custom" } }, { @@ -108,15 +122,6 @@ "enablePullDownRefresh": true //设置参数为true } }, - { - "path": "pages/user/user", - "style": { - "navigationBarTitleText": "个人信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 - "navigationBarTextStyle": "white" - } - }, { "path": "pages/orderDetails/orderDetails", "style": { @@ -132,7 +137,7 @@ "navigationBarBackgroundColor": "#ffffff", "enablePullDownRefresh": false } - }, + }, { "path": "pages/login/login", "style": { @@ -191,14 +196,6 @@ "enablePullDownRefresh": false } }, - { - "path": "pages/order/order", - "style": { - "navigationBarTitleText": "我的订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { "path": "pages/menttimeorder/menttimeorder", "style": { diff --git a/pages/Applforrefund/Applforrefund.vue b/pages/Applforrefund/Applforrefund.vue index 793c0e9..cd2470b 100644 --- a/pages/Applforrefund/Applforrefund.vue +++ b/pages/Applforrefund/Applforrefund.vue @@ -7,7 +7,7 @@ 退款原因 请选择 {{dictname}} - + 退款金额 ¥{{order.totalPrice}} diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue index 44a11cc..842e96e 100644 --- a/pages/CommodityDetails/CommodityDetails.vue +++ b/pages/CommodityDetails/CommodityDetails.vue @@ -19,7 +19,7 @@ {{updata.goodsAttributeName}} - + @@ -28,7 +28,7 @@ + --> @@ -40,7 +40,7 @@ · 仅工作日发货 - + diff --git a/pages/CommodityOrder/CommodityOrder.vue b/pages/CommodityOrder/CommodityOrder.vue index 46c5124..a270278 100644 --- a/pages/CommodityOrder/CommodityOrder.vue +++ b/pages/CommodityOrder/CommodityOrder.vue @@ -7,7 +7,7 @@ 店铺名称 - + 待付款 退款中 已取消 diff --git a/pages/Personal/Personal.scss b/pages/Personal/Personal.scss index 61a169b..aec3b1b 100644 --- a/pages/Personal/Personal.scss +++ b/pages/Personal/Personal.scss @@ -60,18 +60,17 @@ transform: translateX(-50%); } .orderCount { - background-color: red; - color: #FFFFFF; - border-radius: 50%; - // padding: 0 5rpx ; - line-height: 30rpx; - width: 30rpx; - height: 30rpx; - font-size: 18rpx; - // display: inline-block; + width: 38rpx; + height: 38rpx; + background: #FFFFFF; + border: 3rpx solid #DC222F; position: absolute; top: -20rpx; right: 35rpx; + font-size: 22rpx; + border-radius: 50%; + line-height: 35rpx; + color: #DC222F; } } } diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 1c10b87..9a1f709 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -23,7 +23,7 @@ 健康档案 - + 积分 @@ -53,7 +53,8 @@ {{list.waitPayCount}} - + 99+ @@ -63,7 +64,8 @@ {{list.waitReceivedGoodsCount}} - + 99+ @@ -73,7 +75,8 @@ {{list.receivedGoodsCount}} - + 99+ @@ -104,13 +107,11 @@ + + diff --git a/pages/integral/integral.vue b/pages/integral/integral.vue new file mode 100644 index 0000000..38861b1 --- /dev/null +++ b/pages/integral/integral.vue @@ -0,0 +1,282 @@ + + + + diff --git a/pages/modify/modify.scss b/pages/modify/modify.scss index ef09bc7..e44ea48 100644 --- a/pages/modify/modify.scss +++ b/pages/modify/modify.scss @@ -2,19 +2,22 @@ background-color: #F4F5F7; width: 100%; color: #000000; - padding-bottom: 50rpx; - /deep/ .u-drawer{ + padding: 15rpx 0 50rpx; + + /deep/ .u-drawer { z-index: 0 !important; } - .Agreement{ + + .Agreement { width: 100%; background-color: #F4F5F7; text-align: center; height: 1000rpx; position: absolute; - top:5%; + top: 5%; font-size: 30rpx; - .title{ + + .title { height: 100rpx; line-height: 100rpx; border-bottom: 1px solid #eeeeee; @@ -23,52 +26,58 @@ width: 100%; text-align: center; } - .scroll-Y{ - height:830rpx ; - overflow-y:scroll; + + .scroll-Y { + height: 830rpx; + overflow-y: scroll; text-align: left; text-indent: 2em; } + .cancel { - height:70rpx; + height: 70rpx; line-height: 70rpx; font-size: 32rpx; background-color: #F4F5F7; position: absolute; border-top: 1rpx solid #000000; - bottom:0; - right:0; + bottom: 0; + right: 0; width: 50%; color: #000000; } + .determine { - height:70rpx; + height: 70rpx; line-height: 70rpx; font-size: 32rpx; width: 50%; color: #F4F5F7; background: #4C7BC9; position: absolute; - bottom:0; - left:0; + bottom: 0; + left: 0; } } + .radio-content { - margin: 50rpx auto; + margin: 30rpx auto 0; width: 70%; text-align: center; font-size: 28rpx; position: relative; + .agreement { position: absolute; - top:50%; - left:20%; + top: 50%; + left: 20%; transform: translateY(-50%); color: #878987; - } + } + .radio-right { height: 100rpx; - + .radio { display: inline-block; width: 35rpx; @@ -76,57 +85,82 @@ border-radius: 70%; border: 2rpx solid #178ffb; position: absolute; - top:50%; - left:5%; + top: 50%; + left: 5%; transform: translateY(-50%); + .radio-active { width: 16rpx; height: 16rpx; border-radius: 50%; background-color: #178ffb; - position: absolute; - top:50%; - left:50%; - transform: translate(-50%,-50%); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); } } } } - .finish{ - width: 25%; - height: 68rpx; - background: #4C7BC9; - border-radius: 26rpx; + + .finish { + width: 70%; + height: 71rpx; + background: #557BC2; + border-radius: 36rpx; text-align: center; - line-height: 68rpx; + line-height: 71rpx; color: #fff; - margin-top: 50rpx; - margin-left: 65%; + margin: 30rpx auto 0; + font-size: 32rpx; } + .userinfo { width: 96%; background-color: #fff; margin: 0 auto; border-radius: 20rpx; - .disease{ + + .disease { width: 100%; margin: 0 auto; padding: 0 6% 0 3%; line-height: 80rpx; border-bottom: 1rpx solid #D8D4D4; position: relative; - view{ - display: inline-block; + + .title { + font-size: 30rpx; + display: block; + line-height: 120rpx; } + .pictureA { width: 18rpx; height: 27rpx; position: absolute; - right:30rpx; - top:50%; + right: 30rpx; + top: 50%; transform: translateY(-50%); } } + + .itemimgs { + width: 100%; + height: 400rpx; + border-bottom: 1rpx solid #D8D4D4; + position: relative; + + .picture { + width: 200rpx; + height: 200rpx; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + } + .item { width: 94%; margin: 0 auto; @@ -135,44 +169,22 @@ border-bottom: 1rpx solid #D8D4D4; position: relative; font-size: 30rpx; - .picture { - vertical-align: middle; - width: 180rpx; - height: 180rpx; - position: absolute; - top:10rpx; - right:80rpx; - } - - .pictureA { - margin-left: 3%; - width: 18rpx; - height: 27rpx; - position: absolute; - right:20rpx; - top:50%; - transform: translateY(-50%); - } + .address { position: absolute; - left:25%; - top:50%; + left: 25%; + top: 50%; width: 75%; transform: translateY(-50%); display: inline-block; height: 120rpx; line-height: 120rpx; - overflow:hidden; - text-overflow:ellipsis; - white-space:nowrap; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } - span { - display: inline-block; - line-height: 120rpx; - height: 120rpx; - width: 25%; - } + ::v-deep .u-input__input { height: 120rpx; @@ -190,8 +202,8 @@ line-height: 120rpx; width: 75%; position: absolute; - left:25%; - top:50%; + left: 25%; + top: 50%; transform: translateY(-50%); } } diff --git a/pages/modify/modify.vue b/pages/modify/modify.vue index 0780659..9f7c0cd 100644 --- a/pages/modify/modify.vue +++ b/pages/modify/modify.vue @@ -1,10 +1,9 @@