Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
bieyuan
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
2023-09-25 15:50:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ddf879a4a15385e23a971ac25ca9fedae61520b
3ddf879a
1 parent
77924420
二维码显示宽度固定
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
src/views/result.vue
src/views/result.vue
View file @
3ddf879
...
...
@@ -26,8 +26,9 @@
</van-col>
<van-col span="18" style="text-align: center;">
<div class="qr-box">
<van-icon size="13rem" :name="app_info_list[checkedIndex]?.qr_code"
style="width: 100%; overflow: hidden;" />
<!-- <van-icon size="150px" :name="app_info_list[checkedIndex]?.qr_code"
style="max-width: 100%; height: auto;" /> -->
<img :src="app_info_list[checkedIndex]?.qr_code" style="max-width: 150px; height: auto;" alt="">
</div>
</van-col>
<van-col span="3">
...
...
@@ -227,6 +228,10 @@ const handleRight = () => { // 右侧滚动
border-radius: 10px;
padding: 1rem;
}
.van-icon__image {
max-width: 100%;
height: auto;
}
.handle-right {
position: absolute;
...
...
Please
register
or
login
to post a comment