hookehuyr

fix

<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-22 13:30:28
* @LastEditTime: 2024-09-22 16:50:25
* @FilePath: /map-demo/src/views/bieyuan/info.vue
* @Description: 文件描述
-->
......@@ -19,11 +19,11 @@
</div>
<div class="info-content-wrapper">
<div class="info-header">
<div>
<div style="display: flex; justify-content: space-between;">
<p class="info-title">{{ page_details.name }}</p>
<p class="info-sub-title">{{ page_details.note }}</p>
<div @click="goTo()" class="info-btn">前往</div>
</div>
<div @click="goTo()" class="info-btn">前往</div>
<div class="info-sub-title">{{ page_details.note }}</div>
</div>
<div class="van-hairline--bottom">
<van-tabs ref="tabsRef" v-model:active="active" @click-tab="clickTab" color="#DD7850" title-active-color="#DD7850" sticky animated>
......@@ -297,8 +297,8 @@ defineExpose({
background-color: white;
.info-header {
padding: 1rem 2rem 0;
display: flex;
justify-content: space-between;
// display: flex;
// justify-content: space-between;
// align-items: center;
.info-title {
font-size: 1.25rem;
......
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-22 13:43:45
* @LastEditTime: 2024-09-22 14:03:09
* @FilePath: /map-demo/src/views/bieyuan/map.vue
* @Description: 公众地图主体页面
-->
......@@ -637,11 +637,12 @@ export default {
scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码,默认二者都有
success: (res) => {
var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
// TODO: 等待真实扫描数据结构
this.$router.push({
path: '/bieyuan/info',
query: {
id: this.$route.query.id,
marker_id: result
marker_id: '2098987'
}
})
}
......