111111111111111111
This commit is contained in:
parent
ec9c1ae97a
commit
545c7f8eee
|
|
@ -2,9 +2,6 @@
|
||||||
<view class="font-father">
|
<view class="font-father">
|
||||||
|
|
||||||
<view class="fixed">
|
<view class="fixed">
|
||||||
|
|
||||||
<!-- <image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" /> -->
|
|
||||||
|
|
||||||
<image v-if="!uni.getStorageSync('isstaffchange')" class="title-photo" :src="`https://www.focusnu.com/media/directive/index/blue111.png`" />
|
<image v-if="!uni.getStorageSync('isstaffchange')" class="title-photo" :src="`https://www.focusnu.com/media/directive/index/blue111.png`" />
|
||||||
<image v-if="uni.getStorageSync('isstaffchange')" class="title-photo" style="width: 300rpx;height: 300rpx;" :src="`https://www.focusnu.com/media/directive/index/blue222.png`" />
|
<image v-if="uni.getStorageSync('isstaffchange')" class="title-photo" style="width: 300rpx;height: 300rpx;" :src="`https://www.focusnu.com/media/directive/index/blue222.png`" />
|
||||||
|
|
||||||
|
|
@ -16,41 +13,12 @@
|
||||||
{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的个人信息已成功修改' : '尊敬的用户,您的员工入驻申请已提交成功' }}
|
{{ uni.getStorageSync('isstaffchange') ? '尊敬的用户,您好!您的个人信息已成功修改' : '尊敬的用户,您的员工入驻申请已提交成功' }}
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="font-title">
|
|
||||||
申请已成功提交
|
|
||||||
</view> -->
|
|
||||||
<view class="normal">
|
<view class="normal">
|
||||||
<text>
|
<text>
|
||||||
{{ uni.getStorageSync('isstaffchange')?`新设置即刻生效`:`欢迎加入护理单元大家庭` }}
|
{{ uni.getStorageSync('isstaffchange')?`新设置即刻生效`:`欢迎加入护理单元大家庭` }}
|
||||||
!
|
!
|
||||||
</text>
|
</text>
|
||||||
<!-- <text>
|
|
||||||
{{ special?`期待与您继续携手同行`:`期待您早日加入护理单元大家庭` }}
|
|
||||||
!
|
|
||||||
</text> -->
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="normal">
|
|
||||||
|
|
||||||
|
|
||||||
<text>
|
|
||||||
{{ special?`期待与您继续携手同行`:`期待您早日加入护理单元大家庭` }}
|
|
||||||
!
|
|
||||||
</text>
|
|
||||||
|
|
||||||
</view> -->
|
|
||||||
<!-- <view class="normal">
|
|
||||||
|
|
||||||
|
|
||||||
<text>
|
|
||||||
|
|
||||||
</text>
|
|
||||||
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="bottom-button" @click="jumpto">
|
<view class="bottom-button" @click="jumpto">
|
||||||
我的机构
|
我的机构
|
||||||
|
|
@ -83,54 +51,6 @@
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: `/pages/yuangongindex/index`
|
url: `/pages/yuangongindex/index`
|
||||||
});
|
});
|
||||||
// if (!res.result.tel) {
|
|
||||||
// uni.reLaunch({
|
|
||||||
// url: `/pages/login/xuanchuan`
|
|
||||||
// });
|
|
||||||
// } else {
|
|
||||||
// if (uni.getStorageSync('special')) {
|
|
||||||
// uni.setStorageSync('tel', res.result.tel);
|
|
||||||
// uni.setStorageSync('token', res.result.token);
|
|
||||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
|
||||||
// uni.setStorageSync('platId', res.result.platId);
|
|
||||||
// uni.setStorageSync('izJg', res.result.izJg);
|
|
||||||
// uni.setStorageSync('izJs', res.result.izJs);
|
|
||||||
// uni.setStorageSync('izYg', res.result.izYg);
|
|
||||||
// uni.reLaunch({
|
|
||||||
// url: `/pages/login/specialloginafther`
|
|
||||||
// });
|
|
||||||
// } else {
|
|
||||||
// uni.setStorageSync('tel', res.result.tel);
|
|
||||||
// uni.setStorageSync('token', res.result.token);
|
|
||||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
|
||||||
// uni.setStorageSync('platId', res.result.platId);
|
|
||||||
// uni.setStorageSync('izJg', res.result.izJg);
|
|
||||||
// uni.setStorageSync('izJs', res.result.izJs);
|
|
||||||
// uni.setStorageSync('izYg', res.result.izYg);
|
|
||||||
// switch (res.result.advisoryType) {
|
|
||||||
// case `1`:
|
|
||||||
// uni.reLaunch({
|
|
||||||
// url: `/pages/login/threeselectone`
|
|
||||||
// });
|
|
||||||
// break;
|
|
||||||
// case 2:
|
|
||||||
|
|
||||||
|
|
||||||
// break;
|
|
||||||
// case `3`:
|
|
||||||
// uni.reLaunch({
|
|
||||||
// url: `/pages/index/index`
|
|
||||||
// });
|
|
||||||
// break;
|
|
||||||
// default:
|
|
||||||
// uni.reLaunch({
|
|
||||||
// url: `/pages/login/threeselectone`
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -157,12 +77,9 @@
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
// padding: 0 30rpx;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// width: 100%;
|
|
||||||
font-size: 80rpx;
|
font-size: 80rpx;
|
||||||
// margin-left: -5rpx;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-button {
|
.bottom-button {
|
||||||
|
|
@ -198,7 +115,6 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
// background-color: #fff;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
padding: 0 70rpx;
|
padding: 0 70rpx;
|
||||||
|
|
@ -208,10 +124,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.small-title {
|
.small-title {
|
||||||
// margin-top: 30rpx;
|
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
// font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.normal {
|
.normal {
|
||||||
|
|
@ -219,8 +133,6 @@
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
// flex-direction: column;
|
|
||||||
// justify-content: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
@ -228,7 +140,6 @@
|
||||||
|
|
||||||
.title-photo {
|
.title-photo {
|
||||||
margin-top: 300rpx;
|
margin-top: 300rpx;
|
||||||
// margin-bottom: 30rpx;
|
|
||||||
width: 120rpx;
|
width: 120rpx;
|
||||||
height: 120rpx;
|
height: 120rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,13 @@
|
||||||
<template>
|
<!-- <template>
|
||||||
<view class="font-father">
|
<view class="font-father">
|
||||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" />
|
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" />
|
||||||
<image class="title-photo" :src="`https://www.focusnu.com/media/directive/index/bluephoto.png`" />
|
<image class="title-photo" :src="`https://www.focusnu.com/media/directive/index/bluephoto.png`" />
|
||||||
<view class="small-title">尊敬的用户,您的手机<text style="color: rgb(1,153,255);font-weight: 600;">{{ phone }}</text></view>
|
<view class="small-title">尊敬的用户,您的手机<text style="color: rgb(1,153,255);font-weight: 600;">{{ phone }}</text></view>
|
||||||
<!-- <view class="small-title"></view> -->
|
|
||||||
<view class="font-title">
|
<view class="font-title">
|
||||||
已成功绑定,期待您早日加入护理单元大家庭!
|
已成功绑定,期待您早日加入护理单元大家庭!
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="normal">
|
|
||||||
<text style="font-weight: 600;">
|
|
||||||
期待您早日加入护理单元大家庭!
|
|
||||||
</text>
|
|
||||||
</view> -->
|
|
||||||
<view class="bottom-button" @click="jumpto">
|
<view class="bottom-button" @click="jumpto">
|
||||||
我的机构
|
我的机构
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -30,7 +26,6 @@
|
||||||
|
|
||||||
|
|
||||||
const jumpto = () => {
|
const jumpto = () => {
|
||||||
console.log("???")
|
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: `/pages/login/threeselectone`
|
url: `/pages/login/threeselectone`
|
||||||
});
|
});
|
||||||
|
|
@ -55,12 +50,9 @@
|
||||||
.font-title {
|
.font-title {
|
||||||
padding: 0 70rpx;
|
padding: 0 70rpx;
|
||||||
margin-top: 0rpx;
|
margin-top: 0rpx;
|
||||||
// margin-bottom: 30rpx;
|
|
||||||
// font-weight: 600;
|
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// font-size: 70rpx;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 50rpx;
|
line-height: 50rpx;
|
||||||
}
|
}
|
||||||
|
|
@ -114,4 +106,138 @@
|
||||||
height: 350rpx;
|
height: 350rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
</style> -->
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<view class="font-father">
|
||||||
|
|
||||||
|
<view class="fixed">
|
||||||
|
<image v-if="!uni.getStorageSync('isstaffchange')" class="title-photo" :src="`https://www.focusnu.com/media/directive/index/blue111.png`" />
|
||||||
|
<image v-if="uni.getStorageSync('isstaffchange')" class="title-photo" style="width: 300rpx;height: 300rpx;" :src="`https://www.focusnu.com/media/directive/index/blue222.png`" />
|
||||||
|
|
||||||
|
<view style="font-size: 35rpx;font-weight: 600;margin: 50rpx 0;">
|
||||||
|
尊敬的用户,您的手机
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="small-title">
|
||||||
|
{{ phone }}
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="normal">
|
||||||
|
<text>
|
||||||
|
已成功绑定,期待您早日加入护理单元大家庭!
|
||||||
|
</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="bottom-button" @click="jumpto">
|
||||||
|
我的机构
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import {
|
||||||
|
onLoad
|
||||||
|
} from '@dcloudio/uni-app'
|
||||||
|
import {
|
||||||
|
reactive,
|
||||||
|
ref
|
||||||
|
} from 'vue';
|
||||||
|
|
||||||
|
|
||||||
|
const jumpto = () => {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: `/pages/login/threeselectone`
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
const phone = ref("");
|
||||||
|
onLoad((options) => {
|
||||||
|
phone.value = uni.getStorageSync('tel');
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.font-father {
|
||||||
|
width: 100%;
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
position: relative;
|
||||||
|
background-color: rgb(239, 239, 239);
|
||||||
|
|
||||||
|
.font-title {
|
||||||
|
margin-top: 0rpx;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 30rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
font-size: 80rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bottom-button {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
bottom: 0rpx;
|
||||||
|
margin-top: 80rpx;
|
||||||
|
margin-bottom: 90rpx;
|
||||||
|
width: 80%;
|
||||||
|
height: 90rpx;
|
||||||
|
border-radius: 35rpx;
|
||||||
|
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||||
|
color: #fff;
|
||||||
|
font-size: 33rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.title-img {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100vh;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fixed {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
padding: 0 70rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.small-title {
|
||||||
|
margin-bottom: 10rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.normal {
|
||||||
|
padding: 0 70rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
line-height: 50rpx;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
|
||||||
|
.title-photo {
|
||||||
|
margin-top: 300rpx;
|
||||||
|
width: 120rpx;
|
||||||
|
height: 120rpx;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -17,9 +17,87 @@
|
||||||
<view v-for="(item,index) in menuArray" :key="index">
|
<view v-for="(item,index) in menuArray" :key="index">
|
||||||
<swiper-item>
|
<swiper-item>
|
||||||
<view class="white-content-father">
|
<view class="white-content-father">
|
||||||
|
|
||||||
|
<view style="z-index: 1;width: 100%;position: relative;"
|
||||||
|
v-if="item.applyStatus!=`-1`&& item.elderInfo">
|
||||||
|
<view class="two-card">
|
||||||
|
<view class="left-card">
|
||||||
|
NUID:{{ item.elderInfo && item.elderInfo.nuId }}
|
||||||
|
<view
|
||||||
|
style="font-size: 45rpx;font-weight: 600;margin-top: 10rpx;display: flex;justify-content: space-between;align-items: center;">
|
||||||
|
{{ timeText }}
|
||||||
|
<image style="width: 60rpx;height: 60rpx;"
|
||||||
|
src="https://www.focusnu.com/media/directive/index/oldmanphoto/time.png"
|
||||||
|
mode="widthFix" lazy-load="false" />
|
||||||
|
</view>
|
||||||
|
<view style="display: flex;color: #7C788D;margin-left: 5rpx;">
|
||||||
|
{{ dateText }}
|
||||||
|
<view style="margin-left: 20rpx;">
|
||||||
|
{{ weekdayText }}
|
||||||
|
</view>
|
||||||
|
|
||||||
<view style="z-index: 1;width: 100%;" v-if="item.applyStatus!=`-1`&& item.elderInfo">
|
</view>
|
||||||
<view class="zhiling-box">
|
<view style="display: flex;margin-top: 30rpx;">
|
||||||
|
<view class="">
|
||||||
|
<image style="width: 50rpx;height: 50rpx;margin-left: 30rpx;"
|
||||||
|
src="https://www.focusnu.com/media/directive/index/oldmanphoto/shi.png"
|
||||||
|
mode="widthFix" lazy-load="false" />
|
||||||
|
<view style="margin-right: 50rpx;margin-left: 10rpx;display: flex;">
|
||||||
|
<view style="font-size: 25rpx;color: #B5B5B5;margin-right: 10rpx;">
|
||||||
|
湿度
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||||
|
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== undefined && item.humidDeviceList[0].humidity !== null)
|
||||||
|
? item.humidDeviceList[0].humidity
|
||||||
|
: '—' }}%
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
<image style="width: 50rpx;height: 50rpx;margin-left: 10rpx;"
|
||||||
|
src="https://www.focusnu.com/media/directive/index/oldmanphoto/wen.png"
|
||||||
|
mode="widthFix" lazy-load="false" />
|
||||||
|
<view style="display: flex;">
|
||||||
|
<view style="font-size: 25rpx;color: #B5B5B5;margin-right: 10rpx;">
|
||||||
|
温度
|
||||||
|
</view>
|
||||||
|
<view style="font-size: 25rpx;color: #B5B5B5;">
|
||||||
|
{{ (item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== undefined && item.humidDeviceList[0].temperature !== null) ? item.humidDeviceList[0].temperature : '—' }}℃
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="right-card">
|
||||||
|
<view class="right-top-card">
|
||||||
|
<image style="width: 80rpx;height: 80rpx;margin-right: 10rpx;"
|
||||||
|
src="https://www.focusnu.com/media/directive/index/oldmanphoto/old.png"
|
||||||
|
mode="widthFix" lazy-load="false" />
|
||||||
|
<view class="">
|
||||||
|
<view style="font-size: 32rpx;font-weight: 600;margin-bottom: 5rpx;">
|
||||||
|
{{ item.elderInfo && item.elderInfo.name }}
|
||||||
|
</view>
|
||||||
|
<view style="color: #7C788D;margin-left: 5rpx;font-size: 22rpx;">
|
||||||
|
|
||||||
|
<view>
|
||||||
|
{{ item.nuName }}
|
||||||
|
</view>
|
||||||
|
<!-- 啊啊啊啊啊啊啊啊啊 -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="right-top-card" style="margin-top: 17rpx;padding: 0 30rpx;padding-top: 20rpx;font-size: 25rpx;">
|
||||||
|
<view class="">
|
||||||
|
{{ item.departName }}
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- <view class="zhiling-box">
|
||||||
<view style="margin-left: 30rpx;">
|
<view style="margin-left: 30rpx;">
|
||||||
<view style="font-size: 40rpx;font-weight: 600;">
|
<view style="font-size: 40rpx;font-weight: 600;">
|
||||||
{{ item.elderInfo && item.elderInfo.name }}
|
{{ item.elderInfo && item.elderInfo.name }}
|
||||||
|
|
@ -59,17 +137,18 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view> -->
|
||||||
<view class="white-box-father">
|
<view class="white-box-father">
|
||||||
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box"
|
<view v-for="(item0,index) in buttonArray" :key="index" class="white-box"
|
||||||
@click="clickButton(item,index)">
|
@click="clickButton(item,index)">
|
||||||
<image class="box-img"
|
<image class="box-img"
|
||||||
:src="`https://www.focusnu.com/media/directive/index/oldmanmenu/${index}.png`" />
|
:src="`https://www.focusnu.com/media/directive/index/oldmanphoto/${index}.png`" />
|
||||||
<view class="box-font">{{item0}}</view>
|
<view class="box-font">{{item0}}</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="white-box">
|
<view class="white-box">
|
||||||
<view style="font-weight: 600;font-size: 80rpx;">+</view>
|
<image class="box-img"
|
||||||
|
:src="`https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -227,7 +306,7 @@
|
||||||
|
|
||||||
const content = ref("");
|
const content = ref("");
|
||||||
|
|
||||||
const buttonArray = ref(["长者信息", "监护人", "充值缴费", "长者功能 ", "长者功能", "长者功能", "长者功能"])
|
const buttonArray = ref(["护理服务", "医疗服务", "账单查询", "视频监视", "外出申请", "长者信息", "监护人"])
|
||||||
const statusarray = ["loading", "success", "fail"]
|
const statusarray = ["loading", "success", "fail"]
|
||||||
const which = ref(0);
|
const which = ref(0);
|
||||||
|
|
||||||
|
|
@ -277,7 +356,7 @@
|
||||||
|
|
||||||
const clickButton = (item, index) => {
|
const clickButton = (item, index) => {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 5:
|
||||||
queryElders(item.elderId).then(res => {
|
queryElders(item.elderId).then(res => {
|
||||||
// workArray.value = res.result
|
// workArray.value = res.result
|
||||||
console.log("AAAAA", res.result[0])
|
console.log("AAAAA", res.result[0])
|
||||||
|
|
@ -286,7 +365,7 @@
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
break
|
break
|
||||||
case 1:
|
case 6:
|
||||||
queryElders(item.elderId).then(res => {
|
queryElders(item.elderId).then(res => {
|
||||||
// workArray.value = res.result
|
// workArray.value = res.result
|
||||||
console.log("AAAAA", res.result[0])
|
console.log("AAAAA", res.result[0])
|
||||||
|
|
@ -646,7 +725,7 @@
|
||||||
margin-top: 40vh;
|
margin-top: 40vh;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
// overflow: hidden;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -723,19 +802,20 @@
|
||||||
|
|
||||||
.white-box-father {
|
.white-box-father {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 90%;
|
width: 92%;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: 5%;
|
margin-left: 4%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-top: 30rpx;
|
margin-top: 340rpx;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
|
|
||||||
.white-box {
|
.white-box {
|
||||||
margin-top: 35rpx;
|
// margin-top: 35rpx;
|
||||||
|
margin: 15rpx 0;
|
||||||
width: 20.7%;
|
width: 20.7%;
|
||||||
margin-left: 3%;
|
margin-left: 3%;
|
||||||
height: 237rpx;
|
height: 180rpx;
|
||||||
|
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
@ -743,9 +823,9 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
.box-img {
|
.box-img {
|
||||||
width: 55rpx;
|
width: 65rpx;
|
||||||
height: 55rpx;
|
height: 65rpx;
|
||||||
margin-bottom: 25rpx;
|
margin-bottom: 15rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-font {
|
.box-font {
|
||||||
|
|
@ -1014,4 +1094,42 @@
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.two-card {
|
||||||
|
position: absolute;
|
||||||
|
top: -20rpx;
|
||||||
|
left: 3%;
|
||||||
|
width: 94%;
|
||||||
|
height: 340rpx;
|
||||||
|
// background-color: red;
|
||||||
|
z-index: 1;
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
.left-card {
|
||||||
|
height: 100%;
|
||||||
|
width: 50%;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
// display: flex;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
padding-top: 40rpx;
|
||||||
|
font-size: 21rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right-card {
|
||||||
|
height: 100%;
|
||||||
|
width: 50%;
|
||||||
|
|
||||||
|
.right-top-card {
|
||||||
|
width: 95%;
|
||||||
|
margin-left: 4%;
|
||||||
|
height: 163rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -211,6 +211,7 @@
|
||||||
const which = ref(0);
|
const which = ref(0);
|
||||||
|
|
||||||
const clickSmallball = () => {
|
const clickSmallball = () => {
|
||||||
|
|
||||||
uni.setStorageSync('jumpIndex', 1);
|
uni.setStorageSync('jumpIndex', 1);
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/yuangongindex/message"
|
url: "/pages/yuangongindex/message"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// 全局请求封装
|
// 全局请求封装
|
||||||
// export const base_url = 'http://192.168.2.19:8081/opeapi'
|
export const base_url = 'http://192.168.2.19:8081/opeapi'
|
||||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
// export const base_url = 'https://www.focusnu.com/opeapi'
|
||||||
|
|
||||||
// 请求超出时间
|
// 请求超出时间
|
||||||
const timeout = 5000
|
const timeout = 5000
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\n// export const base_url = 'http://192.168.2.19:8081/opeapi'\r\nexport const base_url = 'https://www.focusnu.com/opeapi'\r\n\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token,和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tif(!params.no401){\r\n\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\ttitle: \"登录过期\",\r\n\t\t\t\t\t\t\t\t\tcontent: \"登录过期,请重新登录\",\r\n\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/callback\",\r\n\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AAEY,MAAC,WAAW;AAGxB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJ,kBAAG,CAAC,OAAO,OAAM;AAChBA,8BAAAA,MAAI,UAAU;AAAA,kBACb,OAAO;AAAA,kBACP,SAAS;AAAA,kBACT,YAAY;AAAA,kBACZ,UAAU;AACT,+BAAW,MAAM;AAChBA,oCAAAA,MAAI,SAAS;AAAA,wBACZ,KAAK;AAAA,sBACjB,CAAY;AAAA,oBACD,GAAE,GAAI;AAAA,kBACP;AAAA,gBACV,CAAS;AAAA,cACD;AAED;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,MAAM;AAAA,gBACN,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,MAAM;AAAA,gBACN,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}
|
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\nexport const base_url = 'http://192.168.2.19:8081/opeapi'\r\n// export const base_url = 'https://www.focusnu.com/opeapi'\r\n\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token,和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\r\n\t\t\t\t\t\t\tif(!params.no401){\r\n\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\ttitle: \"登录过期\",\r\n\t\t\t\t\t\t\t\t\tcontent: \"登录过期,请重新登录\",\r\n\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\tsuccess() {\r\n\t\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/callback\",\r\n\t\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\t}, 1000);\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\r\n\t\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\r\n\t\t\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AACY,MAAC,WAAW;AAIxB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJ,kBAAG,CAAC,OAAO,OAAM;AAChBA,8BAAAA,MAAI,UAAU;AAAA,kBACb,OAAO;AAAA,kBACP,SAAS;AAAA,kBACT,YAAY;AAAA,kBACZ,UAAU;AACT,+BAAW,MAAM;AAChBA,oCAAAA,MAAI,SAAS;AAAA,wBACZ,KAAK;AAAA,sBACjB,CAAY;AAAA,oBACD,GAAE,GAAI;AAAA,kBACP;AAAA,gBACV,CAAS;AAAA,cACD;AAED;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,MAAM;AAAA,gBACN,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,MAAM;AAAA,gBACN,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}
|
||||||
|
|
@ -7052,7 +7052,7 @@ function isConsoleWritable() {
|
||||||
function initRuntimeSocketService() {
|
function initRuntimeSocketService() {
|
||||||
const hosts = "192.168.2.22,127.0.0.1";
|
const hosts = "192.168.2.22,127.0.0.1";
|
||||||
const port = "8090";
|
const port = "8090";
|
||||||
const id = "mp-weixin_Gunl75";
|
const id = "mp-weixin_IeJDPf";
|
||||||
const lazy = typeof swan !== "undefined";
|
const lazy = typeof swan !== "undefined";
|
||||||
let restoreError = lazy ? () => {
|
let restoreError = lazy ? () => {
|
||||||
} : initOnError();
|
} : initOnError();
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ const _sfc_main = {
|
||||||
__name: "specialloginafther",
|
__name: "specialloginafther",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const jumpto = () => {
|
const jumpto = () => {
|
||||||
common_vendor.index.__f__("log", "at pages/login/specialloginafther.vue:33", "???");
|
|
||||||
common_vendor.index.reLaunch({
|
common_vendor.index.reLaunch({
|
||||||
url: `/pages/login/threeselectone`
|
url: `/pages/login/threeselectone`
|
||||||
});
|
});
|
||||||
|
|
@ -14,12 +13,18 @@ const _sfc_main = {
|
||||||
phone.value = common_vendor.index.getStorageSync("tel");
|
phone.value = common_vendor.index.getStorageSync("tel");
|
||||||
});
|
});
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
return {
|
return common_vendor.e({
|
||||||
a: `https://www.focusnu.com/media/directive/login/introduce/allbgc.png`,
|
a: !common_vendor.index.getStorageSync("isstaffchange")
|
||||||
b: `https://www.focusnu.com/media/directive/index/bluephoto.png`,
|
}, !common_vendor.index.getStorageSync("isstaffchange") ? {
|
||||||
c: common_vendor.t(phone.value),
|
b: `https://www.focusnu.com/media/directive/index/blue111.png`
|
||||||
d: common_vendor.o(jumpto)
|
} : {}, {
|
||||||
};
|
c: common_vendor.index.getStorageSync("isstaffchange")
|
||||||
|
}, common_vendor.index.getStorageSync("isstaffchange") ? {
|
||||||
|
d: `https://www.focusnu.com/media/directive/index/blue222.png`
|
||||||
|
} : {}, {
|
||||||
|
e: common_vendor.t(phone.value),
|
||||||
|
f: common_vendor.o(jumpto)
|
||||||
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
<view class="font-father data-v-186dd127"><image class="title-img data-v-186dd127" src="{{a}}"/><image class="title-photo data-v-186dd127" src="{{b}}"/><view class="small-title data-v-186dd127">尊敬的用户,您的手机<text class="data-v-186dd127" style="color:rgb(1,153,255);font-weight:600">{{c}}</text></view><view class="font-title data-v-186dd127"> 已成功绑定,期待您早日加入护理单元大家庭! </view><view class="bottom-button data-v-186dd127" bindtap="{{d}}"> 我的机构 </view></view>
|
<view class="font-father data-v-186dd127"><view class="fixed data-v-186dd127"><image wx:if="{{a}}" class="title-photo data-v-186dd127" src="{{b}}"/><image wx:if="{{c}}" class="title-photo data-v-186dd127" style="width:300rpx;height:300rpx" src="{{d}}"/><view class="data-v-186dd127" style="font-size:35rpx;font-weight:600;margin:50rpx 0"> 尊敬的用户,您的手机 </view><view class="small-title data-v-186dd127">{{e}}</view><view class="normal data-v-186dd127"><text class="data-v-186dd127"> 已成功绑定,期待您早日加入护理单元大家庭! </text></view></view><view class="bottom-button data-v-186dd127" bindtap="{{f}}"> 我的机构 </view></view>
|
||||||
|
|
@ -26,20 +26,21 @@
|
||||||
.font-father.data-v-186dd127 {
|
.font-father.data-v-186dd127 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 0 100rpx;
|
padding: 0 30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
background-color: #efefef;
|
||||||
}
|
}
|
||||||
.font-father .font-title.data-v-186dd127 {
|
.font-father .font-title.data-v-186dd127 {
|
||||||
padding: 0 70rpx;
|
|
||||||
margin-top: 0rpx;
|
margin-top: 0rpx;
|
||||||
font-size: 28rpx;
|
margin-bottom: 30rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 30rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
text-align: center;
|
font-size: 80rpx;
|
||||||
line-height: 50rpx;
|
|
||||||
}
|
}
|
||||||
.font-father .bottom-button.data-v-186dd127 {
|
.font-father .bottom-button.data-v-186dd127 {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -67,20 +68,33 @@
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
.fixed.data-v-186dd127 {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
padding: 0 70rpx;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
.small-title.data-v-186dd127 {
|
.small-title.data-v-186dd127 {
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
.normal.data-v-186dd127 {
|
.normal.data-v-186dd127 {
|
||||||
font-size: 33rpx;
|
padding: 0 70rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 20rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
align-items: center;
|
||||||
justify-content: center;
|
line-height: 50rpx;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
.title-photo.data-v-186dd127 {
|
.title-photo.data-v-186dd127 {
|
||||||
margin-top: 300rpx;
|
margin-top: 300rpx;
|
||||||
width: 350rpx;
|
width: 120rpx;
|
||||||
height: 350rpx;
|
height: 120rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
@ -11,7 +11,7 @@ const _sfc_main = {
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const show = common_vendor.ref(false);
|
const show = common_vendor.ref(false);
|
||||||
const content = common_vendor.ref("");
|
const content = common_vendor.ref("");
|
||||||
const buttonArray = common_vendor.ref(["长者信息", "监护人", "充值缴费", "长者功能 ", "长者功能", "长者功能", "长者功能"]);
|
const buttonArray = common_vendor.ref(["护理服务", "医疗服务", "账单查询", "视频监视", "外出申请", "长者信息", "监护人"]);
|
||||||
const which = common_vendor.ref(0);
|
const which = common_vendor.ref(0);
|
||||||
const timeText = common_vendor.ref("");
|
const timeText = common_vendor.ref("");
|
||||||
const dateText = common_vendor.ref("");
|
const dateText = common_vendor.ref("");
|
||||||
|
|
@ -53,17 +53,17 @@ const _sfc_main = {
|
||||||
});
|
});
|
||||||
const clickButton = (item, index) => {
|
const clickButton = (item, index) => {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 5:
|
||||||
pages_oldmanindex_api.queryElders(item.elderId).then((res) => {
|
pages_oldmanindex_api.queryElders(item.elderId).then((res) => {
|
||||||
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:283", "AAAAA", res.result[0]);
|
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:362", "AAAAA", res.result[0]);
|
||||||
common_vendor.index.navigateTo({
|
common_vendor.index.navigateTo({
|
||||||
url: `/pages/addoldman/oldmanall?element=${JSON.stringify(res.result[0])}`
|
url: `/pages/addoldman/oldmanall?element=${JSON.stringify(res.result[0])}`
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 6:
|
||||||
pages_oldmanindex_api.queryElders(item.elderId).then((res) => {
|
pages_oldmanindex_api.queryElders(item.elderId).then((res) => {
|
||||||
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:292", "AAAAA", res.result[0]);
|
common_vendor.index.__f__("log", "at pages/oldmanindex/index.vue:371", "AAAAA", res.result[0]);
|
||||||
common_vendor.index.navigateTo({
|
common_vendor.index.navigateTo({
|
||||||
url: `/pages/addoldman/jianhurenall?element=${JSON.stringify(res.result[0])}`
|
url: `/pages/addoldman/jianhurenall?element=${JSON.stringify(res.result[0])}`
|
||||||
});
|
});
|
||||||
|
|
@ -177,44 +177,50 @@ const _sfc_main = {
|
||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: item.applyStatus != `-1` && item.elderInfo
|
a: item.applyStatus != `-1` && item.elderInfo
|
||||||
}, item.applyStatus != `-1` && item.elderInfo ? {
|
}, item.applyStatus != `-1` && item.elderInfo ? {
|
||||||
b: common_vendor.t(item.elderInfo && item.elderInfo.name),
|
b: common_vendor.t(item.elderInfo && item.elderInfo.nuId),
|
||||||
c: common_vendor.t(item.elderInfo && item.elderInfo.nuId),
|
c: common_vendor.t(timeText.value),
|
||||||
d: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
|
d: common_vendor.t(dateText.value),
|
||||||
e: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—"),
|
e: common_vendor.t(weekdayText.value),
|
||||||
f: common_vendor.f(buttonArray.value, (item0, index2, i1) => {
|
f: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—"),
|
||||||
|
g: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
|
||||||
|
h: common_vendor.t(item.elderInfo && item.elderInfo.name),
|
||||||
|
i: common_vendor.t(item.nuName),
|
||||||
|
j: common_vendor.t(item.departName),
|
||||||
|
k: common_vendor.f(buttonArray.value, (item0, index2, i1) => {
|
||||||
return {
|
return {
|
||||||
a: `https://www.focusnu.com/media/directive/index/oldmanmenu/${index2}.png`,
|
a: `https://www.focusnu.com/media/directive/index/oldmanphoto/${index2}.png`,
|
||||||
b: common_vendor.t(item0),
|
b: common_vendor.t(item0),
|
||||||
c: index2,
|
c: index2,
|
||||||
d: common_vendor.o(($event) => clickButton(item, index2), index2)
|
d: common_vendor.o(($event) => clickButton(item, index2), index2)
|
||||||
};
|
};
|
||||||
})
|
}),
|
||||||
} : {}, {
|
l: `https://www.focusnu.com/media/directive/index/oldmanphoto/more.png`
|
||||||
g: item.applyStatus != `-1` && !item.elderInfo
|
|
||||||
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
|
||||||
h: common_vendor.t(timeText.value),
|
|
||||||
i: common_vendor.t(dateText.value),
|
|
||||||
j: common_vendor.t(weekdayText.value),
|
|
||||||
k: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
|
|
||||||
l: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—")
|
|
||||||
} : {}, {
|
} : {}, {
|
||||||
m: item.applyStatus != `-1` && !item.elderInfo
|
m: item.applyStatus != `-1` && !item.elderInfo
|
||||||
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
||||||
n: common_vendor.t(item.nuName),
|
n: common_vendor.t(timeText.value),
|
||||||
o: common_vendor.o(($event) => searchjigou(item), index)
|
o: common_vendor.t(dateText.value),
|
||||||
|
p: common_vendor.t(weekdayText.value),
|
||||||
|
q: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].temperature !== void 0 && item.humidDeviceList[0].temperature !== null ? item.humidDeviceList[0].temperature : "—"),
|
||||||
|
r: common_vendor.t(item.humidDeviceList && item.humidDeviceList[0] && item.humidDeviceList[0].humidity !== void 0 && item.humidDeviceList[0].humidity !== null ? item.humidDeviceList[0].humidity : "—")
|
||||||
} : {}, {
|
} : {}, {
|
||||||
p: item.applyStatus == `-1`
|
s: item.applyStatus != `-1` && !item.elderInfo
|
||||||
}, item.applyStatus == `-1` ? {
|
|
||||||
q: `https://www.focusnu.com/media/directive/index/saoyisaowhite.png`,
|
|
||||||
r: common_vendor.o(jumpSaoyisao, index),
|
|
||||||
s: `https://www.focusnu.com/media/directive/index/shoudong.png`,
|
|
||||||
t: common_vendor.o(jumpInput, index)
|
|
||||||
} : {}, {
|
|
||||||
v: item.applyStatus != `-1` && !item.elderInfo
|
|
||||||
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
||||||
w: common_vendor.t(item.departName)
|
t: common_vendor.t(item.nuName),
|
||||||
|
v: common_vendor.o(($event) => searchjigou(item), index)
|
||||||
} : {}, {
|
} : {}, {
|
||||||
x: index
|
w: item.applyStatus == `-1`
|
||||||
|
}, item.applyStatus == `-1` ? {
|
||||||
|
x: `https://www.focusnu.com/media/directive/index/saoyisaowhite.png`,
|
||||||
|
y: common_vendor.o(jumpSaoyisao, index),
|
||||||
|
z: `https://www.focusnu.com/media/directive/index/shoudong.png`,
|
||||||
|
A: common_vendor.o(jumpInput, index)
|
||||||
|
} : {}, {
|
||||||
|
B: item.applyStatus != `-1` && !item.elderInfo
|
||||||
|
}, item.applyStatus != `-1` && !item.elderInfo ? {
|
||||||
|
C: common_vendor.t(item.departName)
|
||||||
|
} : {}, {
|
||||||
|
D: index
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
h: `100vh`,
|
h: `100vh`,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -141,7 +141,6 @@
|
||||||
margin-top: 40vh;
|
margin-top: 40vh;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.bottom-text.data-v-9cf2c967 {
|
.bottom-text.data-v-9cf2c967 {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
|
|
@ -206,18 +205,18 @@
|
||||||
}
|
}
|
||||||
.white-box-father.data-v-9cf2c967 {
|
.white-box-father.data-v-9cf2c967 {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 90%;
|
width: 92%;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: 5%;
|
margin-left: 4%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-top: 30rpx;
|
margin-top: 340rpx;
|
||||||
border-radius: 30rpx;
|
border-radius: 30rpx;
|
||||||
}
|
}
|
||||||
.white-box-father .white-box.data-v-9cf2c967 {
|
.white-box-father .white-box.data-v-9cf2c967 {
|
||||||
margin-top: 35rpx;
|
margin: 15rpx 0;
|
||||||
width: 20.7%;
|
width: 20.7%;
|
||||||
margin-left: 3%;
|
margin-left: 3%;
|
||||||
height: 237rpx;
|
height: 180rpx;
|
||||||
border-radius: 35rpx;
|
border-radius: 35rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
@ -225,9 +224,9 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
.white-box-father .white-box .box-img.data-v-9cf2c967 {
|
.white-box-father .white-box .box-img.data-v-9cf2c967 {
|
||||||
width: 55rpx;
|
width: 65rpx;
|
||||||
height: 55rpx;
|
height: 65rpx;
|
||||||
margin-bottom: 25rpx;
|
margin-bottom: 15rpx;
|
||||||
}
|
}
|
||||||
.white-box-father .white-box .box-font.data-v-9cf2c967 {
|
.white-box-father .white-box .box-font.data-v-9cf2c967 {
|
||||||
font-size: 30rpx;
|
font-size: 30rpx;
|
||||||
|
|
@ -459,4 +458,36 @@
|
||||||
width: 800rpx;
|
width: 800rpx;
|
||||||
height: 500rpx;
|
height: 500rpx;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.two-card.data-v-9cf2c967 {
|
||||||
|
position: absolute;
|
||||||
|
top: -20rpx;
|
||||||
|
left: 3%;
|
||||||
|
width: 94%;
|
||||||
|
height: 340rpx;
|
||||||
|
z-index: 1;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.two-card .left-card.data-v-9cf2c967 {
|
||||||
|
height: 100%;
|
||||||
|
width: 50%;
|
||||||
|
background-color: #fff;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
padding-top: 40rpx;
|
||||||
|
font-size: 21rpx;
|
||||||
|
}
|
||||||
|
.two-card .right-card.data-v-9cf2c967 {
|
||||||
|
height: 100%;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
.two-card .right-card .right-top-card.data-v-9cf2c967 {
|
||||||
|
width: 95%;
|
||||||
|
margin-left: 4%;
|
||||||
|
height: 163rpx;
|
||||||
|
border-radius: 50rpx;
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 0 20rpx;
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
const common_vendor = require("../common/vendor.js");
|
const common_vendor = require("../common/vendor.js");
|
||||||
const base_url = "https://www.focusnu.com/opeapi";
|
const base_url = "http://192.168.2.19:8081/opeapi";
|
||||||
const timeout = 5e3;
|
const timeout = 5e3;
|
||||||
const request = (params) => {
|
const request = (params) => {
|
||||||
let url = params.url;
|
let url = params.url;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue