This commit is contained in:
wangweidong 2026-01-19 14:19:17 +08:00
commit 1cf1f44ea5
5 changed files with 41 additions and 50 deletions

View File

@ -7,7 +7,7 @@
isolation: isolate;
overflow: hidden;
margin-left: 10rpx;
width: 1450rpx;
width: 1300rpx;
border-left: 0;
position: relative;
border-radius: 30rpx;
@ -26,13 +26,13 @@
align-items: center;
height: 50rpx;
width: 289.3rpx;
width: 258.3rpx;
border-bottom: 1rpx solid transparent;
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
/* font-weight: 700; */
z-index: -1;
font-size: 20rpx;
color: #A9ACB1;
font-size: 27rpx;
color: #9b9ea2;
background-color: #EDF3FD;
}
@ -40,7 +40,7 @@
display: flex;
justify-content: center;
align-items: center;
width: 290rpx;
width: 259rpx;
flex-direction: column;
border-right: 1rpx solid transparent;
@ -89,7 +89,7 @@
display: flex;
justify-content: center;
align-items: center;
height: 234rpx;
height: 245rpx;
width: 100%;
transition: all 0.8s;
border-image: repeating-linear-gradient(90deg, #A9ACB1 0px, #A9ACB1 6rpx, transparent 6rpx, transparent 12rpx) 1;
@ -371,10 +371,10 @@
.boom-father {
position: absolute;
top: 110rpx;
top: 87rpx;
left: -17rpx;
width: 60rpx;
height: 1170rpx;
height: 1225rpx;
margin-top: 0rpx;
overflow: hidden;
z-index: 999;
@ -388,22 +388,22 @@
z-index: 0;
.boom-son {
height: 234rpx;
height: 245rpx;
width: 60rpx;
font-size: 30rpx;
font-size: 25rpx;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
z-index: 10;
font-size: 1rpx;
color: #A9ACB1;
.boom-text {
width: 30rpx;
height: 50rpx;
/* border: 2rpx dashed #A9ACB1; */
border-radius: 20rpx;
width: 45rpx;
height: 45rpx;
font-size: 22rpx;
color: #0091ff;
border: 2rpx solid #DFDFE0;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
@ -411,21 +411,6 @@
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;
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>
<view class="card-overtime"
<!-- <view class="card-overtime"
v-if="item1.executeStatus==`hisTimeOut`">
超时
</view>
</view> -->
<view :class="getClass(item1,index0,index1)"
style="font-size: 30rpx;overflow: hidden;"
@ -81,8 +81,8 @@
<view style="margin-bottom: 3rpx;">
{{ item1.rightshow }}
</view>
<view class="">
{{ `${parseHourMinutestring(item1.startTime).hour}:${parseHourMinutestring(item1.startTime).minute} - ${parseHourMinutestring(item1.endTime).hour}:${parseHourMinutestring(item1.endTime).minute}` }}
<view class="weight-time">
{{ `${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 moveById = ref(0);
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;
secondListTarget.value = -1;
moveById.value = timearr.value[index0].children[index1].id
@ -854,7 +854,9 @@
element.positioningLong = parseHourMinute(element.startTime).minute / 5;
if (element.executeStatus === 'hisUnExe') {
element.rightshow = `未执行`
} else if (element.executeStatus === 'current') {
} else if (element.executeStatus === 'hisTimeOut') {
element.rightshow = `超时`
}else if (element.executeStatus === 'current') {
element.rightshow = ``
} else if (element.executeStatus === 'future') {
element.rightshow = ``
@ -973,31 +975,31 @@
const totalColumns = 24; //
const totalRows = 11; //
const visibleWidth = 1450; // (rpx) scalcType * widthType 2220
const visibleHeight = 1170; // (rpx)5 heightType = 102.5
const visibleWidth = 1295; // (rpx) scalcType * widthType 2220
const visibleHeight = 1225; // (rpx)5 heightType = 102.5
function centerCell() {
if (saveEditIndex.value.index0 >= 0 && saveEditIndex.value.index0 <= totalColumns && saveEditIndex.value.index1 >= 0 && saveEditIndex.value.index1 <= totalRows) {
// (rpx)
const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 290;
const cellCenterY = (saveEditIndex.value.index1 + 0.5) * 234;
const cellCenterX = (saveEditIndex.value.index0 + 0.5) * 259;
const cellCenterY = (saveEditIndex.value.index1 + 0.5) * 245;
// scrollLeft scrollTop使
cardLeft.value = cellCenterX - visibleWidth / 2;
scrollTop.value = cellCenterY - visibleHeight / 2;
//
const totalWidth = totalColumns * 290;
const totalHeight = totalRows * 234;
const totalWidth = totalColumns * 259;
const totalHeight = totalRows * 245;
// 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 = Math.max(0, Math.min(scrollTop.value, totalHeight - visibleHeight)) / 2;
}
}
//
function timeNowMove() {
const cellCenterX = (hournow.value + 0.5) * 290;
const cellCenterX = (hournow.value + 0.5) * 259;
let width = cellCenterX - visibleWidth / 2;
const totalWidth = totalColumns * 290;
cardLeft.value = Math.max(0, Math.min(width, totalWidth - visibleWidth)) / 2 + 0.7;
const totalWidth = totalColumns * 259;
cardLeft.value = Math.max(0, Math.min(width, totalWidth - visibleWidth)) / 2;
}
const iszhiling = ref(false)
const zhilingbao = () => {

View File

@ -1,8 +1,8 @@
<!-- 动画页 -->
<template>
<view>
<!-- <view class="ceshi">
<image class="all-home" src="/static/ceshi.jpg" mode="aspectFit"></image>
<!-- <view class="ceshi">
<image class="all-home" src="/static/ceshi.png" mode="aspectFit"></image>
</view> -->
<view class="home">
<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