|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <custom-header name="农情互动" bgColor="#f2f4f5" @goback="handleBack"></custom-header>
|
|
|
+ <custom-header name="农情互动" bgColor="#f2f4f5"></custom-header>
|
|
|
<div class="interaction-list">
|
|
|
<van-list v-model:loading="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
<div class="list-item" v-for="(item, index) in listData" :key="item.id || index"
|
|
|
@@ -93,13 +93,6 @@ const mockData = [
|
|
|
{ id: 3, proportion: "10%", upload: true, expanded: false },
|
|
|
];
|
|
|
|
|
|
-const handleBack = () => {
|
|
|
- console.log(query.value);
|
|
|
- // router.go(-1);
|
|
|
- router.push(`/consult?expertMiniUserId=${query.value.expertMiniUserId}`);
|
|
|
- // router.push(`/consult?userId=81881`);
|
|
|
-}
|
|
|
-
|
|
|
// 加载数据
|
|
|
const onLoad = () => {
|
|
|
loading.value = true;
|
|
|
@@ -161,7 +154,7 @@ const getFarmList = async () => {
|
|
|
if(data && data.length === 0) {
|
|
|
showTipPopup.value = true;
|
|
|
}
|
|
|
- showTipPopup.value = true;
|
|
|
+ // showTipPopup.value = true;
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|