合并代码

This commit is contained in:
Teng 2026-01-16 17:27:09 +08:00
parent eee6afc03e
commit e9d35c3093
5 changed files with 41 additions and 50 deletions

View File

@ -7,7 +7,7 @@
isolation: isolate; isolation: isolate;
overflow: hidden; overflow: hidden;
margin-left: 10rpx; margin-left: 10rpx;
width: 1450rpx; width: 1300rpx;
border-left: 0; border-left: 0;
position: relative; position: relative;
border-radius: 30rpx; border-radius: 30rpx;
@ -26,13 +26,13 @@
align-items: center; align-items: center;
height: 50rpx; height: 50rpx;
width: 289.3rpx; width: 258.3rpx;
border-bottom: 1rpx solid transparent; border-bottom: 1rpx solid transparent;
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
/* font-weight: 700; */ /* font-weight: 700; */
z-index: -1; z-index: -1;
font-size: 20rpx; font-size: 27rpx;
color: #A9ACB1; color: #9b9ea2;
background-color: #EDF3FD; background-color: #EDF3FD;
} }
@ -40,7 +40,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 290rpx; width: 259rpx;
flex-direction: column; flex-direction: column;
border-right: 1rpx solid transparent; border-right: 1rpx solid transparent;
@ -89,7 +89,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 234rpx; height: 245rpx;
width: 100%; width: 100%;
transition: all 0.8s; transition: all 0.8s;
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1; border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
@ -371,10 +371,10 @@
.boom-father { .boom-father {
position: absolute; position: absolute;
top: 110rpx; top: 87rpx;
left: -17rpx; left: -17rpx;
width: 60rpx; width: 60rpx;
height: 1170rpx; height: 1225rpx;
margin-top: 0rpx; margin-top: 0rpx;
overflow: hidden; overflow: hidden;
z-index: 999; z-index: 999;
@ -388,22 +388,22 @@
z-index: 0; z-index: 0;
.boom-son { .boom-son {
height: 234rpx; height: 245rpx;
width: 60rpx; width: 60rpx;
font-size: 30rpx; font-size: 25rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
z-index: 10; z-index: 10;
font-size: 1rpx;
color: #A9ACB1;
.boom-text { .boom-text {
width: 30rpx; width: 45rpx;
height: 50rpx; height: 45rpx;
/* border: 2rpx dashed #A9ACB1; */ font-size: 22rpx;
border-radius: 20rpx; color: #0091ff;
border: 2rpx solid #DFDFE0;
border-radius: 50%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -411,21 +411,6 @@
background-color: #eff0f4; background-color: #eff0f4;
} }
} }
.boom-son-target {
height: 250rpx;
width: 60rpx;
font-size: 30rpx;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
z-index: 10;
font-weight: 700;
font-size: 25rpx;
color: #A9ACB1;
background: linear-gradient(to bottom, #ff8a00, #eceaff);
}
} }
@ -960,3 +945,7 @@
color: #999999; color: #999999;
margin-top: 20rpx; margin-top: 20rpx;
} }
.weight-time{
font-weight: 600;
font-size: 32rpx;
}

View File

@ -56,10 +56,10 @@
<view class="card-bao" v-if="item1.izPackage==`Y`"> <view class="card-bao" v-if="item1.izPackage==`Y`">
</view> </view>
<view class="card-overtime" <!-- <view class="card-overtime"
v-if="item1.executeStatus==`hisTimeOut`"> v-if="item1.executeStatus==`hisTimeOut`">
超时 超时
</view> </view> -->
<view :class="getClass(item1,index0,index1)" <view :class="getClass(item1,index0,index1)"
style="font-size: 30rpx;overflow: hidden;" style="font-size: 30rpx;overflow: hidden;"
@ -81,7 +81,7 @@
<view style="margin-bottom: 3rpx;"> <view style="margin-bottom: 3rpx;">
{{ item1.rightshow }} {{ item1.rightshow }}
</view> </view>
<view class=""> <view class="weight-time">
{{ `${parseHourMinutestring(item1.startTime).hour}:${parseHourMinutestring(item1.startTime).minute}-${parseHourMinutestring(item1.endTime).hour}:${parseHourMinutestring(item1.endTime).minute}` }} {{ `${parseHourMinutestring(item1.startTime).hour}:${parseHourMinutestring(item1.startTime).minute}-${parseHourMinutestring(item1.endTime).hour}:${parseHourMinutestring(item1.endTime).minute}` }}
</view> </view>
@ -718,7 +718,7 @@
const showDetail = ref([-1, -1]) const showDetail = ref([-1, -1])
const moveById = ref(0); const moveById = ref(0);
const rulerTouchClickfather = (index0 : number, index1 : number) => { const rulerTouchClickfather = (index0 : number, index1 : number) => {
console.log("sssss", timearr.value[index0].children[index1]) // console.log("sssss", timearr.value[index0].children[index1])
firstListTarget.value = -1; firstListTarget.value = -1;
secondListTarget.value = -1; secondListTarget.value = -1;
moveById.value = timearr.value[index0].children[index1].id moveById.value = timearr.value[index0].children[index1].id
@ -854,6 +854,8 @@
element.positioningLong = parseHourMinute(element.startTime).minute / 5; element.positioningLong = parseHourMinute(element.startTime).minute / 5;
if (element.executeStatus === 'hisUnExe') { if (element.executeStatus === 'hisUnExe') {
element.rightshow = `未执行` element.rightshow = `未执行`
} else if (element.executeStatus === 'hisTimeOut') {
element.rightshow = `超时`
}else if (element.executeStatus === 'current') { }else if (element.executeStatus === 'current') {
element.rightshow = `` element.rightshow = ``
} else if (element.executeStatus === 'future') { } else if (element.executeStatus === 'future') {
@ -973,31 +975,31 @@
const totalColumns = 24; // const totalColumns = 24; //
const totalRows = 11; // const totalRows = 11; //
const visibleWidth = 1450; // (rpx) scalcType * widthType 2220 const visibleWidth = 1295; // (rpx) scalcType * widthType 2220
const visibleHeight = 1170; // (rpx)5 heightType = 102.5 const visibleHeight = 1225; // (rpx)5 heightType = 102.5
function centerCell() { function centerCell() {
if (saveEditIndex.value.index0 >= 0 && saveEditIndex.value.index0 <= totalColumns && saveEditIndex.value.index1 >= 0 && saveEditIndex.value.index1 <= totalRows) { if (saveEditIndex.value.index0 >= 0 && saveEditIndex.value.index0 <= totalColumns && saveEditIndex.value.index1 >= 0 && saveEditIndex.value.index1 <= totalRows) {
// (rpx) // (rpx)
const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 290; const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 259;
const cellCenterY = (saveEditIndex.value.index1 + 0.5) * 234; const cellCenterY = (saveEditIndex.value.index1 + 0.5) * 245;
// scrollLeft scrollTop使 // scrollLeft scrollTop使
cardLeft.value = cellCenterX - visibleWidth / 2; cardLeft.value = cellCenterX - visibleWidth / 2;
scrollTop.value = cellCenterY - visibleHeight / 2; scrollTop.value = cellCenterY - visibleHeight / 2;
// //
const totalWidth = totalColumns * 290; const totalWidth = totalColumns * 259;
const totalHeight = totalRows * 234; const totalHeight = totalRows * 245;
// scrollLeft scrollTop // scrollLeft scrollTop
cardLeft.value = Math.max(0, Math.min(cardLeft.value, totalWidth - visibleWidth)) / 2 + 0.7; cardLeft.value = Math.max(0, Math.min(cardLeft.value, totalWidth - visibleWidth)) / 2 ;
// scrollTop.value = 0 // scrollTop.value = 0
scrollTop.value = Math.max(0, Math.min(scrollTop.value, totalHeight - visibleHeight)) / 2; scrollTop.value = Math.max(0, Math.min(scrollTop.value, totalHeight - visibleHeight)) / 2;
} }
} }
// //
function timeNowMove() { function timeNowMove() {
const cellCenterX = (hournow.value + 0.5) * 290; const cellCenterX = (hournow.value + 0.5) * 259;
let width = cellCenterX - visibleWidth / 2; let width = cellCenterX - visibleWidth / 2;
const totalWidth = totalColumns * 290; const totalWidth = totalColumns * 259;
cardLeft.value = Math.max(0, Math.min(width, totalWidth - visibleWidth)) / 2 + 0.7; cardLeft.value = Math.max(0, Math.min(width, totalWidth - visibleWidth)) / 2;
} }
const iszhiling = ref(false) const iszhiling = ref(false)
const zhilingbao = () => { const zhilingbao = () => {

View File

@ -2,7 +2,7 @@
<template> <template>
<view> <view>
<!-- <view class="ceshi"> <!-- <view class="ceshi">
<image class="all-home" src="/static/ceshi.jpg" mode="aspectFit"></image> <image class="all-home" src="/static/ceshi.png" mode="aspectFit"></image>
</view> --> </view> -->
<view class="home"> <view class="home">
<image class="all-home" src="/static/index/warehouse/newindexhome/backdro.jpg" mode="scaleToFill"></image> <image class="all-home" src="/static/index/warehouse/newindexhome/backdro.jpg" mode="scaleToFill"></image>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

BIN
static/ceshi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB