Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-09-22 16:53:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9659bb1f125d43e17d92a3ea03fbe9c74ffd8162
9659bb1f
1 parent
e750d808
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
src/views/bieyuan/info.vue
src/views/bieyuan/map.vue
src/views/bieyuan/info.vue
View file @
9659bb1
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-22 1
3:30:28
* @LastEditTime: 2024-09-22 1
6: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;
...
...
src/views/bieyuan/map.vue
View file @
9659bb1
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-22 1
3:43:45
* @LastEditTime: 2024-09-22 1
4: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'
}
})
}
...
...
Please
register
or
login
to post a comment