This commit is contained in:
wangweidong 2026-01-06 14:15:35 +08:00
parent 3b8d03e494
commit 3afb825ac5
3 changed files with 22 additions and 20 deletions

View File

@ -183,6 +183,9 @@
</view> </view>
</view> </view>
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang> <tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del1()"> </tanchuang>
<view class="mengban" style="background: #fff;width:100vw;right:0;left: 0vw;top:-5vw;height: 110vh;" v-if="status=='nomore'&&plsbuy.length==0">
<defaultr cont="暂无数据" style="z-index: 999;margin: auto;top: 0;left:35vw;bottom: 0;right: 0;"></defaultr>
</view>
</view> </view>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
@ -217,7 +220,7 @@
} }
const firstgetqueryCgdList = () => { const firstgetqueryCgdList = () => {
queryCareList(form).then(res => { queryCareList(form).then(res => {
console.log(form) console.log(res)
plsbuy.value.push(...res.result.records); plsbuy.value.push(...res.result.records);
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore'; status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
if(form.pageNo==1){ if(form.pageNo==1){

View File

@ -762,12 +762,12 @@
// falsetrue0.2 // falsetrue0.2
if (!oldVal && newVal) { if (!oldVal && newVal) {
console.log(oldVal && newVal) console.log(oldVal && newVal)
transition.value = false; // transition.value = false;
// console.log("????",transition.value) // // console.log("????",transition.value)
setTimeout(() => { // setTimeout(() => {
transition.value = true; // transition.value = true;
// console.log("", uni.getStorageSync('NUall')) // // console.log("", uni.getStorageSync('NUall'))
}, 50) // }, 50)
} else { } else {
transition.value = false; transition.value = false;
} }
@ -802,6 +802,10 @@
fullDate.value = `${year}.${month}.${day}`; fullDate.value = `${year}.${month}.${day}`;
}; };
onMounted(() => { onMounted(() => {
transition.value = false;
setTimeout(() => {
transition.value = true;
}, 50)
name.value = uni.getStorageSync('realname') name.value = uni.getStorageSync('realname')
typeNow.value = 0; typeNow.value = 0;
timerId = updateTime(); timerId = updateTime();
@ -809,12 +813,6 @@
setInterval(updateTime, 1000); setInterval(updateTime, 1000);
photoplay.value = true; photoplay.value = true;
getmenu(); getmenu();
transition.value = false;
// console.log("????",transition.value)
setTimeout(() => {
transition.value = true;
// console.log("", uni.getStorageSync('NUall'))
}, 50)
}) })
const filteredMenu = (index : number) => { const filteredMenu = (index : number) => {
@ -1008,7 +1006,7 @@
.index-content-other { .index-content-other {
width: 65vw; width: 65vw;
height: 100%; height: 100%;
transition: opacity 1s ease; transition: opacity 0.4s ease;
position: relative; position: relative;
.abs-time { .abs-time {

View File

@ -3,7 +3,7 @@
<!-- 左侧菜单 --> <!-- 左侧菜单 -->
<leftcontent :list="arrlist" @navurl="navurl"></leftcontent> <leftcontent :list="arrlist" @navurl="navurl"></leftcontent>
<!-- 主页 --> <!-- 主页 -->
<index :isShow="menuIndex==0" v-if="menuIndex==0" @swip="swip"/> <index :isShow="menuIndex==0" v-if="swipedex==0" @swip="swip"/>
<!-- 户嘱页 --> <!-- 户嘱页 -->
<nurse :isshow="menuIndex==1" v-if="swipedex==1&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" /> <nurse :isshow="menuIndex==1" v-if="swipedex==1&&uni.getStorageSync('elderId')&&uni.getStorageSync('nuId')" />
<!-- 医嘱 --> <!-- 医嘱 -->
@ -39,8 +39,9 @@
const listarr = ref([]); const listarr = ref([]);
onMounted(() => { onMounted(() => {
menuIndex.value = -1; menuIndex.value = 0;
nextTick(() => menuIndex.value = 0) swipedex.value = 0;
nextTick(() => swipedex.value = 0)
getServiceTree().then((res : any) => { getServiceTree().then((res : any) => {
// //
@ -65,8 +66,8 @@
}) })
} }
const tabbrarr = ref([ const tabbrarr = ref([
{ name: '护', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'hldy_hljz'}, { name: '护理矩阵', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png' ,type:'hldy_hljz'},
{ name: '护理', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'hldy_yljz'}, { name: '医疗矩阵', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png' ,type:'hldy_yljz'},
{ name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_xzjz'}, { name: '后勤矩阵', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_xzjz'},
{ name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_ql'}, { name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png' ,type:'hldy_ql'},
]) ])
@ -90,7 +91,7 @@
case 'hldy_yljz': case 'hldy_yljz':
swipedex.value = 2; swipedex.value = 2;
setTimeout(()=>{ setTimeout(()=>{
menuIndex.value = 3; menuIndex.value = 2;
},100) },100)
console.log('医疗矩阵') console.log('医疗矩阵')
break; break;