Fix QR floating issue (#36)
This commit is contained in:
1 parent
a077e2a402
commit
83721557e2
2 files changed
+11
-5
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "patch",
|
||||
"comment": "fix qr show issue",
|
||||
"packageName": "@zhishuyun/hub",
|
||||
"email": "cqc@germey.cn",
|
||||
"dependentChangeType": "patch"
|
||||
}
|
||||
@@ -8,6 +8,8 @@
|
||||
:close-on-click-modal="false"
|
||||
>
|
||||
<iframe width="360" height="560" :src="iframeUrl" frameborder="0" />
|
||||
</el-dialog>
|
||||
<el-dialog :model-value="!!qrLink" width="400px" :show-close="false">
|
||||
<qr-code
|
||||
v-if="qrLink"
|
||||
:value="qrLink"
|
||||
@@ -96,10 +98,7 @@ export default defineComponent({
|
||||
.qrcode {
|
||||
width: 320px;
|
||||
height: 320px;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0.001;
|
||||
display: block;
|
||||
margin: 0 auto 20px auto;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user