This commit is contained in:
parent
1cdd48b3c4
commit
5d86d29918
|
|
@ -1,10 +1,3 @@
|
|||
.index-content-other {
|
||||
width: calc(100% - 260rpx);
|
||||
// background-color: red;
|
||||
height: 100%;
|
||||
transition: opacity 1s ease;
|
||||
position: relative;
|
||||
}
|
||||
.right-container-title-nav {
|
||||
margin-top: 60rpx;
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="index-content-other" :style="isShow?{opacity: `1`}:{opacity: `0`}">
|
||||
<view class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
|
||||
<view class="right-container-title-nav">
|
||||
<text style="margin-left: 30rpx;">
|
||||
NUID:{{ uni.getStorageSync('nuId')}}
|
||||
|
|
@ -28,10 +28,31 @@
|
|||
required: true,
|
||||
},
|
||||
});
|
||||
watch(
|
||||
() => props.isShow,
|
||||
(newVal, oldVal) => {
|
||||
// 当旧值为false,新值为true时延迟0.2秒调用方法
|
||||
if (!oldVal && newVal) {
|
||||
transition.value = false;
|
||||
setTimeout(() => {
|
||||
transition.value = true;
|
||||
}, 50)
|
||||
} else {
|
||||
transition.value = false;
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
@import "./css/take.less";
|
||||
|
||||
.index-content-other {
|
||||
width: calc(100% - 260rpx);
|
||||
// background-color: red;
|
||||
height: 100%;
|
||||
transition: opacity 1s ease;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
<!-- 设备页 -->
|
||||
<equipment :isShow="menuIndexshowfifth" v-if="menuIndex==4" :propsmove="propsmove" :isMain="isMain"
|
||||
@back="movecard(5)" @cleanmain="movecard(1)" @canback="canmoveit" />
|
||||
<requestform :isShow="menuIndexshowfourth||menuIndex==3" v-if="menuIndex==3" />
|
||||
<requestform :isShow="menuIndexshowfourth" v-if="menuIndex==3" />
|
||||
<!-- 户嘱页 -->
|
||||
<nurse :isold="isOld===2" :liang="indexNumber" :isshow="menuIndexshowsecond"
|
||||
v-if="menuIndex==1&&isOld===2&&uni.getStorageSync('customerId')&&uni.getStorageSync('nuId')"
|
||||
|
|
|
|||
Loading…
Reference in New Issue