diff --git a/component/public/newgame/sxy-Timeing.vue b/component/public/newgame/sxy-Timeing.vue index 9198856..7d17e28 100644 --- a/component/public/newgame/sxy-Timeing.vue +++ b/component/public/newgame/sxy-Timeing.vue @@ -120,7 +120,7 @@ export default { cycle() { let minutes = Math.floor(this.initTime / 60); let time = this.initTime; - console.log(minutes,time) + // console.log(minutes,time) this.timerTwo = setInterval(() => { const flag = this.isDown ? time - 1 : time + 1; if (flag === this.threshold) { diff --git a/pages/NursingNew/component/nurse/api.js b/pages/NursingNew/component/nurse/api.js index 3156e50..1bf3c81 100644 --- a/pages/NursingNew/component/nurse/api.js +++ b/pages/NursingNew/component/nurse/api.js @@ -73,13 +73,13 @@ export const addElderTag = (params) => { } // 编排护理流程-删除服务指令 -export const deleteDirective = (params) => { - return request({ - url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/deleteDirective`, - method: 'post', - data: params, - }) -} +// export const deleteDirective = (params) => { +// return request({ +// url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/deleteDirective`, +// method: 'post', +// data: params, +// }) +// } // 编排护理流程-删除即时服务指令 export const deleteInstant = (params) => { @@ -98,14 +98,14 @@ export const deleteElderTag = (params) => { data: params, }) } -// 编排护理流程-修改服务指令 -export const editDirective = (params) => { - return request({ - url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/editDirective`, - method: 'post', - data: params, - }) -} +// // 编排护理流程-修改服务指令 +// export const editDirective = (params) => { +// return request({ +// url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/editDirective`, +// method: 'post', +// data: params, +// }) +// } // 根据日期查询日程表 export const getDirectiveOrders = (date) => { @@ -122,4 +122,20 @@ export const addDirective = (params) => { method: 'post', data: params, }) +} +// 删除服务指令 +export const deleteDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/deleteDirective`, + method: 'post', + data: params, + }) +} +// 修改服务指令 +export const editDirective = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/care/directive/editDirective`, + method: 'post', + data: params, + }) } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/bigindex.css b/pages/NursingNew/component/nurse/bigindex.css index 14a50fe..d46fb87 100644 --- a/pages/NursingNew/component/nurse/bigindex.css +++ b/pages/NursingNew/component/nurse/bigindex.css @@ -1010,4 +1010,9 @@ .spec-shu{ margin: 0 7rpx; color: #BABABA; +} +.packtarget-serviceContent{ + width: 100%; + height: 200rpx; + background-color: red; } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/index.css b/pages/NursingNew/component/nurse/index.css index 7b05a3a..19fee56 100644 --- a/pages/NursingNew/component/nurse/index.css +++ b/pages/NursingNew/component/nurse/index.css @@ -591,7 +591,6 @@ } .title-time-font-rel { - margin-top: 9rpx; font-size: 33rpx; font-weight: 800; @@ -675,8 +674,6 @@ position: relative; margin-left: -50rpx; - /* background-color: blue; */ - .joystick { position: absolute; bottom: 200rpx; @@ -2029,6 +2026,7 @@ height: 1278rpx; width: 600rpx; border-radius: 30rpx; + /* background-color: red; */ .right-tags { background-color: #fff; @@ -2368,60 +2366,180 @@ transform: translate(-45%, -50%); } +.forfixed { + width: 100%; + height: 240rpx; + position: relative; + margin-top: 18rpx; +} + .right-instant { background-color: #fff; width: 100%; height: 240rpx; border-radius: 35rpx; + position: absolute; + top: 0; + left: 0; + /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */ +} + +.right-instant-more { + background-color: #fff; + width: 100%; + height: 580rpx; + border-radius: 35rpx; + position: absolute; + top: 0; + left: 0; + z-index: 20; + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); +} + +.right-instant-title { + width: 100%; + height: 80rpx; + display: flex; + align-items: center; position: relative; - margin-top: 18rpx; - - .right-instant-title { - width: 100%; - height: 80rpx; + .right-setting { + position: absolute; + right: 23rpx; + top: 20rpx; + width: 90rpx; + height: 46rpx; + background-color: #F2F3F8; + color: #555555; + font-size: 27rpx; display: flex; align-items: center; - position: relative; - - .right-setting { - position: absolute; - right: 23rpx; - top: 20rpx; - width: 90rpx; - height: 46rpx; - background-color: #F2F3F8; - color: #555555; - font-size: 27rpx; - display: flex; - align-items: center; - justify-content: center; - border-radius: 10rpx; - border: 1rpx solid #E5E5E5; - } - - .right-setting-target { - position: absolute; - right: 23rpx; - top: 20rpx; - width: 90rpx; - height: 46rpx; - background-color: #F2F3F8; - color: #0089FE; - font-size: 27rpx; - display: flex; - align-items: center; - justify-content: center; - border-radius: 10rpx; - border: 1rpx solid #0089FE; - } + justify-content: center; + border-radius: 10rpx; + border: 1rpx solid #E5E5E5; } - .right-instant-items { + .right-setting-target { + position: absolute; + right: 23rpx; + top: 20rpx; + width: 90rpx; + height: 46rpx; + background-color: #F2F3F8; + color: #0089FE; + font-size: 27rpx; + display: flex; + align-items: center; + justify-content: center; + border-radius: 10rpx; + border: 1rpx solid #0089FE; + } +} + +.right-instant-items { + width: 100%; + height: 120rpx; + position: relative; + margin-top: -15rpx; + + /* background-color: red; */ + .small-instant { + display: flex; width: 100%; - height: 160rpx; - position: relative; + height: 100%; + } + + .big-instant { + position: absolute; + top: 0; + left: 0; + display: flex; + margin-left: 5%; + width: 90%; + height: 200%; + } + + .instant-more { + position: absolute; + left: 50%; + bottom: -40rpx; + transform: translateX(-50%); + /* transform: rotate(180deg); */ + width: 40rpx; + height: 40rpx; + display: flex; + justify-content: center; + align-items: center; + + .more-imge { + width: 21rpx; + height: 21rpx; + } + } + + .instant { + width: 33%; + height: 155rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + overflow: hidden; + /* 中心为轴心 */ + transform-origin: center center; + /* 放大/缩回的过渡时间(这里设为 120ms,感觉更顺滑) */ + transition: transform 1s cubic-bezier(.2, .9, .3, 1); + position: relative; + + .instant-close { + width: 30rpx; + height: 30rpx; + border-radius: 50%; + display: flex; + /* background-color: #0184db; */ + justify-content: center; + align-items: center; + position: absolute; + top: 20rpx; + right: 20rpx; + z-index: 10; + color: #fff; + } + + .instant-icon { + width: 60rpx; + height: 60rpx; + /* 性能关键 */ + will-change: transform; + transform-origin: 50% 52%; + } + + .instant-text { + white-space: nowrap; + color: #818181; + font-size: 27rpx; + } + } +} + +/* iOS 风格抖动 */ +@keyframes wiggle { + 0% { + transform: rotate(-20deg); + } + + 50% { + transform: rotate(20deg); + } + + 100% { + transform: rotate(-20deg); + } +} + +.wiggle { + animation: wiggle 0.3s linear infinite; } .right-tree { @@ -2582,7 +2700,7 @@ .image-right { width: 500rpx; height: 100%; - margin-left: 15rpx; + margin-left: 6rpx; /* background-color: green; */ .right-title { @@ -2599,7 +2717,7 @@ /* background-color: red; */ .target-strart { - font-size: 65rpx; + font-size: 55rpx; color: #2A2A2A; font-weight: 800; margin-right: 6rpx; @@ -2618,6 +2736,7 @@ .target-shu { margin: 0 10rpx; + color: #919191; } } } @@ -2644,6 +2763,65 @@ border-radius: 35rpx; z-index: 1; + .edit-Frequency { + width: 90%; + margin-left: 5%; + font-size: 28rpx; + /* padding-top: 10rpx; */ + + .Frequency-one { + height: 80rpx; + width: 110%; + display: flex; + align-items: center; + + .Frequency-box { + width: 40rpx; + height: 40rpx; + display: flex; + align-items: center; + justify-content: center; + border: 2rpx solid #D2D2D2; + border-radius: 10rpx; + margin-left: 10rpx; + margin-right: 15rpx; + + .box { + width: 35rpx; + height: 35rpx; + } + } + + .Frequency-add { + width: 58rpx; + height: 58rpx; + display: flex; + justify-content: center; + align-items: center; + font-size: 45rpx; + border: 2rpx solid #D2D2D2; + margin: 0 15rpx; + border-radius: 10rpx; + } + + .Frequency-input { + width: 90rpx; + height: 58rpx; + font-size: 30rpx; + color: #0089FE; + border: 2rpx solid black; + border-radius: 10rpx; + + .center-input { + width: 100%; + height: 100%; + text-align: center; + font-weight: 600; + } + } + } + } + .edit-week { width: 90%; margin-left: 5%; @@ -2686,8 +2864,8 @@ right: 30rpx; bottom: 25rpx; width: 120rpx; - height: 60rpx; - font-size: 30rpx; + height: 55rpx; + font-size: 32rpx; display: flex; justify-content: center; align-items: center; @@ -2874,4 +3052,315 @@ background-color: #4690FF; color: #fff; border-radius: 5rpx; +} + +.forscroll { + width: 90%; + margin-left: 5%; + display: flex; + flex-wrap: wrap; + position: relative; + + .instant-detail { + position: absolute; + width: 104%; + left: -2%; + top: 0; + height: 150rpx; + background-color: #fff; + border: 2rpx solid rgba(0, 137, 254, 0.29); + border-radius: 25rpx; + padding-top: 17rpx; + padding-left: 25rpx; + + .detail-title { + font-size: 30rpx; + } + + .detail-contain { + width: 95%; + height: 100rpx; + margin-top: 5rpx; + color: #666666; + font-size: 25rpx; + /* background-color: red; */ + } + + .triangle-instant { + position: absolute; + top: -8.34rpx; + left: 0; + width: 0; + height: 0; + border-left: 14.44rpx solid transparent; + border-right: 14.44rpx solid transparent; + border-bottom: 8.34rpx solid rgba(0, 137, 254, 0.29); + + .triangle-small-instant { + position: absolute; + top: 1.2rpx; + right: 50%; + transform: translateX(50%); + width: 0; + height: 0; + border-left: 14.44rpx solid transparent; + border-right: 14.44rpx solid transparent; + border-bottom: 8.34rpx solid #fff; + } + } + } +} + +.pop { + transform: scale(1.3); +} + +.pack-title { + width: 100%; + height: 160rpx; + + .pack-father { + display: flex; + width: 100%; + height: 100%; + + .packs { + height: 100%; + min-width: 180rpx; + /* border: 1rpx solid black; */ + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + white-space: nowrap; + /* 不换行 */ + overflow: hidden; + + /* 超出隐藏 */ + /* text-overflow: ellipsis; */ + /* 显示省略号 */ + .pack-icon { + width: 48rpx; + height: 48rpx; + margin-bottom: 5rpx; + } + } + } +} + +.pack-detail { + width: 100%; + height: 300rpx; + margin-top: 20rpx; + + .detail-father { + display: flex; + width: 100%; + height: 100%; + flex-wrap: wrap; + color: #666666; + + .details { + height: 150rpx; + min-width: 180rpx; + max-width: 180rpx; + /* border: 1rpx solid black; */ + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + white-space: nowrap; + /* 不换行 */ + overflow: hidden; + + + .detail-icon { + width: 55rpx; + height: 55rpx; + margin-bottom: 5rpx; + } + } + + } + +} + +.pack-heng { + width: 100%; + height: 1rpx; + background-color: #E5E5E5; + margin-top: 13rpx; + margin-left: -12rpx; +} + +.packtargetmessage { + width: 200%; + height: 70rpx; + display: flex; + + .packtargetmessage-icon { + width: 50rpx; + height: 50rpx; + margin-left: -5rpx; + margin-top: 10rpx; + } + + .packtarget-font { + margin-left: 8rpx; + font-size: 27rpx; + color: #0089FE; + margin-top: 18rpx; + white-space: nowrap; + /* 不换行 */ + overflow: hidden; + /* 超出隐藏 */ + text-overflow: ellipsis; + /* 显示省略号 */ + width: 140rpx; + } + + .packtarget-strart { + /* margin-left: 8rpx; */ + font-size: 50rpx; + color: #2A2A2A; + font-weight: 800; + + margin-top: -2rpx; + } + + .packtarget-other { + /* min-width: 800rpx; */ + /* margin-top: 10rpx; */ + display: flex; + align-items: center; + + /* background-color: red; */ + .packtarget-blue { + color: #0089FE; + } + + .packtarget-shu { + margin: 0 10rpx; + color: #919191; + } + } +} + +.packtarget-heng { + width: 100%; + height: 1rpx; + background-color: #E5E5E5; + margin-top: 3rpx; + margin-left: -12rpx; +} + +.packtarget-detail { + width: 100%; + height: 250rpx; + + .detail-father { + display: flex; + width: 100%; + height: 100%; + flex-wrap: wrap; + color: #666666; + + .details { + height: 125rpx; + min-width: 180rpx; + max-width: 180rpx; + /* border: 1rpx solid black; */ + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + white-space: nowrap; + /* 不换行 */ + overflow: hidden; + font-size: 25rpx; + + .detail-icon { + width: 50rpx; + height: 50rpx; + margin-bottom: 5rpx; + } + } + + } +} + +.packtarget-end { + width: 100%; + height: 200rpx; + display: flex; + padding-top:15rpx; + position: relative; + + + .target-edit { + position: absolute; + right: 5rpx; + bottom: 5rpx; + width: 130rpx; + height: 60rpx; + display: flex; + justify-content: center; + align-items: center; + background-color: #F5FAFF; + border: 2rpx solid #0080FC; + border-radius: 10rpx; + color: #0089FE; + font-size: 33rpx; + } + + .end-icon { + width: 90rpx; + height: 90rpx; + margin-left: -5rpx; + margin-top: 5rpx; + margin-right: 5rpx; + } +} + +.packtarget-title { + width: 100%; + height: 40rpx; + display: flex; + position: relative; + + .target-gray { + background-color: #F8F8FA; + border: 1rpx solid #D5D5D5; + display: flex; + height: 100%; + align-items: center; + padding: 0 10rpx; + border-radius: 10rpx; + font-size: 23rpx; + color: #222222; + } + .target-black{ + position: absolute; + top: 2.5rpx; + right: 0; + font-size: 29rpx; + /* margin-top: 3rpx; */ + } + + .target-shu { + margin: 0 7rpx; + margin-top: 5rpx; + font-size: 23rpx; + color: #919191; + } +} +.packtarget-serviceContent{ + width: 430rpx; + height: 100rpx; + margin-top: 10rpx; + font-size: 25rpx; + color: #666666; + + + } \ No newline at end of file diff --git a/pages/NursingNew/component/nurse/newindex.vue b/pages/NursingNew/component/nurse/newindex.vue index 79e3c4e..d317ed5 100644 --- a/pages/NursingNew/component/nurse/newindex.vue +++ b/pages/NursingNew/component/nurse/newindex.vue @@ -45,6 +45,7 @@ :class=" targetRuler.index0 === index0 && targetRuler.index1 === index1 ? targetRuler.index1 ?`title-time-border-big`:`title-time-border-big-top` : `super-card-time-card` " :style="!targetRuler.bordershow && saveRulerTime.index0 === index0 && saveRulerTime.index1 === index1 ? {zIndex:999} : {borderBottom: '1rpx solid transparent'}" :id="`a${index0}_${index1}`" style="position: relative;" + @touchstart="handleTouchStart1(item1,$event)" @click="rulerTouchClick(item1,index0,index1)" :data-index0="index0" :data-index1="index1"> - + @@ -182,26 +183,119 @@ - - - - - 即时标签 + + + + + + + 即时标签 + + + + + + + + + + + {{ item.directiveName }} + + + + + + + + + + + + - - + + + + + 即时标签 + + + + + + + + + + {{ item.directiveName }} + + + + + + + + + + + {{ bottomItems[moreindex]?.directiveName }} + + + {{ bottomItems[moreindex]?.serviceContent }} + + + + + + + + + + + + + v-show="!ruleritem.directiveName" v-for="(item,index) in [`服务指令`,`服务指令包`]" + :key="index" @click="openserver(index)"> {{ item }} - + + + + {{ item }} + + + {{ item }} + + + @@ -213,13 +307,13 @@ 双击服务指令可编辑矩阵 - + - + + + + + + + {{ item.packageName }} + + + + + + + + + + + + + {{ splitString(item.directiveName)[0] }} + + + {{ splitString(item.directiveName)[1] ? `(${splitString(item.directiveName)[1]})`:``}} + + + + + + + {{ ruleritem.categoryName }} @@ -304,36 +436,202 @@ {{ ruleritem.serviceContent }} - + 编辑 + + + + + + {{ ruleritem.directiveName }} + + + {{ ruleritem.startTime }} + + + + | + + + {{ ruleritem.newtypename }} + + + | + + + {{ ruleritem.serviceDuration }}分钟 + + + + + + + + + + + {{ splitString(item.directiveName)[0] }} + + + {{ splitString(item.directiveName)[1] ? `(${splitString(item.directiveName)[1]})`:``}} + + + + + + + + + + + + + {{ ruleritem?.directivesList[packtargetindex]?.categoryName }} + + + | + + + {{ ruleritem?.directivesList[packtargetindex]?.typeName }} + + + {{ splitString(ruleritem?.directivesList[packtargetindex]?.directiveName)[0] }} + + + + {{ ruleritem?.directivesList[packtargetindex]?.serviceContent }} + + + + 编辑 + + + + + - {{ item }} - - + + + + + + 每天执行一次 + + + + + + + 每隔 + + - + + + + + + + + + 天执行一次 + + + + + + + 临时一次 + + + + {{ item }} - - + + {{ item }} - + 确定 @@ -488,7 +786,7 @@ \ No newline at end of file diff --git a/static/ceshi6.png b/static/ceshi6.png index 4f10109..d4252c3 100644 Binary files a/static/ceshi6.png and b/static/ceshi6.png differ diff --git a/static/down.png b/static/down.png new file mode 100644 index 0000000..c1b5891 Binary files /dev/null and b/static/down.png differ diff --git a/static/index/deleticon.png b/static/index/deleticon.png new file mode 100644 index 0000000..a358b77 Binary files /dev/null and b/static/index/deleticon.png differ diff --git a/static/index/pack.png b/static/index/pack.png new file mode 100644 index 0000000..a20ed01 Binary files /dev/null and b/static/index/pack.png differ diff --git a/static/index/packtarget.png b/static/index/packtarget.png new file mode 100644 index 0000000..aaf3721 Binary files /dev/null and b/static/index/packtarget.png differ diff --git a/static/right.png b/static/right.png new file mode 100644 index 0000000..aadfb74 Binary files /dev/null and b/static/right.png differ diff --git a/static/righttarget.png b/static/righttarget.png new file mode 100644 index 0000000..4aba87a Binary files /dev/null and b/static/righttarget.png differ diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js index 0f26729..cb24fb3 100644 --- a/unpackage/dist/dev/.nvue/pages/camera.js +++ b/unpackage/dist/dev/.nvue/pages/camera.js @@ -570,7 +570,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); +const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); export { camera as default }; diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index aab70ef..3c0ae68 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -578,7 +578,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); +const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); export { fullcamera as default };