diff --git a/pages/Warehouse/warehome.vue b/pages/Warehouse/warehome.vue
index e6ee9a2..e3291e5 100644
--- a/pages/Warehouse/warehome.vue
+++ b/pages/Warehouse/warehome.vue
@@ -17,12 +17,12 @@
+ @click="housactive(index)">
-
+
{{v}}
@@ -42,17 +42,18 @@
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 == 0) {
- // navurl.value = 'pages/Warehouse/paymoney'
- // uni.navigateTo({
- // url: '/' + navurl.value
- // })
- // }
+ if (index == 1) {
+ navurl.value = 'pages/Warehouse/paymoney'
+ uni.navigateTo({
+ url: '/' + navurl.value
+ })
+ }
if (index == 0) {
navurl.value = 'pages/procurement/material'
uni.navigateTo({
@@ -71,13 +72,18 @@
url: "/pages/watch/full"
})
}
- if (index == 6) {
+ if (index === 5) {
+ uni.navigateTo({
+ url: "/pages/watch/full"
+ })
+ }
+ if (index == 7) {
navurl.value = 'pages/procurement/outbound?code=0'
uni.navigateTo({
url: '/' + navurl.value
})
}
- if (index == 7) {
+ if (index == 8) {
navurl.value = 'pages/procurement/outbound?code=1'
uni.navigateTo({
url: '/' + navurl.value
@@ -88,12 +94,6 @@
} else {
setout.value = setTimeout(() => {
// console.log("点击哪个了", index)
- if (index === 5) {
- uni.navigateTo({
- url: "/pages/watch/full"
- })
- }
-
}, DOUBLE_TAP_DELAY)
// 记录本次时间,等待下次点击
lastTap.value = now
@@ -171,6 +171,18 @@
width: '14.3vw',
height: '13vw'
},
+ {
+ url: genPaths(
+ '/static/index/warehouse/home',
+ 'unit11-',
+ 5, // 张数
+ 'png',
+ 0, // 起始索引为 1
+ false // 不补零
+ ),
+ width: '14.3vw',
+ height: '13vw'
+ },
])
@@ -220,6 +232,13 @@
right: 21vw;
z-index: 65;
}
+ .itemact6 {
+ width: 18.2vw;
+ height: 12vw;
+ top: 8vw;
+ left: 12vw;
+ z-index: 65;
+ }
view{
position: fixed;
z-index: 10;
@@ -240,6 +259,7 @@
align-items: center;
padding: 0 1vw;
white-space: nowrap;
+ z-index: 70;
&:nth-child(1){
top: 38vw;
left: 19.5vw;