This commit is contained in:
2023-09-22 15:50:24 +08:00
parent e37f51f2bd
commit ea547f8b09
11 changed files with 4 additions and 2363 deletions

View File

@ -1,8 +0,0 @@
import request from "../../request.js"
export function getDiseaseInfo(patientId) {
return request({
url: `/nurseApplet/login/getDiseaseInfo?patientId=${patientId}`,
method: 'GET'
})
}

View File

@ -91,12 +91,6 @@
"enablePullDownRefresh": false,
"disableScroll": true
}
}, {
"path": "integral/integral",
"style": {
"navigationBarTitleText": "积分",
"enablePullDownRefresh": false
}
}, {
"path": "confirmation/confirmation",
"style": {
@ -217,13 +211,6 @@
"navigationBarTitleText": "选择退款类型",
"enablePullDownRefresh": false
}
}, {
"path": "homepage/homepage",
"style": {
"navigationBarTitleText": "新医路健康服务平台",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
}, {
"path": "ProductList/ProductList", //
"style": {
@ -245,13 +232,7 @@
"onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true
}
}, {
"path": "diseasemanagement/diseasemanagement",
"style": {
"navigationBarTitleText": "专病管理",
"enablePullDownRefresh": false
}
}, {
},{
"path": "utabs/u-tabs",
"style": {
"navigationBarTitleText": "",
@ -277,54 +258,24 @@
"navigationBarTitleText": "健康常识",
"enablePullDownRefresh": false
}
}, {
"path": "customerservice/customerservice",
"style": {
"navigationBarTitleText": "在线客服",
"enablePullDownRefresh": false
}
}, {
}, {
"path": "materialbenefits/materialbenefits",
"style": {
"navigationBarTitleText": "新人福利",
"enablePullDownRefresh": false
}
}, {
"path": "geriatricdisease/geriatricdisease",
"style": {
"navigationBarTitleText": "国家老年病中心",
"enablePullDownRefresh": false
}
}, {
"path": "Healthrecords/Healthrecords",
"style": {
"navigationBarTitleText": "新医路健康服务平台",
"enablePullDownRefresh": false
}
}, {
},{
"path": "ConsultationDetails/ConsultationDetails",
"style": {
"navigationBarTitleText": "齐鲁名医",
"enablePullDownRefresh": false
}
}, {
"path": "night/night",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "Moreoptions/Moreoptions",
"style": {
"navigationBarTitleText": "护理机构",
"enablePullDownRefresh": false
}
}, {
"path": "Industrialbutler/Industrialbutler",
"style": {
"navigationBarTitleText": "兴业管家",
"enablePullDownRefresh": false
}
}, {
"path": "exchangerecords/exchangerecords",
"style": {
@ -358,7 +309,7 @@
"pagePath": "pages/medicalservice/medicalservice",
"iconPath": "static/medicalservice.png",
"selectedIconPath": "static/medicalservices.png",
"text": "服务"
"text": "健康服务"
},
{
"pagePath": "pages/message/message",

View File

@ -1,70 +0,0 @@
<template>
<view class="app">
<view class="concent">
<view class="background">
<image src="/static/pagesB/logo.png" mode=""></image>
<view>
<view class="detailed">
敬请期待
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
.app {
padding-top: 10rpx;
.concent {
width: 701rpx;
height: 600rpx;
background: #26A888;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
margin: 5% auto 20px;
.background {
position: relative;
width: 657rpx;
height: 560rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
margin: 0 auto;
top: 50%;
transform: translateY(-50%);
image {
width: 178rpx;
height: 200rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
margin-top: 5%;
}
}
}
}
.detailed {
width: 657rpx;
padding: 0 42rpx;
line-height: 56rpx;
}
.detailed view {
text-indent: 2em;
}
</style>

View File

@ -1,19 +0,0 @@
<template>
<view>
<web-view src="https://ec.cib.com.cn/h5/index/jnfhwqh?isInpage=Y"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
</style>

View File

@ -1,83 +0,0 @@
<template>
<view class="app">
<view class="title">
长按识别二维码
</view>
<image :src="img" mode="" :show-menu-by-longpress="true"></image>
</view>
</template>
<script>
import baseurl from '@/api/baseurl.js'
export default {
data() {
return {
img: '',
};
},
onShow() {
this.img = baseurl + '/profile/appletPicture/customer.jpg'
},
methods: {
previewImage(e) {
uni.previewImage({
// urls
urls: this.img,
// /
current: 0,
//
indicator: 'default',
//
loop: false,
//
// longPressActions:{
// itemList:[this.l(''),this.l]
// },
success: res => {},
fail: err => {}
});
},
},
//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">
.app {
width: 100%;
height: 100vh;
padding: 0;
background-color: #000000;
position: relative;
.title {
color: #fff;
width: 100%;
text-align: center;
position: absolute;
top: 50rpx;
}
image {
width: 100%;
height: 1300rpx;
}
}
</style>

View File

@ -1,120 +0,0 @@
<template>
<view class="app">
<u-tabs :list="tabList" :current="tabcurrent" @change="change"></u-tabs>
<view class="items">
<view class="item" @tap='godiseasemanagement'>
<image src="../../static/pagesB/zbglzbgl.png" mode=""></image>
<view class="title">
专病管理云社区
</view>
</view>
<view class="item" @tap='gogeriatricdisease'>
<image src="../../static/pagesB/lnb.png" mode=""></image>
<view class="title">
国家老年病中心
</view>
</view>
</view>
<u-toast ref="uToast" />
</view>
</template>
<script>
export default {
data() {
return {
tabcurrent: 0,
tabList: [{
name: '专病管理'
}],
};
},
onShow() {},
onLoad() {},
methods: {
//
godiseasemanagement() {
const phone = uni.getStorageSync('phone');
if (phone) {
uni.navigateToMiniProgram({
appId: 'wxa690d053c34ceebd',
path: 'pages/index/index',
extraData: {
'from': 'qy',
'phone': phone
},
success(res) {}
})
} else {
this.$refs.uToast.show({
title: '您未登录,请先登录',
type: 'error',
duration: '1000',
url: '/pages/login/login'
})
}
},
//
gogeriatricdisease() {
uni.navigateTo({
url: '/pagesB/geriatricdisease/geriatricdisease'
})
},
},
//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">
.app {
padding: 0;
.items {
background-color: #fff;
width: 96%;
margin: 20rpx auto;
padding: 60rpx 0;
border-radius: 5rpx;
.item {
width: 50%;
display: inline-block;
image {
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;
font-weight: 600;
}
}
}
}
</style>

View File

@ -1,96 +0,0 @@
<template>
<view class="app">
<view class="concent">
<view class="background">
<image src="/static/pagesB/logo.png" mode=""></image>
<view>
<view class="detailed">
<view>
国家老年病中心山东分中心是依托于首都医科大学宣武医院的国家老年疾病临床医学研究中心国家科技部国家卫计委中央军委后勤保障部国家食品药品监督管理总局联合批准的国家级临床医学研究中心老年慢性病全国网络化诊治体系及医疗大数据系统医疗与健康一体化的新型服务体系和数据体系山东省建设单位为提升山东省基层医院老年病学科水平建设区域老年疾病预防管理体系利用国家中心在老年疾病临床诊疗的优势在衰老老年常见重大疾病帕金森和老年痴呆等老年神经变性病心脑及外周血管病糖尿病和老年综合征衰弱跌倒便秘等防治领域围绕老年高龄外科围手术期管理老年用药管理老年共病老年重症以及老年常见疾病帕金森病痴呆心脑外周血管病糖尿病等早期预警干预及全程管理的综合评估干预和管理新技术
主要
<view class="">
1开展的科室有帕金森两腺科妇科心脑血管等精准治疗
</view>
<view class="">
2开展项目有慢病管理血液净化高血脂症妇科筛查老年病筛查康复治疗等
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
//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">
.app {
padding-top: 10rpx;
.concent {
width: 701rpx;
height: 1450rpx;
background: #26A888;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
margin: 5% auto 20px;
.background {
position: relative;
width: 657rpx;
height: 1400rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
margin: 0 auto;
top: 50%;
transform: translateY(-50%);
image {
width: 178rpx;
height: 200rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
margin-top: 0;
}
}
}
}
.detailed {
width: 657rpx;
padding: 0 20rpx;
line-height: 56rpx;
text-align: justify;
}
.detailed view {
text-indent: 2em;
}
</style>

View File

@ -1,615 +0,0 @@
<template>
<view class="app">
<!-- <u-swiper :list="swiperImgUrls" effect3d='true' height='400' interval='5000' duration='2000'></u-swiper> -->
<!-- <swiper class="swiper-block" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
:circular='true' previous-margin='90rpx' next-margin='90rpx' current='0' @change="swiperChange">
<swiper-item class="swiper-item" v-for="(item,index) in swiperImgUrls">
<image :src="item" :class="['slide-image', currentIndex === index?'active':'']" mode="aspectFill">
</image>
</swiper-item>
</swiper> -->
<view class="container" v-if="swiperImgUrls">
<swiper :indicator-dots="true" :current="currentIndex" previous-margin="55rpx" next-margin="55rpx"
:autoplay="autoplay" :interval="3000" :duration="1000" class="swiper-block" :circular='true'
@change="swiperChange">
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index" class="swiper-item">
<view v-show="!splits(item)" wx-if="{item}" @tap='goswiper(item)'>
<image v-if="item" :src="item" :class="['slide-image', currentIndex === index?'active':'']"
mode="aspectFill">
</image>
</view>
<view v-show="splits(item)" v-if="item">
<video :id="'myVideo'+index" :autoplay="false" :src="item" controls show-fullscreen-btn
object-fit="fill" @play="play" @pause="pause" @ended="ended" auto-pause-if-navigate
show-play-btn :enable-progress-gesture='true' :show-center-play-btn='true'
enable-play-gesture auto-pause-if-open-native show-mute-btn :poster='poster'
:class="['slide-image', currentIndex === index?'active':'']"></video>
</view>
</swiper-item>
</swiper>
</view>
<view class="items">
<view class="item" @tap="gosite">
<image src="../../static/pagesB/hlz.png" mode=""></image>
<view class="title">
护理机构
</view>
</view>
<view class="item" @tap="gomedicine">
<image src="../../static/pagesB/jkzx.png" mode=""></image>
<view class="title">
齐鲁名医
</view>
</view>
<view class="item" @tap='godiseasemanagement'>
<image src="../../static/pagesB/zbgl.png" mode=""></image>
<view class="title">
专病管理
</view>
</view>
<view class="item" @tap='goycjc'>
<image src="../../static/pagesB/jiance.png" mode=""></image>
<view class="title">
远程监测
</view>
</view>
</view>
<view class="Welfarecustomerservice">
<view class="topimgs">
<image src="../../static/pagesB/ynph.png" mode="" @tap='gopzyh'></image>
<image src="../../static/pagesB/jypz.png" mode="" @tap='goseekmedicaladvice'></image>
<image src="../../static/pagesB/qyzq.png" mode="" @tap='gosuyu'></image>
</view>
<view class="rightimg">
<image src="../../static/pagesB/guanjia.png" mode="" @tap='goguanjia'></image>
<image class="" src="../../static/pagesB/96558.png" mode="" @tap='gonight'></image>
</view>
<view class="rightimg">
<image src="../../static/pagesB/fuli.png" mode="" @tap='gomaterialbenefits'></image>
<image src="../../static/pagesB/kefu.png" mode="" @tap='gocustomerservice'></image>
</view>
<image class="shopping" src="../../static/pagesB/shoping.png" mode="" @tap='goshopping'></image>
</view>
<view class="Healthknowledge">
<view class="title">
健康常识
</view>
<view class="more" @tap='gohealth'>
<view class="title">
查看更多
</view>
<image src="../../static/pagesB/huijiantou.png" mode=""></image>
</view>
<view class="list">
<view class="item" v-for="(item,index) in informationCategoryVOList" :key="index"
@tap='gohealthitem(item)'>
<view class="text">
{{item.informationTitle}}
</view>
<view class="author"></view>
<image :src="item.leadThumbnailUrl" mode=""></image>
</view>
</view>
</view>
<u-toast ref="uToast" />
</view>
</template>
<script>
import {
mapState,
mapActions
} from "vuex";
import {
getPoserInfoListByType
} from '@/api/pagesB/homepage/index.js'
import {
getHeathHousingList
} from '@/api/pagesB/Healthknowledge/index.js'
import baseurl from '../../api/baseurl';
export default {
data() {
return {
swiperImglink: [], //sweiperlink
swiperImgUrls: [],
autoplay: true, //
videoContext: '',
currentIndex: 0,
informationCategoryVOList: [], //
informationCategorytotal: 0,
pageNum: 1,
pageSize: 5,
poster: '', //
};
},
computed: {
//1.state
// getcount(){
// return this.$store.state.count;
// },
//2.State---
// ...mapState(["name"])
},
onShow() {
this.pageNum = 1
this.swiperImgUrls = []
this.getPoserInfo();
},
methods: {
//
goswiper(item) {
this.swiperImglink.forEach(e => {
e.image = baseurl + e.posterPictureUrl
if (e.image == item) {
if (e.dictLabel == '专病管理') {
const phone = uni.getStorageSync('phone');
if (phone) {
uni.navigateToMiniProgram({
appId: 'wx3341cfb0602789f6',
path: 'pages/index/index',
extraData: {
'from': 'qy',
'phone': phone
},
success(res) {}
})
} else {
this.$refs.uToast.show({
title: '您未登录,请先登录',
type: 'error',
duration: '1000',
url: '/pages/login/login'
})
}
} else if (e.dictLabel == '新医象') {
this.goycjc();
} else {
if (e.jumpLink == '/pagesB/ConsultationDetails/ConsultationDetails') {
const url = `/pagesB/ConsultationDetails/ConsultationDetails?goto=${'homepage'}`
uni.navigateTo({
url: url
})
} else if (e.jumpLink == '/pagesB/homepage/homepage' || e.jumpLink ==
'/pagesB/Personal/Personal') {
uni.switchTab({
url: e.jumpLink
})
} else {
uni.navigateTo({
url: e.jumpLink
})
}
}
}
})
},
swiperChange(e) {
this.currentIndex = e.detail.current
let {
current,
source
} = e.detail
this.videoContext = uni.createVideoContext('myVideo' + (current - 1));
//
if (source === 'touch') {
this.videoContext.pause(); //
this.autoplay = true
}
},
//
GetBanner() {},
// banner
splits(url) {
if (url.indexOf('.') != -1) {
var ext = url.substring(url.lastIndexOf('.') + 1);
return ['mp4', 'webm', 'mpeg4', 'ogg'].indexOf(ext) != -1
}
},
// /
play() {
this.autoplay = false
// this.videoContext.requestFullScreen()
},
//
pause() {
this.autoplay = true
},
//
ended() {
this.autoplay = true
},
//item
gohealthitem(item) {
uni.navigateTo({
url: `/pagesB/Healthitem/Healthitem?item=${encodeURIComponent(JSON.stringify(item))}`
})
},
//
getHeathHousing() {
getHeathHousingList(this.pageNum, this.pageSize).then(res => {
if (res.rows) {
res.rows.forEach(e => {
e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
})
}
this.informationCategoryVOList = res.rows
this.informationCategorytotal = res.total
})
},
//
getPoserInfo() {
getPoserInfoListByType().then(res => {
if (res.code == 200) {
if (res.data.poserInfoList) {
this.swiperImglink = res.data.poserInfoList
res.data.poserInfoList.forEach(e => {
e.image = baseurl + e.posterPictureUrl
this.swiperImgUrls.push(e.image)
})
if (res.data.poserInfoList[0].posterVideoUrl) {
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
.posterVideoUrl
this.swiperImgUrls.push(res.data.poserInfoList[0].video)
}
}
this.getHeathHousing();
}
})
},
//
godiseasemanagement() {
const phone = uni.getStorageSync('phone');
if (phone) {
uni.navigateToMiniProgram({
appId: 'wx3341cfb0602789f6',
path: 'pages/index/index',
extraData: {
'from': 'qy',
'phone': phone
},
success(res) {}
})
} else {
this.$refs.uToast.show({
title: '您未登录,请先登录',
type: 'error',
duration: '1000',
url: '/pages/login/login'
})
}
// uni.navigateTo({
// url: '/pages/diseasemanagement/diseasemanagement'
// })
},
//
gomedicine() {
uni.navigateTo({
url: '/pagesB/medicine/medicine'
})
},
//
gocustomerservice() {
uni.navigateTo({
url: '/pagesB/customerservice/customerservice'
})
},
//
gosite() {
this.openPopup();
setTimeout(e => {
uni.navigateTo({
url: '/pagesB/site/site'
})
}, 0)
},
//
gohealth() {
uni.navigateTo({
url: '/pagesB/Healthknowledge/Healthknowledge'
})
},
//
//
...mapActions(["openPopup"]),
gomaterialbenefits() {
//
// this.$store.dispatch("openPopup");
this.openPopup();
setTimeout(e => {
uni.navigateTo({
url: '/pagesB/materialbenefits/materialbenefits'
})
}, 0)
},
//
goshopping() {
this.openPopup();
setTimeout(e => {
uni.navigateTo({
url: '/pagesB/shopping/shopping'
})
}, 0)
},
//
goycjc() {
uni.navigateToMiniProgram({
appId: 'wxa2335d45fb25ee50',
success(res) {}
})
},
//
gosuyu() {
uni.navigateToMiniProgram({
appId: 'wxa0e41e29dd9e540b',
path: 'pages/index/index?source=ad_app_yryl-qydjtzwx',
success(res) {}
})
},
//
goseekmedicaladvice() {
uni.navigateToMiniProgram({
appId: 'wx4f1d77226064cfc1',
path: 'pages/index/index',
success(res) {}
})
},
//
goguanjia() {
uni.navigateTo({
url: '/pagesB/Industrialbutler/Industrialbutler'
})
},
//
gopzyh() {
uni.navigateTo({
url: `/pagesB/nursestation/nursestation?nurseStationId=${13}`
})
},
//
gonight() {
uni.navigateTo({
url: '/pagesB/night/night'
})
},
},
// onReachBottom() { //
// if (this.informationCategoryVOList.length >= this.informationCategorytotal) {} else {
// this.pageNum++
// getHeathHousingList(this.pageNum, this.pageSize).then(res => {
// if (res.rows) {
// res.rows.forEach(e => {
// e.leadThumbnailUrl = baseurl + e.leadThumbnailUrl
// this.informationCategoryVOList.push(e)
// })
// }
// })
// }
// },
// onPullDownRefresh() { //
// this.pageNum = 1;
// this.getHeathHousing();
// setTimeout(function() {
// 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>
<style lang="scss">
.app {
padding: 0 0 0 0;
-webkit-overflow-scrolling: touch;
.container {
padding-top: 65rpx;
background-color: #fff
}
.swiper-block {
height: 500rpx;
width: 100%;
}
.swiper-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
overflow: unset;
}
.slide-image {
height: 270rpx;
width: 580rpx;
border-radius: 9rpx;
box-shadow: 0px 0px 30rpx rgba(0, 0, 0, 0.2);
margin: 0 0 0 30rpx;
z-index: 1;
}
.active {
transform: scale(1.10);
transition: all 0.2s ease-in 0s;
z-index: 20;
}
video {
// height: 100%;
// width: 100%;
}
.Healthknowledge {
width: 100%;
padding: 40rpx 50rpx 50rpx;
background-color: #fff;
position: relative;
line-height: 46rpx;
.more {
position: absolute;
right: 20rpx;
top: 40rpx;
height: 46rpx;
width: 30%;
.title {
position: absolute;
right: 30rpx;
top: 50%;
text-align: right;
transform: translateY(-50%);
font-size: 26rpx;
font-family: Adobe Heiti Std;
font-weight: normal;
color: #969494;
}
image {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 15rpx;
height: 25rpx;
}
}
.list {
width: 100%;
margin: 20rpx auto 0;
.item {
width: 100%;
height: 250rpx;
position: relative;
border-bottom: 2rpx solid #CDC9C9;
image {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 200rpx;
height: 200rpx;
border-radius: 10rpx;
}
.author {
position: absolute;
bottom: 20rpx;
left: 0;
font-size: 20rpx;
color: #969494;
}
.text {
position: absolute;
top: 20rpx;
left: 0;
width: 65%;
font-size: 30rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 5; //
line-clamp: 5;
-webkit-box-orient: vertical;
text-align: justify;
}
}
}
.title {
font-size: 36rpx;
font-weight: bold;
}
}
.Welfarecustomerservice {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
background-color: #fff;
width: 100%;
padding: 30rpx 2%;
margin-bottom: 20rpx;
.topimgs {
display: flex;
justify-content: space-around;
width: 100%;
margin-bottom: 30rpx;
image {
width: 30%;
height: 160rpx;
}
}
.shopping {
width: 98%;
height: 160rpx;
}
.rightimg {
display: inline-block;
width: 48%;
image {
display: block;
margin-bottom: 15rpx;
width: 100%;
height: 120rpx;
}
}
.night {
width: 48%;
height: 340rpx;
}
}
.items {
background-color: #fff;
padding: 30rpx 20rpx 20px;
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
.item {
width: 25%;
image {
width: 120rpx;
height: 120rpx;
display: block;
margin: 0 auto 20rpx;
}
.title {
font-size: 36rpx;
font-weight: 600;
text-align: center;
}
}
}
}
</style>

View File

@ -1,520 +0,0 @@
.app {
padding-bottom:10rpx ;
.masks {
z-index: 999;
}
.noorder {
margin-top: 20%;
}
.information {
width: 70%;
height: 400rpx;
margin: 50% auto;
background: #FFFFFF;
border-radius: 30rpx;
text-align: center;
color: #FFFFFF;
position: relative;
.determine,
.cancel {
width: 200rpx;
height: 70rpx;
border-radius: 26rpx;
font-size: 34rpx;
line-height: 70rpx;
position: absolute;
top: 74%;
}
.determine {
background: #26A888;
right: 36rpx;
}
.cancel {
background: #C5BFBF;
left: 36rpx;
}
.title {
font-size: 42rpx;
margin-top: 40rpx;
color: #000000;
}
image {
width: 100rpx;
height: 100rpx;
margin: 10% 0 0 0;
}
}
.close {
width: 31rpx;
height: 31rpx;
position: absolute;
top: 2%;
right: 2%;
z-index: 999;
}
::v-deep .r-canvas {
width: 600rpx !important;
height: 1100rpx !important;
margin: 0 auto;
z-index: -1;
}
::v-deep .r-canvas-component {
width: 760rpx !important;
height: 1100rpx !important;
margin: 0 auto;
z-index: -1;
}
::v-deep .u-mode-center-box {
background: none !important;
}
::v-deep .u-icon--right{
background-color: #fff;
border-radius: 50%;
padding: 6rpx;
// width: 40rpx !important;
// height: 40rpx !important;
}
::v-deep .u-iconfont {
// position: absolute !important;
// left:50% !important;
// top:50% !important;
// transform: translate(-50%,-50%) !important;
}
::v-deep .u-close--top-right{
top:0 !important;
right:20rpx !important;
}
.yaoqbtn {
color: #fff;
position: absolute;
bottom: 0;
text-align: center;
line-height: 60rpx;
left: 60rpx;
width: 200rpx;
height: 60rpx;
background: linear-gradient(90deg, #85C8AE 0%, #03AD6B 59%);
border-radius: 36rpx;
}
.yaoqbtn2 {
color: #fff;
position: absolute;
text-align: center;
line-height: 60rpx;
bottom: 0;
right: 60rpx;
width: 200rpx;
height: 60rpx;
background: linear-gradient(90deg, #64B0F9 0%, #436BF6 59%);
border-radius: 36rpx;
}
.yaoqing {
height: 1200rpx;
}
.PurchasePage {
position: fixed;
bottom: 0;
height: 960rpx;
width: 100%;
background: #FFFFFF;
border-radius: 30rpx 30rpx 0px 0px;
font-size: 36rpx;
padding-bottom: 20rpx;
z-index: 10;
.bodys {
background-color: #FFFFFF;
width: 96%;
margin: 10rpx auto 0;
border-radius: 20rpx;
padding: 15rpx 0 20rpx;
position: relative;
.addressinfo {
font-size: 32rpx;
line-height: 65rpx;
margin-left: 90rpx;
image {
width: 40rpx;
height: 50rpx;
position: absolute;
top: 50%;
left: 20rpx;
transform: translateY(-50%);
}
.address {
padding-top: 10rpx;
width: 92%;
font-size: 30rpx;
word-break: break-all;
line-height: 45rpx;
}
.namephone {
width: 70%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.picture2 {
position: absolute;
top: 50%;
right: 20rpx;
transform: translateY(-50%);
image {
width: 18rpx;
height: 18rpx;
color: #FFFFFF;
margin-left: 20rpx;
}
}
}
}
.topcontent {
width: 96%;
margin: 0 auto;
padding-bottom: 15rpx;
position: relative;
.goodsStock {
font-size: 24rpx;
position: absolute;
top: 75%;
right: 10rpx;
}
.prices {
position: absolute;
top: 70%;
left: 35%;
.price {
color: #D43953;
}
}
.title {
font-size: 36rpx;
position: absolute;
top: 3%;
left: 35%;
font-weight: 600;
width: 58%;
// height: 85rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
word-break: break-all;
}
.image {
width: 200rpx;
height: 200rpx;
margin: 15rpx 0 0 0;
image {
width: 201rpx;
height: 201rpx;
margin: 7rpx 0 0 7rpx;
}
}
}
.buy {
width: 60%;
height: 71rpx;
background: #26A888;
color: #FFFFFF;
text-align: center;
line-height: 71rpx;
border-radius: 26rpx;
position: absolute;
bottom: 30rpx;
left: 20%;
}
.centercontent {
font-size: 32rpx;
background-color: #FFFFFF;
margin-top: 10rpx;
padding-top: 20rpx;
border-radius: 20rpx;
.header {
margin-bottom: 20rpx;
margin-left: 17rpx;
}
.productmodel {
border: 4rpx solid #FFFFFF;
}
.Productmodel {
background: #ECF1FA;
border: 4rpx solid #26A888;
color: #26A888;
}
.productmodel,
.Productmodel {
background-color: #F6F6F6;
height: 300rpx;
text-align: center;
width: 30%;
font-size: 24rpx;
border-radius: 10rpx;
margin: 5rpx 1.5% 10rpx;
padding: 0 0 10rpx;
view {
background-color: #F6F6F6;
margin: 10rpx auto;
width: 98%;
// height: 90rpx;
border-radius: 10rpx;
font-size: 24rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
image {
border-radius: 10rpx;
width: 100%;
height: 200rpx;
}
}
}
}
.mask {
position: fixed;
bottom: 0;
height: 600rpx;
width: 100%;
background-color: #fff;
z-index: 10;
.maskitems {
color: #fff;
width: 90%;
margin: 60rpx auto 0;
.item {
background: #557BC2;
width: 100%;
margin: 0 auto 20rpx;
height: 150rpx;
position: relative;
font-size: 26rpx;
.btn {
text-align: center;
width: 120rpx;
height: 50rpx;
background: #FFFFFF;
border-radius: 22rpx;
position: absolute;
right: 30rpx;
top: 58rpx;
line-height: 50rpx;
font-size: 28rpx;
color: #557BC2;
}
.text {
position: absolute;
left: 150rpx;
top: 90rpx;
}
.titletext {
position: absolute;
left: 150rpx;
top: 48rpx;
}
image {
margin: 49rpx 0 0 43rpx;
width: 66rpx;
height: 66rpx;
}
}
}
.title {
padding-top: 10rpx;
font-size: 38rpx;
font-weight: 600;
text-align: center;
width: 100%;
}
}
.items {
margin-top: 30rpx;
.item {
width: 92%;
margin: 0 auto 12rpx;
background-color: #FFFFFF;
height: 220rpx;
position: relative;
.text {
font-size: 24rpx;
position: absolute;
left: 220rpx;
top: 90rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
.btn {
position: absolute;
right: 40rpx;
top: 140rpx;
width: 150rpx;
height: 50rpx;
background: #557BC2;
border-radius: 22rpx;
color: #fff;
text-align: center;
font-size: 28rpx;
color: #FFFFFF;
line-height: 50rpx;
}
.jifen {
position: absolute;
left: 220rpx;
top: 140rpx;
font-size: 26rpx;
color: #666666;
}
.title {
width: 460rpx;
font-size: 34rpx;
font-weight: 600;
position: absolute;
left: 220rpx;
top: 25rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}
image {
margin: 15rpx 0 0 15rpx;
width: 180rpx;
height: 180rpx;
}
}
}
.titles {
margin: 38rpx 0 0 31rpx;
font-size: 30rpx;
}
.vacancies {
width: 92%;
height: 330rpx;
margin: 0 auto;
position: relative;
color: #fff;
.bottombutton {
position: absolute;
top: 230rpx;
left: 50%;
font-size: 32rpx;
color: #557BC2;
line-height: 72rpx;
text-align: center;
transform: translateX(-50%);
width: 440rpx;
height: 72rpx;
background: #FFFFFF;
border-radius: 36rpx;
}
.centertext {
position: absolute;
top: 160rpx;
width: 100%;
text-align: center;
font-size: 28rpx;
opacity: 0.8;
}
.title {
position: absolute;
left: 50%;
font-size: 70rpx;
top: 90rpx;
transform: translateX(-50%);
}
.righttext {
position: absolute;
top: 32rpx;
right: 31rpx;
font-size: 24rpx;
line-height: 28rpx;
width: 130rpx;
height: 28rpx;
image {
position: absolute;
left: 0;
width: 28rpx;
height: 28rpx;
}
view {
opacity: 0.6;
position: absolute;
right: 0;
}
}
.lefttext {
position: absolute;
top: 32rpx;
left: 33rpx;
font-size: 30rpx;
line-height: 33rpx;
}
image {
width: 100%;
height: 100%;
}
}
}

View File

@ -1,657 +0,0 @@
<template>
<view class="app">
<view class="vacancies">
<image src="../../static/pagesB/jifenbeij.png" mode=""></image>
<view class="lefttext">
积分余额
</view>
<view class="righttext">
<!-- <image src="../../static/jfgz.png" mode=""></image>
<view class="">
积分规则
</view> -->
</view>
<view class="title">
{{list.integral}}
</view>
<view class="centertext">
<!-- 20积分将于2022.01.01过期 -->
</view>
<view class="bottombutton" @tap='gainshow=true'>
获取积分
</view>
</view>
<view class="titles">
积分兑换
</view>
<view class="items" v-if='goodslist'>
<view class="item" v-for="(item,index) in goodslist" :key="index">
<image :src="item.attributePitureUrl" mode=""></image>
<view class="title">
{{item.goodsName}}
</view>
<view class="text">
{{item.integralExchangeCount}}{{item.goodsUnit}}
</view>
<view class="jifen">
需使用
<span style='padding: 0 5rpx;'> {{item.integralExchangeSill}}</span>
积分兑换
</view>
<view class="btn" @tap='buyshowtrue(item)'>
立即兑换
</view>
</view>
</view>
<view class="noorder" v-else>
<u-empty mode="list" icon-size='220' text='暂无可兑换商品'></u-empty>
</view>
<u-mask :show="gainshow" @click="gainshow = false">
<view class="mask" @click.stop="">
<image class="close" src="../../static/pagesB/gb.png" mode="" @tap='gainshow=false'></image>
</image>
<view class="title">
获取方式
</view>
<view class="maskitems">
<view class="item">
<image src="../../static/pagesB/qiandao.png" mode=""></image>
<view class="titletext">
累计签到
<span style='padding: 0 5rpx;' v-if="list.totalSignInDays"> {{list.totalSignInDays}}</span>
<span style='padding: 0 5rpx;' v-else>0</span>
(当前签到
<span style='padding: 0 5rpx;' v-if="list.patientSignInCount">
{{list.patientSignInCount}}</span>
<span style='padding: 0 5rpx;' v-else>0</span>
)
</view>
<view class="text">
<span style='padding: 0 5rpx;' v-if="list.signInCount"> {{list.signInCount}}</span>
<span style='padding: 0 5rpx;' v-else>0</span>积分
</view>
<view class="btn" @tap='signIninfo' v-if='list.todaySignInCount==0&&list.totalSignInDays>0'>
签到
</view>
<view class="btn" v-if='list.todaySignInCount==1'>
已签到
</view>
</view>
<view class="item" style="background-color: #F44B2F;">
<image src="../../static/yaoqing.png" mode=""></image>
<view class="titletext">
每邀请
<span style='padding: 0 5rpx;'> 1</span>
位好友
</view>
<view class="text">
<span style='padding: 0 5rpx;' v-if="list.inviteFriends"> {{list.inviteFriends}}</span>
<span style='padding: 0 5rpx;' v-else>0</span>
积分
</view>
<view class="btn" style="color: #F44B2F;" @tap='yaoqingshowtrue' v-if='list.inviteFriends>0'>
去完成
</view>
</view>
</view>
</view>
</u-mask>
<u-mask :show="buyshow" @click="buyshow = false">
<view class="PurchasePage" @click.stop=''>
<image class="close" src="../../static/pagesB/gb.png" mode="" @tap='buyshow=false'></image>
</image>
<view class="topcontent" style="width: 96%;">
<view class="image">
<image :src="goodsitem.goodsPictureUrl" mode=""></image>
</view>
<view class="title" v-if="goodsitem.goodsName">
{{goodsitem.goodsName||'暂无'}}
</view>
<view class="prices">
<span class="price">
{{goodsitem.integralExchangeSill}}积分
</span>
</view>
<view class="goodsStock">
库存数量:{{goodsitem.goodsStock}}
</view>
</view>
<view class="bodys" @tap='upaddress()'>
<view class="addressinfo">
<image src="../../static/pagesB/locatinsmall.png" mode=""></image>
<span v-if="loginFlag">
<view class="namephone" v-if='userid'>
{{updata.receiver}},{{updata.phone}}
</view>
<view class="address" v-if='userid'>
{{updata.receiveAddress}}
</view>
</span>
<view class="namephone" v-else>
前往完善个人信息
</view>
<view class="picture2">
<u-icon name="arrow-right" color="black" size="28"></u-icon>
</view>
</view>
</view>
<view class="centercontent topcontent">
<view class="header">
商品规格
</view>
<view style="display: flex;justify-content: flex-start;flex-wrap: wrap;">
<view class="Productmodel productmodel">
<image :src="goodsitem.attributePitureUrl" mode=""></image>
<view class="">
{{goodsitem.integralExchangeCount}}{{goodsitem.goodsUnit}}
</view>
</view>
</view>
</view>
<view class="buy" @tap="upbuy">
立即兑换
</view>
</view>
</u-mask>
<u-popup v-model="yaoqingshow" mode="center" :closeable='true' :close='yaoqingshowfalse'>
<view class="yaoqing">
<r-canvas ref="rCanvas" v-if="yaoqingshow"></r-canvas>
</view>
<view class="yaoqbtn" @tap='draw'>
保存到相册
</view>
<view class="yaoqbtn2" @tap='fenx'>
分享给好友
</view>
</u-popup>
<u-mask :show="usershow" class='masks'>
<view class="information">
<image src="../../static/pagesB/information.png" mode=""></image>
<view class="title">
请完善个人信息
</view>
<view class="cancel" @tap='usershow=false'>
取消
</view>
<view class="determine" @tap='goinformation'>
去完善
</view>
</view>
</u-mask>
<u-toast ref="uToast" />
</view>
</template>
<script>
import {
signIn,
selectPatientSignIn,
selectExchangeGoods,
integralGoodsOrder
} from '@/api/pagesB/integral/index.js'
import {
inviteFriends
} from '@/api/pages/myinformation/myinformation.js';
import {
goodPatientInfo
} from '@/api/pagesB/modifyAddress/modifyAddress.js';
import {
AppIdentification
} from '@/api/pagesB/AppIdentification/index.js'
import baseurl from '../../api/baseurl';
import rCanvas from "@/components/r-canvas/r-canvas.vue"
export default {
components: {
rCanvas
},
data() {
return {
timer: null,
baseurl: '',
patientId: null,
integral: 0,
usershow: false, //go
gainshow: false, //
buyshow: false, //
yaoqingshow: false,
yaoqingimg: null,
yapqingbeijingimg: null,
list: {
integral: 0
},
inviteimg: null, //
pageNum: 1,
pageSize: 10,
goodstotal: 0,
goodslist: null,
goodsitem: null,
userid: null,
updata: {
"orderChannel": 'WECHAT_APPLET',
"originalTotalPrice": null,
"integralExchangeSill": null,
"integralExchangeCount": null,
"orderType": "INTEGRAL_EXCHANGE",
"buySource": "SHOPPING_MALL",
"integralDeductionCount": null,
"attributeDetailsId": null,
"discountPrice": null,
"giveIntegral": null,
"goodsAttributeContent": null,
"goodsAttributeDetailsId": null,
"goodsAttributeId": null,
"goodsAttributeName": null,
"goodsCount": null,
"goodsName": null,
"goodsPrice": null,
"goodsStock": null,
"nurseStationId": null,
"patientId": null,
"phone": "18963146613",
"receiveAddress": null,
"receiver": null,
},
loginFlag: false,
};
},
onLoad(options) {},
onShow() {
this.baseurl = baseurl
this.pageNum = 1
this.selectExchangeGoodsinfo();
this.baseurl = baseurl
this.yapqingbeijingimg = baseurl + '/profile/appletPicture/inviteFriendsTwo.png'
var that = this
const value = uni.getStorageSync('patientId');
if (value) {
that.patientId = value
that.updata.patientId = value
that.selectPatientSignInifo();
that.user();
AppIdentification(value).then(res => {
if (res.code == 200) {
if (res.data.loginFlag) {
that.loginFlag = true
}
}
})
goodPatientInfo(value).then(res => {
if (res.code == 200) {
if (res.data.length > 0) {
var user = res.data.filter(e => e.id == that.userid)
if (user.length >= 1) {
that.updata.receiver = user[0].receiveName
that.updata.receiveAddress = user[0].areaName + user[0].receiveAddress
that.updata.phone = user[0].receivePhone
that.userid = user[0].id
} else {
that.updata.receiver = res.data[0].receiveName
that.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
that.updata.phone = res.data[0].receivePhone
that.userid = res.data[0].id
}
}
}
})
} else {
that.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
duration: '2000',
})
}
let useritem = null
uni.$on('updata', function(data) {
if (data.useritem) {
useritem = JSON.parse(data.useritem)
that.updata.receiver = useritem.receiveName
that.updata.phone = useritem.receivePhone
that.updata.receiveAddress = useritem.areaName + useritem.receiveAddress
that.userid = useritem.id
}
uni.$off('updata')
})
},
methods: {
yaoqingshowtrue() {
this.yaoqingshow = true
this.$nextTick(async () => {
await inviteFriends(this.patientId).then(res => {
this.inviteimg = res.msg
})
uni.showLoading({
title: '加载中'
});
//
await this.$refs.rCanvas.init({
canvas_id: "rCanvas"
})
//
await this.$refs.rCanvas.drawImage({
url: this.yapqingbeijingimg,
x: 0,
y: 0,
w: 300,
h: 530
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
await this.$refs.rCanvas.drawImage({
url: baseurl + this.inviteimg,
x: 85,
y: 340,
w: 130,
h: 130
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
//
await this.$refs.rCanvas.drawText({
text: "智慧康养泉城,医护关怀到家",
x: 150,
y: 300,
font_color: "#444444",
font_size: 12,
font_weight: 600,
text_align: 'center'
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
await this.$refs.rCanvas.drawText({
text: "超多福利,快来体验吧!",
x: 150,
y: 320,
font_color: "#444444",
font_size: 12,
font_weight: 600,
text_align: 'center'
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
await this.$refs.rCanvas.drawText({
text: "新医路健康服务平台",
x: 150,
y: 500,
font_color: "#444444",
font_size: 10,
text_align: 'center'
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
await this.$refs.rCanvas.drawText({
text: "(长按识别二维码开启健康之旅)",
x: 150,
y: 515,
font_color: "#444444",
font_size: 7,
text_align: 'center'
}).catch(err_msg => {
uni.showToast({
title: err_msg,
icon: "none"
})
})
//
await this.$refs.rCanvas.draw((res) => {
this.yaoqingimg = res.tempFilePath
uni.hideLoading();
//res.tempFilePathbase64
//
// this.$refs.rCanvas.saveImage(res.tempFilePath)
})
})
},
//
draw() {
//
this.$refs.rCanvas.saveImage(this.yaoqingimg).then(res => {
uni.showToast({
title: '保存成功',
duration: 2000
});
}).catch(err => {
uni.showToast({
icon: 'error',
title: '保存失败',
duration: 2000
});
})
},
//
fenx() {
wx.showShareImageMenu({
path: this.yaoqingimg,
})
},
yaoqingshowfalse() {
this.yapqingshow = false;
this.$nextTick(async () => {
await this.$refs.rCanvas.clearCanvas((res) => {})
await this.$refs.rCanvas.setCanvasWidth(0)
await this.$refs.rCanvas.setCanvasHeight(0)
})
},
//
upbuy() {
var that = this
this.updata.goodsCount = this.updata.integralExchangeCount
const value = uni.getStorageSync('patientId');
const value2 = uni.getStorageSync('openid');
if (value && value2) {
AppIdentification(value).then(res => {
if (res.code == 200) {
if (res.data.loginFlag) {
integralGoodsOrder(that.updata).then(res => {
if (res.code == 200) {
that.selectPatientSignInifo();
that.$refs.uToast.show({
title: '兑换商品成功',
type: 'success',
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${res.data.id}`
})
that.buyshow = false
} else {
that.$refs.uToast.show({
title: res.msg,
type: 'error'
})
}
})
} else {
that.usershow = true
}
} else {
that.$refs.uToast.show({
title: '请先登录',
type: 'error',
duration: '2000',
url: '/pages/login/login'
})
}
})
} else {
that.$refs.uToast.show({
title: '请先登录',
type: 'error',
duration: '2000',
url: '/pages/login/login'
})
}
},
//
upaddress() {
if (this.updata.receiver) {
uni.navigateTo({
url: `/pagesB/modifyAddress/modifyAddress?updata=${JSON.stringify(this.updata)}`
})
} else {
const value = uni.getStorageSync('openid');
const value2 = uni.getStorageSync('patientId');
if (value && value2) {
uni.navigateTo({
url: '/pagesB/information/information'
})
} else {
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
url: '/pages/login/login'
})
}
}
},
///
buyshowtrue(item) {
this.buyshow = true
this.goodsitem = item
this.updata.nurseStationId = item.nurseStationId
this.updata.goodsAttributeName = this.goodsitem.attributeDetailsName
this.updata.goodsAttributeId = this.goodsitem.goodsAttributeId
this.updata.goodsAttributeDetailsId = this.goodsitem.attributeDetailsId
this.updata.integralExchangeSill = this.goodsitem.integralExchangeSill
this.updata.integralExchangeCount = this.goodsitem.integralExchangeCount
this.updata.originalTotalPrice = 0
this.updata.goodsStock = this.goodsitem.goodsStock
this.updata.goodsName = this.goodsitem.goodsName
this.updata.goodsPrice = this.goodsitem.goodsPrice
this.updata.goodsCount = 1
},
//
selectExchangeGoodsinfo() {
this.pageNum = 1
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
if (res.code == 200) {
res.rows.forEach(e => {
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
e.attributePitureUrl = baseurl + e.attributePitureUrl
})
if (res.rows.length > 0) {
this.goodslist = res.rows
this.goodstotal = res.total
}
} else if (res.code == 9999) {
this.$refs.uToast.show({
title: '未登录,请先登录',
type: 'error',
})
}
})
},
//
selectPatientSignInifo() {
selectPatientSignIn(this.patientId).then(res => {
this.list = res.data
})
},
//
signIninfo() {
var that = this
const value = uni.getStorageSync('patientId');
const value2 = uni.getStorageSync('openid');
if (value && value2) {
AppIdentification(value).then(res => {
if (res.code == 200) {
if (res.data.loginFlag) {
signIn(value).then(res => {
if (res.code == 200) {
that.selectPatientSignInifo();
that.$refs.uToast.show({
title: '今日签到成功',
type: 'success',
duration: '1000',
})
} else {
that.$refs.uToast.show({
title: '签到失败',
type: 'error',
duration: '1000',
})
}
})
} else {
that.usershow = true
}
} else {
that.$refs.uToast.show({
title: '请先登录',
type: 'error',
duration: '2000',
url: '/pages/login/login'
})
}
})
} else {
that.$refs.uToast.show({
title: '请先登录',
type: 'error',
duration: '2000',
url: '/pages/login/login'
})
}
},
//
user() {
goodPatientInfo(this.patientId).then(res => {
if (res.data.length > 0) {
var list = res.data.filter(e => e.defaultAddressFlag == 1)
if (list.length >= 1) {
this.updata.receiver = list[0].receiveName
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
this.updata.phone = list[0].receivePhone
this.userid = list[0].id
} else {
this.updata.receiver = res.data[0].receiveName
this.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
this.updata.phone = res.data[0].receivePhone
this.userid = res.data[0].id
}
}
})
},
//
goinformation() {
this.usershow = false
uni.navigateTo({
url: '/pagesB/information/information'
})
},
},
onReachBottom() { //
if (this.goodslist.length >= this.goodstotal) {} else {
this.pageNum++;
selectExchangeGoods(this.pageNum, this.pageSize).then(res => {
res.rows.forEach(e => {
e.goodsPictureUrl = baseurl + e.goodsPictureUrl
this.goodslist.push(e)
})
})
}
},
onPullDownRefresh() { //
this.pageNum = 1;
this.selectExchangeGoodsinfo();
setTimeout(function() {
uni.stopPullDownRefresh();
}, 1000);
},
}
</script>
<style lang="scss">
@import "./integral.scss";
</style>

View File

@ -1,122 +0,0 @@
<template>
<view class="app">
<view class="concent">
<view class="background">
<image src="/static/logo.png" mode=""></image>
<view>
<view class="detailed">
<view class="title">
山东贴心智养简介
</view>
<view class="" style="text-indent: 2em;">
96558是以24小时呼叫中心为载体以多元化服务体系为依托为社区居民特别是老年人提供紧急救助精神慰藉健康管理和便民服务的综合性智慧健康养老服务平台
2012年以来先后承接了济南市民政局1万余名80岁以上低保空巢贫困老人的居家养老服务工作济南市委老干部局3000余户离退休老干部的居家养老服务工作山东省委老干部局1800户离休老干部的居家养老服务项目以及远郊区县5个分平台的筹建及运营工作
截止目前平台在网用户已达30余万人活跃用户4万余人平台日呼入量近600人次累计完成紧急援助近6000人次累计提供各种服务近200万次居民对服务的满意率达到99%
2017年11月公司被山东省质监局山东省发改委正式授予山东省服务标准化示范单位称号同时先后多次被中国服务贸易协会授予
健康养老最佳商业模式机构最具成长型服务企业健康养老品牌服务机构服务贸易创新型企业等荣誉称号
<view class="btn" @tap='phone'>
立即呼叫
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
methods: {
phone() {
var that = this
uni.getSystemInfo({
success: function(res) {
if (res.platform == 'ios') {
uni.makePhoneCall({
phoneNumber: '053196558' //
});
} else {
uni.showActionSheet({
itemList: ['呼叫'],
success: function(res) {
if (res.tapIndex + 1 == 1) {
uni.makePhoneCall({
phoneNumber: '053196558' //
});
}
},
fail: function(res) {}
});
}
}
});
}
}
}
</script>
<style lang="scss">
.app {
padding-top: 10rpx;
.btn {
background-color: #26A888;
text-align: center;
color: #FFFFFF;
width: 70%;
height: 80rpx;
line-height: 80rpx;
margin: 80rpx auto;
text-indent: 0em;
border-radius: 10rpx;
}
.concent {
width: 701rpx;
height: 1700rpx;
background: #26A888;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
margin: 14rpx auto 20px;
.background {
position: relative;
width: 657rpx;
height: 1650rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
margin: 0 auto;
top: 50%;
transform: translateY(-50%);
image {
width: 178rpx;
height: 200rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
}
}
}
}
.detailed {
width: 657rpx;
padding: 0 42rpx;
line-height: 56rpx;
}
.detailed view {}
.title {
text-align: center;
font-size: 36rpx;
font-weight: 600;
margin-bottom: 20rpx;
}
</style>