Compare commits

..

No commits in common. "3fd5753c1fd0ccc5797d610a87bdc45b23a22d33" and "1c5ebf6d42ce77d84eb040ae6049ee50842d49a1" have entirely different histories.

1 changed files with 16 additions and 36 deletions

View File

@ -17,12 +17,12 @@
</view>
<view class="clikurlbox">
<view class="tp" :class="'itemact'+(index+1)" v-for="(item,index) in animArray" :key='index'
@click="housactive(index)">
@click.stop="housactive(index)">
<donghua :width="item.width" :height="item.height" :links="item.url" :playing="index == housedex" />
</view>
</view>
<view class="cardtm">
<view class="b" :class="{ 'actve':housedex == i}" v-for="(v,i) in ['采购','盘点','拣货','请领出库','退货入库','监控室']" @click="housactive(i)">
<view class="b" :class="{ 'actve':housedex == i}" v-for="(v,i) in ['采购','盘点','拣货','请领出库','退货入库','监控室']">
<text></text>{{v}}
<view class="tp">
<image src="/static/index/warehouse/home/z.png" mode=""></image>
@ -42,18 +42,17 @@
const setout = ref(null)
const navurl = ref('')
const housactive = (index : number) => {
console.log(index)
housedex.value = index;
const now = Date.now()
if (now - lastTap.value < DOUBLE_TAP_DELAY) {
//
clearTimeout(setout.value)
if (index == 1) {
navurl.value = 'pages/Warehouse/paymoney'
uni.navigateTo({
url: '/' + navurl.value
})
}
// if (index == 0) {
// navurl.value = 'pages/Warehouse/paymoney'
// uni.navigateTo({
// url: '/' + navurl.value
// })
// }
if (index == 0) {
navurl.value = 'pages/procurement/material'
uni.navigateTo({
@ -72,18 +71,13 @@
url: "/pages/watch/full"
})
}
if (index === 5) {
uni.navigateTo({
url: "/pages/watch/full"
})
}
if (index == 7) {
if (index == 6) {
navurl.value = 'pages/procurement/outbound?code=0'
uni.navigateTo({
url: '/' + navurl.value
})
}
if (index == 8) {
if (index == 7) {
navurl.value = 'pages/procurement/outbound?code=1'
uni.navigateTo({
url: '/' + navurl.value
@ -94,6 +88,12 @@
} else {
setout.value = setTimeout(() => {
// console.log("", index)
if (index === 5) {
uni.navigateTo({
url: "/pages/watch/full"
})
}
}, DOUBLE_TAP_DELAY)
//
lastTap.value = now
@ -171,18 +171,6 @@
width: '14.3vw',
height: '13vw'
},
{
url: genPaths(
'/static/index/warehouse/home',
'unit11-',
5, //
'png',
0, // 1
false //
),
width: '14.3vw',
height: '13vw'
},
])
</script>
@ -232,13 +220,6 @@
right: 21vw;
z-index: 65;
}
.itemact6 {
width: 18.2vw;
height: 12vw;
top: 8vw;
left: 12vw;
z-index: 65;
}
view{
position: fixed;
z-index: 10;
@ -259,7 +240,6 @@
align-items: center;
padding: 0 1vw;
white-space: nowrap;
z-index: 70;
&:nth-child(1){
top: 38vw;
left: 19.5vw;