|
|
@ -22,7 +22,13 @@ |
|
|
<Transition appear enter-active-class="animate__animated animate__fadeIn" leave-active-class="animate__animated animate__fadeOut"> |
|
|
<Transition appear enter-active-class="animate__animated animate__fadeIn" leave-active-class="animate__animated animate__fadeOut"> |
|
|
<div v-if="isActive && isRow" class="qrcode-modal" @click="deactivate"> |
|
|
<div v-if="isActive && isRow" class="qrcode-modal" @click="deactivate"> |
|
|
<div class="content" @click.stop="void 0"> |
|
|
<div class="content" @click.stop="void 0"> |
|
|
<div class="close" @click="deactivate"></div> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
class="close" |
|
|
|
|
|
:style="{ |
|
|
|
|
|
backgroundImage: `url(${theme.images.brandQrcodeClose}) ` |
|
|
|
|
|
}" |
|
|
|
|
|
@click="deactivate" |
|
|
|
|
|
></div> |
|
|
<QRCodeFromText |
|
|
<QRCodeFromText |
|
|
class="qrcode" |
|
|
class="qrcode" |
|
|
:size="135" |
|
|
:size="135" |
|
|
@ -42,7 +48,7 @@ import { storeToRefs } from 'pinia' |
|
|
import { useStore } from '@/store/root' |
|
|
import { useStore } from '@/store/root' |
|
|
|
|
|
|
|
|
const store = useStore() |
|
|
const store = useStore() |
|
|
const { currentFloor, config } = storeToRefs(store) |
|
|
|
|
|
|
|
|
const { currentFloor, config, theme } = storeToRefs(store) |
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
const props = defineProps({ |
|
|
shop: Object, |
|
|
shop: Object, |
|
|
@ -248,7 +254,7 @@ const deactivate = () => store.SET_SHOP(null) |
|
|
height: 300px; |
|
|
height: 300px; |
|
|
left: 391px; |
|
|
left: 391px; |
|
|
bottom: 427px; |
|
|
bottom: 427px; |
|
|
background: rgba(255, 255, 255, 0.8); |
|
|
|
|
|
|
|
|
background: var(--brand-qrcodeBg, rgba(255, 255, 255, 0.8)); |
|
|
box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.2); |
|
|
box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.2); |
|
|
backdrop-filter: blur(7px); |
|
|
backdrop-filter: blur(7px); |
|
|
border-radius: var(--global-radius, 12px); |
|
|
border-radius: var(--global-radius, 12px); |
|
|
@ -261,7 +267,7 @@ const deactivate = () => store.SET_SHOP(null) |
|
|
height: 56px; |
|
|
height: 56px; |
|
|
right: 8px; |
|
|
right: 8px; |
|
|
top: 8px; |
|
|
top: 8px; |
|
|
background: center / cover no-repeat url(./close.png); |
|
|
|
|
|
|
|
|
background: center / cover no-repeat; |
|
|
} |
|
|
} |
|
|
.qrcode { |
|
|
.qrcode { |
|
|
width: 150px; |
|
|
width: 150px; |
|
|
@ -277,7 +283,7 @@ const deactivate = () => store.SET_SHOP(null) |
|
|
line-height: 23px; |
|
|
line-height: 23px; |
|
|
text-align: center; |
|
|
text-align: center; |
|
|
margin-top: 27px; |
|
|
margin-top: 27px; |
|
|
color: rgba(0, 0, 0, 0.8); |
|
|
|
|
|
|
|
|
color: var(--brand-qrcodeTextColor, rgba(0, 0, 0, 0.8)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|