修改
This commit is contained in:
parent
8b249b4e28
commit
461fd3aa1a
29
pages.json
29
pages.json
@ -4,6 +4,19 @@
|
|||||||
},
|
},
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
{
|
{
|
||||||
|
"path": "pages/startup/startup",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/coupon/coupon",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "优惠卷",
|
||||||
|
"enablePullDownRefresh": false,
|
||||||
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
"path": "pages/Personal/Personal",
|
"path": "pages/Personal/Personal",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "个人中心",
|
"navigationBarTitleText": "个人中心",
|
||||||
@ -11,13 +24,6 @@
|
|||||||
"navigationBarBackgroundColor": "#ffffff",
|
"navigationBarBackgroundColor": "#ffffff",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},{
|
|
||||||
"path": "pages/coupon/coupon",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "优惠卷",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/integral/integral",
|
"path": "pages/integral/integral",
|
||||||
"style": {
|
"style": {
|
||||||
@ -32,12 +38,6 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#ffffff" //背景颜色
|
"navigationBarBackgroundColor": "#ffffff" //背景颜色
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
"path": "pages/startup/startup",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/ProjectDetails/ProjectDetails",
|
"path": "pages/ProjectDetails/ProjectDetails",
|
||||||
"style": {
|
"style": {
|
||||||
@ -308,7 +308,6 @@
|
|||||||
// "onReachBottomDistance": 50 //距离底部多远时触发 单位为px
|
// "onReachBottomDistance": 50 //距离底部多远时触发 单位为px
|
||||||
// "enablePullDownRefresh": true //设置参数为true
|
// "enablePullDownRefresh": true //设置参数为true
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/Healthknowledge/Healthknowledge",
|
"path": "pages/Healthknowledge/Healthknowledge",
|
||||||
"style": {
|
"style": {
|
||||||
@ -316,7 +315,6 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/Healthitem/Healthitem",
|
"path": "pages/Healthitem/Healthitem",
|
||||||
"style": {
|
"style": {
|
||||||
@ -339,7 +337,6 @@
|
|||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#ffffff"
|
"navigationBarBackgroundColor": "#ffffff"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@ -26,6 +26,24 @@
|
|||||||
// console.log(this.item.informationContent)
|
// console.log(this.item.informationContent)
|
||||||
},
|
},
|
||||||
onReady() {}, //更改导航栏文字
|
onReady() {}, //更改导航栏文字
|
||||||
|
//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>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -91,6 +91,24 @@
|
|||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
},
|
},
|
||||||
|
//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>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
积分
|
积分
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item" @tap="gocoupon">
|
||||||
<image src="../../static/yhj.png" mode=""></image>
|
<image src="../../static/yhj.png" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
优惠卷
|
优惠卷
|
||||||
@ -236,6 +236,12 @@
|
|||||||
url: '/pages/CommodityOrder/CommodityOrder'
|
url: '/pages/CommodityOrder/CommodityOrder'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//优惠卷
|
||||||
|
gocoupon() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/coupon/coupon'
|
||||||
|
})
|
||||||
|
},
|
||||||
//积分页面
|
//积分页面
|
||||||
gointegral() {
|
gointegral() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@ -10,12 +10,52 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="">
|
<view class="content">
|
||||||
|
<view class="statuss">
|
||||||
|
<view class="statusitem">
|
||||||
|
待领取
|
||||||
|
</view>
|
||||||
|
<span> |</span>
|
||||||
|
<view class="statusitem">
|
||||||
|
已使用
|
||||||
|
</view>
|
||||||
|
<span> |</span>
|
||||||
|
<view class="statusitem">
|
||||||
|
已过期
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="rollup">
|
||||||
|
<view class="item">
|
||||||
|
<view class="top">
|
||||||
|
<view class="title">
|
||||||
|
<span class="text">
|
||||||
|
¥
|
||||||
|
</span>
|
||||||
|
<span class="price">
|
||||||
|
6
|
||||||
|
</span>
|
||||||
|
</view>
|
||||||
|
<view class="what">
|
||||||
|
商品优惠卷
|
||||||
|
</view>
|
||||||
|
<view class="texts">
|
||||||
|
满60可用
|
||||||
|
</view>
|
||||||
|
<view class="time">
|
||||||
|
有效期至 2023.02.28 23:59
|
||||||
|
</view>
|
||||||
|
<view class="btn">
|
||||||
|
领取
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="bottom">
|
||||||
|
领取来源:首页新人福利
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -30,6 +70,117 @@
|
|||||||
.app {
|
.app {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
.content {
|
||||||
|
width: 96%;
|
||||||
|
margin: 20rpx auto 0;
|
||||||
|
background-color: #fff;
|
||||||
|
padding-bottom: 100rpx;
|
||||||
|
|
||||||
|
.rollup {
|
||||||
|
border-radius: 5rpx;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 94%;
|
||||||
|
height: 240rpx;
|
||||||
|
margin: 20rpx auto 0;
|
||||||
|
border: 1rpx solid #f4f5f7;
|
||||||
|
|
||||||
|
.bottom {
|
||||||
|
font-size: 22rpx;
|
||||||
|
color: #969394;
|
||||||
|
line-height: 60rpx;
|
||||||
|
padding-left: 25rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.top {
|
||||||
|
width: 100%;
|
||||||
|
height: 180rpx;
|
||||||
|
background: #FDE9E8;
|
||||||
|
position: relative;
|
||||||
|
color: #F44B2F;
|
||||||
|
|
||||||
|
.what {
|
||||||
|
width: 120rpx;
|
||||||
|
height: 40rpx;
|
||||||
|
background: #FED1D2;
|
||||||
|
border-radius: 16rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
line-height: 40rpx;
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 120rpx;
|
||||||
|
left: 40rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 98rpx;
|
||||||
|
height: 50rpx;
|
||||||
|
border: 2rpx solid #F44B2F;
|
||||||
|
border-radius: 24rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 70rpx;
|
||||||
|
right: 40rpx;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 49rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time {
|
||||||
|
font-size: 24rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 120rpx;
|
||||||
|
left: 200rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.texts {
|
||||||
|
font-size: 34rpx;
|
||||||
|
font-weight: 800;
|
||||||
|
position: absolute;
|
||||||
|
top: 44rpx;
|
||||||
|
left: 200rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
position: absolute;
|
||||||
|
top: 30rpx;
|
||||||
|
left: 50rpx;
|
||||||
|
|
||||||
|
.price {
|
||||||
|
font-size: 60rpx;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 34rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.statuss {
|
||||||
|
padding-top: 25rpx;
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #c1c1c1;
|
||||||
|
font-size: 18rpx;
|
||||||
|
line-height: 60rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.statusitem {
|
||||||
|
text-align: center;
|
||||||
|
padding: 0 40rpx;
|
||||||
|
display: inline-block;
|
||||||
|
height: 60rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #969394;
|
||||||
|
line-height: 60rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@ -37,6 +188,7 @@
|
|||||||
margin: 20rpx 0 0 24rpx;
|
margin: 20rpx 0 0 24rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 20%;
|
width: 20%;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
margin-left: 15%;
|
margin-left: 15%;
|
||||||
|
|||||||
@ -1,14 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="app">
|
<view class="app">
|
||||||
<view class="concent">
|
<u-tabs :list="tabList" :current="tabcurrent" @change="change"></u-tabs>
|
||||||
<view class="background">
|
<view class="items">
|
||||||
<image src="/static/logo.png" mode=""></image>
|
<view class="item" @tap='godiseasemanagement'>
|
||||||
<view>
|
<image src="../../static/zbglzbgl.png" mode=""></image>
|
||||||
<view class="detailed">
|
<view class="title">
|
||||||
<view>
|
专病管理云社区
|
||||||
专病管理简介:慢性病已成为我国老年人健康的最大威胁,建立标准化的慢病专病并发症防治中心,建立规范化的导诊流程、建立慢病专病综合电子档案,对于慢病及并发症的早期发现、早期治疗,延缓并发症的发生发展,降低患者、政府经济负担具有重要现实意义。组建“金字塔”式医生服务团队,由省级知名专家全程介入慢病管理、远程会诊、绿色就医通道;基层全科医生、护师落实专家指导意见和上门随访服务;辅以营养师和运动处方师,根据筛查监测数据提供营养膳食和专属运动处方运动建议;打造“一人、一病、一处方”的管理模式。
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view class="item">
|
||||||
|
<image src="../../static/lnb.png" mode=""></image>
|
||||||
|
<view class="title">
|
||||||
|
国家老年病中心
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -19,9 +22,27 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
tabcurrent: 0,
|
||||||
|
tabList: [{
|
||||||
|
name: '专病管理'
|
||||||
|
}],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onShow() {},
|
||||||
|
onLoad() {},
|
||||||
|
methods: {
|
||||||
|
//跳转专病管理小程序
|
||||||
|
godiseasemanagement() {
|
||||||
|
uni.navigateToMiniProgram({
|
||||||
|
appId: 'wxa690d053c34ceebd',
|
||||||
|
path: '/pages/index/index',
|
||||||
|
extraData: {
|
||||||
|
'from': 'qy'
|
||||||
|
},
|
||||||
|
success(res) {}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
//1.分享给朋友
|
//1.分享给朋友
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
let pages = getCurrentPages();
|
let pages = getCurrentPages();
|
||||||
@ -45,46 +66,36 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.app {
|
.app {
|
||||||
padding-top: 10rpx;
|
padding: 0;
|
||||||
|
|
||||||
.concent {
|
.items {
|
||||||
width: 701rpx;
|
background-color: #fff;
|
||||||
height: 900rpx;
|
width: 96%;
|
||||||
background: #4C7BC9;
|
margin: 20rpx auto;
|
||||||
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
padding: 60rpx 0;
|
||||||
border-radius: 20rpx;
|
border-radius: 5rpx;
|
||||||
margin: 5% auto 20px;
|
|
||||||
|
|
||||||
.background {
|
.item {
|
||||||
position: relative;
|
width: 50%;
|
||||||
width: 657rpx;
|
display: inline-block;
|
||||||
height: 850rpx;
|
|
||||||
background: #FFFFFF;
|
|
||||||
border-radius: 25rpx;
|
|
||||||
background-color: white;
|
|
||||||
margin: 0 auto;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 178rpx;
|
width: 150rpx;
|
||||||
height: 160rpx;
|
height: 150rpx;
|
||||||
background: #FFFFFF;
|
display: block;
|
||||||
border-radius: 25px;
|
margin: 0 auto;
|
||||||
margin-left: 68%;
|
}
|
||||||
margin-top: 0;
|
|
||||||
|
.title {
|
||||||
|
display: block;
|
||||||
|
margin: 20rpx auto;
|
||||||
|
width: 180rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 40rpx;
|
||||||
|
line-height: 50rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.detailed {
|
|
||||||
width: 657rpx;
|
|
||||||
padding: 0 20rpx;
|
|
||||||
line-height: 56rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailed view {
|
|
||||||
text-indent: 2em;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -184,14 +184,6 @@
|
|||||||
},
|
},
|
||||||
//专病管理
|
//专病管理
|
||||||
godiseasemanagement() {
|
godiseasemanagement() {
|
||||||
// uni.navigateToMiniProgram({
|
|
||||||
// appId: 'wxa690d053c34ceebd',
|
|
||||||
// path: '/pages/index/index',
|
|
||||||
// extraData: {
|
|
||||||
// from: 'qy'
|
|
||||||
// },
|
|
||||||
// success(res) {}
|
|
||||||
// })
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/diseasemanagement/diseasemanagement'
|
url: '/pages/diseasemanagement/diseasemanagement'
|
||||||
})
|
})
|
||||||
|
|||||||
BIN
static/lnb.png
Normal file
BIN
static/lnb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
BIN
static/zbglzbgl.png
Normal file
BIN
static/zbglzbgl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in New Issue
Block a user