|
@@ -15,7 +15,7 @@
|
|
<div class="options-section">
|
|
<div class="options-section">
|
|
<span class="options-label">您可以选择</span>
|
|
<span class="options-label">您可以选择</span>
|
|
<div class="options-buttons">
|
|
<div class="options-buttons">
|
|
- <div class="option-btn">拍照识别</div>
|
|
|
|
|
|
+ <div class="option-btn" @click="toUpload">拍照识别</div>
|
|
<div class="option-btn">咨询专家</div>
|
|
<div class="option-btn">咨询专家</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -38,8 +38,9 @@
|
|
<script setup>
|
|
<script setup>
|
|
import { Popup } from "vant";
|
|
import { Popup } from "vant";
|
|
import { ref } from "vue";
|
|
import { ref } from "vue";
|
|
|
|
+import wx from "weixin-js-sdk";
|
|
|
|
|
|
-const show = ref(true);
|
|
|
|
|
|
+const show = ref(false);
|
|
const noShow = ref(false);
|
|
const noShow = ref(false);
|
|
const noClick = () => {
|
|
const noClick = () => {
|
|
show.value = false;
|
|
show.value = false;
|
|
@@ -48,6 +49,19 @@ const noClick = () => {
|
|
const yesClick = () => {
|
|
const yesClick = () => {
|
|
console.log("yesClick");
|
|
console.log("yesClick");
|
|
}
|
|
}
|
|
|
|
+const dropdownGardenItem = ref({
|
|
|
|
+ organId:766,
|
|
|
|
+ periodId:1,
|
|
|
|
+ wktVal:'wktVal',
|
|
|
|
+ address:'address',
|
|
|
|
+ district:'district',
|
|
|
|
+ name:'荔博园',
|
|
|
|
+});
|
|
|
|
+const toUpload = () => {
|
|
|
|
+ wx.miniProgram.navigateTo({
|
|
|
|
+ url: `/pages/subPages/carmera/index?gardenData=${JSON.stringify(dropdownGardenItem.value)}`,
|
|
|
|
+ });
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
.problem-reminder-popup {
|
|
.problem-reminder-popup {
|