diff --git a/api/baseurl.js b/api/baseurl.js index 4844319..dcfa9cc 100644 --- a/api/baseurl.js +++ b/api/baseurl.js @@ -1,4 +1,4 @@ -var baseurl = "http://192.168.16.30:8080"; -// var baseurl = "http://192.168.16.48:8081"; +// var baseurl = "http://192.168.16.30:8080"; +var baseurl = "http://192.168.16.49:8081"; // var baseurl = "http://192.168.16.76:8080"; export default baseurl diff --git a/manifest.json b/manifest.json index 455cb58..3f7f71d 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,8 @@ }, /* 模块配置 */ "modules" : { - "Geolocation" : {} + "Geolocation" : {}, + "Maps" : {} }, /* 应用发布信息 */ "distribute" : { @@ -37,6 +38,7 @@ "", "", "", + "", "", "", "", @@ -50,14 +52,30 @@ "ios" : {}, /* SDK配置 */ "sdkConfigs" : { - "maps" : {}, + "maps" : { + "amap" : { + "appkey_ios" : "", + "appkey_android" : "b38c6aa0cb9a6323f48b05ea6462aed5" + } + }, "geolocation" : { "system" : { "__platform__" : [ "android" ] + }, + "amap" : { + "__platform__" : [ "android" ], + "appkey_ios" : "", + "appkey_android" : "b38c6aa0cb9a6323f48b05ea6462aed5" } }, "push" : {}, - "payment" : {} + "payment" : { + "weixin" : { + "__platform__" : [ "android" ], + "appid" : "", + "UniversalLinks" : "" + } + } }, "splashscreen" : { "androidStyle" : "default", @@ -67,6 +85,38 @@ "xhdpi" : "static/xhdpi.png" }, "useOriginalMsgbox" : true + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } } } }, diff --git a/pages.json b/pages.json index 265a395..798bf4d 100644 --- a/pages.json +++ b/pages.json @@ -4,154 +4,61 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/order/order", - "style": { - "navigationBarTitleText": "我的订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - },{ - "path": "pages/CommodityOrder/CommodityOrder", - "style": { - "navigationBarTitleText": "商品订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, - { - "path" : "pages/orderDetails/orderDetails", - "style" : - { - "navigationBarTitleText": "订单详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - },{ - "path": "pages/refundType/refundType", - "style": { - "navigationBarTitleText": "选择退款类型", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/After sales details/After sales details", - "style": { - "navigationBarTitleText": "售后详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", - "style": { - "navigationBarTitleText": "护理站服务订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, - { - "path": "pages/tobePaid/tobePaid", - "style": { - "navigationBarTitleText": "待付款", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/Completed/Completed", - "style": { - "navigationBarTitleText": "已完成", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/received/received", - "style": { - "navigationBarTitleText": "待收货", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/Applforrefund/Applforrefund", - "style": { - "navigationBarTitleText": "申请退款", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/modify/modify", - "style": { - "navigationBarTitleText": "修改信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - - }, { - "path": "pages/Personal Center/Personal Center", - "style": { - "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": false - - } - - }, { - "path": "pages/personal information/personal information", - "style": { - "navigationBarTitleText": "个人信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#4C7BC9", - "navigationBarTextStyle": "white" - } - - }, { - "path": "pages/confirmOrder/confirmOrder", - "style": { - "navigationBarTitleText": "确认订单", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 - "navigationBarTextStyle": "white" - - } - }, { - "path": "pages/shopping/shopping", //商城 - "style": { - "navigationBarTitleText": "医路优品", - "navigationBarBackgroundColor": "#ffffff", - "onReachBottomDistance": 20, //距离底部多远时触发 单位为px - "enablePullDownRefresh": true //设置参数为true - } - }, { - "path": "pages/user/user", - "style": { - "navigationBarTitleText": "个人信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 - "navigationBarTextStyle": "white" - - } - }, - { - "path": "pages/Personal/Personal", - "style": { - "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { "path": "pages/homepage/homepage", "style": { "navigationBarTitleText": "泉医到家", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } + }, { + "path": "pages/register/register", + "style": { + "navigationBarTitleText": "注册账号", + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + // "enablePullDownRefresh": false + } + }, + { + "path": "pages/cancelorder/cancelorder", + "style": { + "navigationBarTitleText": "取消订单", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + }, + { + "path": "pages/ServiceDetails/ServiceDetails", + "style": { + "navigationBarTitleText": "服务详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + + } + }, + { + "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", + "style": { + "navigationBarTitleText": "护理站服务订单", + "navigationBarBackgroundColor": "#ffffff", //背景颜色 + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + + } + }, + { + "path": "pages/modify/modify", + "style": { + "navigationBarTitleText": "修改信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + + } }, { "path": "pages/information/information", "style": { @@ -159,7 +66,101 @@ "navigationBarBackgroundColor": "#ffffff", //背景颜色 "enablePullDownRefresh": false } + }, { + "path": "pages/startup/startup", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { + "path": "pages/Personal/Personal", + "style": { + "navigationBarTitleText": "个人中心", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/CommodityOrder/CommodityOrder", + "style": { + "navigationBarTitleText": "商品订单", + "navigationBarBackgroundColor": "#ffffff", + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "pages/logistics/logistics", + "style": { + "navigationBarTitleText": "查看物流", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/user/user", + "style": { + "navigationBarTitleText": "个人信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 + "navigationBarTextStyle": "white" + } }, + + { + "path": "pages/Aftersalesdetails/Aftersalesdetails", + "style": { + "navigationBarTitleText": "售后详情", + "navigationBarBackgroundColor": "#ffffff", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/Applforrefund/Applforrefund", + "style": { + "navigationBarTitleText": "申请退款", + "navigationBarBackgroundColor": "#ffffff", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/refundType/refundType", + "style": { + "navigationBarTitleText": "选择退款类型", + "navigationBarBackgroundColor": "#ffffff", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/orderDetails/orderDetails", + "style": { + "navigationBarTitleText": "订单详情", + "navigationBarBackgroundColor": "#ffffff", + "enablePullDownRefresh": false + } + }, { + "path": "pages/order/order", + "style": { + "navigationBarTitleText": "我的订单", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, + { + "path": "pages/shopping/shopping", //商城 + "style": { + "navigationBarTitleText": "医路优品", + "navigationBarBackgroundColor": "#ffffff", + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + }, { + "path": "pages/confirmOrder/confirmOrder", + "style": { + "navigationBarTitleText": "确认订单", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#4C7BC9", //背景颜色 + "navigationBarTextStyle": "white" + } + }, + { "path": "pages/disease/disease", "style": { @@ -189,25 +190,6 @@ "navigationBarBackgroundColor": "#ffffff", //背景颜色 "enablePullDownRefresh": false } - }, { - "path": "pages/startup/startup", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, { - "path": "pages/login/login", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - // "enablePullDownRefresh": false - } - }, { - "path": "pages/register/register", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } }, { "path": "pages/ProductList/ProductList", //商品列表 @@ -229,8 +211,9 @@ "path": "pages/nursestation/nursestation", "style": { "navigationBarTitleText": "护理站详情", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" + "navigationBarBackgroundColor": "#ffffff", + "onReachBottomDistance": 100, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true } }, { @@ -273,16 +256,6 @@ "navigationBarBackgroundColor": "#ffffff" } } - - , { - "path": "pages/Service Details/Service Details", - "style": { - "navigationBarTitleText": "服务详情", - "enablePullDownRefresh": false - } - - } - ], "globalStyle": { "navigationBarTextStyle": "black", @@ -301,7 +274,6 @@ "iconPath": "static/homepagew.png", "selectedIconPath": "static/homepagews.png", "text": "首页" - }, { "pagePath": "pages/Personal/Personal", @@ -310,25 +282,5 @@ "text": "个人中心" } ] - }, - "tabBar": { - "color": "#7A7E83", - "selectedColor": "#435950", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/Personal Center/Personal Center", - "iconPath": "static/homepagew.png", - "selectedIconPath": "static/homepagews.png", - "text": "首页" - - }, - { - "pagePath": "", - "iconPath": "static/userw.png", - "selectedIconPath": "static/users.png", - "text": "我的" - } - ] } } diff --git a/pages/CommodityOrder/CommodityOrder.scss b/pages/CommodityOrder/CommodityOrder.scss index bca29c7..8558bb9 100644 --- a/pages/CommodityOrder/CommodityOrder.scss +++ b/pages/CommodityOrder/CommodityOrder.scss @@ -1,9 +1,8 @@ .app { - background-color: #F4F5F7; width: 100%; height: 100vh; padding: 3%; - + background-image: linear-gradient(to bottom, #F4F5F7, #ffffff); .submits { width: 501rpx; height: 71rpx; diff --git a/pages/CommodityOrder/CommodityOrder.vue b/pages/CommodityOrder/CommodityOrder.vue index 273fb9b..529a6e8 100644 --- a/pages/CommodityOrder/CommodityOrder.vue +++ b/pages/CommodityOrder/CommodityOrder.vue @@ -12,7 +12,7 @@ 已取消 待收货 已完成 - + 待发货 退款成功 待退货 退款成功 @@ -39,7 +39,7 @@ 查看物流 - + 去支付 确认收货 @@ -112,6 +112,7 @@ }, //确认收货 Receipt(item) { + console.log(item) this.img = item.attributePitureUrl this.show = true }, @@ -127,7 +128,6 @@ }); }, onLoad(options) { //开局调用 - console.log(options) if (options.orderStatus) { this.orderStatus = options.orderStatus if(options.orderStatus=='WAIT_PAY'){ diff --git a/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss b/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss new file mode 100644 index 0000000..60e10cd --- /dev/null +++ b/pages/Nursingstationserviceorder/Nursingstationserviceorder.scss @@ -0,0 +1,88 @@ +.app { + padding: 2%; + height: 100vh; + background-image: linear-gradient(to bottom, #F4F5F7, #ffffff); + + .item { + width: 99%; + background: #FFFFFF; + box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + padding: 0 0 20rpx 0; + margin: 20rpx auto; + + .name { + width: 95%; + height: 90rpx; + font-size: 30rpx; + color: #969394; + line-height: 90rpx; + border-bottom: 1rpx solid #D8D4D4; + margin: 0 auto; + + span { + color: #4C7BC9; + float: right; + } + + image { + width: 15rpx; + height: 23rpx; + padding-left: 25rpx; + } + } + + + .detailslist { + display: flex; + + image { + width: 182rpx; + height: 182rpx; + margin: 20rpx 0 0 20rpx; + } + + .model { + width: 70%; + margin: 30rpx 0 0 20rpx; + + span { + font-size: 34rpx; + color: #000000; + } + + span:nth-child(1) { + display: inline-block; + width: 70%; + } + + span:nth-child(2) { + color: #969394; + float: right; + margin-right: 30rpx; + } + + .bottom { + margin-top: 40rpx; + + span { + font-size: 32rpx; + color: #969394; + } + } + } + } + + .submit { + width: 25%; + height: 68rpx; + line-height: 68rpx; + background: #4C7BC9; + border-radius: 26rpx; + text-align: center; + font-size: 32rpx; + color: #FFFFFF; + margin-left: 70%; + } + } + } \ No newline at end of file diff --git a/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue b/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue index 70ea842..a28f0de 100644 --- a/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue +++ b/pages/Nursingstationserviceorder/Nursingstationserviceorder.vue @@ -1,29 +1,37 @@ @@ -107,16 +106,15 @@ methods: { //将信息携带至订单页面 goorder(item) { - if(this.url=="appointmenttime"){ + if (this.url == "appointmenttime") { uni.navigateTo({ url: `/pages/appointmenttime/appointmenttime?updata=${JSON.stringify(this.updata)}&useritem=${JSON.stringify(item)}` }) - }else{ + } else { uni.navigateTo({ url: `/pages/confirmOrder/confirmOrder?updata=${JSON.stringify(this.updata)}&useritem=${JSON.stringify(item)}` }) } - }, // 查询地址信息 goodsList() { @@ -128,9 +126,7 @@ that.infolist.patientId = res.data goodPatientInfo(that.patientId).then(res => { res.data.forEach(e => { - e.address = e.sysAreaVOList[0].provinceName + e.sysAreaVOList[ - 0].cityName + e - .sysAreaVOList[0].regionName + e.sysAreaVOList[0] + e.address = e.provinceName + e.cityName + e.regionName + e .streetName + e.receiveAddress }) that.goodPatient = res.data @@ -192,7 +188,6 @@ this.isedit = true this.show = true }, - // 删除 del(item) { let that = this diff --git a/pages/nursestation/nursestation.scss b/pages/nursestation/nursestation.scss index 34d3c1c..af6dc51 100644 --- a/pages/nursestation/nursestation.scss +++ b/pages/nursestation/nursestation.scss @@ -1,3 +1,8 @@ + .app{ + height: 100vh; + padding:0; + background-image: linear-gradient(to bottom, #F4F5F7, #ffffff); + } .mask { .information { width: 70%; @@ -44,16 +49,16 @@ } } -.app { +.content { font-size: 36rpx; - padding:10rpx 0 300rpx 0; + padding-bottom: 10rpx; .tive { width: 94%; background-color: #ffffff; margin: 0 auto; margin-top: 20rpx; border-radius: 11px; - padding-bottom: 60rpx; + // padding-bottom: 60rpx; .item { width: 100%; height: 100%; diff --git a/pages/nursestation/nursestation.vue b/pages/nursestation/nursestation.vue index ff5c8ef..a4d9198 100644 --- a/pages/nursestation/nursestation.vue +++ b/pages/nursestation/nursestation.vue @@ -1,6 +1,6 @@