This commit is contained in:
曹辉 2023-02-24 15:45:25 +08:00
parent 8b249b4e28
commit 461fd3aa1a
9 changed files with 265 additions and 71 deletions

View File

@ -4,6 +4,19 @@
},
"pages": [ //pageshttps://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": {

View File

@ -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>

View File

@ -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>

View File

@ -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({

View File

@ -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%;

View File

@ -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>

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
static/zbglzbgl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB