修改
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
|
||||
{
|
||||
"path": "pages/startup/startup",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/coupon/coupon",
|
||||
"style": {
|
||||
"navigationBarTitleText": "优惠卷",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/Personal/Personal",
|
||||
"style": {
|
||||
"navigationBarTitleText": "个人中心",
|
||||
@ -11,13 +24,6 @@
|
||||
"navigationBarBackgroundColor": "#ffffff",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},{
|
||||
"path": "pages/coupon/coupon",
|
||||
"style": {
|
||||
"navigationBarTitleText": "优惠卷",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/integral/integral",
|
||||
"style": {
|
||||
@ -32,12 +38,6 @@
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff" //背景颜色
|
||||
}
|
||||
}, {
|
||||
"path": "pages/startup/startup",
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/ProjectDetails/ProjectDetails",
|
||||
"style": {
|
||||
@ -308,7 +308,6 @@
|
||||
// "onReachBottomDistance": 50 //距离底部多远时触发 单位为px
|
||||
// "enablePullDownRefresh": true //设置参数为true
|
||||
}
|
||||
|
||||
}, {
|
||||
"path": "pages/Healthknowledge/Healthknowledge",
|
||||
"style": {
|
||||
@ -316,7 +315,6 @@
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
|
||||
}, {
|
||||
"path": "pages/Healthitem/Healthitem",
|
||||
"style": {
|
||||
@ -339,7 +337,6 @@
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
||||
@ -26,6 +26,24 @@
|
||||
// console.log(this.item.informationContent)
|
||||
},
|
||||
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>
|
||||
|
||||
|
||||
@ -91,6 +91,24 @@
|
||||
uni.stopPullDownRefresh();
|
||||
}, 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>
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
积分
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="item" @tap="gocoupon">
|
||||
<image src="../../static/yhj.png" mode=""></image>
|
||||
<view class="text">
|
||||
优惠卷
|
||||
@ -236,6 +236,12 @@
|
||||
url: '/pages/CommodityOrder/CommodityOrder'
|
||||
})
|
||||
},
|
||||
//优惠卷
|
||||
gocoupon() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/coupon/coupon'
|
||||
})
|
||||
},
|
||||
//积分页面
|
||||
gointegral() {
|
||||
uni.navigateTo({
|
||||
|
||||
@ -10,12 +10,52 @@
|
||||
</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>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
@ -30,6 +70,117 @@
|
||||
.app {
|
||||
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 {
|
||||
width: 100%;
|
||||
|
||||
@ -37,6 +188,7 @@
|
||||
margin: 20rpx 0 0 24rpx;
|
||||
text-align: center;
|
||||
width: 20%;
|
||||
|
||||
.text {
|
||||
width: 70%;
|
||||
margin-left: 15%;
|
||||
|
||||
@ -1,14 +1,17 @@
|
||||
<template>
|
||||
<view class="app">
|
||||
<view class="concent">
|
||||
<view class="background">
|
||||
<image src="/static/logo.png" mode=""></image>
|
||||
<view>
|
||||
<view class="detailed">
|
||||
<view>
|
||||
专病管理简介:慢性病已成为我国老年人健康的最大威胁,建立标准化的慢病专病并发症防治中心,建立规范化的导诊流程、建立慢病专病综合电子档案,对于慢病及并发症的早期发现、早期治疗,延缓并发症的发生发展,降低患者、政府经济负担具有重要现实意义。组建“金字塔”式医生服务团队,由省级知名专家全程介入慢病管理、远程会诊、绿色就医通道;基层全科医生、护师落实专家指导意见和上门随访服务;辅以营养师和运动处方师,根据筛查监测数据提供营养膳食和专属运动处方运动建议;打造“一人、一病、一处方”的管理模式。
|
||||
</view>
|
||||
</view>
|
||||
<u-tabs :list="tabList" :current="tabcurrent" @change="change"></u-tabs>
|
||||
<view class="items">
|
||||
<view class="item" @tap='godiseasemanagement'>
|
||||
<image src="../../static/zbglzbgl.png" mode=""></image>
|
||||
<view class="title">
|
||||
专病管理云社区
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<image src="../../static/lnb.png" mode=""></image>
|
||||
<view class="title">
|
||||
国家老年病中心
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -19,9 +22,27 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
tabcurrent: 0,
|
||||
tabList: [{
|
||||
name: '专病管理'
|
||||
}],
|
||||
};
|
||||
},
|
||||
onShow() {},
|
||||
onLoad() {},
|
||||
methods: {
|
||||
//跳转专病管理小程序
|
||||
godiseasemanagement() {
|
||||
uni.navigateToMiniProgram({
|
||||
appId: 'wxa690d053c34ceebd',
|
||||
path: '/pages/index/index',
|
||||
extraData: {
|
||||
'from': 'qy'
|
||||
},
|
||||
success(res) {}
|
||||
})
|
||||
},
|
||||
},
|
||||
//1.分享给朋友
|
||||
onShareAppMessage(res) {
|
||||
let pages = getCurrentPages();
|
||||
@ -45,46 +66,36 @@
|
||||
|
||||
<style lang="scss">
|
||||
.app {
|
||||
padding-top: 10rpx;
|
||||
padding: 0;
|
||||
|
||||
.concent {
|
||||
width: 701rpx;
|
||||
height: 900rpx;
|
||||
background: #4C7BC9;
|
||||
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
||||
border-radius: 20rpx;
|
||||
margin: 5% auto 20px;
|
||||
.items {
|
||||
background-color: #fff;
|
||||
width: 96%;
|
||||
margin: 20rpx auto;
|
||||
padding: 60rpx 0;
|
||||
border-radius: 5rpx;
|
||||
|
||||
.background {
|
||||
position: relative;
|
||||
width: 657rpx;
|
||||
height: 850rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 25rpx;
|
||||
background-color: white;
|
||||
margin: 0 auto;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
.item {
|
||||
width: 50%;
|
||||
display: inline-block;
|
||||
|
||||
image {
|
||||
width: 178rpx;
|
||||
height: 160rpx;
|
||||
background: #FFFFFF;
|
||||
border-radius: 25px;
|
||||
margin-left: 68%;
|
||||
margin-top: 0;
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.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>
|
||||
|
||||
@ -184,14 +184,6 @@
|
||||
},
|
||||
//专病管理
|
||||
godiseasemanagement() {
|
||||
// uni.navigateToMiniProgram({
|
||||
// appId: 'wxa690d053c34ceebd',
|
||||
// path: '/pages/index/index',
|
||||
// extraData: {
|
||||
// from: 'qy'
|
||||
// },
|
||||
// success(res) {}
|
||||
// })
|
||||
uni.navigateTo({
|
||||
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