Compare commits

..

2 Commits

Author SHA1 Message Date
“yu” d5135d7fa0 Merge branch 'master' of http://58.87.70.254/zhaoqiang/v3tianjin 2024-07-14 17:16:20 +08:00
“yu” ea3c57f04a u 2024-07-14 17:16:15 +08:00
1 changed files with 42 additions and 4 deletions

View File

@ -138,13 +138,20 @@
<div class="btns"> <div class="btns">
<div class="btnbg fs35" @click="handleClickPC"></div> <div class="btnbg fs35" @click="handleClickPC"></div>
<div <div
v-if="!send_Status" v-if="!send_Status"
:class="[btn_sendFlag ? '' : 'send_drp', `btnbg fs35 `]" :class="[btn_sendFlag ? '' : 'send_drp', `btnbg fs35 `]"
@click="haneleprogress" @click="haneleprogress"
> >
下发指令 下发指令
</div> </div>
<div v-else></div> <div class="send_box" v-else>
发送中
<div class="loading-dots">
<span>.</span>
<span>.</span>
<span>.</span>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@ -522,11 +529,11 @@ let adjustContentFlag = ref(true);
// //
let newAjustTableData = reactive<any>([]); let newAjustTableData = reactive<any>([]);
let send_Status=ref(false);// let send_Status = ref(false); //
let btn_sendFlag = ref(false); // let btn_sendFlag = ref(false); //
const haneleprogress = () => { const haneleprogress = () => {
send_Status.value=true// div send_Status.value = true; // div
if (btn_sendFlag.value === false) return; //flag if (btn_sendFlag.value === false) return; //flag
alert(1); alert(1);
btn_sendFlag.value = false; // btn_sendFlag.value = false; //
@ -1270,6 +1277,37 @@ const styleVar = computed(() => {
display: flex; display: flex;
width: changeHeight(550); width: changeHeight(550);
justify-content: space-between; justify-content: space-between;
.loading-dots {
display: inline-block;
font-size: 20px; /* 根据需要调整大小 */
color: #58a7cb; /* 点的颜色 */
}
.loading-dots span {
animation: blink 1s step-start infinite;
}
.loading-dots span:nth-child(1) {
animation-delay: 0s;
}
.loading-dots span:nth-child(2) {
animation-delay: 0.33s;
}
.loading-dots span:nth-child(3) {
animation-delay: 0.66s;
}
@keyframes blink {
0%,
100% {
opacity: 0;
}
50% {
opacity: 1;
}
}
} }
} }