问题修复

This commit is contained in:
2025-09-28 19:27:54 +08:00
parent b0425d5331
commit 17dd8a56e5
6 changed files with 57 additions and 16 deletions

View File

@@ -20,10 +20,14 @@
reactive,
ref
} from 'vue';
import {
onLoad
} from '@dcloudio/uni-app';
const list = ref([])
const query = reactive({
shopName: ''
shopName: '',
shopId:''
})
async function getData() {
const res = await shopList(query)
@@ -38,12 +42,14 @@
icon: 'none'
})
}
function toDetail(item) {
uni.navigateTo({
url: '/pages/user/member/billDetails?type=2&shopId=' + item.shopId
})
}
onLoad((opt) => {
Object.assign(query, opt)
})
// function toDetail(item) {
// uni.navigateTo({
// url: '/pages/user/member/billDetails?type=2&shopId=' + item.shopId
// })
// }
onMounted(getData)
</script>

View File

@@ -141,7 +141,7 @@
function toShopList(){
uni.navigateTo({
url:'/pages/user/member/czzx-shop-list'
url:'/pages/user/member/czzx-shop-list?shopId='+option.shopId
})
}