hookehuyr

fix

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