diff --git a/component/public/game/joystick.vue b/component/public/game/joystick.vue new file mode 100644 index 0000000..86bb0ab --- /dev/null +++ b/component/public/game/joystick.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/component/public/game/openskill.vue b/component/public/game/openskill.vue new file mode 100644 index 0000000..03983a8 --- /dev/null +++ b/component/public/game/openskill.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/component/public/game/skill.vue b/component/public/game/skill.vue new file mode 100644 index 0000000..c811668 --- /dev/null +++ b/component/public/game/skill.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file diff --git a/component/public/game/skilladd.vue b/component/public/game/skilladd.vue new file mode 100644 index 0000000..12b6ff8 --- /dev/null +++ b/component/public/game/skilladd.vue @@ -0,0 +1,93 @@ + + + + + \ No newline at end of file diff --git a/component/rightItemssecond/index.css b/component/rightItemssecond/index.css index 0544219..a995073 100644 --- a/component/rightItemssecond/index.css +++ b/component/rightItemssecond/index.css @@ -549,7 +549,7 @@ border: 2rpx solid; .right-container-title-class-anhei { - font-size: 20rpx; + font-size: 30rpx; font-weight: 800; color: white; } diff --git a/component/rightItemssecond/index.vue b/component/rightItemssecond/index.vue index 6c59d3b..71d5070 100644 --- a/component/rightItemssecond/index.vue +++ b/component/rightItemssecond/index.vue @@ -21,15 +21,9 @@ - + - 切换到暗黑模式 - - - - - 取消暗黑模式 + 手柄模式 @@ -423,7 +417,6 @@ import { getServiceTree, getNclist, addBatch } from "./api.js"; import index from '../../request'; import { myArray } from './yaoshandiao.js'; - import { saveArray } from './yaoshande'; const props = defineProps({ isshow: { type: Boolean, @@ -611,11 +604,12 @@ } // 初始化下面侧单列表 const doctorsayList = ref([ + { url: '/static/index/doctorsay/light/use.png', targetUrl: '/static/index/doctorsay/dark/use.png', name: '日常' }, { url: '/static/index/doctorsay/light/clean.png', targetUrl: '/static/index/doctorsay/dark/clean.png', name: '清洁' }, { url: '/static/index/doctorsay/light/drink.png', targetUrl: '/static/index/doctorsay/dark/drink.png', name: '饮食' }, { url: '/static/index/doctorsay/light/bed.png', targetUrl: '/static/index/doctorsay/dark/bed.png', name: '睡眠' }, { url: '/static/index/doctorsay/light/shi.png', targetUrl: '/static/index/doctorsay/dark/shi.png', name: '排泻' }, - { url: '/static/index/doctorsay/light/use.png', targetUrl: '/static/index/doctorsay/dark/use.png', name: '日常' }, + ]); // 当前选中的菜单索引 @@ -628,11 +622,14 @@ const underFans = ref(false); // 当前选中的菜单索引 const roomTar = ref([]); - const emit = defineEmits(['darkchange', 'savename', 'saveruler', 'closename', 'changefangkuang']); + const emit = defineEmits(['darkchange', 'savename', 'saveruler', 'closename', 'changefangkuang', 'changeold']); // 暗黑模式改变 const darkFanschange = () => { emit('darkchange', !props.darkFans); } + const newchange = () => { + emit('changeold', false) + } //变更左侧菜单 const changLeft = (index : number) => { upmenuIndex.value = index @@ -1087,7 +1084,7 @@ //表格拖动结束 const rulerEnd = async (res : any) => { isBack.value = false; - + console.log("!!!!", props.liang.index0 !== 999 && res) if (props.liang.index0 !== 999 && res) { //检测拖动是否超出范围和是否不合法 if (redNameindex0.value.includes(props.liang.index0 + (currentNumber.value * 6)) || redNameindex1.value !== props.liang.index1) { @@ -1371,16 +1368,16 @@ // url: `/pages/timeMatrix/index?currentNumber=${currentNumber.value}` // }) uni.setStorage({ - key: 'myArray', - data: timearr.value, - success: function () { - uni.navigateTo({ - url: `/pages/timeMatrix/index?currentNumber=${currentNumber.value}` - }) - }, - // fail: function (err) { - // console.error('缓存失败:', err); - // } + key: 'myArray', + data: timearr.value, + success: function () { + uni.navigateTo({ + url: `/pages/timeMatrix/index?currentNumber=${currentNumber.value}` + }) + }, + // fail: function (err) { + // console.error('缓存失败:', err); + // } }); } // 暂存器 diff --git a/component/rightItemssecond/yaoshande.js b/component/rightItemssecond/yaoshande.js deleted file mode 100644 index 5d83245..0000000 --- a/component/rightItemssecond/yaoshande.js +++ /dev/null @@ -1,1682 +0,0 @@ -export const saveArray =[ - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "0", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348680294264833", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "0", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351098792865793", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "0", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089269366786", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "0", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380486729730", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "0", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631390732566530", - "endTime": "", - "tagName": "" - } - ], - "positioning": "0" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "1", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348680403316738", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "1", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351098859974658", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "1", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089349058562", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "1", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380553838593", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "1", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631390862589953", - "endTime": "", - "tagName": "" - } - ], - "positioning": "1" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "2", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907350155791691777", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "2", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351098922889217", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "2", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089432944642", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "2", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380616753154", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "2", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631390992613378", - "endTime": "", - "tagName": "" - } - ], - "positioning": "2" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "3", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907350958040412162", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "3", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351098989998082", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "3", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089512636417", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "3", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380679667714", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "3", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391126831105", - "endTime": "", - "tagName": "" - } - ], - "positioning": "3" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "4", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907350998054072322", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "4", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099052912641", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "4", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089596522497", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "4", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380746776577", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "4", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391256854530", - "endTime": "", - "tagName": "" - } - ], - "positioning": "4" - }, - { - "children": [ - { - "directiveName": "协助喂药", - "cycleType": "日常", - "nuId": "1", - "positioning": "5", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "5:20", - "id": "1907350091987939330", - "endTime": "5:30", - "tagName": null - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "5", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099115827202", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "5", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089680408577", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "5", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380809691137", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "5", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391319769090", - "endTime": "", - "tagName": "" - } - ], - "positioning": "5" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "6", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348680956964865", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "6", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099182936066", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "6", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352089772683265", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "6", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363380872605697", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "6", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391453986817", - "endTime": "", - "tagName": "" - } - ], - "positioning": "6" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "7", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907350103572606978", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "7", - "positioningLong": "1", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631375544991746", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "7", - "positioningLong": "2", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907366001247252482", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "协助行走", - "cycleType": "日常", - "nuId": "1", - "positioning": "7", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "7:20", - "id": "1907631391584010241", - "endTime": "7:30", - "tagName": null - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "7", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391646924802", - "endTime": "", - "tagName": "" - } - ], - "positioning": "7" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "8", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348681237983234", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "8", - "positioningLong": "1", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907365962072453121", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "8", - "positioningLong": "2", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907366009191264258", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "8", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381006823425", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "8", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391776948226", - "endTime": "", - "tagName": "" - } - ], - "positioning": "8" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "9", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907350115983552513", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "准备洁具(头部)", - "cycleType": "周三", - "nuId": "1", - "positioning": "9", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "9:25", - "id": "1907352090024341506", - "endTime": "9:35", - "tagName": "头部" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "9", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090045313026", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "9", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381132652545", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "9", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631391906971649", - "endTime": "", - "tagName": "" - } - ], - "positioning": "9" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "10", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348681544167425", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "10", - "positioningLong": "1", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907365942074011650", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "10", - "positioningLong": "2", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907366029223260161", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "10", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381199761410", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "10", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392036995073", - "endTime": "", - "tagName": "" - } - ], - "positioning": "10" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "11", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907351124491366401", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "11", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099522674689", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "11", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090271805441", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "11", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381262675970", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "11", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392171212801", - "endTime": "", - "tagName": "" - } - ], - "positioning": "11" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "12", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348681795825665", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "12", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099648503809", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "12", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090397634561", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "12", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381329784834", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "12", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392297041921", - "endTime": "", - "tagName": "" - } - ], - "positioning": "12" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "13", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907592093245632514", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "13", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099795304450", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "轮椅防护", - "cycleType": "日常", - "nuId": "1", - "positioning": "13", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "13:20", - "id": "1907363422828228609", - "endTime": "13:30", - "tagName": null - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "13", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381396893698", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "13", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392427065345", - "endTime": "", - "tagName": "" - } - ], - "positioning": "13" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "14", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907351967085096962", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "14", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099887579137", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "14", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090619932673", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "14", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381459808258", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "14", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392561283073", - "endTime": "", - "tagName": "" - } - ], - "positioning": "14" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "15", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907592176481595394", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "15", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351099971465217", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "15", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090716401665", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "15", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381526917122", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "15", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392691306497", - "endTime": "", - "tagName": "" - } - ], - "positioning": "15" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "16", - "positioningLong": "0", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907351992737460226", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "16", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100072128514", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "16", - "positioningLong": "2", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907592106398969858", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "16", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381656940546", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "16", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392817135617", - "endTime": "", - "tagName": "" - } - ], - "positioning": "16" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "17", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348682588549122", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "17", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100156014594", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "17", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352090909339649", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "17", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381724049410", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "17", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631392947159042", - "endTime": "", - "tagName": "" - } - ], - "positioning": "17" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "18", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348682701795329", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "18", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100235706370", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "18", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091022585858", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "18", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381791158274", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "18", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393014267906", - "endTime": "", - "tagName": "" - } - ], - "positioning": "18" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "19", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348682831818753", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "19", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100307009538", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "19", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091131637762", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "19", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381854072833", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "19", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393215594498", - "endTime": "", - "tagName": "" - } - ], - "positioning": "19" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "20", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348682953453570", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "20", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100378312706", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "20", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091278438402", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "20", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363381921181698", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "20", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393337229313", - "endTime": "", - "tagName": "" - } - ], - "positioning": "20" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "21", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348683075088385", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "21", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100458004481", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "21", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091383296001", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "21", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363382055399426", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "21", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393467252738", - "endTime": "", - "tagName": "" - } - ], - "positioning": "21" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "22", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348683196723201", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "22", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100592222209", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "22", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091483959297", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "22", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363382118313986", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "22", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393601470465", - "endTime": "", - "tagName": "" - } - ], - "positioning": "22" - }, - { - "children": [ - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "23", - "positioningLong": "0", - "typeName": "协助喂药", - "customerId": "1", - "startTime": "", - "id": "1907348683326746626", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "23", - "positioningLong": "1", - "typeName": "头部清洁", - "customerId": "1", - "startTime": "", - "id": "1907351100692885506", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "23", - "positioningLong": "2", - "typeName": "轮椅防护", - "customerId": "1", - "startTime": "", - "id": "1907352091593011202", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "23", - "positioningLong": "3", - "typeName": "按摩保健", - "customerId": "1", - "startTime": "", - "id": "1907363382189617153", - "endTime": "", - "tagName": "" - }, - { - "directiveName": "", - "cycleType": "", - "nuId": "1", - "positioning": "23", - "positioningLong": "4", - "typeName": "", - "customerId": "1", - "startTime": "", - "id": "1907631393731493889", - "endTime": "", - "tagName": "" - } - ], - "positioning": "23" - } -] \ No newline at end of file diff --git a/component/rightItemssecondnew/api.js b/component/rightItemssecondnew/api.js new file mode 100644 index 0000000..276476f --- /dev/null +++ b/component/rightItemssecondnew/api.js @@ -0,0 +1,49 @@ +// 引入 request 文件 +import request from '@/request/index.js' + +// 以下 api 为博主项目示例,实际与项目相匹配 + +// 查询服务类型 +export const getServiceTree = () => { + return request({ + url: '/nuIpadApi/nuConfigServiceCategory/getServiceTree', + method: 'get', + }) +} +// 查询表格 +export const getNclist = () => { + return request({ + url: '/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=1&customerId=1', + method: 'get', + }) +} +// 新增表格 +export const addNuCustomerServer = (params) => { + return request({ + url: '/nuIpadApi/nuBizNuCustomerServer/addNuCustomerServer', + method: 'post', + data: params, + }) +} +// 移动表格 +export const editNuCustomerServer = (params) => { + return request({ + url: '/nuIpadApi/nuBizNuCustomerServer/editNuCustomerServer', + method: 'post', + data: params, + }) +} +export const deleteNuCustomerServer = (params) => { + return request({ + url: `/nuIpadApi/nuBizNuCustomerServer/deleteNuCustomerServer?id=${params.id}`, + method: 'delete', + }) +} +// 移动表格 +export const addBatch = (params) => { + return request({ + url: '/nuIpadApi/nuBizNuCustomerServer/addBatch', + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/component/rightItemssecondnew/index.css b/component/rightItemssecondnew/index.css new file mode 100644 index 0000000..770c56b --- /dev/null +++ b/component/rightItemssecondnew/index.css @@ -0,0 +1,1469 @@ +.super-card { + display: flex; + /* justify-content: center; */ + width: 100%; + height: calc(100% - 400rpx); + + .scroll-x { + height: 100%; + width: 100%; + } + + .super-card-container { + /* 设置背景图和白色背景 */ + background: url("/static/index/clearmountain.png") center/cover, rgba(255, 255, 255, 0.5); + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + background-blend-mode: screen; + isolation: isolate; + overflow: hidden; + margin-left: 180rpx; + width: 1805rpx; + height: 920rpx; + border-top-right-radius: 20rpx; + border-bottom-right-radius: 20rpx; + border: 2rpx solid #fff; + border-left: 0; + box-shadow: 10rpx 10rpx 20px rgba(0, 0, 0, 0.1); + position: relative; + } + + .super-card-time { + display: flex; + justify-content: center; + align-items: center; + // background-color: rgb(233, 239, 257); + height: 80rpx; + width: 100rpx; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + font-weight: 700; + z-index: -1; + } + + .super-card-time-und { + display: flex; + justify-content: center; + align-items: center; + width: 100rpx; + flex-direction: column; + border-right: 1rpx solid transparent; + border-image: repeating-linear-gradient(180deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + } + + .super-card-time-card { + display: flex; + justify-content: center; + align-items: center; + height: 209rpx; + width: calc(100%); + transition: all 0.8s; + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; + } +} + +.right-container { + width: calc(100% - 235rpx); + height: 100vh; + transition: opacity 1s ease; + position: relative; + .joystick { + position: absolute; + bottom: 200rpx; + left: 20rpx; + width: 300rpx; + height: 300rpx; + z-index: 9999; + } + + .outer-circle { + width: 100%; + height: 100%; + border-radius: 50%; + background-color: rgba(127,127,127,0.1); + position: relative; + } + + .inner-circle { + width: 120rpx; + height: 120rpx; + border-radius: 50%; + background-color: rgba(127,127,127,0.3); + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + .doctorsay-container-view { + width: 100%; + height: 1220rpx; + display: flex; + .doctorsay-container-container { + border: 2rpx solid #fff; + width: 2050rpx; + height: 1340rpx; + /* 设置背景图和白色背景 */ + background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.3); + backdrop-filter: blur(20rpx); + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + background-blend-mode: screen; + border-radius: 30rpx; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); + /* 右下角阴影 */ + overflow: hidden; + + .super-card-end { + width: 100%; + display: flex; + + .super-end-father { + height: 100%; + display: flex; + flex-direction: column; + width: 100%; + + .super-end-items-all { + width: calc(100% - 130rpx); + height: 200rpx; + margin-left: 65rpx; + margin-right: 65rpx; + margin-top: 20rpx; + } + + .super-end-items { + display: flex; + width: calc(100% - 85rpx); + height: 200rpx; + + .super-end-items-father { + margin-right: 20rpx; + width: 150rpx; + height: 150rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + position: relative; + background: linear-gradient(to bottom right, #fff 0%, #dcdcf9 50%, #dbdcf8 100%); + border-radius: 30rpx; + border: 2rpx solid #fff; + box-shadow: 10rpx 10rpx 20rpx rgba(105, 129, 178, 0.2); + transition: all 1.5s ease-in-out; + + .super-end-items-father-close-father { + width: 40rpx; + height: 40rpx; + border-radius: 50%; + display: flex; + background-color: #0184db; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + // background-color: #fff; + // background: linear-gradient(to bottom right, #fff 0%, #e5d3fb 50%, #cfd9f6 100%); + color: #fff; + } + + + .super-end-items-img-father { + width: 100rpx; + height: 100rpx; + border-radius: 50%; + // margin-bottom: 5rpx; + display: flex; + // background-color: #fff; + justify-content: center; + align-items: center; + + /* 让正方形变成圆 */ + .super-end-items-img { + width: 85rpx; + height: 85rpx; + } + } + + .super-end-items-img-father-active { + width: 100rpx; + height: 100rpx; + border-radius: 50%; + display: flex; + // background-color: #fff; + justify-content: center; + align-items: center; + animation: shake 0.5s infinite; + + /* 让正方形变成圆 */ + .super-end-items-img { + width: 85rpx; + height: 85rpx; + } + } + + + .super-end-items-font { + margin-top: -10rpx; + font-size: 25rpx; + } + } + } + + .super-end-font-father { + display: flex; + // margin: 20rpx 0; + margin-top: 20rpx; + margin-bottom: 10rpx; + + .super-end-font-gun { + margin-left: 40rpx; + margin-right: 20rpx; + margin-top: 5rpx; + width: 13rpx; + height: 40rpx; + background: linear-gradient(to bottom, #04BCED, #0160CE); + border-radius: 10rpx; + } + + .super-end-font-font { + font-size: 38rpx; + font-weight: 700; + } + } + } + } + + .doctorsay-container-title { + width: 100%; + height: 105rpx; + display: flex; + align-items: center; + justify-content: space-between; + + .doctorsay-container-right { + height: 100%; + display: flex; + align-items: center; + margin-right: 50rpx; + /* width: 550rpx; */ + + .doctorsay-container-juzhen { + background: linear-gradient(to right bottom, #00c9ff, #0076ff); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + padding: 10rpx 20rpx; + border-radius: 20rpx; + font-size: 27rpx; + margin-right: 10rpx; + } + + .doctorsay-container-button-father { + display: flex; + + .doctorsay-container-button-target { + display: flex; + justify-content: center; + align-items: center; + background-color: #3FA9F5; + color: #fff; + width: 140rpx; + height: 60rpx; + margin-right: 20rpx; + font-size: 28rpx; + border-radius: 10rpx; + } + + .doctorsay-container-button { + display: flex; + justify-content: center; + align-items: center; + background-color: #fff; + width: 140rpx; + height: 60rpx; + margin-right: 20rpx; + font-size: 28rpx; + border-radius: 10rpx; + } + } + + .doctorsay-container-right-kuai-cheng { + background-color: #FFDBA1; + height: 35rpx; + width: 35rpx; + border-radius: 7rpx; + } + + .doctorsay-container-right-kuai-zi { + background-color: #7B61FF; + height: 35rpx; + width: 35rpx; + border-radius: 7rpx; + } + + .doctorsay-container-kuai-font { + font-size: 32rpx; + margin-left: 10rpx; + margin-right: 25rpx; + } + } + + .doctorsay-container-left { + display: flex; + + .doctorsay-container-share { + background: linear-gradient(to right bottom, #00c9ff, #0076ff); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + padding: 10rpx 20rpx; + border-radius: 20rpx; + font-size: 27rpx; + margin-left: 20rpx; + margin-top: -3rpx; + } + + .doctorsay-container-left-gun { + margin-top: 7rpx; + margin-left: 40rpx; + margin-right: 20rpx; + width: 13rpx; + height: 40rpx; + background: linear-gradient(to bottom, #04BCED, #0160CE); + border-radius: 10rpx; + } + + .doctorsay-container-left-font { + font-size: 38rpx; + font-weight: 700; + } + } + } + + } + } + + .right-container-title-nav { + margin-top: 75rpx; + margin-bottom: 20rpx; + margin-left: 20rpx; + + .right-icons { + display: flex; + align-items: center; + float: right; + height: 70rpx; + margin-right: 40rpx; + + .right-icons-font { + margin-left: 10rpx; + margin-right: 10rpx; + font-size: 35rpx; + margin-top: -30rpx; + } + + .right-icons-font-dark { + color: #fff; + margin-left: 10rpx; + margin-right: 10rpx; + font-size: 35rpx; + margin-top: -30rpx; + } + + .right-icons-img { + width: 80rpx; + height: 80rpx; + margin-left: 10rpx; + margin-right: 10rpx; + margin-top: -40rpx; + + } + + .right-icons-img-icon { + width: 60rpx; + height: 80rpx; + margin-top: -10rpx; + margin-left: 8rpx; + } + } + + .right-container-title-no { + font-size: 35rpx; + margin-right: 20rpx; + } + + .right-container-title-no-dark { + font-size: 35rpx; + background: linear-gradient(to bottom, #FFFFFF, #B2C8E2); + -webkit-background-clip: text; + color: transparent; + margin-right: 20rpx; + } + + .right-container-title-class { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + } + + .right-container-title-class-dark { + font-size: 35rpx; + font-weight: 800; + margin-left: 20rpx; + background: linear-gradient(to bottom, #FFFFFF, #B2C8E2); + -webkit-background-clip: text; + color: transparent; + } + + .right-container-title-class-anhei-button { + float: right; + display: flex; + justify-content: center; + align-items: center; + border-radius: 30rpx; + margin-right: 30rpx; + width: 200rpx; + height: 50rpx; + background-color: black; + border: 2rpx solid; + + .right-container-title-class-anhei { + font-size: 30rpx; + font-weight: 800; + color: white; + } + } + } +} + +.title-time-delete { + width: 55rpx; + height: 55rpx; + border-radius: 50%; + display: flex; + background-color: #fff; + justify-content: center; + align-items: center; + position: absolute; + top: 0rpx; + right: 0rpx; + z-index: 10; + background-color: #02abfe; + color: #fff; + z-index: 999; + font-size: 50rpx; +} + +.title-time { + display: flex; + width: 100%; + position: relative; + + .title-time-time { + font-size: 32rpx; + margin-left: 20rpx; + margin-top: 12rpx; + } + + .title-time-button { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 65rpx; + height: 60rpx; + } + + .title-time-zhejiao { + position: absolute; + top: 0rpx; + left: 5rpx; + width: 40rpx; + height: 40rpx; + } + + .title-time-font { + position: absolute; + top: 7rpx; + right: 5rpx; + font-size: 20rpx; + color: #fff; + } +} + +.popup-delete { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(89, 109, 154, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-delete-content { + position: absolute; + right: 515rpx; + display: flex; + // justify-content: center; + flex-direction: column; + align-items: center; + width: 800rpx; + height: 500rpx; + background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.7); + background-blend-mode: screen; + border: 2rpx solid #fff; + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + border-radius: 30rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + transition: opacity 0.4s ease; + + .popup-delete-img { + width: 250rpx; + height: 230rpx; + margin-top: 40rpx; + margin-bottom: 20rpx; + } + + .popup-delete-text { + font-size: 30rpx; + color: #42474E; + } + + .popup-delete-button { + display: flex; + justify-content: space-around; + height: 90rpx; + margin-top: 30rpx; + + .popup-delete-button-left { + background-color: rgb(2, 171, 254); + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + } + + .popup-delete-button-right { + background-color: #ced9e8; + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + margin-right: 20rpx; + } + } + } +} + +.popup-overlay { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-overlay-content { + position: absolute; + display: flex; + // justify-content: center; + align-items: center; + width: 800rpx; + height: 390rpx; + background-color: #fff; + border-radius: 30rpx; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); + opacity: 0; + transition: opacity 0.4s ease; + + .popup-overlay-content-left { + // background-color: red; + height: 100%; + width: 350rpx; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + + .popup-overlay-content-left-img { + width: 280rpx; + height: 180rpx; + margin-top: -30rpx; + } + + .popup-overlay-content-left-font { + // margin-top: 20rpx; + font-size: 30rpx; + } + } + + .popup-overlay-content-right { + height: 100%; + width: 450rpx; + position: relative; + + .time-font { + font-size: 50rpx; + margin-top: 100rpx; + margin-bottom: 10rpx; + font-weight: 700; + background: linear-gradient(to bottom, #7080A1, #263556); + -webkit-background-clip: text; + color: transparent; + } + + .time-text { + margin-left: 10rpx; + font-size: 30rpx; + // font-weight: 700; + width: 380rpx; + margin-bottom: 50rpx; + line-height: 35rpx; + + } + + .right-richang { + background-color: #FFC363; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + } + + .right-richangnot { + background-color: #7B61FF; + position: absolute; + top: 108rpx; + right: 50rpx; + padding: 5rpx; + border-radius: 10rpx; + color: #fff; + } + + .right-crush { + position: absolute; + top: 20rpx; + right: 20rpx; + width: 70rpx; + height: 70rpx; + animation: shake 0.5s 3; + } + } + } +} + +.popup-song { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(89, 109, 154, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-song-contain { + position: absolute; + right: 500rpx; + width: 1296rpx; + background: url("/static/index/clearmountain.png") center/cover, rgba(255, 255, 255, 0.7); + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + background-blend-mode: screen; + border: 2rpx solid #fff; + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + background-blend-mode: screen; + border-radius: 40rpx; + box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); + opacity: 0; + transition: opacity 0.4s ease; + + .shu-container-left { + display: flex; + margin-top: 70rpx; + margin-bottom: 20rpx; + + .shu-container-left-gun { + margin-top: 5rpx; + margin-left: 40rpx; + margin-right: 20rpx; + width: 13rpx; + height: 35rpx; + background: linear-gradient(to bottom, #04BCED, #0160CE); + border-radius: 10rpx; + } + + .shu-container-left-font { + font-size: 35rpx; + font-weight: 700; + } + } + } +} + +.popup-song-father { + position: relative; + + .shu-up-img { + position: absolute; + top: -70rpx; + left: 305rpx; + width: 700rpx; + height: 80rpx; + } + + .shu-up-font { + position: absolute; + top: -50rpx; + left: 390rpx; + display: flex; + color: rgb(255, 90, 0); + } + + .arrayindex { + display: flex; + flex-wrap: wrap; + width: 100%; + // height: 200rpx; + margin-left: 30rpx; + margin-right: 30rpx; + margin-bottom: 60rpx; + .arrayindex-one { + width: 222rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .arrayindex-one-target { + width: 222rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid rgb(2, 171, 254); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + } + .secondarrayindex { + display: flex; + flex-wrap: wrap; + width: 100%; + // height: 200rpx; + margin-left: 30rpx; + margin-right: 30rpx; + margin-bottom: 60rpx; + .arrayindex-one { + width: 380rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .arrayindex-one-target { + width: 380rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid rgb(2, 171, 254); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + } +} + +.ri-img { + position: absolute; + top: -4rpx; + right: -4rpx; + width: 60rpx; + height: 60rpx; +} + +.time-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + + .time-one { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-target { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } + + .time-one-hui { + width: 100rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: #c2c9d3; + // color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + box-shadow: 5rpx 5rpx 10rpx rgba(105, 129, 178, 0.4) + } +} + +.button-father { + height: 200rpx; + width: calc(100%-80rpx); + display: flex; + justify-content: center; + align-items: center; + margin-left: 40rpx; + margin-right: 40rpx; + margin-top: 20rpx; + border-top: 1rpx solid rgb(230, 230, 230); + + .button-father-right { + background: linear-gradient(to right, #00c9ff, #0076ff); + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + color: #fff; + + } + + .button-father-wrong { + background-color: #c2c9d3; + width: 200rpx; + height: 80rpx; + border-radius: 40rpx; + display: flex; + justify-content: center; + align-items: center; + + } +} + +.month-father { + display: flex; + width: calc(100% - 60rpx); + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + + .month-one { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .month-one-target { + width: 75rpx; + height: 75rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.week-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 30rpx; + margin-right: 30rpx; + margin-top: 20rpx; + + .week-one { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background-color: rgb(241, 245, 252); + border-radius: 20rpx; + border: 1rpx solid rgb(109, 131, 179); + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } + + .week-one-target { + width: 200rpx; + height: 100rpx; + margin-left: 20rpx; + margin-top: 20rpx; + background: linear-gradient(to right, #00c9ff, #0076ff); + color: #fff; + border-radius: 20rpx; + border: 1rpx solid #fff; + display: flex; + justify-content: center; + align-items: center; + font-size: 29rpx; + } +} + +.radio-father { + display: flex; + width: 100%; + flex-wrap: wrap; + margin-left: 75rpx; + margin-right: 30rpx; + + .radio-circle { + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid black; + background-color: transparent; + } + + .radio-circle-target { + position: relative; + margin-top: 2rpx; + width: 30rpx; + height: 30rpx; + border-radius: 50%; + border: 2rpx solid rgb(2, 171, 254); + background-color: transparent; + } + + .radio-circle-target::after { + content: ""; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 20rpx; + height: 20rpx; + background-color: rgb(2, 171, 254); + border-radius: 50%; + } + + .radio-font { + margin-left: 15rpx; + margin-right: 60rpx; + font-size: 29rpx; + } +} + +.title-time-border { + margin-top: 4rpx; + margin-left: 4rpx; + // border: 1rpx solid black; + width: calc(100% - 8rpx); + height: calc(100% - 8rpx); + border-radius: 20rpx; + display: flex; + // justify-content: center; + align-items: center; + flex-direction: column; +} + +.title-time-border-red { + background-color: #dae8fa; + width: calc(100%); + height: calc(100%); + display: flex; + align-items: center; + flex-direction: column; + /* 调整 box-shadow 使其向下投影 */ + box-shadow: 0px 20rpx 40rpx #dae8fa; + + background: + linear-gradient(to right, red, red) top left / 60rpx 8rpx no-repeat, + /* 左上角垂直 */ + linear-gradient(to bottom, red, red) top left / 8rpx 60rpx no-repeat, + /* 右上角水平 */ + linear-gradient(to left, red, red) top right / 60rpx 8rpx no-repeat, + /* 右上角垂直 */ + linear-gradient(to bottom, red, red) top right / 8rpx 60rpx no-repeat, + /* 左下角水平 */ + linear-gradient(to right, red, red) bottom left / 60rpx 8rpx no-repeat, + /* 左下角垂直 */ + linear-gradient(to top, red, red) bottom left / 8rpx 60rpx no-repeat, + /* 右下角水平 */ + linear-gradient(to left, red, red) bottom right / 60rpx 8rpx no-repeat, + /* 右下角垂直 */ + linear-gradient(to top, red, red) bottom right / 8rpx 60rpx no-repeat; +} + +.title-time-border-big { + transform: scale(1.5); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 209rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-big-top { + transform: scale(1.5); + transform-origin: top; + /* 将页面内容放大1.2倍 */ + border-top: 0rpx solid #fff; + transition: transform 0.5s ease-out, opacity 0.5s ease-out; + z-index: 999; + display: flex; + justify-content: center; + align-items: center; + height: 209rpx; + width: calc(100%); + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + flex-direction: column; + position: relative; +} + +.title-time-border-blue { + background-color: #dae8fa; + width: calc(100%); + height: calc(100%); + display: flex; + align-items: center; + flex-direction: column; + /* 调整 box-shadow 使其向下投影 */ + box-shadow: 0px 20rpx 40rpx #dae8fa; + background: + /* 左上角水平 */ + linear-gradient(to right, #0184db, #0184db) top left / 60rpx 8rpx no-repeat, + /* 左上角垂直 */ + linear-gradient(to bottom, #0184db, #0184db) top left / 8rpx 60rpx no-repeat, + /* 右上角水平 */ + linear-gradient(to left, #0184db, #0184db) top right / 60rpx 8rpx no-repeat, + /* 右上角垂直 */ + linear-gradient(to bottom, #0184db, #0184db) top right / 8rpx 60rpx no-repeat, + /* 左下角水平 */ + linear-gradient(to right, #0184db, #0184db) bottom left / 60rpx 8rpx no-repeat, + /* 左下角垂直 */ + linear-gradient(to top, #0184db, #0184db) bottom left / 8rpx 60rpx no-repeat, + /* 右下角水平 */ + linear-gradient(to left, #0184db, #0184db) bottom right / 60rpx 8rpx no-repeat, + /* 右下角垂直 */ + linear-gradient(to top, #0184db, #0184db) bottom right / 8rpx 60rpx no-repeat; +} + + +.title-time-border-yellow { + margin: 10rpx; + border: 2rpx solid #d0d8e0; + background: linear-gradient(to bottom, #fff1db, #ffe2b2); + width: calc(100% - 20rpx); + height: calc(100% - 20rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); +} + +.title-time-border-yellow-active-transparent { + margin: 10rpx; + border: 4rpx dashed rgb(255, 138, 0); + background: linear-gradient(to bottom, #fff1db, #ffe2b2); + width: calc(100% - 26rpx); + height: calc(100% - 26rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + opacity: 0.3; + box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); +} + +.title-time-border-yellow-active { + margin: 10rpx; + border: 1rpx solid #dae8fa; + background: linear-gradient(to bottom, #fff1db, #ffe2b2); + width: calc(100% - 20rpx); + height: calc(100% - 20rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + animation: shakesmall 0.8s infinite; + box-shadow: 8rpx 8rpx 16rpx rgba(255, 138, 0, 0.7); +} + +.title-time-border-pouple-active-transparent { + margin: 10rpx; + border: 4rpx dashed #7B61FF; + background: linear-gradient(to bottom, #f1eeff, #e3deff); + width: calc(100% - 26rpx); + height: calc(100% - 26rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + opacity: 0.3; + box-shadow: 8rpx 8rpx 16rpx rgba(123, 97, 255, 0.7); +} + +.title-time-border-pouple { + margin: 10rpx; + border: 1rpx solid #dae8fa; + background: linear-gradient(to bottom, #f1eeff, #e3deff); + width: calc(100% - 20rpx); + height: calc(100% - 20rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + box-shadow: 8rpx 8rpx 16rpx rgba(123, 97, 255, 0.7); +} + +.title-time-border-pouple-active { + margin: 10rpx; + border: 1rpx solid #dae8fa; + background: linear-gradient(to bottom, #f1eeff, #e3deff); + width: calc(100% - 20rpx); + height: calc(100% - 20rpx); + border-radius: 20rpx; + display: flex; + align-items: center; + flex-direction: column; + animation: shakesmall 1s infinite; + box-shadow: 8rpx 8rpx 16rpx rgba(123, 97, 255, 0.7); +} + +.down-icons { + margin-top: 10rpx; + width: 100%; + height: 60rpx; + background-color: rgb(255, 216, 126); + display: flex; + justify-content: center; + align-items: center; + + .icon { + margin: 0 5rpx; + font-size: 20rpx; + padding: 5rpx 10rpx; + background-color: rgb(255, 138, 0); + color: #fff; + border-radius: 5rpx; + } +} + +@keyframes shake { + 0% { + transform: rotate(-10deg); + } + + 25% { + transform: rotate(10deg); + } + + 50% { + transform: rotate(-10deg); + } + + 75% { + transform: rotate(10deg); + } + + 100% { + transform: rotate(-10deg); + } +} + +@keyframes shakesmall { + 0% { + transform: rotate(-2deg); + } + + 25% { + transform: rotate(2deg); + } + + 50% { + transform: rotate(-2deg); + } + + 75% { + transform: rotate(2deg); + } + + 100% { + transform: rotate(-2deg); + } +} + +.boom-title { + position: absolute; + top: 105rpx; + left: 60rpx; + width: 120rpx; + height: 80rpx; + background-color: #c4dbf4; + border-left: 2rpx #fff solid; + border-top: 2rpx #fff solid; + border-top-left-radius: 20rpx; + background: linear-gradient(to top right, + transparent calc(50% - 1px), + #0184db calc(50% - 1px), + #0184db calc(50% + 1px), + transparent calc(50% + 1px)); + .boom-title-left{ + position: absolute; + top: 40rpx; + left: 10rpx; + font-size: 25rpx; + font-weight: 700; + }; + .boom-title-right{ + position: absolute; + top: 10rpx; + left: 60rpx; + font-size: 25rpx; + font-weight: 700; + } +} + +.boom { + position: absolute; + top: 186rpx; + left: 60rpx; + width: 120rpx; + height: 839rpx; + display: flex; + flex-direction: column; + /* // justify-content: center; */ + /* align-items: center; */ + overflow: hidden; + z-index: 10; + background: linear-gradient(to bottom, #c4dbf4, #c9c2ef, #c6dcf3); + border-bottom: 2rpx solid #fff; + border-left: 2rpx solid #fff; + /* border-top-left-radius: 20rpx; */ + border-bottom-left-radius: 20rpx; + + .boom-son { + height: 209rpx; + width: 120rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-weight: 700; + border-top: 1rpx solid transparent; + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + } + + .boom-son-target { + height: 209rpx; + width: 120rpx; + font-size: 30rpx; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + z-index: 10; + font-weight: 700; + border-bottom: 1rpx solid transparent; + border-image: repeating-linear-gradient(90deg, #0184db 0px, #0184db 6rpx, transparent 6rpx, transparent 12rpx) 1; + /* 确保文字在容器内居中 */ + background: linear-gradient(to bottom, #ff8a00, #eceaff); + /* border-bottom-right-radius: 40rpx; + border-top-right-radius: 40rpx; */ + } +} + +.popup-share { + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: flex; + justify-content: center; + align-items: center; + backdrop-filter: blur(1rpx); + background-color: rgba(89, 109, 154, 0.4); + /* 添加毛玻璃效果 */ + z-index: 999; + + .popup-share-content { + position: absolute; + right: 515rpx; + display: flex; + // justify-content: center; + flex-direction: column; + // align-items: center; + width: 800rpx; + height: 380rpx; + background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.7); + background-blend-mode: screen; + border: 2rpx solid #fff; + /* 使用 screen 混合模式,让图像与白色混合变淡 */ + border-radius: 30rpx; + box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1); + transition: opacity 0.4s ease; + + .popup-share-title { + margin: 30rpx 30rpx; + font-size: 40rpx; + position: relative; + + .popup-share-img { + position: absolute; + top: 0; + right: 0; + width: 200rpx; + height: 200rpx; + } + } + + .popup-share-upcontent { + margin: 0 30rpx; + display: flex; + justify-content: space-between; + + .popup-share-font { + font-size: 35rpx; + color: gray; + } + + } + + .popup-share-gray { + background-color: #D3D3D3; + width: calc(100% - 60rpx); + height: 2rpx; + margin: 110rpx 30rpx 0 30rpx; + } + + .popup-share-downcontent { + display: flex; + justify-content: space-between; + align-items: center; + height: 100%; + margin: 0 30rpx; + + .popup-downcontent-img { + width: 70rpx; + height: 70rpx; + } + + .popup-downcontent-font { + font-size: 27rpx; + margin-left: 20rpx; + } + + .popup-share-downcontent-left { + display: flex; + align-items: center; + } + + .popup-share-downcontent-button { + background: linear-gradient(to right bottom, #00c9ff, #0076ff); + color: #fff; + display: flex; + justify-content: center; + align-items: center; + padding: 15rpx 30rpx; + border-radius: 20rpx; + font-size: 32rpx; + } + } + + } +} \ No newline at end of file diff --git a/component/rightItemssecondnew/index.ts b/component/rightItemssecondnew/index.ts new file mode 100644 index 0000000..39e7f73 --- /dev/null +++ b/component/rightItemssecondnew/index.ts @@ -0,0 +1,7 @@ + +// 定义 Link 类型 +export type roomBtttonType = { + url : string; + targetUrl : string; + name : string +} \ No newline at end of file diff --git a/component/rightItemssecondnew/index.vue b/component/rightItemssecondnew/index.vue new file mode 100644 index 0000000..de6b071 --- /dev/null +++ b/component/rightItemssecondnew/index.vue @@ -0,0 +1,1356 @@ + + + + + + \ No newline at end of file diff --git a/component/rightItemssecondnew/yaoshandiao.js b/component/rightItemssecondnew/yaoshandiao.js new file mode 100644 index 0000000..5cebf50 --- /dev/null +++ b/component/rightItemssecondnew/yaoshandiao.js @@ -0,0 +1,1613 @@ +export const myArray = [ + { + "children": [ + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706886", + "title": "协助喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604232524795905", + "title": "鼻饲喂药", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902604428667228162", + "title": "注射器/吸管喂药", + "tagName": "头部,大体重" + } + ], + "levle": "2", + "title": "协助喂药", + "key": "1900114812020310017", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605892869394433", + "title": "一级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606105021485058", + "title": "二级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606339931869185", + "title": "三级压疮防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606614344208386", + "title": "一级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902606869953482753", + "title": "二级压疮防护", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607023431454722", + "title": "三级压疮防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "压疮防护", + "key": "1900115034452639746", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706887", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706888", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605073730211842", + "title": "床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605223185846273", + "title": "床椅转移", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605365393723393", + "title": "协助床椅转移", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902605496071458818", + "title": "协助床椅转移", + "tagName": null + } + ], + "levle": "2", + "title": "床椅转移", + "key": "1902248363784159233", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607507626102786", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607677415723010", + "title": "轮椅防护", + "tagName": "大体重" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902607817589362689", + "title": "轮椅防护", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608061588803585", + "title": "轮椅防护", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "轮椅防护", + "key": "1902280900178886657", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608564582322178", + "title": "约束位按摩", + "tagName": "手" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902608974609092610", + "title": "约束位按摩", + "tagName": "足" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618507855237121", + "title": "约束位按摩", + "tagName": "全" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902618751548493825", + "title": "防护网约束", + "tagName": null + } + ], + "levle": "2", + "title": "约束防护", + "key": "1902280933364219906", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620309090701314", + "title": "协助行走", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902620486044192769", + "title": "放松按摩", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902625161569079298", + "title": "心灵慰藉", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902625402468929537", + "title": "狂躁", + "tagName": null + } + ], + "levle": "2", + "title": "按摩保健", + "key": "1902564031454744577", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902625872432304130", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626005538541569", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626664711163905", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902626800510144513", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627064688381953", + "title": "准备衣物", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627280716009474", + "title": "协助更换", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627416598876161", + "title": "肢体障碍", + "tagName": "半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627522404388866", + "title": "肢体障碍", + "tagName": "全身" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902627711806574593", + "title": "协助更换", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628058591629313", + "title": "肢体障碍", + "tagName": "半侧,大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628650718302209", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628837725540354", + "title": "肢体障碍", + "tagName": "大体重,全测" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902628966847188993", + "title": "肢体障碍", + "tagName": "大体重,半侧" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629129879785474", + "title": "协助更换", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "更换衣物", + "key": "1902564088417587201", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629344456183809", + "title": "坐起", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902629492301205506", + "title": "躺下", + "tagName": null + } + ], + "levle": "2", + "title": "调整坐卧", + "key": "1902564199830884354", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902630862769065985", + "title": "遗体净身", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902631162275926017", + "title": "遗体穿衣", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631422431825921", + "title": "遗体转移", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902631602463936514", + "title": "床位消毒", + "tagName": null + } + ], + "levle": "2", + "title": "殡仪服务", + "key": "1902564263743688705", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902631830441136129", + "title": "更换床上用品", + "tagName": "全部" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632063828987905", + "title": "隔尿褥子更换", + "tagName": null + } + ], + "levle": "2", + "title": "更换床上用品", + "key": "1902564446648897538", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632288270389250", + "title": "临终护理", + "tagName": null + } + ], + "levle": "2", + "title": "临终服务", + "key": "1902564503783706625", + "parentId": "1900112597427793921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "40", + "id": "1902632678701371393", + "title": "制氧机吸氧", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902632799853842433", + "title": "制氧机维护", + "tagName": null + } + ], + "levle": "2", + "title": "制氧机应用", + "key": "1902564586101116930", + "parentId": "1900112597427793921" + } + ], + "levle": "1", + "title": "1 日常照料", + "key": "1900112597427793921" + }, + { + "children": [ + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900376187661553665", + "title": "准备洁具", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900420873478553602", + "title": "棉球清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706881", + "title": "协助清洁", + "tagName": "口腔" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1900421622979706885", + "title": "义齿清洁", + "tagName": "口腔" + } + ], + "levle": "2", + "title": "口腔清洁", + "key": "1902597070889127938", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902636771540963329", + "title": "准备洁具", + "tagName": "头部" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637623425077250", + "title": "协助洗头", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902637985234128898", + "title": "卧式洗头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902638122949906433", + "title": "擦头", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902638304739430401", + "title": "刮头", + "tagName": null + } + ], + "levle": "2", + "title": "头部清洁", + "key": "1902597497344987137", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902641763073101826", + "title": "准备洁具", + "tagName": "面部" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642254465175553", + "title": "协助洁面", + "tagName": null + } + ], + "levle": "2", + "title": "面部清洁", + "key": "1902597651405967361", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642508145070081", + "title": "准备洁具", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642672796667905", + "title": "协助清洁", + "tagName": "躯干" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902642822885642242", + "title": "卧床清洁", + "tagName": "躯干" + } + ], + "levle": "2", + "title": "躯干清洁", + "key": "1902597718082818050", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643318811758594", + "title": "准备洁具", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643483320750082", + "title": "协助清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643630888947713", + "title": "卧床清洁", + "tagName": "四肢" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902643837525528578", + "title": "肌张力高", + "tagName": "清洁" + } + ], + "levle": "2", + "title": "四肢清洁", + "key": "1902597811565465601", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645148199391234", + "title": "会阴清洁", + "tagName": "男" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645295457210369", + "title": "会阴清洁", + "tagName": "女" + } + ], + "levle": "2", + "title": "会阴清洁", + "key": "1902597873964126209", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645493185089537", + "title": "肛周清洁", + "tagName": null + } + ], + "levle": "2", + "title": "肛周清洁", + "key": "1902597930020999170", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902645693211447298", + "title": "洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647316134465538", + "title": "泡手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647529817477122", + "title": "准备洁具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647673212342274", + "title": "协助洗手", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902647905878773762", + "title": "强直屈曲洗手", + "tagName": null + } + ], + "levle": "2", + "title": "手清洁", + "key": "1902597991698239489", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648101203316737", + "title": "泡脚", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648239091060737", + "title": "卧式泡脚", + "tagName": null + } + ], + "levle": "2", + "title": "足清洁", + "key": "1902598178588037121", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648426383511553", + "title": "修睫毛", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648548777496577", + "title": "剃须", + "tagName": null + } + ], + "levle": "2", + "title": "剃须", + "key": "1902598258573414401", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902648962444922882", + "title": "角质增生", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649132536532994", + "title": "灰指甲", + "tagName": "修甲" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902649302149992449", + "title": "正常", + "tagName": "修甲" + } + ], + "levle": "2", + "title": "修甲", + "key": "1902598354606198785", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "20", + "id": "1902649683919736834", + "title": "理发", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "25", + "id": "1902649860344745985", + "title": "理发", + "tagName": "颅骨缺损" + } + ], + "levle": "2", + "title": "理发", + "key": "1902598400382832642", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902650121280786434", + "title": "床上沐浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650408884211713", + "title": "深度清洁", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902650763722330113", + "title": "浴间洗浴", + "tagName": null + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "30", + "id": "1902651229122301954", + "title": "床上沐浴", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651366317985794", + "title": "深度清洁", + "tagName": "大体重" + }, + { + "cycleType": "周期护理", + "levle": "3", + "serviceDuration": "55", + "id": "1902651555363655682", + "title": "浴间洗浴", + "tagName": "大体重" + } + ], + "levle": "2", + "title": "沐浴", + "key": "1902598454782955522", + "parentId": "1900112615777873921" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651778777452545", + "title": "内套管清洁", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902651924047171586", + "title": "更换气切纱布", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902652055928672258", + "title": "更换气切纱布", + "tagName": null + } + ], + "levle": "2", + "title": "气切消毒", + "key": "1902598509522817026", + "parentId": "1900112615777873921" + } + ], + "levle": "1", + "title": "2 清洁照料", + "key": "1900112615777873921" + }, + { + "children": [ + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898057679966209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898202668666881", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898339931459586", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898472584712194", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898590658564097", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898719952179201", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902898979948695554", + "title": "协助进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899086840532993", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899214838108162", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899325014085633", + "title": "胃肠管进餐", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902899587028062210", + "title": "食物加工", + "tagName": null + } + ], + "levle": "2", + "title": "加餐饮食", + "key": "1902596129720864770", + "parentId": "1902280495747317762" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281139677839362", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "10", + "id": "1902281522340970498", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281654100836354", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902281870434648066", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902654960639381506", + "title": "鼻肠管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902655101874180097", + "title": "轮椅进餐", + "tagName": "大体重" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902892199009030145", + "title": "轮椅进餐", + "tagName": null + } + ], + "levle": "2", + "title": "正餐饮食", + "key": "1902601263850950657", + "parentId": "1902280495747317762" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893231608926209", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893551978254337", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902893716466274306", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894369850757122", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894528533860354", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "辅餐饮食", + "key": "1902601382595891202", + "parentId": "1902280495747317762" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894832176304129", + "title": "准备餐具", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902894954117304322", + "title": "协助进餐", + "tagName": "正常" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895077522116609", + "title": "协助进餐", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895233407619073", + "title": "鼻胃管进餐", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895569912434689", + "title": "鼻肠管进餐", + "tagName": null + } + ], + "levle": "2", + "title": "果汁饮食", + "key": "1902601427168759809", + "parentId": "1902280495747317762" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895878508351489", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902895984053817346", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896136835534850", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896508421509122", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896636553302017", + "title": "鼻肠管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902896855802155010", + "title": "准备水杯", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897018344017921", + "title": "协助饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897464936730626", + "title": "协助饮水", + "tagName": "超时" + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897675813752834", + "title": "鼻胃管饮水", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902897803417063426", + "title": "鼻肠管饮水", + "tagName": null + } + ], + "levle": "2", + "title": "饮水饮食", + "key": "1902601487625457665", + "parentId": "1902280495747317762" + } + ], + "levle": "1", + "title": "3 饮食照料", + "key": "1902280495747317762" + }, + { + "children": [ + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653177363927041", + "title": "巡视", + "tagName": null + } + ], + "levle": "2", + "title": "巡视", + "key": "1902564741860790273", + "parentId": "1902560466095017986" + }, + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653325481578497", + "title": "防坠床", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653497066360833", + "title": "被褥调整", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902653650917625857", + "title": "睡姿调整", + "tagName": null + } + ], + "levle": "2", + "title": "体位调整", + "key": "1902564818838851585", + "parentId": "1902560466095017986" + } + ], + "levle": "1", + "title": "4 睡眠照料", + "key": "1902560466095017986" + }, + { + "children": [ + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904277308510210", + "title": "更换尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902904458779267073", + "title": "更换隔尿垫", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905631242424322", + "title": "使用尿盆", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902905824973131777", + "title": "使用尿壶", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906220483416065", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906459051233281", + "title": "坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906610562076674", + "title": "留置尿袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902906783325458434", + "title": "更换纸尿裤", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908406344945665", + "title": "热敷抚触排尿", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902908523827400705", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909645401067522", + "title": "更换尿片", + "tagName": null + } + ], + "levle": "2", + "title": "小便", + "key": "1902596314152800257", + "parentId": "1902560510768549889" + }, + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902909835331735554", + "title": "床上排便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910002671882242", + "title": "协助坐便椅", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910156154048514", + "title": "协助入厕", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910361008050178", + "title": "人工取便", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910524623654913", + "title": "造瘘袋", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910700176248834", + "title": "坐便椅", + "tagName": null + } + ], + "levle": "2", + "title": "大便", + "key": "1902596399423000577", + "parentId": "1902560510768549889" + }, + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902910899565072385", + "title": "口腔吸痰", + "tagName": null + }, + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911047405899778", + "title": "气切吸痰", + "tagName": null + } + ], + "levle": "2", + "title": "吸痰", + "key": "1902596461238652930", + "parentId": "1902560510768549889" + }, + { + "children": [ + { + "cycleType": "即时护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911232974491650", + "title": "呕吐", + "tagName": null + } + ], + "levle": "2", + "title": "呕吐", + "key": "1902596886771765250", + "parentId": "1902560510768549889" + }, + { + "children": [ + { + "cycleType": "日常护理", + "levle": "3", + "serviceDuration": "5", + "id": "1902911378349068290", + "title": "腹腔引流护理", + "tagName": null + } + ], + "levle": "2", + "title": "引流", + "key": "1902596940366581762", + "parentId": "1902560510768549889" + } + ], + "levle": "1", + "title": "5 排泄照料", + "key": "1902560510768549889" + } +] \ No newline at end of file diff --git a/component/storeroom/components/ball.vue b/component/storeroom/components/ball.vue index 67b08c6..c6a10d0 100644 --- a/component/storeroom/components/ball.vue +++ b/component/storeroom/components/ball.vue @@ -52,8 +52,9 @@ onMounted(() => { // 触摸开始:记录初始位置,同时启动长按定时器 function handleTouchStart(e) { const touch = e.touches[0]; - startTouchX = touch.clientX; - startTouchY = touch.clientY; + // console.log("????0",touch.clientX ) + startTouchX = touch.clientX.toFixed(2); + startTouchY = touch.clientY.toFixed(2); initialLeft = ballLeft.value; initialTop = ballTop.value; @@ -65,11 +66,13 @@ function handleTouchStart(e) { // 触摸移动:如果进入拖动状态,则计算新位置,同时限制悬浮球不超出屏幕边界 function handleTouchMove(e) { + // 如果尚未进入拖动状态,且手指移动距离较大,则可以提前进入拖动模式 if (!isDragging.value) { const touch = e.touches[0]; - const deltaX = Math.abs(touch.clientX - startTouchX); - const deltaY = Math.abs(touch.clientY - startTouchY); + // console.log("????0",touch.clientX ) + const deltaX = Math.abs(touch.clientX.toFixed(2) - startTouchX); + const deltaY = Math.abs(touch.clientY.toFixed(2) - startTouchY); if(deltaX > 5 || deltaY > 5){ clearTimeout(longPressTimer); isDragging.value = true; @@ -78,9 +81,11 @@ function handleTouchMove(e) { // 正在拖动,更新悬浮球位置 if(isDragging.value){ + const touch = e.touches[0]; - let newLeft = initialLeft + (touch.clientX - startTouchX); - let newTop = initialTop + (touch.clientY - startTouchY); + // console.log("????0",touch.clientX ) + let newLeft = initialLeft + (touch.clientX.toFixed(2) - startTouchX); + let newTop = initialTop + (touch.clientY.toFixed(2) - startTouchY); // 限制左右边界:不让超出屏幕(计算时需要考虑悬浮球自身尺寸) newLeft = Math.max(0, Math.min(newLeft, windowWidth - ballWidth)); // 限制上下边界 diff --git a/component/zy-upgrade/zy-upgrade.vue b/component/zy-upgrade/zy-upgrade.vue index 3e3831b..7204bc2 100644 --- a/component/zy-upgrade/zy-upgrade.vue +++ b/component/zy-upgrade/zy-upgrade.vue @@ -127,7 +127,7 @@ }, updatebusiness: function(that){ //具体升级的业务逻辑 uni.request({ - url: `http://smartnu.blxinchuang.com/nursing-unit/api/pad/versionUpdate?platform=1&version=${that.currentversion}`, + url: `http://121.36.88.64/nursing-unit/api/pad/versionUpdate?platform=1&version=${that.currentversion}`, method: 'GET', dataType:'json', success: (res) => { @@ -201,8 +201,8 @@ let that = this //console.log("升级参数:"+that.wgt_flag+" "+that.wgt_url+" "+that.version_url) let downloadurl = that.wgt_flag==1?that.wgt_url:that.version_url; - let targetUrl = "http://smartnu.blxinchuang.com/nursing-unit/sys/common/static/" + downloadurl - console.log("下载地址:"+targetUrl) + let targetUrl = "http://121.36.88.64/nursing-unit/sys/common/static/" + downloadurl + // console.log("下载地址:"+targetUrl) this.update_confirm = true this.downloadTask = uni.downloadFile({ url: targetUrl, diff --git a/manifest.json b/manifest.json index dab4752..e834c84 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "养老App", "appid" : "__UNI__FB2D473", "description" : "养老App", - "versionName" : "1.0.8", - "versionCode" : 108, + "versionName" : "1.0.9", + "versionCode" : 109, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/Nursing/index.vue b/pages/Nursing/index.vue index 9c8753b..766f84e 100644 --- a/pages/Nursing/index.vue +++ b/pages/Nursing/index.vue @@ -49,10 +49,14 @@ + - + :darkFans="darkFans" v-show="menuIndex==1&&isOld" @darkchange="darkchange" @savename="openname" + @saveruler="openruler" @changefangkuang="changefangkuang" @cleanname="closename" @changeold="isOldchange" /> + + @@ -60,9 +64,12 @@ import { ref, onMounted } from 'vue'; import type { Link } from "./index"; import rightItemsfirst from "../../component/rightItemsindex/index.vue" - import rightItemssecond from "../../component/rightItemssecond/index.vue" - import { onShow } from '@dcloudio/uni-app'; + import rightItemssecond from "../../component/rightItemssecond/index.vue" + + import rightItemssecondnew from "../../component/rightItemssecondnew/index.vue" + import { onShow } from '@dcloudio/uni-app'; + // 初始化左侧菜单列表 const iconList = ref([ @@ -75,11 +82,13 @@ ]); // 当前选中的菜单索引 - const menuIndex = ref(0); + const menuIndex = ref(1); const menuIndexshow = ref(false); const menuIndexshowsecond = ref(false); // 暗黑模式 const darkFans = ref(false); + //旧表格还是新表格 + const isOld = ref(false); // 当前选中的菜单索引 const roomTar = ref([]); //滑块按钮 @@ -92,6 +101,10 @@ const darkchange = (res : boolean) => { darkFans.value = res } + //切换表格新旧 + const isOldchange = (res:boolean) =>{ + isOld.value = res; + } // 变更菜单 const changeMenu = (index : number) => { if (index === 3) { @@ -142,7 +155,7 @@ // 遍历数组,找到点击区域所在的对象 const translateX = Math.floor(touch.clientX) - 50; const translateY = Math.floor(touch.clientY) - 25; - + const clickedItem = fangkuaiValue.value.find(item => { return translateX >= Math.floor(item.left) && translateX <= Math.floor(item.right) && translateY >= Math.floor(item.top) && translateY <= Math.floor(item.bottom); @@ -151,13 +164,23 @@ const { index0, index1 } = clickedItem.dataset; indexNumber.value.index0 = index0 indexNumber.value.index1 = index1 - if (clientX.value > 2050 && canTrigger.value) { + + if (clientX.value > 2050 && canTrigger.value && isOld.value) { ruler.value?.nextItems(); canTrigger.value = false; setTimeout(() => { canTrigger.value = true; }, 1000); } + // console.log("AAA",clientX.value) + if (clientX.value < 350 && canTrigger.value && !isOld.value) { + + rulernew.value?.nextItems(); + canTrigger.value = false; + setTimeout(() => { + canTrigger.value = true; + }, 1000); + } } else { indexNumber.value.index0 = 999 indexNumber.value.index1 = 999 @@ -200,6 +223,7 @@ // fangkuaiValue.value = [] } const ruler = ref(null) + const rulernew = ref(null) //结束、禁止滑动 const cleanall = () => { clientX.value = 9999; @@ -209,11 +233,20 @@ index0: 999, index1: 999, }; - + if (savename.value) { - ruler.value?.rulerEnd(savename.value); + if(isOld.value){ + ruler.value?.rulerEnd(savename.value); + }else{ + rulernew.value?.rulerEnd(savename.value); + } } else if (saveruler.value.typeName) { - ruler.value?.rulerMoveEnd(saveruler.value); + if(isOld.value){ + ruler.value?.rulerMoveEnd(saveruler.value); + }else{ + rulernew.value?.rulerMoveEnd(saveruler.value); + } + } savename.value = ""; saveruler.value = { @@ -276,7 +309,6 @@ changeMenu(menuIndex.value) }, 50) }); -