This commit is contained in:
曹辉 2023-02-13 16:07:06 +08:00
parent b80345c43f
commit 0b635ddcb1
40 changed files with 502 additions and 450 deletions

View File

@ -15,12 +15,11 @@
} }
.app { .app {
background-color: #F4F5F7;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; // position: relative;
color: #000000; color: #000000;
padding: 30rpx 0 200rpx 0; padding: 30rpx 0 150rpx 0;
.cards { .cards {
width: 94%; width: 94%;

View File

@ -43,13 +43,19 @@
] ]
}, },
/* ios */ /* ios */
"ios" : {}, "ios" : {
"dSYMs" : false
},
/* SDK */ /* SDK */
"sdkConfigs" : { "sdkConfigs" : {
"geolocation" : { "geolocation" : {
"system" : { "system" : {
"__platform__" : [ "ios", "android" ] "__platform__" : [ "ios", "android" ]
} }
},
"ad" : {},
"push" : {
"unipush" : null
} }
}, },
"splashscreen" : { "splashscreen" : {
@ -84,7 +90,10 @@
"uniStatistics" : { "uniStatistics" : {
"enable" : true "enable" : true
}, },
"lazyCodeLoading" : "requiredComponents" "lazyCodeLoading" : "requiredComponents",
"unipush" : {
"enable" : false
}
}, },
"mp-alipay" : { "mp-alipay" : {
"usingComponents" : true "usingComponents" : true

View File

@ -31,14 +31,12 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" "navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/ServiceDetails/ServiceDetails", "path": "pages/ServiceDetails/ServiceDetails",
"style": { "style": {
"navigationBarTitleText": "服务详情", "navigationBarTitleText": "服务详情",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" // "navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/ProjectDetails/ProjectDetails", "path": "pages/ProjectDetails/ProjectDetails",
@ -47,7 +45,6 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" // "navigationBarBackgroundColor": "#ffffff" //
} }
}, { }, {
"path": "pages/goodsorderRate/goodsorderRate", "path": "pages/goodsorderRate/goodsorderRate",
"style": { "style": {
@ -109,7 +106,6 @@
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, },
{ {
"path": "pages/user/user", "path": "pages/user/user",
"style": { "style": {
@ -142,7 +138,6 @@
"navigationBarBackgroundColor": "#ffffff" "navigationBarBackgroundColor": "#ffffff"
} }
}, },
{ {
"path": "pages/login/login", "path": "pages/login/login",
"style": { "style": {
@ -159,7 +154,6 @@
"navigationBarBackgroundColor": "#ffffff" // "navigationBarBackgroundColor": "#ffffff" //
} }
}, },
{ {
"path": "pages/Nursingstationserviceorder/Nursingstationserviceorder", "path": "pages/Nursingstationserviceorder/Nursingstationserviceorder",
"style": { "style": {
@ -202,7 +196,6 @@
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/order/order", "path": "pages/order/order",
"style": { "style": {
@ -217,17 +210,16 @@
"navigationBarTitleText": "预约详情", "navigationBarTitleText": "预约详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/homepage/homepage", "path": "pages/homepage/homepage",
"style": { "style": {
"navigationBarTitleText": "泉医到家", "navigationBarTitleText": "泉医到家",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" "navigationBarBackgroundColor": "#ffffff",
"navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/confirmOrder/confirmOrder", "path": "pages/confirmOrder/confirmOrder",
"style": { "style": {
@ -280,7 +272,6 @@
"onReachBottomDistance": 100, // px "onReachBottomDistance": 100, // px
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, },
{ {
"path": "pages/site/site", "path": "pages/site/site",
@ -292,14 +283,6 @@
"enablePullDownRefresh": true //true "enablePullDownRefresh": true //true
} }
}, },
{
"path": "pages/detail/detail",
"style": {
"navigationBarTitleText": "护理站简介",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" //
}
},
{ {
"path": "pages/medicine/medicine", "path": "pages/medicine/medicine",
"style": { "style": {
@ -308,7 +291,6 @@
"navigationBarBackgroundColor": "#ffffff" "navigationBarBackgroundColor": "#ffffff"
} }
}, },
{ {
"path": "pages/Doctordetails/Doctordetails", "path": "pages/Doctordetails/Doctordetails",
"style": { "style": {
@ -323,7 +305,6 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" "navigationBarBackgroundColor": "#ffffff"
} }
}, { }, {
"path": "pages/diseasemanagement/diseasemanagement", "path": "pages/diseasemanagement/diseasemanagement",
"style": { "style": {
@ -337,13 +318,16 @@
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/classification/classification", "path": "pages/classification/classification",
"style": { "style": {
"navigationBarTitleText": "分类", "navigationBarTitleText": "分类",
"enablePullDownRefresh": false "enablePullDownRefresh": false,
"disableScroll": true
// "navigationBarBackgroundColor": "#ffffff",
// "onReachBottomDistance": 50 // px
// "enablePullDownRefresh": true //true
} }
} }
@ -366,6 +350,12 @@
"selectedIconPath": "static/homepagews.png", "selectedIconPath": "static/homepagews.png",
"text": "首页" "text": "首页"
}, },
{
"pagePath": "pages/shopping/shopping",
"iconPath": "static/shoping.png",
"selectedIconPath": "static/shopingw.png",
"text": "商城"
},
{ {
"pagePath": "pages/Personal/Personal", "pagePath": "pages/Personal/Personal",
"iconPath": "static/userw.png", "iconPath": "static/userw.png",

View File

@ -8,7 +8,7 @@
</view> </view>
</view> </view>
<view class=" item" style="background-color: #E1AE3C ;" @tap='goorder'> <view class=" item" style="background-color: #E1AE3C ;" @tap='goorder'>
<image src="../../static/dingdan.png" mode=""></image> <!-- <image src="../../static/dingdan.png" mode=""></image> -->
<view class="title"> <view class="title">
我的订单 我的订单
</view> </view>

View File

@ -2,7 +2,7 @@
<view class="app"> <view class="app">
<view class="" v-if='GoodsCategorychildrenlist.length>1'> <view class="" v-if='GoodsCategorychildrenlist.length>1'>
<top-tabbar :tabIndex="tabIndex" :tabBars="GoodsCategorychildrenlist" @toggleToptab="toggleTab" <top-tabbar :tabIndex="tabIndex" :tabBars="GoodsCategorychildrenlist" @toggleToptab="toggleTab"
selectedBottomColor="#D43953" selectedTextColor="#D43953" textColor="#7d7e80" bgColor="#ffffff"> selectedBottomColor="#D43953" selectedTextColor="#D43953" textColor="#000000" bgColor="#ffffff">
</top-tabbar> </top-tabbar>
</view> </view>
<view class="inputs"> <view class="inputs">

View File

@ -1,22 +1,25 @@
<template> <template>
<view class="app"> <view class="apps">
<view class="" style="background-color: #fff;position: fixed;width: 100%;height: 85rpx;">
<view class="inputs"> <view class="inputs">
<i class="icon"></i> <i class="icon"></i>
<input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称"> <input v-model="goodsName" type="text" name="" id="" class="input" placeholder="请输入商品名称">
</view> </view>
</view>
<view class="tabbar">
<view class="lefttabbar"> <view class="lefttabbar">
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper" <view class="lefttabbarlist">
@scrolltolower="lower" @scroll="scroll"> <view class="item" v-for="(item,index) in GoodsCategorychildrenlist" :key='item.id'
<view class="scroll-view-item" v-for="(item,index) in GoodsCategorychildrenlist" :key='item.id'
@tap='tapscroll(item,index)'> @tap='tapscroll(item,index)'>
<view :class="tabIndex==index?'actives':'active'"> <view :class="tabIndex==index?'actives':'active'">
{{item.goodsCategoryName}} {{item.goodsCategoryName}}
</view> </view>
</view> </view>
</scroll-view>
</view> </view>
<view class="" style="display: inline-block;width: 80%;position: absolute;right: 0%;"> </view>
<view class="productlist" v-if='goodsList.length>0'> <view class="righttabbar">
<view class="productlist" v-if='goodsList.length>0' @touchstart="start" @touchend="end"
@touchmove="move">
<view class="item" @tap='goCommodityDetails(item)' v-for="(item,index) in goodsList" :key="index"> <view class="item" @tap='goCommodityDetails(item)' v-for="(item,index) in goodsList" :key="index">
<image :src="baseurl+item.goodsPictureUrl" mode=""></image> <image :src="baseurl+item.goodsPictureUrl" mode=""></image>
<view class="title"> <view class="title">
@ -31,6 +34,9 @@
</view> </view>
<view style="width: 45%;" v-if="goodsList.length%2!=0"> <view style="width: 45%;" v-if="goodsList.length%2!=0">
</view> </view>
<view v-if="goodsList.length <total">
用力上滑加载更多
</view>
</view> </view>
<view class="noorder" v-if='goodsList.length==0'> <view class="noorder" v-if='goodsList.length==0'>
<image src="../../static/noorder.png" mode=""></image> <image src="../../static/noorder.png" mode=""></image>
@ -39,7 +45,18 @@
</view> </view>
</view> </view>
</view> </view>
<u-back-top :scroll-top="scrollTop2"></u-back-top> </view>
<!-- <view class="lefttabbar">
<scroll-view :scroll-top="scrollTop" scroll-y="true" class="scroll-Y" @scrolltoupper="upper"
@scrolltolower="lower" @scroll="scroll">
<view class="scroll-view-item" v-for="(item,index) in GoodsCategorychildrenlist" :key='item.id'
@tap='tapscroll(item,index)'>
<view :class="tabIndex==index?'actives':'active'">
{{item.goodsCategoryName}}
</view>
</view>
</scroll-view>
</view> -->
</view> </view>
</template> </template>
@ -64,10 +81,15 @@
GoodsCategorychildrenlist: [], //list GoodsCategorychildrenlist: [], //list
GoodsCategorychildrenid: null, GoodsCategorychildrenid: null,
scrollTop: 0, scrollTop: 0,
scrollTop2: 0,
old: { old: {
scrollTop: 0 scrollTop: 0
} },
startData: {
clientX: '',
clientY: '',
},
moveX: 0,
touch: {},
}; };
}, },
watch: { // watch: { //
@ -103,8 +125,32 @@
this.GoodsCategorychildren(this.goodsCategoryId); this.GoodsCategorychildren(this.goodsCategoryId);
}, },
methods: { methods: {
onPageScroll(e) { // touch
this.scrollTop2 = e.scrollTop; start(e) { //@touchstart
console.log(e)
this.startData.pageY = e.changedTouches[0].pageY; //Y
},
end(e) { //@touchend
console.log(this.startData.pageY - this.touch.pageY)
if ((this.startData.pageY - this.touch.pageY) > 200) { //
if (this.goodsList.length >= this.total) {} else {
this.pageNum++;
goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => {
if (res.code == 200) {
res.rows.forEach(e => {
this.goodsList.push(e)
})
}
})
}
} else {
// this.touch = {};
}
},
move(event) { //@touchmove
console.log(event, 2)
let touch = event.touches[0]; // Objcet
this.touch = touch;
}, },
tapscroll(item, index) { tapscroll(item, index) {
this.tabIndex = index this.tabIndex = index
@ -171,28 +217,28 @@
}) })
}, },
}, },
onReachBottom() { // // onReachBottom() { //
if (this.goodsList.length >= this.total) {} else { // if (this.goodsList.length >= this.total) {} else {
this.pageNum++; // this.pageNum++;
goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => { // goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => {
if (res.code == 200) { // if (res.code == 200) {
res.rows.forEach(e => { // res.rows.forEach(e => {
this.goodsList.push(e) // this.goodsList.push(e)
}) // })
} // }
}) // })
} // }
}, // },
onPullDownRefresh() { // // onPullDownRefresh() { //
this.pageNum = 1; // this.pageNum = 1;
goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => { // goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => {
this.goodsList = res.rows // this.goodsList = res.rows
this.total = res.total // this.total = res.total
}) // })
setTimeout(function() { // setTimeout(function() {
uni.stopPullDownRefresh(); // uni.stopPullDownRefresh();
}, 1000); // }, 1000);
}, // },
//1. //1.
onShareAppMessage(res) { onShareAppMessage(res) {
let pages = getCurrentPages(); let pages = getCurrentPages();
@ -217,13 +263,12 @@
</script> </script>
<style lang="scss"> <style lang="scss">
.app { .apps {
padding: 0;
width: 100%; width: 100%;
height: 100%; background-color: #F4F5F7;
color: #000000;
.inputs { .inputs {
position: fixed;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border: 1px solid #f0f0f0; border: 1px solid #f0f0f0;
width: 90%; width: 90%;
@ -231,7 +276,7 @@
margin: 10rpx 0 10rpx 50%; margin: 10rpx 0 10rpx 50%;
transform: translateX(-50%); transform: translateX(-50%);
border-radius: 20rpx; border-radius: 20rpx;
background-color: #Ffffff; background-color: #f0f0f0;
z-index: 999; z-index: 999;
.input { .input {
@ -256,64 +301,40 @@
} }
} }
::-webkit-scrollbar {
display: none;
width: 0 !important;
height: 0 !important;
-webkit-appearance: none;
background: transparent;
color: transparent;
}
.lefttabbar { .tabbar {
position: fixed; display: flex;
width: 20%; padding-top: 100rpx;
display: inline-block; height: 100vh;
width: 100%;
.righttabbar {
width: 70%;
// display: inline-block;
// height: calc(100vh - 85rpx);
height: 100%; height: 100%;
top: 100rpx;
.scroll-Y {
height: 100%;
}
.actives {
color: red;
font-size: 34rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.active {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.scroll-view-item {
color: #7d7e80;
height: 100rpx;
line-height: 100rpx;
text-align: center;
font-size: 30rpx;
padding: 0 10rpx;
}
}
.noorder {
view {
text-align: center;
font-size: 40rpx;
color: #BFBFBF;
}
image {
display: block;
margin: 20% auto 50rpx;
width: 160rpx;
height: 200rpx;
}
}
.productlist { .productlist {
padding-bottom: 40rpx;
overflow: scroll;
-webkit-overflow-scrolling: touch;
width: 100%; width: 100%;
margin: 120rpx auto 0; height: 100%;
margin: 0 auto;
padding-top: 15rpx;
border-radius: 25rpx;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
background-color: #ffffff;
.item { .item {
width: 45%; width: 45%;
@ -322,6 +343,7 @@
padding-bottom: 10rpx; padding-bottom: 10rpx;
box-shadow: 0px 4rpx 8rpx 4rpx rgba(199, 200, 202, 0.8); box-shadow: 0px 4rpx 8rpx 4rpx rgba(199, 200, 202, 0.8);
margin-bottom: 30rpx; margin-bottom: 30rpx;
height: 450rpx;
.price { .price {
font-size: 28rpx; font-size: 28rpx;
@ -361,4 +383,61 @@
} }
} }
} }
.lefttabbar {
width: 30%;
// display: inline-block;
height: 100%;
padding-top: 20rpx;
.lefttabbarlist {
overflow: scroll;
-webkit-overflow-scrolling: touch;
height: 100%;
}
.actives {
color: red;
font-size: 34rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background-color: #ffffff;
// border-radius: 25rpx 0 0 25rpx;
}
.active {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.item {
color: #000000;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size: 30rpx;
width: 100%;
}
}
}
.noorder {
view {
text-align: center;
font-size: 40rpx;
color: #BFBFBF;
}
image {
display: block;
margin: 20% auto 50rpx;
width: 160rpx;
height: 200rpx;
}
}
}
</style> </style>

View File

@ -1,129 +0,0 @@
<template>
<view class="app">
<view class="concent">
<view class="background">
<image src="/static/logo.png" mode=""></image>
<view>
<view class="detailed">
<view>护理站是以维护社区人群健康满足社区 人群基本医疗护理需求为宗旨以护士为核心 的各类护理人员组成的团队在一定社区范围 为长期卧床老人患者残疾人临终患
者和其他需要护理服务者提供基础护理专科 护理临终护理消毒隔离技术指导营养指导社区康复指导健康宣教和其他护理服务 的医疗机构</view>
<view>护理站以遵医嘱的上门护理服务为主包括生活护理和医疗护理详情如下</view>
</view>
</view>
</view>
</view>
<view class="concenta">
<view class="life">生活护理 </view>
<image src="/static/lifeserve.png" mode=""></image>
</view>
<view class="concentb">
<view class="life">医疗护理 </view>
<image src="/static/yiliaohuli.png" mode=""></image>
</view>
</view>
</template>
<script>
export default {
data() {
return {}
},
methods: {},
//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: 98%;
height: 811rpx;
background: #4C7BC9;
box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
margin: 10rpx auto 10rpx;
.background {
position: relative;
width: 657rpx;
height: 727rpx;
background: #FFFFFF;
border-radius: 25rpx;
background-color: white;
margin: 0 auto;
top: 50%;
transform: translateY(-50%);
image {
width: 178rpx;
height: 84rpx;
background: #FFFFFF;
border-radius: 25px;
margin-left: 68%;
margin-top: 5%;
}
}
}
}
.concenta,
.concentb {
margin: 0 auto 10rpx;
width: 98%;
height: 900rpx;
padding-bottom: 40rpx;
border-radius: 25rpx;
.life {
padding: 15rpx 0;
font-size: 38rpx;
text-align: center;
color: #ffffff;
}
image {
margin: 0 auto;
width: 89%;
display: block;
height: 91%;
// margin-left: 3%;
}
}
.concenta {
background: #E1AE3C;
}
.concentb {
background: #00C176;
}
.detailed {
width: 657rpx;
padding: 0 42rpx;
line-height: 56rpx;
}
.detailed view {
text-indent: 2em;
}
</style>

View File

@ -1,40 +1,73 @@
<template> <template>
<view class="app"> <view class="app">
<view class="cards"> <swiper class="swiper-block" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
<view class="nursing item" @tap="gosite"> circular='true' previous-margin='70rpx' next-margin='70rpx' current='0' @change="swiperChange">
<image src="../../static/jjhl.png" mode=""></image> <swiper-item class="swiper-item" v-for="(item,index) in swiperImgUrls">
<image :src="item" :class="['slide-image', currentIndex === index?'active':'']">
</image>
</swiper-item>
</swiper>
<view class="items">
<view class="item" @tap="gosite">
<image src="../../static/hlz.png" mode=""></image>
<view class="title"> <view class="title">
护理站 护理站
</view> </view>
</view> </view>
<view class="expert item" @tap='gomedicine'> <view class="item">
<image src="../../static/zhuanjia.png" mode=""></image> <image src="../../static/jkzx.png" mode=""></image>
<view class="title"> <view class="title">
就医 健康咨询
</view> </view>
</view> </view>
<view class="item knowledge" @tap='godiseasemanagement'> <view class="item" @tap='godiseasemanagement'>
<image src="../../static/zs.png" mode=""></image> <image src="../../static/zbgl.png" mode=""></image>
<view class="title"> <view class="title">
专病管理 专病管理
</view> </view>
</view> </view>
<view class="item Bodyguard" @tap='goBodysatelliteintegration'> </view>
<image src="../../static/pb.png" mode=""></image> <view class="Welfarecustomerservice">
<image src="../../static/fuli.png" mode=""></image>
<image src="../../static/kefu.png" mode=""></image>
</view>
<view class="Healthknowledge">
<view class="title"> <view class="title">
体卫融合 健康常识
</view> </view>
</view> <view class="more">
<view class="elderly item" @tap='goGeriatricdisease'>
<image src="../../static/ylfw.png" mode=""></image>
<view class="title" style="font-size: 40rpx;">
国家老年病中心
</view>
</view>
<view class='item shopping' @tap="goshopping">
<image src="../../static/shopping.png" mode=""></image>
<view class="title"> <view class="title">
商城 查看更多
</view>
<image src="../../static/huijiantou.png" mode=""></image>
</view>
<view class="list">
<view class="item">
<view class="text">
医疗资讯医疗资讯医疗 资讯医疗资讯
</view>
<view class="author">
信赖保障
</view>
<image src="../../static/kefu.png" mode=""></image>
</view>
<view class="item">
<view class="text">
医疗资讯医疗资讯医疗 资讯医疗资讯
</view>
<view class="author">
信赖保障
</view>
<image src="../../static/kefu.png" mode=""></image>
</view>
<view class="item">
<view class="text">
医疗资讯医疗资讯医疗资讯医疗资讯
</view>
<view class="author">
信赖保障
</view>
<image src="../../static/kefu.png" mode=""></image>
</view> </view>
</view> </view>
</view> </view>
@ -45,7 +78,31 @@
<script> <script>
export default { export default {
data() { data() {
return {}; return {
swiperImgUrls: [
'../../static/zixun.png',
'../../static/zixun.png',
'../../static/zixun.png',
],
currentIndex: 0,
};
},
methods: {
swiperChange(event) {
this.currentIndex = event.detail.current
},
//
godiseasemanagement() {
uni.navigateTo({
url: '/pages/diseasemanagement/diseasemanagement'
})
},
//
gosite() {
uni.navigateTo({
url: '/pages/site/site'
})
},
}, },
//1. //1.
onShareAppMessage(res) { onShareAppMessage(res) {
@ -65,74 +122,164 @@
path: url, path: url,
} }
}, },
methods: {
//
godiseasemanagement() {
uni.navigateTo({
url: '/pages/diseasemanagement/diseasemanagement'
})
},
//
goGeriatricdisease() {
uni.navigateTo({
url: '/pages/Geriatricdisease/Geriatricdisease'
})
},
//
goBodysatelliteintegration() {
uni.navigateTo({
url: "/pages/Bodysatelliteintegration/Bodysatelliteintegration"
})
},
//
gosite() {
uni.navigateTo({
url: '/pages/site/site'
})
},
//
goshopping() {
uni.navigateTo({
url: '/pages/shopping/shopping'
})
},
//
gomedicine() {
uni.navigateTo({
url: '/pages/medicine/medicine'
})
},
}
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.app { .app {
.cards { padding: 0;
padding: 22px 0 20px 0;
.shopping { .Healthknowledge {
background: #F58540; 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;
} }
.Bodyguard { image {
background-color: #00C176; position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 15rpx;
height: 25rpx;
}
} }
.knowledge { .list {
background: #9E4DD0; width: 100%;
margin: 20rpx auto 0;
.item {
width: 100%;
height: 200rpx;
position: relative;
border-bottom: 2rpx solid #CDC9C9;
image {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
width: 253rpx;
height: 164rpx;
border-radius: 10rpx;
} }
.elderly { .author {
background-color: #E1AE3C; position: absolute;
bottom: 20rpx;
left: 0;
font-size: 20rpx;
color: #969494;
} }
.expert { .text {
background-color: #D43953; position: absolute;
top: 20rpx;
left: 0;
width: 50%;
font-size: 30rpx;
}
}
} }
.nursing { .title {
background: #4C7BC9; font-size: 38rpx;
font-weight: bold;
}
}
.Welfarecustomerservice {
display: flex;
justify-content: center;
background-color: #fff;
width: 100%;
padding: 30rpx 0;
margin-bottom: 20rpx;
image:nth-child(1) {
margin: 0 5rpx 0 0;
}
image:nth-child(2) {
margin: 0 0 0 5rpx;
}
image {
width: 350rpx;
height: 200rpx;
}
}
.swiper-block {
padding-top: 120rpx;
background-color: #fff;
height: 400rpx;
width: 100%;
margin: 0 auto;
}
.swiper-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
overflow: unset;
}
.slide-image {
height: 340rpx;
width: 96%;
margin: 0 auto;
border-radius: 30rpx;
z-index: 1;
}
.active {
transform: scale(1.14);
transition: all 0.2s ease-in 0s;
z-index: 20;
}
.items {
background-color: #fff;
padding: 30rpx 80rpx 20px;
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
.item {
image {
width: 150rpx;
height: 150rpx;
display: block;
margin: 0 auto 20rpx;
}
.title {
font-size: 40rpx;
font-weight: 550;
text-align: center;
}
} }
} }
} }

View File

@ -1,23 +1,5 @@
<template> <template>
<view class="app"> <view class="app">
<!-- <view class="cards">
<view class="item" style="background: #4C7BC9;" @tap='godoctorslist'>
<image src="../../static/yuyue.png" mode=""></image>
<view class="title" style="font-size: 42rpx;">
预约医生
</view>
</view>
<view class="item" style="background-color: #E1AE3C;">
<image src="../../static/chaxun.png" mode=""></image>
<view class="title" style="font-size: 42rpx;">
查看结果
</view>
</view>
</view> -->
<view class="concent"> <view class="concent">
<view class="background"> <view class="background">
<image src="/static/logo.png" mode=""></image> <image src="/static/logo.png" mode=""></image>

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="app"> <view class="app">
<view class="cards"> <view class="cards">
<view class="item" :style="{background:listcolor[index]}" @tap='goProductList(item)' <view class="item" :style="{background:listcolor[index % listcolor.length]}" @tap='goProductList(item)'
v-for="(item,index) in goodsCategoryList" :key="index"> v-for="(item,index) in goodsCategoryList" :key="index">
<image :src="item.goodsCategoryPicture" mode=""></image> <image :src="item.goodsCategoryPicture" mode=""></image>
<view class="title" style="font-size:42rpx"> <view class="title" style="font-size:42rpx">
@ -25,23 +25,7 @@
pageSize: 10, // pageSize: 10, //
total: 0, //list total: 0, //list
goodsCategoryList: [], //list goodsCategoryList: [], //list
// listimg:[ listcolor: ['#00C176', '#D43953', '#E1AE3C', '#4C7BC9', '#9e4dd0'], //
// {
// img:'../../static/sp.png',
// },
// {
// img:'../../static/yyss.png',
// },
// {
// img:'../../static/znsb.png',
// },
// {
// img:'../../static/cp.png',
// },
// ],
listcolor: ['#00C176', '#D43953', '#E1AE3C', '#4C7BC9', '#9e4dd0', '#00C176', '#D43953', '#E1AE3C',
'#4C7BC9', '#9e4dd0',
], //
}; };
}, },
//1. //1.
@ -63,10 +47,18 @@
} }
}, },
// //
onLoad(options) {}, onLoad(options) {
onShow() { this.pageNum = 1
this.goodsCategory() this.goodsCategory()
}, },
onShow() {
let that = this
this.pageNum = 1
const value = uni.getStorageSync('Refresh');
if (value) {
that.goodsCategory();
}
},
methods: { methods: {
// //
goProductList(item) { goProductList(item) {

View File

@ -1,14 +1,6 @@
//护理站列表 //护理站列表
.app{ .app{
padding: 0 0 5rpx 0; padding: 0 0 5rpx 0;
.map{
padding-top: 100rpx;
z-index: 1;
.map{
z-index: 1;
}
}
} }
.conNew { .conNew {
width: 96%; width: 96%;

View File

@ -1,9 +1,5 @@
<template> <template>
<view class="app"> <view class="app">
<view class="nursetation" @tap='detailed()'>
<text class="what">什么是护理站</text>
<u-icon class="icon" name="arrow-right"></u-icon>
</view>
<view class="map" style="height:35vh;"> <view class="map" style="height:35vh;">
<map style="width:100%; height:100%" scale="17" :latitude="latitude" :longitude="longitude" <map style="width:100%; height:100%" scale="17" :latitude="latitude" :longitude="longitude"
:markers="markers"></map> :markers="markers"></map>
@ -105,11 +101,6 @@
url: `/pages/nursestation/nursestation?nurseStationId=${item.nurseStationId}` url: `/pages/nursestation/nursestation?nurseStationId=${item.nurseStationId}`
}) })
}, },
detailed() {
uni.navigateTo({
url: `/pages/detail/detail`
})
},
cancel() { cancel() {
this.mask = false this.mask = false
uni.switchTab({ uni.switchTab({

View File

@ -13,9 +13,7 @@
} from '@/api/startup/index.js' } from '@/api/startup/index.js'
export default { export default {
data() { data() {
return { return {};
};
}, },
//1. //1.
onShareAppMessage(res) { onShareAppMessage(res) {
@ -49,6 +47,7 @@
<style lang="scss"> <style lang="scss">
.app { .app {
height: 100vh; height: 100vh;
background-color: #fff;
} }
image { image {

View File

@ -82,7 +82,7 @@
// //
textColor: { textColor: {
type: String, type: String,
default: '#7d7e80' default: '#000000'
} }
}, },
data() { data() {
@ -105,10 +105,11 @@
font-weight: normal; font-weight: normal;
height: 75rpx; height: 75rpx;
text-align: center; text-align: center;
color: #7d7e80; color: #000000;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
font-size: 32rpx;
view { view {
position: absolute; position: absolute;
@ -116,10 +117,10 @@
} }
image { image {
width: 40rpx; width: 45rpx;
height: 40rpx; height: 45rpx;
position: absolute; position: absolute;
left: 25%; left: 18%;
top: 50%; top: 50%;
transform: translateY(-55%); transform: translateY(-55%);
} }
@ -146,11 +147,11 @@
white-space: nowrap; white-space: nowrap;
.swiper-tab-list { .swiper-tab-list {
font-size: 28rpx; font-size: 32rpx;
font-weight: normal; font-weight: normal;
line-height: 70rpx; line-height: 70rpx;
padding: 0 15rpx;
// //
width: 25%;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
} }
@ -158,7 +159,7 @@
.active { .active {
.swiper-tab-line { .swiper-tab-line {
height: 4rpx; height: 4rpx;
width: 80rpx; width: 100%;
margin: auto; margin: auto;
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/fuli.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
static/hlz.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

BIN
static/huijiantou.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

BIN
static/jkzx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
static/kefu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/shoping.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/shopingw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

BIN
static/zbgl.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

BIN
static/zixun.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB