裂变星小程序-25.03.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

55 lines
890 B

<template>
<uv-popup
ref="popup"
:overlayOpacity="0.8"
mode="bottom"
round="20rpx"
>
<view class="flex qr-popup">
<text class="tips">长按识别二维码了解更多内容</text>
<image class="qr" :src="src" :show-menu-by-longpress="true"></image>
</view>
</uv-popup>
</template>
<script>
export default {
props: {
src: {
type: String,
default: null
}
},
data() {
return {
}
},
methods: {
open() {
this.$refs.popup.open();
},
close() {
this.$refs.popup.close();
},
},
}
</script>
<style scoped lang="scss">
.qr-popup {
flex-direction: column;
padding-bottom: 104rpx;
.tips {
margin-top: 75rpx;
color: #1B1B1B;
font-size: 32rpx;
}
.qr {
margin-top: 40rpx;
width: 350rpx;
height: 350rpx;
}
}
</style>