修改
This commit is contained in:
parent
5078dda627
commit
cbeeea455f
@ -1,3 +1,3 @@
|
|||||||
// var baseurl = "https://quanyidaojia.xinelu.cn";
|
// var baseurl = "https://quanyidaojia.xinelu.cn";
|
||||||
var baseurl = "http://192.168.16.76:8080";
|
var baseurl = "http://192.168.16.48:8081";
|
||||||
export default baseurl
|
export default baseurl
|
||||||
508
pages.json
508
pages.json
@ -9,7 +9,7 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},{
|
}, {
|
||||||
"path": "pages/startup/startup",
|
"path": "pages/startup/startup",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/message/message",
|
"path": "pages/message/message",
|
||||||
"style": {
|
"style": {
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
@ -60,253 +60,269 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [{
|
"subPackages": [{
|
||||||
"root": "pagesB",
|
"root": "pagesB",
|
||||||
"pages": [{
|
"pages": [{
|
||||||
"path": "Behaviorpoints/Behaviorpoints",
|
"path": "Behaviorpoints/Behaviorpoints",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "行为积分",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "managefamily/managefamily",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "管理家庭成员",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "healthybeans/healthybeans",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "健康豆",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "hospitalcare/hospitalcare",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "院内陪护",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "appointmenttime/appointmenttime",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "预约时间",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "information/information",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "完善个人信息",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Nursingstationserviceorder/Nursingstationserviceorder",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "护理机构服务订单",
|
||||||
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "medicine/medicine",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "齐鲁名医",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"disableScroll": true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "confirmation/confirmation",
|
||||||
|
"style": {
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationBarTitleText": "预约时间"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "CommodityDetails/CommodityDetails",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "商品详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "coupon/coupon",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "优惠券",
|
||||||
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "modify/modify",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "修改信息",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "ProjectDetails/ProjectDetails",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "护理项目详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "modifyAddress/modifyAddress",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "修改地址",
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "lookrate/lookrate",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "查看评价",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "ServiceDetails/ServiceDetails",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "服务详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "goodsorderRate/goodsorderRate",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "发表评价",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "paysuccess/paysuccess",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "ratesuccess/ratesuccess",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "shopping/shopping", //商城
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "医路优品",
|
||||||
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "CommodityOrder/CommodityOrder",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom", // 隐藏系统导航栏
|
||||||
|
"navigationBarTitleText": "商品订单",
|
||||||
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "orderDetails/orderDetails",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "订单详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "cancelorder/cancelorder",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "取消订单",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "logistics/logistics",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "查看物流",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Aftersalesdetails/Aftersalesdetails",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "售后详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Applforrefund/Applforrefund",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "申请退款",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "refundType/refundType",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "选择退款类型",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "ProductList/ProductList", //商品列表
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "医路优品",
|
||||||
|
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "nursestation/nursestation",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "护理机构详情",
|
||||||
|
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "site/site",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "护理机构",
|
||||||
|
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "utabs/u-tabs",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "classification/classification",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "分类",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"disableScroll": true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Healthknowledge/Healthknowledge",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "健康常识",
|
||||||
|
"onReachBottomDistance": 50, //距离底部多远时触发 单位为px
|
||||||
|
"enablePullDownRefresh": true //设置参数为true
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Healthitem/Healthitem",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "健康常识",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "materialbenefits/materialbenefits",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "新人福利",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "Moreoptions/Moreoptions",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "护理机构",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "exchangerecords/exchangerecords",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "兑换记录",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "familymemberdetail/familymemberdetail",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "家庭成员详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "consultationplatform/consultationplatform",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "问诊平台",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"root": "pagesC",
|
||||||
|
"pages": [{
|
||||||
|
"path": "login/login",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "行为积分",
|
"navigationBarTitleText": "问诊平台",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
}, {
|
}]
|
||||||
"path": "managefamily/managefamily",
|
}
|
||||||
"style": {
|
],
|
||||||
"navigationBarTitleText": "管理家庭成员",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "healthybeans/healthybeans",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "健康豆",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "hospitalcare/hospitalcare",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "院内陪护",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "appointmenttime/appointmenttime",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "预约时间",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "information/information",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "完善个人信息",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Nursingstationserviceorder/Nursingstationserviceorder",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "护理机构服务订单",
|
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "medicine/medicine",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "齐鲁名医",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"disableScroll": true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "confirmation/confirmation",
|
|
||||||
"style": {
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationBarTitleText": "预约时间"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "CommodityDetails/CommodityDetails",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "商品详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "coupon/coupon",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "优惠券",
|
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "modify/modify",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "修改信息",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "ProjectDetails/ProjectDetails",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "护理项目详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "modifyAddress/modifyAddress",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "修改地址",
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "lookrate/lookrate",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "查看评价",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "ServiceDetails/ServiceDetails",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "服务详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "goodsorderRate/goodsorderRate",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "发表评价",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "paysuccess/paysuccess",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "ratesuccess/ratesuccess",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "shopping/shopping", //商城
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "医路优品",
|
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "CommodityOrder/CommodityOrder",
|
|
||||||
"style": {
|
|
||||||
"navigationStyle": "custom", // 隐藏系统导航栏
|
|
||||||
"navigationBarTitleText": "商品订单",
|
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "orderDetails/orderDetails",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "订单详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "cancelorder/cancelorder",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "取消订单",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "logistics/logistics",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "查看物流",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Aftersalesdetails/Aftersalesdetails",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "售后详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Applforrefund/Applforrefund",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "申请退款",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "refundType/refundType",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "选择退款类型",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "ProductList/ProductList", //商品列表
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "医路优品",
|
|
||||||
"onReachBottomDistance": 40, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "nursestation/nursestation",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "护理机构详情",
|
|
||||||
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "site/site",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "护理机构",
|
|
||||||
"onReachBottomDistance": 100, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "utabs/u-tabs",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "classification/classification",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "分类",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"disableScroll": true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Healthknowledge/Healthknowledge",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "健康常识",
|
|
||||||
"onReachBottomDistance": 50, //距离底部多远时触发 单位为px
|
|
||||||
"enablePullDownRefresh": true //设置参数为true
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Healthitem/Healthitem",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "健康常识",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "materialbenefits/materialbenefits",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "新人福利",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "Moreoptions/Moreoptions",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "护理机构",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "exchangerecords/exchangerecords",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "兑换记录",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
"path": "familymemberdetail/familymemberdetail",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "家庭成员详情",
|
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarTitleText": "",
|
"navigationBarTitleText": "",
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="topbar">
|
<view class="topbar">
|
||||||
<image src="../../static/pages/wenzhenpingtai.png" mode=""></image>
|
<image src="../../static/pages/wenzhenpingtai.png" mode="" @tap="goconsultationplatform"></image>
|
||||||
<image src="../../static/pages/hulifuwu.png" mode="" @tap="gosite"></image>
|
<image src="../../static/pages/hulifuwu.png" mode="" @tap="gosite"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
@ -119,6 +119,12 @@
|
|||||||
})
|
})
|
||||||
}, 0)
|
}, 0)
|
||||||
},
|
},
|
||||||
|
//问诊平台
|
||||||
|
goconsultationplatform() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/consultationplatform/consultationplatform',
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
|
|||||||
118
pagesB/consultationplatform/consultationplatform.vue
Normal file
118
pagesB/consultationplatform/consultationplatform.vue
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<template>
|
||||||
|
<view class="app">
|
||||||
|
<image src="../../static/pages/wenzhenbanner.png" mode="" class="banner"></image>
|
||||||
|
<view class="card">
|
||||||
|
<view class="topbar">
|
||||||
|
<view class="item">
|
||||||
|
<image src="../../static/pagesB/tuwen.png" mode=""></image>
|
||||||
|
<view class="text">
|
||||||
|
图文问诊
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="../../static/pagesB/zhuanjia.png" mode=""></image>
|
||||||
|
<view class="text">
|
||||||
|
专家问诊
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="title">
|
||||||
|
专家信息栏
|
||||||
|
</view>
|
||||||
|
<u-tabs :list="tabList" :current="tabcurrent" @change="tabchange" active-color='#26A888'></u-tabs>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tabcurrent: 0,
|
||||||
|
tabList: [{
|
||||||
|
name: '健康常识'
|
||||||
|
}],
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
tabchange() {},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
page {
|
||||||
|
background-color: #F4F5F7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app {
|
||||||
|
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background-color: #fff;
|
||||||
|
width: 94%;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding-top: 35rpx;
|
||||||
|
|
||||||
|
::v-deep .u-tabs {
|
||||||
|
padding-top: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
width: 94%;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-bottom: 2rpx solid #CDC9C9;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #000000;
|
||||||
|
margin-top: 40rpx;
|
||||||
|
padding-bottom: 30rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.topbar {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 46%;
|
||||||
|
height: 180rpx;
|
||||||
|
background: #26A888;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.text {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 40%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 20%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: 48rpx;
|
||||||
|
height: 41rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.item:nth-child(2) {
|
||||||
|
background: #FFA115;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.banner {
|
||||||
|
display: block;
|
||||||
|
width: 94%;
|
||||||
|
height: 350rpx;
|
||||||
|
margin: 20rpx auto 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
36
pagesC/login/login.scss
Normal file
36
pagesC/login/login.scss
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
.app {
|
||||||
|
font-family: DengXian;
|
||||||
|
color: #C3C1C1;
|
||||||
|
font-weight: 400;
|
||||||
|
height:100vh;
|
||||||
|
background-color: #ffffff;
|
||||||
|
.text{
|
||||||
|
position: absolute;
|
||||||
|
top:37%;
|
||||||
|
left:50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
padding-top: 30rpx;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
image{
|
||||||
|
position: absolute;
|
||||||
|
top:20%;
|
||||||
|
left:50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 240rpx;
|
||||||
|
height: 240rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loginbtn{
|
||||||
|
width: 90%;
|
||||||
|
position: absolute;
|
||||||
|
top:55%;
|
||||||
|
left:5%;
|
||||||
|
background-color: #26A888;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
112
pagesC/login/login.vue
Normal file
112
pagesC/login/login.vue
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
<template>
|
||||||
|
<view class="app">
|
||||||
|
<image src="../../static/logo.png" mode=""></image>
|
||||||
|
<!-- <view class="text">
|
||||||
|
新医路健康服务平台
|
||||||
|
</view> -->
|
||||||
|
<button class="loginbtn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumberp">手机号快捷登录</button>
|
||||||
|
<u-toast ref="uToast" />
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
appLoginpwd,
|
||||||
|
getWeChatUser,
|
||||||
|
} from '../../api/pages/login/index.js'
|
||||||
|
import {
|
||||||
|
createMobileToken
|
||||||
|
} from '@/api/pages/login/index.js'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
phonecode: undefined,
|
||||||
|
logincode: undefined,
|
||||||
|
timer: undefined,
|
||||||
|
scenenurseStationId: undefined
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
this.phonecode = undefined
|
||||||
|
this.logincode = undefined
|
||||||
|
this.scenenurseStationId = uni.getStorageSync('scenenurseStationId');
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getPhoneNumberp(val) {
|
||||||
|
let that = this;
|
||||||
|
if (val.detail.code) {
|
||||||
|
that.phonecode = val.detail.code
|
||||||
|
wx.login({
|
||||||
|
provider: 'weixin',
|
||||||
|
success: function(loginRes) {
|
||||||
|
that.logincode = loginRes.code
|
||||||
|
that.pwdlogin();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
login() {
|
||||||
|
getWeChatUser(this.logincode, this.phonecode).then(res => {
|
||||||
|
if (res.code == 200) {
|
||||||
|
uni.setStorageSync("openid", res.data.openid)
|
||||||
|
uni.setStorageSync("patientId", res.data.id)
|
||||||
|
uni.setStorageSync("phone", res.data.phone)
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '登录成功',
|
||||||
|
type: 'success',
|
||||||
|
duration: '1500'
|
||||||
|
})
|
||||||
|
this.phonecode = undefined
|
||||||
|
this.logincode = undefined
|
||||||
|
uni.setStorageSync("Refresh", 'Refresh')
|
||||||
|
if (this.timer) {
|
||||||
|
clearTimeout(this.timer)
|
||||||
|
}
|
||||||
|
this.timer = setTimeout(e => {
|
||||||
|
uni.navigateBack({
|
||||||
|
delta: 1
|
||||||
|
})
|
||||||
|
}, 500)
|
||||||
|
} else {
|
||||||
|
this.$refs.uToast.show({
|
||||||
|
title: '登录失败',
|
||||||
|
type: 'error',
|
||||||
|
duration: '1500'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
pwdlogin() {
|
||||||
|
var that = this
|
||||||
|
uni.clearStorageSync();
|
||||||
|
createMobileToken().then(res => {
|
||||||
|
uni.setStorageSync("token", res.data.token)
|
||||||
|
if (this.scenenurseStationId) {
|
||||||
|
uni.setStorageSync("scenenurseStationId", this.scenenurseStationId)
|
||||||
|
}
|
||||||
|
that.login()
|
||||||
|
})
|
||||||
|
},
|
||||||
|
}, //1.分享给朋友
|
||||||
|
onShareAppMessage(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '新医路健康服务平台',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
//2.分享到朋友圈
|
||||||
|
onShareTimeline(res) {
|
||||||
|
let pages = getCurrentPages();
|
||||||
|
let url = pages[pages.length - 1].$page.fullPath
|
||||||
|
return {
|
||||||
|
title: '新医路健康服务平台',
|
||||||
|
path: url,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
@import "./login.scss";
|
||||||
|
</style>
|
||||||
BIN
static/pages/wenzhenbanner.png
Normal file
BIN
static/pages/wenzhenbanner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
BIN
static/pagesB/tuwen.png
Normal file
BIN
static/pagesB/tuwen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
static/pagesB/zhuanjia.png
Normal file
BIN
static/pagesB/zhuanjia.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in New Issue
Block a user