This commit is contained in:
wangweidong 2025-12-22 13:19:05 +08:00
parent 2085d90da2
commit fa55257cdc
8 changed files with 52 additions and 33 deletions

View File

@ -2,8 +2,8 @@
"name" : "护理单元",
"appid" : "__UNI__FB2D473",
"description" : "护理单元",
"versionName" : "1.0.016",
"versionCode" : 10016,
"versionName" : "1.0.018",
"versionCode" : 10018,
"transformPx" : false,
/* 5+App */
"app-plus" : {

View File

@ -73,6 +73,7 @@
<view class="ld" v-if="v.izStart=='Y'&& v.izFinish=='N'" @click="end(v)">结束服务</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')||v.manuallyMp4Path!=null" @click="ysptp(v,i,2)">录像</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='N')|| v.manuallyPicPath!=null" @click="ysptp(v,i,1)" >拍照</view>
<view class="bd" v-if="(v.izStart=='Y'&& v.izFinish=='Y')&&v.tplinkPath!=null" @click="ysptp(v,i,3)">Tplink</view>
</view>
</view>
@ -216,7 +217,7 @@
}
const firstgetqueryCgdList = () => {
queryCareList(form).then(res => {
console.log(res)
console.log(form)
plsbuy.value.push(...res.result.records);
status.value = res.result.total == plsbuy.value.length ? 'nomore' : 'loadmore';
if(form.pageNo==1){
@ -285,7 +286,11 @@
}else if(r == 2&&v.manuallyMp4Path){
ilanarr.value = v.manuallyMp4Path.split(",");
ilanarr.value = ilanarr.value.filter(item => item !== '');
}else{
}else if(r == 3&&v.tplinkPath){
ilanarr.value = v.tplinkPath.split(",");
ilanarr.value = ilanarr.value.filter(item => item !== '');
}
else{
ilanarr.value = [];
}

View File

@ -10,7 +10,7 @@
{{ uni.getStorageSync('realname') }}
</view>
</view>
<view class="lingdang">
<view class="lingdang" v-show="!leftarraytarget">
<image class="lingdang-img" src="/static/shouye/lingdang.png" />
<view class="hongdian"></view>
</view>
@ -30,8 +30,13 @@
<view class="yanfazhong" v-show="leftarraytarget==3">
研发中...
</view>
<view class="componentall" v-show="leftarraytarget==4">
<menusettings :isShow="leftarraytarget==4" />
<view class="componentall" v-show="leftarraytarget==4&&ldflagindex==0">
<menusettings :isShow="leftarraytarget==4" @leftarray="leftarray"/>
</view>
<view class="componentall" v-show="ldflagindex>9" style="margin-top: -2vh;">
<leida v-if="ldflagindex==10"></leida>
<saoma v-if="ldflagindex==11"></saoma>
<inputing v-if="ldflagindex==12"></inputing>
</view>
<view class="componentall" v-show="leftarraytarget==1 || leftarraytarget==2">
<scroll-view scroll-y class="componentall" >
@ -102,7 +107,9 @@
import exit from "@/component/public/exit.vue"
import menusettings from '@/pages/watch/settings/menusettings.vue'
import { queryPadPageList } from '@/pages/watch/api/lunpan.js'
import leida from '@/pages/watch/settings/leida.vue'
import saoma from '@/pages/watch/settings/saoma.vue'
import inputing from '@/pages/watch/settings/input.vue'
const menuarray = ref(["", "", "", "", "", ""])
const leftarraytarget = ref(0);
//
@ -144,6 +151,10 @@
})
}
}
const ldflagindex = ref(0)
const leftarray =(e)=>{
ldflagindex.value = e;
}
const exitshow = ref(false);
const cardarray = ref([])
@ -162,7 +173,7 @@
// console.log("??11111111",cardarray.value)
}
leftarraytarget.value = index;
ldflagindex.value = 0;
}
</script>
@ -279,7 +290,7 @@
}
.componentall{
width: 100%;
height: 100%;
height: 96%;
// background-color: red;
}
.card-father{

View File

@ -1,9 +1,9 @@
<template>
<view class="index-content-other">
<view class="index-content-right" @click="goback">
<!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" />
返回
</view>
</view> -->
<view class="saomiao">
<view class="big-ball" v-if="!allitem.nuName">
<view class="ball"></view>
@ -158,7 +158,7 @@
.index-content-down {
// width: calc(100% - 60rpx);
// height: 100rpx;
position: absolute;
position: fixed;
bottom: 40rpx;
left: 50%;
transform: translateX(-50%);

View File

@ -1,9 +1,9 @@
<template>
<view class="index-content-other">
<view class="index-content-right" @click="goback">
<!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" />
返回
</view>
</view> -->
<view class="left-contain">
<view class="blue-bgc">
<image class="all-img" src="/static/index/leida/leftbgc.png" />

View File

@ -1,5 +1,5 @@
<template>
<scroll-view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
<view scroll-y class="index-content-other" :style="transition?{opacity: `1`}:{opacity: `0`}">
<view class="array-father">
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
@ -68,7 +68,7 @@
</view>
<!-- </view> -->
</scroll-view>
</view>
<view class="bg-mask" v-if="selectserve">
<view @click.stop class="white-select">
<view class="big-font">
@ -88,7 +88,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted, watch, nextTick } from 'vue'
import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive } from 'vue';
import exit from "@/component/public/exit.vue"
import reset from "@/component/public/reset.vue"
import ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'
@ -101,7 +101,7 @@
const opentype = ref(false);
// const exitshow = ref(false);
const resetshow = ref(false);
const emit = defineEmits(['jump'])
const emit = defineEmits(['jump','leftarray'])
// const props = defineProps({ isShow: { type: Boolean, required: true } })
const iconsArray = ref(["雷达扫描", "扫码添加", "手动录入", "修改密码", "切换机构", "检查更新", "用户协议", "隐私政策"])
@ -147,19 +147,22 @@
const jumpToTarget = (index : number) => {
switch (index) {
case 0:
uni.navigateTo({
url: '/pages/watch/settings/leida'
})
emit('leftarray',10)
// uni.navigateTo({
// url: '/pages/watch/settings/leida'
// })
break
case 1:
uni.navigateTo({
url: '/pages/watch/settings/saoma'
})
emit('leftarray',11)
// uni.navigateTo({
// url: '/pages/watch/settings/saoma'
// })
break
case 2:
uni.navigateTo({
url: '/pages/watch/settings/input'
})
emit('leftarray',12)
// uni.navigateTo({
// url: '/pages/watch/settings/input'
// })
break
case 3:
resetshow.value = true
@ -231,7 +234,7 @@
align-items: center;
justify-content: space-between;
width: 100%;
height: 130rpx;
height: 115rpx;
.left-item {
display: flex;

View File

@ -1,9 +1,9 @@
<template>
<view class="index-content-other">
<view class="index-content-right" @click="goback">
<!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" />
返回
</view>
</view> -->
<view class="saomiao">
<view class="card" v-if="allitem.nuName">

View File

@ -1,9 +1,9 @@
<template>
<view class="index-content-other">
<view class="index-content-right" @click="goback">
<!-- <view class="index-content-right" @click="goback">
<image class="back-img" :src="`/static/index/settings/back.png`" />
返回
</view>
</view> -->
<view class="array-father">
<view v-for="(item,index) in iconsArray.slice(0,3)" :key="index" class="item" @click="jumpToTarget(index)">
<view class="left-item">