diff --git a/pages/NursingNew/component/equipment.vue b/pages/NursingNew/component/equipment.vue index 57ff648..b437124 100644 --- a/pages/NursingNew/component/equipment.vue +++ b/pages/NursingNew/component/equipment.vue @@ -568,9 +568,9 @@ type: Boolean, required: true, }, - propsmove: { - type: Number - }, + // propsmove: { + // type: Number + // }, isMain: { type: Boolean } @@ -708,302 +708,7 @@ } removeTimers.clear() }) - watch( - () => props.propsmove, - () => { - if (movetype.value != -1) { - if (openrizhi.value) { - switch (props.propsmove) { - case 0: - - break; - case 1: - if (typeNow.value == 3) { - if (ruletarget.value < 4) { - ruletarget.value++ - } - } else { - if (ruletarget.value < 6) { - ruletarget.value++ - } - } - break; - case 2: - - - break; - - case 3: - if (ruletarget.value) { - ruletarget.value-- - } - - break; - case 4: - if (typeNow.value == 1) { - if (ruletarget.value < 4) { - changetype(dianrizhi.value[ruletarget.value].type, ruletarget.value) - } else { - nextpage(ruletarget.value - dianrizhi.value.length) - } - } else if (typeNow.value == 2) { - if (ruletarget.value < 4) { - changetype(shuirizhi.value[ruletarget.value].type, ruletarget.value) - } else { - nextpage(ruletarget.value - shuirizhi.value.length) - } - }else if (typeNow.value == 3) { - if (ruletarget.value < 2) { - changetype(wenrizhi.value[ruletarget.value].type, ruletarget.value) - } else { - nextpage(ruletarget.value - wenrizhi.value.length) - } - } - - - break; - case 5: - closeall() - default: - } - return - } - if (openqingling.value || openlahzha.value || openbaoxiu.value || openhehzha.value || openchaobiao.value) { - switch (props.propsmove) { - case 0: - - - break; - case 1: - buttonposition.value = !buttonposition.value - - break; - case 2: - - - break; - - case 3: - buttonposition.value = !buttonposition.value - - break; - case 4: - if (buttonposition.value) { - if (openqingling.value) { - qingling() - } - if (openlahzha.value) { - kongzha(`10`) - } - if (openbaoxiu.value) { - baoxiu() - } - if (openhehzha.value) { - kongzha(`11`) - } - if (openchaobiao.value) { - chaobiao() - } - } else { - closeall() - } - - break; - case 5: - closeall() - default: - } - return - } - - switch (movetype.value) { - case 0: - switch (props.propsmove) { - case 0: - movetype.value = -1 - zeroIndex.value = -1 - emit("back") - - break; - case 1: - - if (zeroIndex.value < allArray.value.length - 1) { - zeroIndex.value++ - typeNowtarget.value = zeroIndex.value; - scrollLeft.value = zeroIndex.value * 130 - changeallmessage() - } - - break; - case 2: - - if (typeNow.value) { - savetopindex.value = zeroIndex.value; - movetype.value = 1 - zeroIndex.value = 0 - } else { - savetopindex.value = zeroIndex.value; - movetype.value = 2 - zeroIndex.value = 0 - } - - - break; - - case 3: - if (zeroIndex.value) { - zeroIndex.value-- - typeNowtarget.value = zeroIndex.value; - scrollLeft.value = zeroIndex.value * 130 - changeallmessage() - } else { - movetype.value = -1 - zeroIndex.value = -1 - emit("back") - } - - break; - case 4: - typeNowtarget.value = zeroIndex.value; - - break; - default: - } - break; - case 1: - - switch (props.propsmove) { - case 0: - if (zeroIndex.value) { - zeroIndex.value-- - } else { - movetype.value = 0 - zeroIndex.value = savetopindex.value - typeNowtarget.value = savetopindex.value; - - } - - break; - case 1: - zeroIndex.value = 0 - movetype.value = 2 - - break; - case 2: - if (typeNow.value != 3) { - if (zeroIndex.value < 2) { - zeroIndex.value++ - } - - } else { - if (zeroIndex.value < 1) { - zeroIndex.value++ - } - } - break; - - case 3: - // movetype.value = -1 - // zeroIndex.value = -1 - // emit("back") - - break; - case 4: - if (typeNow.value != 3) { - if (!zeroIndex.value) { - openqingling.value = true; - emit("canback", true) - } else if (zeroIndex.value == 1) { - openchaobiao.value = true - emit("canback", true) - } else { - getrulevalue() - emit("canback", true) - } - } else { - if (!zeroIndex.value) { - openchaobiao.value = true; - emit("canback", true) - } else if (zeroIndex.value == 1) { - - getrulevalue() - emit("canback", true) - } - } - break; - default: - } - break; - case 2: - switch (props.propsmove) { - case 0: - if (zeroIndex.value) { - zeroIndex.value-- - } else { - movetype.value = 0 - zeroIndex.value = savetopindex.value - typeNowtarget.value = savetopindex.value; - } - - break; - case 1: - break; - case 2: - if (typeNow.value != 3) { - if (zeroIndex.value < 1) { - zeroIndex.value++ - } - - } else { - - } - break; - - case 3: - if (typeNow.value) { - zeroIndex.value = 0 - movetype.value = 1 - } - - break; - - case 4: - if (typeNow.value != 3) { - - if (!typeNow.value && !zeroIndex.value) { - uni.navigateTo({ - url: "/pages/watch/full" - }) - return - } - if (!zeroIndex.value) { - if (indexmessage.value.relayState === '1') { - openlahzha.value = true - emit("canback", true) - } else { - openhehzha.value = true - emit("canback", true) - } - } else { - openbaoxiu.value = true; - emit("canback", true) - } - } - - else { - openbaoxiu.value = true; - emit("canback", true) - } - break; - default: - } - break; - } - } - - } - ) const typeNow = ref(-1); const typeNowtarget = ref(-1); const photoplay = ref(false) diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index a6122c9..354b9af 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -115,17 +115,6 @@ 一级压疮防护 - @@ -180,22 +169,22 @@ 护理单元 - - - + - 护理单元01 + {{ item.nuName }} {{ item.elderInfo?.name?`入住`:`空闲` }} - NUID:2506000001 + NUID:{{ item.nuId }} @@ -203,17 +192,17 @@ - + 长者标签 - + - {{ uni.getStorageSync('NUall').elderInfo?.name }} + {{ uni.getStorageSync('NUall').elderInfo?.name ? uni.getStorageSync('NUall').elderInfo?.name:`暂无长者` }} - + {{ uni.getStorageSync('NUall').elderInfo?.sex }} @@ -224,14 +213,48 @@ {{ uni.getStorageSync('NUall').elderInfo?.startTime }} - + {{ item }} - + + + + + 库存盘点 + + + + + 10:00 - 10:10 + + + + 单人执行 + + 王金福 + + + 业务单号:P10120251010001 + + + + 开始服务 + + + 结束服务 + + + + + + + \ No newline at end of file diff --git a/pages/NursingNew/component/leftcontent/leftcontent.vue b/pages/NursingNew/component/leftcontent/leftcontent.vue index 513294f..b71deef 100644 --- a/pages/NursingNew/component/leftcontent/leftcontent.vue +++ b/pages/NursingNew/component/leftcontent/leftcontent.vue @@ -42,7 +42,7 @@ flex-direction: column; justify-content: space-between; align-items: center; - padding: 3.5vw 0 2.5vw 0; + padding: 3.8vw 0 2.5vw 0; margin-right: 3vw; .logo{ width: 3.8vw; diff --git a/pages/NursingNew/component/nurse/index.vue b/pages/NursingNew/component/nurse/index.vue index 27ee042..cf59e48 100644 --- a/pages/NursingNew/component/nurse/index.vue +++ b/pages/NursingNew/component/nurse/index.vue @@ -180,7 +180,7 @@ :style="{ animationDelay:`-${computeDelay(index0, index1).toFixed(2)}s` }"> props.isMain, - (newVal, oldVal) => { - // 仅在 isShow 为 true 时生效 - if (!props.isshow) return - - if (oldVal === true && newVal === false) { - saveEditIndex.value.index0 = 8 - saveEditIndex.value.index1 = 0 - isRule.value = true - } else if (oldVal === false && newVal === true) { - saveEditIndex.value.index0 = -1 - saveEditIndex.value.index1 = -1 - } - } - ) - watch( - () => props.isold, - () => { - if (props.isold) { - centerCell(); - cardLeft.value = 1; - scrollTop.value = 1; - nextTick(() => { - scrollTop.value = 0; - cardLeft.value = 700 - }) - } - }) watch( () => props.canmove, () => { @@ -668,128 +627,7 @@ const bodystatustarget = ref(-1); const facestatus = ref(false); const facestatustarget = ref(-1); - watch( - () => props.propsmove, - () => { - if (facestatus.value) { - switch (props.propsmove) { - case 0: - if (facestatustarget.value - 3 > 0) { - facestatustarget.value = facestatustarget.value - 3 - } else { - facestatustarget.value = 0 - } - break; - case 1: - if (facestatustarget.value > 5) { - - } else { - facestatustarget.value++ - } - break; - case 2: - if (facestatustarget.value + 3 > 5) { - facestatustarget.value = 6 - } else { - facestatustarget.value = facestatustarget.value + 3 - } - break; - case 3: - if (facestatustarget.value) { - facestatustarget.value-- - } - break; - case 4: - addface(facestatustarget.value) - break; - case 5: - openbody.value = false; - openface.value = false; - facestatus.value = false; - bodystatus.value = false; - topindex.value = 1 - break; - } - return - } - if (bodystatus.value) { - switch (props.propsmove) { - case 0: - if (bodystatustarget.value - 3 > 0) { - bodystatustarget.value = bodystatustarget.value - 3 - } else { - bodystatustarget.value = 0 - } - break; - case 1: - if (bodystatustarget.value > 3) { - - } else { - bodystatustarget.value++ - } - break; - case 2: - if (bodystatustarget.value + 3 > 3) { - bodystatustarget.value = 4 - } else { - bodystatustarget.value = bodystatustarget.value + 3 - } - break; - case 3: - if (bodystatustarget.value) { - bodystatustarget.value-- - } - break; - case 4: - addbody(bodystatustarget.value) - break; - case 5: - openbody.value = false; - openface.value = false; - facestatus.value = false; - bodystatus.value = false; - topindex.value = 0 - break; - } - return - } - if (props.propsmove === 4) { - - if (!isRule.value) { - switch (topindex.value) { - case 0: - openface.value = false - openbody.value = !openbody.value - bodystatus.value = true; - bodystatustarget.value = 0 - break; - case 1: - openbody.value = false - openface.value = !openface.value - facestatus.value = true; - facestatustarget.value = 0 - break; - case 2: - routerPush() - break; - default: - shareToWeixin() - break; - } - } else { - addnewbutton() - } - - } else { - if (isRule.value) { - movecard(props.propsmove) - } else { - movetop(props.propsmove) - } - } - } - ) /* ---- 用于 transform 的响应式字符串 ---- 注意:虽然这是响应式,但我们只在 rAF 里更新它(受控更新),避免频繁触发 Vue 渲染 */ @@ -825,8 +663,7 @@ const facetarget = ref([]); const addbody = (index : number) => { if (bodyTagList.value[index].izSelected == 'Y') { - // console.log("///",bodyTagList.value[index]) - // return + bodyTagList.value[index].izSelected = 'N'; } else { diff --git a/pages/NursingNew/component/pleasetake/component/takehomep.vue b/pages/NursingNew/component/pleasetake/component/takehomep.vue index 54e30cf..bcea40c 100644 --- a/pages/NursingNew/component/pleasetake/component/takehomep.vue +++ b/pages/NursingNew/component/pleasetake/component/takehomep.vue @@ -75,7 +75,7 @@ pageNo: 1, pageSize: 10, nuId: uni.getStorageSync('nuId'), - elderId: uni.getStorageSync('NUall').elderId, + elderId: uni.getStorageSync('elderId'), wlParamInfo: '', categoryId: '', typeId: '', diff --git a/pages/NursingNew/index.vue b/pages/NursingNew/index.vue index 0816598..1b365a3 100644 --- a/pages/NursingNew/index.vue +++ b/pages/NursingNew/index.vue @@ -1,64 +1,16 @@ + .flex { + + display: flex; + position: relative; + width: 100%; + height: 100vh; + background-color: #eff0f4; + overflow: hidden; + z-index: 12; + } + \ No newline at end of file diff --git a/pages/fullcamera.nvue b/pages/fullcamera.nvue index 7a37bff..45b33f3 100644 --- a/pages/fullcamera.nvue +++ b/pages/fullcamera.nvue @@ -60,6 +60,7 @@ uni.$on('fullmonitor:changeinit', (number) => { this.$refs.monitor.initAutoPlay(number) uni.setStorageSync('saveinit', number); + console.log("切换了",number) this.suo = true; }); uni.$on('fullmonitor:isshow', (bool) => this.isshow = bool); diff --git a/pages/login/animationpage.vue b/pages/login/animationpage.vue index 37ca60d..0ff1e2f 100644 --- a/pages/login/animationpage.vue +++ b/pages/login/animationpage.vue @@ -314,6 +314,9 @@ uni.setStorageSync('nuName', data.nuName); uni.setStorageSync('elderId', data.elderInfo ? data.elderInfo?.id : null); uni.setStorageSync('NUall', data); + // uni.navigateTo({ + // url: '/pages/Warehouse/warehome', + // }) uni.navigateTo({ url: '/pages/Warehouse/index/index', }) diff --git a/static/index/card/warehouse.png b/static/index/card/warehouse.png new file mode 100644 index 0000000..a90edf9 Binary files /dev/null and b/static/index/card/warehouse.png differ diff --git a/static/index/card/形状 1@2x.png b/static/index/card/形状 1@2x.png deleted file mode 100644 index 08bcbc5..0000000 Binary files a/static/index/card/形状 1@2x.png and /dev/null differ diff --git a/static/index/card/温度 (2)@2x.png b/static/index/card/温度 (2)@2x.png deleted file mode 100644 index a8ed198..0000000 Binary files a/static/index/card/温度 (2)@2x.png and /dev/null differ diff --git a/static/index/newindex/curve/device_1.png b/static/index/newindex/curve/device_1.png deleted file mode 100644 index 1421991..0000000 Binary files a/static/index/newindex/curve/device_1.png and /dev/null differ diff --git a/static/index/newindex/curve/device_2.png b/static/index/newindex/curve/device_2.png deleted file mode 100644 index 08696e0..0000000 Binary files a/static/index/newindex/curve/device_2.png and /dev/null differ diff --git a/static/index/newindex/curve/device_3.png b/static/index/newindex/curve/device_3.png deleted file mode 100644 index 56dd294..0000000 Binary files a/static/index/newindex/curve/device_3.png and /dev/null differ diff --git a/static/index/newindex/curve/device_4.png b/static/index/newindex/curve/device_4.png deleted file mode 100644 index a3bd301..0000000 Binary files a/static/index/newindex/curve/device_4.png and /dev/null differ diff --git a/static/index/newindex/curve/device_5.png b/static/index/newindex/curve/device_5.png deleted file mode 100644 index f542a40..0000000 Binary files a/static/index/newindex/curve/device_5.png and /dev/null differ diff --git a/static/index/newindex/curve/device_6.png b/static/index/newindex/curve/device_6.png deleted file mode 100644 index b32c517..0000000 Binary files a/static/index/newindex/curve/device_6.png and /dev/null differ diff --git a/static/index/newindex/curve/device_7.png b/static/index/newindex/curve/device_7.png deleted file mode 100644 index 106b7f6..0000000 Binary files a/static/index/newindex/curve/device_7.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_1.png b/static/index/newindex/curve/doctor_1.png deleted file mode 100644 index efefb99..0000000 Binary files a/static/index/newindex/curve/doctor_1.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_2.png b/static/index/newindex/curve/doctor_2.png deleted file mode 100644 index 60df464..0000000 Binary files a/static/index/newindex/curve/doctor_2.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_3.png b/static/index/newindex/curve/doctor_3.png deleted file mode 100644 index 4a45339..0000000 Binary files a/static/index/newindex/curve/doctor_3.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_4.png b/static/index/newindex/curve/doctor_4.png deleted file mode 100644 index 4e8e756..0000000 Binary files a/static/index/newindex/curve/doctor_4.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_5.png b/static/index/newindex/curve/doctor_5.png deleted file mode 100644 index 64526ec..0000000 Binary files a/static/index/newindex/curve/doctor_5.png and /dev/null differ diff --git a/static/index/newindex/curve/doctor_6.png b/static/index/newindex/curve/doctor_6.png deleted file mode 100644 index 6ac9cc3..0000000 Binary files a/static/index/newindex/curve/doctor_6.png and /dev/null differ diff --git a/static/index/newindex/curve/home_1.png b/static/index/newindex/curve/home_1.png deleted file mode 100644 index 85affba..0000000 Binary files a/static/index/newindex/curve/home_1.png and /dev/null differ diff --git a/static/index/newindex/curve/home_2.png b/static/index/newindex/curve/home_2.png deleted file mode 100644 index b69066b..0000000 Binary files a/static/index/newindex/curve/home_2.png and /dev/null differ diff --git a/static/index/newindex/curve/home_3.png b/static/index/newindex/curve/home_3.png deleted file mode 100644 index bb52303..0000000 Binary files a/static/index/newindex/curve/home_3.png and /dev/null differ diff --git a/static/index/newindex/curve/home_4.png b/static/index/newindex/curve/home_4.png deleted file mode 100644 index 8a0d206..0000000 Binary files a/static/index/newindex/curve/home_4.png and /dev/null differ diff --git a/static/index/newindex/curve/home_5.png b/static/index/newindex/curve/home_5.png deleted file mode 100644 index 9d6bf9f..0000000 Binary files a/static/index/newindex/curve/home_5.png and /dev/null differ diff --git a/static/index/newindex/curve/lead_8.png b/static/index/newindex/curve/lead_8.png deleted file mode 100644 index d2bfce3..0000000 Binary files a/static/index/newindex/curve/lead_8.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics0.png b/static/index/newindex/curve/logistics0.png deleted file mode 100644 index fdd19f5..0000000 Binary files a/static/index/newindex/curve/logistics0.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics1.png b/static/index/newindex/curve/logistics1.png deleted file mode 100644 index 3c3026c..0000000 Binary files a/static/index/newindex/curve/logistics1.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics2.png b/static/index/newindex/curve/logistics2.png deleted file mode 100644 index 3625cdd..0000000 Binary files a/static/index/newindex/curve/logistics2.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics3.png b/static/index/newindex/curve/logistics3.png deleted file mode 100644 index 46c0f91..0000000 Binary files a/static/index/newindex/curve/logistics3.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics4.png b/static/index/newindex/curve/logistics4.png deleted file mode 100644 index 2e47436..0000000 Binary files a/static/index/newindex/curve/logistics4.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics5.png b/static/index/newindex/curve/logistics5.png deleted file mode 100644 index 703d5ad..0000000 Binary files a/static/index/newindex/curve/logistics5.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics6.png b/static/index/newindex/curve/logistics6.png deleted file mode 100644 index eaedebe..0000000 Binary files a/static/index/newindex/curve/logistics6.png and /dev/null differ diff --git a/static/index/newindex/curve/logistics7.png b/static/index/newindex/curve/logistics7.png deleted file mode 100644 index 2f972c7..0000000 Binary files a/static/index/newindex/curve/logistics7.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_1.png b/static/index/newindex/curve/nurse_1.png deleted file mode 100644 index b18f4a7..0000000 Binary files a/static/index/newindex/curve/nurse_1.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_2.png b/static/index/newindex/curve/nurse_2.png deleted file mode 100644 index c212b42..0000000 Binary files a/static/index/newindex/curve/nurse_2.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_3.png b/static/index/newindex/curve/nurse_3.png deleted file mode 100644 index 1559da0..0000000 Binary files a/static/index/newindex/curve/nurse_3.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_4.png b/static/index/newindex/curve/nurse_4.png deleted file mode 100644 index 1b7cecd..0000000 Binary files a/static/index/newindex/curve/nurse_4.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_5.png b/static/index/newindex/curve/nurse_5.png deleted file mode 100644 index fdb7006..0000000 Binary files a/static/index/newindex/curve/nurse_5.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_6.png b/static/index/newindex/curve/nurse_6.png deleted file mode 100644 index caf4156..0000000 Binary files a/static/index/newindex/curve/nurse_6.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_7.png b/static/index/newindex/curve/nurse_7.png deleted file mode 100644 index a0b85c2..0000000 Binary files a/static/index/newindex/curve/nurse_7.png and /dev/null differ diff --git a/static/index/newindex/curve/nurse_8.png b/static/index/newindex/curve/nurse_8.png deleted file mode 100644 index bfb61df..0000000 Binary files a/static/index/newindex/curve/nurse_8.png and /dev/null differ diff --git a/static/index/newindex/curve/return_1.png b/static/index/newindex/curve/return_1.png deleted file mode 100644 index 7bdad65..0000000 Binary files a/static/index/newindex/curve/return_1.png and /dev/null differ diff --git a/static/index/newindex/curve/return_2.png b/static/index/newindex/curve/return_2.png deleted file mode 100644 index 9cbc515..0000000 Binary files a/static/index/newindex/curve/return_2.png and /dev/null differ diff --git a/static/index/newindex/curve/return_3.png b/static/index/newindex/curve/return_3.png deleted file mode 100644 index e6a291b..0000000 Binary files a/static/index/newindex/curve/return_3.png and /dev/null differ diff --git a/static/index/newindex/curve/return_4.png b/static/index/newindex/curve/return_4.png deleted file mode 100644 index 3d600b6..0000000 Binary files a/static/index/newindex/curve/return_4.png and /dev/null differ diff --git a/static/index/newindex/curve/return_5.png b/static/index/newindex/curve/return_5.png deleted file mode 100644 index 9b6efc6..0000000 Binary files a/static/index/newindex/curve/return_5.png and /dev/null differ diff --git a/static/index/newindex/curve/return_6.png b/static/index/newindex/curve/return_6.png deleted file mode 100644 index ce0a151..0000000 Binary files a/static/index/newindex/curve/return_6.png and /dev/null differ diff --git a/static/index/newindex/curve/return_7.png b/static/index/newindex/curve/return_7.png deleted file mode 100644 index 42d5db5..0000000 Binary files a/static/index/newindex/curve/return_7.png and /dev/null differ diff --git a/static/index/newindex/curve/return_8.png b/static/index/newindex/curve/return_8.png deleted file mode 100644 index cf5aaa8..0000000 Binary files a/static/index/newindex/curve/return_8.png and /dev/null differ diff --git a/static/index/newindex/leftmenu/bigimg.png b/static/index/newindex/leftmenu/bigimg.png new file mode 100644 index 0000000..b0fd0cb Binary files /dev/null and b/static/index/newindex/leftmenu/bigimg.png differ diff --git a/static/index/newindex/leftmenu/iconleft.png b/static/index/newindex/leftmenu/iconleft.png new file mode 100644 index 0000000..3caae8c Binary files /dev/null and b/static/index/newindex/leftmenu/iconleft.png differ diff --git a/static/index/newindex/leftmenu/iconright.png b/static/index/newindex/leftmenu/iconright.png new file mode 100644 index 0000000..a5493e7 Binary files /dev/null and b/static/index/newindex/leftmenu/iconright.png differ diff --git a/static/index/newindex/leftmenu/nopeople.png b/static/index/newindex/leftmenu/nopeople.png new file mode 100644 index 0000000..8a736bb Binary files /dev/null and b/static/index/newindex/leftmenu/nopeople.png differ diff --git a/static/index/newindex/leftmenu/openleft.png b/static/index/newindex/leftmenu/openleft.png new file mode 100644 index 0000000..0a47d8b Binary files /dev/null and b/static/index/newindex/leftmenu/openleft.png differ diff --git a/static/index/newindex/leftmenu/wareblue.png b/static/index/newindex/leftmenu/wareblue.png new file mode 100644 index 0000000..2b8cdd9 Binary files /dev/null and b/static/index/newindex/leftmenu/wareblue.png differ diff --git a/static/index/newindex/leftmenu/warepeople.png b/static/index/newindex/leftmenu/warepeople.png new file mode 100644 index 0000000..fc9b942 Binary files /dev/null and b/static/index/newindex/leftmenu/warepeople.png differ diff --git a/static/index/newindex/leftmenu/warewhite.png b/static/index/newindex/leftmenu/warewhite.png new file mode 100644 index 0000000..406cb62 Binary files /dev/null and b/static/index/newindex/leftmenu/warewhite.png differ diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index dd59bdc..3c0ae68 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -54,6 +54,7 @@ const _sfc_main = { uni.$on("fullmonitor:changeinit", (number) => { this.$refs.monitor.initAutoPlay(number); uni.setStorageSync("saveinit", number); + formatAppLog("log", "at pages/fullcamera.nvue:63", "切换了", number); this.suo = true; }); uni.$on("fullmonitor:isshow", (bool) => this.isshow = bool); @@ -73,7 +74,7 @@ const _sfc_main = { uni.$on("fullmonitor:test", this.test); }, onUnload() { - formatAppLog("log", "at pages/fullcamera.nvue:84", "fullcamera 卸载,清理事件"); + formatAppLog("log", "at pages/fullcamera.nvue:85", "fullcamera 卸载,清理事件"); if (this.globalEvent && this.globalEvent.removeEventListener) { this.globalEvent.removeEventListener("myEvent"); } @@ -100,30 +101,30 @@ const _sfc_main = { methods: { /* ------------------ 原有功能 ------------------ */ handleTelEvent(event) { - formatAppLog("log", "at pages/fullcamera.nvue:115", "Tel event detail:", event.detail); + formatAppLog("log", "at pages/fullcamera.nvue:116", "Tel event detail:", event.detail); }, killView() { this.$refs.monitor.killView && this.$refs.monitor.killView(); }, switchDisplay(mode) { - formatAppLog("log", "at pages/fullcamera.nvue:123", "zzzzz", mode); + formatAppLog("log", "at pages/fullcamera.nvue:124", "zzzzz", mode); this.$refs.monitor && this.$refs.monitor.switchDisplayModeFragment(mode); }, startAlarm() { this.isAlarming = true; this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => { - formatAppLog("log", "at pages/fullcamera.nvue:130", "startAlarm callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:131", "startAlarm callback:", res); }); }, stopAlarm() { this.isAlarming = false; this.$refs.monitor.startOrStopManualAlarm(this.isAlarming, (res) => { - formatAppLog("log", "at pages/fullcamera.nvue:136", "stopAlarm callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:137", "stopAlarm callback:", res); }); }, flipImage(type) { this.$refs.monitor.changeImageSwitch(type, (res) => { - formatAppLog("log", "at pages/fullcamera.nvue:142", "flipImage callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:143", "flipImage callback:", res); }); }, resumeOrPause() { @@ -160,7 +161,7 @@ const _sfc_main = { } try { this.$refs.monitor.snapShot((res) => { - formatAppLog("log", "at pages/fullcamera.nvue:188", "snapShot callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:189", "snapShot callback:", res); this._handleSnapshotResultFromNative(res, payload.reqId); }); uni.showToast({ @@ -169,7 +170,7 @@ const _sfc_main = { duration: 800 }); } catch (err) { - formatAppLog("error", "at pages/fullcamera.nvue:197", "snapShot 调用失败", err); + formatAppLog("error", "at pages/fullcamera.nvue:198", "snapShot 调用失败", err); uni.showToast({ title: "snapShot 调用失败", icon: "none" @@ -201,7 +202,7 @@ const _sfc_main = { } try { this.$refs.monitor.startRecord((res) => { - formatAppLog("log", "at pages/fullcamera.nvue:230", "startRecord callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:231", "startRecord callback:", res); if (payload.reqId) { uni.$emit(`fullmonitor:response:${payload.reqId}`, { ok: true, @@ -215,7 +216,7 @@ const _sfc_main = { icon: "none" }); } catch (err) { - formatAppLog("error", "at pages/fullcamera.nvue:245", "startRecord 调用失败", err); + formatAppLog("error", "at pages/fullcamera.nvue:246", "startRecord 调用失败", err); uni.showToast({ title: "startRecord 调用失败", icon: "none" @@ -250,11 +251,11 @@ const _sfc_main = { } try { this.$refs.monitor.stopRecord((res) => { - formatAppLog("log", "at pages/fullcamera.nvue:284", "stopRecord callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:285", "stopRecord callback:", res); this._handleRecordResultFromNative(res, payload.reqId); }); } catch (err) { - formatAppLog("error", "at pages/fullcamera.nvue:289", "stopRecord 调用失败", err); + formatAppLog("error", "at pages/fullcamera.nvue:290", "stopRecord 调用失败", err); uni.showToast({ title: "stopRecord 调用失败", icon: "none" @@ -289,7 +290,7 @@ const _sfc_main = { } try { this.$refs.monitor.openTalk((res) => { - formatAppLog("log", "at pages/fullcamera.nvue:326", "openTalk callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:327", "openTalk callback:", res); if (payload.reqId) { uni.$emit(`fullmonitor:response:${payload.reqId}`, { ok: true, @@ -303,7 +304,7 @@ const _sfc_main = { icon: "none" }); } catch (err) { - formatAppLog("error", "at pages/fullcamera.nvue:341", "openTalk 调用失败", err); + formatAppLog("error", "at pages/fullcamera.nvue:342", "openTalk 调用失败", err); uni.showToast({ title: "openTalk 调用失败", icon: "none" @@ -335,7 +336,7 @@ const _sfc_main = { } try { this.$refs.monitor.stopTalk((res) => { - formatAppLog("log", "at pages/fullcamera.nvue:374", "stopTalk callback:", res); + formatAppLog("log", "at pages/fullcamera.nvue:375", "stopTalk callback:", res); if (payload.reqId) { uni.$emit(`fullmonitor:response:${payload.reqId}`, { ok: true, @@ -345,7 +346,7 @@ const _sfc_main = { }); this.isTalking = false; } catch (err) { - formatAppLog("error", "at pages/fullcamera.nvue:384", "stopTalk 调用失败", err); + formatAppLog("error", "at pages/fullcamera.nvue:385", "stopTalk 调用失败", err); uni.showToast({ title: "stopTalk 调用失败", icon: "none" @@ -363,19 +364,19 @@ const _sfc_main = { // 处理来自模板 @onSnapShot 的事件(event.detail) handleSnapShotEvent(event) { const payload = event && event.detail ? event.detail : event; - formatAppLog("log", "at pages/fullcamera.nvue:404", "onSnapShot event:", payload); + formatAppLog("log", "at pages/fullcamera.nvue:405", "onSnapShot event:", payload); this._handleSnapshotResultFromNative(payload); }, // 处理来自模板 @onRecord 的事件(event.detail) handleRecordEvent(event) { const payload = event && event.detail ? event.detail : event; - formatAppLog("log", "at pages/fullcamera.nvue:412", "onRecord event:", payload); + formatAppLog("log", "at pages/fullcamera.nvue:413", "onRecord event:", payload); this._handleRecordResultFromNative(payload); }, // 处理来自模板 @onTalkStatus 的事件 handleTalkEvent(event) { const payload = event && event.detail ? event.detail : event; - formatAppLog("log", "at pages/fullcamera.nvue:419", "onTalkStatus event:", payload); + formatAppLog("log", "at pages/fullcamera.nvue:420", "onTalkStatus event:", payload); const status = payload && payload.talkStatus; const tips = payload && payload.tips; uni.$emit("fullmonitor:talk:status", payload); @@ -443,7 +444,7 @@ const _sfc_main = { let payload = res; if (res.detail) payload = res.detail; - formatAppLog("log", "at pages/fullcamera.nvue:496", "snapshot payload normalized:", payload); + formatAppLog("log", "at pages/fullcamera.nvue:497", "snapshot payload normalized:", payload); if (reqIdFromCallback) { uni.$emit(`fullmonitor:response:${reqIdFromCallback}`, { ok: !!payload.snapShotResult, @@ -479,7 +480,7 @@ const _sfc_main = { icon: "none", duration: 2e3 }); - formatAppLog("warn", "at pages/fullcamera.nvue:539", "snapshot failed reason:", err, payload); + formatAppLog("warn", "at pages/fullcamera.nvue:540", "snapshot failed reason:", err, payload); } }, _handleRecordResultFromNative(res, reqIdFromCallback = null) { @@ -500,7 +501,7 @@ const _sfc_main = { let payload = res; if (res.detail) payload = res.detail; - formatAppLog("log", "at pages/fullcamera.nvue:561", "record payload normalized:", payload); + formatAppLog("log", "at pages/fullcamera.nvue:562", "record payload normalized:", payload); if (reqIdFromCallback) { uni.$emit(`fullmonitor:response:${reqIdFromCallback}`, { ok: !!(payload.recordUrl || payload.snapShotResult), @@ -524,7 +525,7 @@ const _sfc_main = { duration: 1400 }); this.isRecording = false; - formatAppLog("log", "at pages/fullcamera.nvue:592", "录屏地址:", payload.recordUrl); + formatAppLog("log", "at pages/fullcamera.nvue:593", "录屏地址:", payload.recordUrl); } else if (payload.recordFailedReason) { uni.showToast({ title: "录屏失败: " + payload.recordFailedReason, @@ -532,7 +533,7 @@ const _sfc_main = { duration: 2e3 }); this.isRecording = false; - formatAppLog("warn", "at pages/fullcamera.nvue:600", "record failed reason:", payload.recordFailedReason); + formatAppLog("warn", "at pages/fullcamera.nvue:601", "record failed reason:", payload.recordFailedReason); } else { if (payload.snapShotResult === true) { uni.showToast({