| | |
| | | <div class="promotion-qrcode-content" :style="barStyle"> |
| | | <div |
| | | class="promotion-qrcode-content-qrcode" |
| | | :style="{ backgroundImage: `url(${OssAssets.common.PromotionQrcodeContentBG})` }" |
| | | :style="{ backgroundImage: `url(${OssAssets.common.PromotionQrcodeCodeBG})` }" |
| | | > |
| | | <ShareQrcodeView :channles-num="userChannles[0]?.channlesNum" :size="148" /> |
| | | <ShareQrcodeView :channles-num="userChannles[0]?.channlesNum" :size="150" /> |
| | | <div class="promotion-qrcode-content-qrcode-tips">长按二维码分享好友</div> |
| | | </div> |
| | | <div class="promotion-qrcode-content-btn">点击下载二维码</div> |
| | |
| | | <script setup lang="ts"> |
| | | import { ShareQrcodeView, ResultWithoutBG } from '@life-payment/components'; |
| | | import { useLifeRechargeContext } from '@life-payment/core-vue'; |
| | | import { isWeb } from '@/utils/env'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { useSystemStore } from '@/stores/modules/system'; |
| | | import { CSSProperties } from 'vue'; |
| | | import { CSSProperties, useTemplateRef } from 'vue'; |
| | | import { OssAssets } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | |
| | | |
| | | .promotion-qrcode-page-wrapper { |
| | | .promotion-qrcode-content { |
| | | margin-top: 306px; |
| | | margin-top: 400px; |
| | | width: 100%; |
| | | height: 788px; |
| | | background-size: 100% 100%; |
| | |
| | | } |
| | | |
| | | .promotion-qrcode-content-qrcode { |
| | | width: 432px; |
| | | height: 432px; |
| | | width: 440px; |
| | | height: 438px; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | background-size: 100% 100%; |
| | | background-repeat: no-repeat; |
| | | position: relative; |
| | |
| | | } |
| | | |
| | | .share-qrcode-view { |
| | | margin-top: 60px; |
| | | margin-top: -20px; |
| | | padding: 0; |
| | | } |
| | | } |