| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874 |
- <template>
- <cwg-page-wrapper class="create-page" :isHeaderFixed="true" :bgColor="'#f8f9f9'">
- <cwg-header :title="t('Home.page_ib.item1')" />
- <uni-row class="demo-uni-row uni-row1">
- <uni-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
- <view class="dashboard-container">
- <!-- 余额卡片 -->
- <view class="card balance-card">
- <view class="card-header">
- <view class="header-left">
- <cwg-icon name="qbye" :size="24" />
- <text class="header-title">{{ t('news_add_field.Label.Balance') }}</text>
- </view>
- <view class="header-right">
- <cwg-dropdown :menu-list="menuList" @menuClick="handleMenuClick">
- <view class="pc-header-btn">
- <cwg-icon name="crm-ellipsis" :size="24" />
- </view>
- </cwg-dropdown>
- </view>
- </view>
- <view class="balance-content">
- <view class="balance-main">
- <text class="balance-currency">$</text>
- <text class="balance-amount">{{ balanceInt }}</text>
- <text class="balance-decimal">.{{ balanceDecimal }}</text>
- </view>
- <view class="total-earnings">
- <text class="total-label">{{ t('Ib.Index.TotalRevenue') }}</text>
- <text class="total-value">{{ ibData.all }}</text>
- </view>
- </view>
- </view>
- <!-- 开户链接 -->
- <view class="card partner-card">
- <view class="card-header">
- <view class="header-left">
- <cwg-icon name="crm-share-nodes" :size="24" />
- <text class="header-title">{{ t('Ib.Index.Link') }}</text>
- </view>
- </view>
- <view class="partner-content">
- <view class="link-area">
- <button class="link-btn" @click="LinkActivity1">
- {{ t('Ib.Index.CreateLink') }}
- </button>
- <!-- <button class="link-btn" @click="LinkActivity">-->
- <!-- {{ t('Ib.Index.CreateLinkActivity') }}-->
- <!-- </button>-->
- </view>
- </view>
- </view>
- <!-- 名下客户 -->
- <view class="card custom-card">
- <view class="card-header">
- <view class="header-left">
- <cwg-icon name="crm-custom" :size="24" />
- <text class="header-title">{{ t('Ib.Index.NameCustom') }}</text>
- </view>
- </view>
- <view class="custom-content">
- <view class="con" @click="toCustomManagement">
- <view class="num">
- {{ ibData.customAmount }}
- </view>
- <view class="des">
- {{ t('Ib.Index.Custom') }}
- </view>
- </view>
- <view class="con" @click="toIbManagement">
- <view class="num">
- {{ ibData.ibAmount }}
- </view>
- <view class="des">
- {{ t('Ib.Index.Agent') }}
- </view>
- </view>
- </view>
- </view>
- <!-- 归属推荐码 -->
- <!-- <view class="card code-card">
- <view class="card-header">
- <view class="header-left">
- <text class="header-title">{{ t('Tips.AttributionCode') }}</text>
- <uni-tooltip placement="top">
- <text class="icon-tip">?</text>
- <template v-slot:content>
- <view style="width: 100px;">
- {{ t('Tips.tips') }}
- </view>
- </template>
- </uni-tooltip>
- </view>
- </view>
- <view class="code-content">
- <uni-easyinput class="code-input" :disabled="true" v-model="getInfoId" :clearable="false"></uni-easyinput>
- <button class="link-btn">{{ t('Ib.Index.Copy') }}</button>
- </view>
- </view>-->
- </view>
- </uni-col>
- </uni-row>
- <!-- 二维码弹窗 -->
- <cwg-popup ref="linkPopup" type="center" :title="t('Ib.Index.CreateLink')" :showFooters="false" showFooterLine>
- <view class="dia-content">
- <view class="content" style="font-size: 14px; text-align: left">
- <view class="label">{{ t('Ib.Index.Spread5') }} :</view>
- <cwg-combox
- v-model="excludeShowLoginTypes"
- :multiple="true"
- :options="excludeList"
- :placeholder="t('placeholder.choose')"
- @change="handleChange"
- />
- <view class="label">{{ t('Ib.Index.Spread4') }} :</view>
- <cwg-combox
- v-model:value="selectedSpreadId"
- :options="spreadList.map(item => ({
- value: item.id,
- text: t('Ib.Index.Commission') + ':' + item.comPoint +
- (levelNum === 1 ? '-' + t('Ib.Index.Hide') + ':' + item.hide :
- (fixedHide === 1 ? '' : '-' + t('Ib.Index.Hide') + ':' + item.hide))
- }))"
- :placeholder="t('placeholder.choose')"
- />
- <view class="label">{{ t('Ib.Index.IbInvalid') }}</view>
- <cwg-combox
- v-model:value="ibInvalid"
- :options="[
- { value: 'B0', text: t('Ib.Custom.Allow') },
- { value: 'B1', text: t('Ib.Custom.NotAllow') }
- ]"
- :placeholder="t('placeholder.choose')"
- />
- <view>
- <text style="line-height: 1.5">{{ t('ApplicationDialog.item1') }}</text>
- </view>
- <view>
- <text style="line-height: 1.5">{{ t('ApplicationDialog.item2') }}</text>
- <a
- :href="country == 'NG' || country == 'TH' || country == 'LA'
- ? `pdf/pdf6/all/Account Type Allocation Table - ${lang}.pdf`
- : `pdf/pdf6/no/Account Type Allocation Table-${lang}.pdf`"
- target="_blank"
- >
- {{ t('ApplicationDialog.item3') }}
- </a>
- </view>
- <view class="btn">
- <button
- class="crm-cursor"
- @click="CreateLink"
- >{{ t('Ib.Index.CreateLink') }}
- </button>
- </view>
- <view class="link qrCode" v-if="link">
- <QrCode
- ref="qrCode"
- :text="link"
- :width="200"
- :height="200"
- />
- <view class="btn">
- <button
- class="crm-cursor"
- style="height: 16px"
- @click="downloadQrCode()"
- >{{ t('Btn.item9') }}
- </button>
- </view>
- </view>
- <view class="link">
- <uni-easyinput
- disabled
- v-model="link"
- />
- <button class="btn" @click="CopyShareLink(link)">
- {{ t('Ib.Index.Copy') }}
- </button>
- </view>
- </view>
- </view>
- </cwg-popup>
- <!-- 活动链接弹窗 -->
- <cwg-popup ref="linkActivityPopup" type="center" :title="t('Ib.Index.CreateLinkActiv')" :showFooters="false"
- showFooterLine>
- <view class="dia-content">
- <view class="content" style="font-size: 14px; text-align: left">
- <view class="label">{{ t('Ib.Index.ChooseActiv') }}</view>
- <cwg-combox
- v-model:value="activityLing"
- :options="agentLinkList.map(item => ({ value: item.link, text: item.name }))"
- :placeholder="t('Ib.Index.ChooseActiv')"
- />
- <view class="label">{{ t('Ib.Index.Spread5') }} :</view>
- <cwg-combox
- v-model:value="excludeShowLoginTypes"
- :multiple="true"
- :options="excludeList"
- :placeholder="t('placeholder.choose')"
- @change="handleChange"
- />
- <view class="label">{{ t('Ib.Index.Spread4') }} :</view>
- <cwg-combox
- v-model:value="selectedSpreadId"
- :options="spreadList.map(item => ({
- value: item.id,
- text: t('Ib.Index.Commission') + ':' + item.comPoint +
- (levelNum === 1 ? '-' + t('Ib.Index.Hide') + ':' + item.hide :
- (fixedHide === 1 ? '' : '-' + t('Ib.Index.Hide') + ':' + item.hide))
- }))"
- :placeholder="t('placeholder.choose')"
- />
- <view class="label">{{ t('Ib.Index.IbInvalid') }}</view>
- <cwg-combox
- v-model:value="ibInvalid"
- :options="[
- { value: 'B0', text: t('Ib.Custom.Allow') },
- { value: 'B1', text: t('Ib.Custom.NotAllow') }
- ]"
- :placeholder="t('placeholder.choose')"
- />
- <view>
- <text style="line-height: 1.5">{{ t('ApplicationDialog.item1') }}</text>
- </view>
- <view>
- <text style="line-height: 1.5">{{ t('ApplicationDialog.item2') }}</text>
- <a
- :href="country == 'NG' || country == 'TH' || country == 'LA' || isAfterJuly7()
- ? `pdf/pdf6/all/Account Type Allocation Table - ${lang}.pdf`
- : `pdf/pdf6/no/Account Type Allocation Table-${lang}.pdf`"
- target="_blank"
- >
- {{ t('ApplicationDialog.item3') }}
- </a>
- </view>
- <view class="btn">
- <button
- class="crm-cursor"
- @click="CreateActivityLink"
- >{{ t('Ib.Index.CreateLinkActivity') }}
- </button>
- </view>
- <view class="link qrCode" v-if="linkActivity">
- <QrCode
- ref="qrCode1"
- :text="linkActivity"
- :width="200"
- :height="200"
- />
- <view class="btn">
- <button
- class="crm-cursor"
- @click="downloadQrCode(1)"
- >{{ t('Btn.item9') }}
- </button>
- </view>
- </view>
- </view>
- </view>
- </cwg-popup>
- </cwg-page-wrapper>
- </template>
- <script setup>
- import { ref, computed, watch, onMounted } from 'vue'
- import { useI18n } from 'vue-i18n'
- import useRouter from '@/hooks/useRouter'
- import { ibApi } from '@/service/ib'
- import config from '@/config/index'
- import useUserStore from '@/stores/use-user-store'
- import { useStorage } from '@/hooks/useStorage'
- import QrCode from '@/components/QrCode.vue'
- import { useFilters } from '@/composables/useFilters'
- const { t } = useI18n()
- const router = useRouter()
- const { Code } = config
- const { userInfo } = useUserStore()
- const { numberFormat } = useFilters()
- // 数据
- const totalEarnings = ref(0.00)
- const partnerLink = ref('https://one.exnessonelink.com/a/plokue4yj3')
- const partnerCode = ref('PLOKUE4YJ3')
- const activeTab = ref('link') // 'link' 或 'code'
- const ibData = ref({
- customAmount: 0,
- ibAmount: 0,
- },
- )
- const selectedSpreadId = ref('')
- const spreadList = ref([])
- const excludeShowLoginTypes = ref([])
- const pammManagerValid = ref()
- const menuList = ref([
- { label: t('Custom.Index.Withdrawals'), type: 1 },
- { label: t('Custom.Index.Transfer'), type: 2 },
- ])
- const excludeList = ref([])
- const excludeLists = ref([
- { text: t('AccountType.SeniorAccount'), value: '2' },
- // {text: t('AccountType.SeniorAccount'),value: '3'},
- { text: t('AccountType.StandardAccount'), value: '7' },
- { text: t('AccountType.CentAccount'), value: '8' },
- ])
- const link = ref('')
- const loginTypes = ref('')
- const ibInvalid = ref('B0')
- const qrCode = ref(null)
- const qrCode1 = ref(null)
- // 语言
- const lang = useStorage('lang')
- const flag = ref(false)
- const agentLinkList = ref([])
- const activityLing = ref('')
- const linkActivity = ref('')
- const commission = ref('')
- const linkActivityPopup = ref(null)
- // 开户链接
- const linkPopup = ref(null)
- const qrSize = ref(200)
- const levelNum = computed(() => {
- return userInfo.ibInfo.levelNum
- })
- const fixedHide = computed(() => {
- return userInfo.ibInfo.fixedHide
- })
- const getInfoId = computed(() => {
- return userInfo.ibInfo.id
- })
- const balanceInt = computed(() => {
- return numberFormat(ibData.value?.balance || 0, true)[0]
- })
- const balanceDecimal = computed(() => {
- return numberFormat(ibData.value?.balance || 0, true)[1]
- })
- // 国家
- const country = computed(() => {
- console.log(userInfo.customInfo.country, '2')
- return userInfo.customInfo.country
- })
- // 修改多选
- const handleChange = (val) => {
- excludeShowLoginTypes.value = val
- }
- const isAfterJuly7 = () => {
- const currentDate = new Date()
- const july7 = new Date(currentDate.getFullYear(), 6, 7) // 月份从0开始,6表示7月
- return currentDate >= july7
- }
- const getValidAccountTypes = (selectedExcludeValues, selectedSpreadId) => {
- const spread = spreadList.value.find(
- (item) => item.id === selectedSpreadId,
- )
- let data = {
- hide: '',
- commission: '',
- excludeShowLoginTypes: [],
- }
- if (!spread) return data
- const validValues = selectedExcludeValues.filter((value) =>
- spread.loginTypes.includes(value),
- )
- const invalidValues = selectedExcludeValues.filter(
- (value) => !spread.loginTypes.includes(value),
- )
- const invalidLabels = excludeList.value
- .filter((item) => invalidValues.includes(item.value))
- .map((item) => item.label)
- const excludeTypes = excludeLists.value
- .filter((item) => !validValues.includes(item.value))
- .map((item) => item.value)
- loginTypes.value = invalidLabels.join('、')
- return {
- hide: spread.hide,
- commission: spread.comPoint,
- excludeShowLoginTypes: excludeTypes,
- invalidLabels,
- invalidValues,
- }
- }
- const downloadQrCode = (type = 0) => {
- if (type === 1) {
- qrCode1.value.download()
- } else {
- qrCode.value.download()
- }
- }
- // 复制
- const CopyShareLink = (value) => {
- uni.setClipboardData({ data: value })
- }
- const getLink1 = async () => {
- console.log(excludeShowLoginTypes.value, 2)
- if (excludeShowLoginTypes.value.length == 0) {
- uni.showToast({
- title: t('Ib.Index.Spread5'), icon: 'none',
- })
- link.value = ''
- return
- }
- if (!selectedSpreadId.value.length) {
- uni.showToast({
- title: t('Ib.Index.Spread4'), icon: 'none',
- })
- link.value = ''
- return
- }
- const validList = getValidAccountTypes(
- excludeShowLoginTypes.value,
- selectedSpreadId.value,
- )
- if (validList.invalidLabels.length > 0) {
- return new Promise((resolve) => {
- uni.showModal({
- title: t('Msg.SystemPrompt'),
- content: `${t('Ib.Index.Spread1')}${
- loginTypes.value
- }${t('')}`,
- confirmText: t('Btn.Confirm'),
- cancelText: t('Btn.Cancel'),
- success: async (res) => {
- if (res.confirm) {
- const res = await ibApi.customLink(validList)
- if (res.code === Code.StatusOK) {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- })
- resolve(res.data)
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- })
- resolve('')
- }
- }
- },
- fail: () => resolve(''),
- })
- })
- } else {
- const res = await ibApi.customLink(validList)
- if (res.code === Code.StatusOK) {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- })
- return res.data
- } else {
- uni.showToast({
- title: res.msg,
- icon: 'none',
- })
- return ''
- }
- }
- }
- const CreateLink = async () => {
- const linkValue = await getLink1()
- if (!linkValue) return
- link.value = `${Host80}/#/signup/${getInfoId.value}/${linkValue}/${ibInvalid.value}`
- }
- const loginTypeList = async () => {
- const res = await ibApi.loginTypeList(
- {
- page: {
- current: 1,
- row: 100,
- },
- },
- )
- if (res.code === Code.StatusOK) {
- spreadList.value = res.data
- } else {
- uni.showToast({ title: res.msg, icon: 'none' })
- }
- }
- const getAgentAccountSetting = async () => {
- const { agentAccountSetting = '' } = userInfo.ibInfo ?? {}
- if (agentAccountSetting === 0) {
- const excludeValues = userInfo.customInfo.excludeShowLoginTypes
- try {
- excludeList.value = excludeLists.value.filter(
- (item) => !excludeValues.includes(item.value),
- )
- excludeShowLoginTypes.value = []
- } catch (e) {
- excludeShowLoginTypes.value = []
- excludeList.value = excludeLists.value
- }
- } else {
- excludeShowLoginTypes.value = []
- excludeList.value = excludeLists.value
- }
- }
- // 生成开户链接
- const LinkActivity1 = async () => {
- // 跳转到开户链接页面
- uni.navigateTo({
- url: '/pages/ib/linkList',
- })
- }
- // 生成活动分享链接
- const LinkActivity = async () => {
- if (flag.value) {
- } else {
- flag.value = true
- }
- let res = await ibApi.marketAgentLinkList({})
- if (res.code === Code.StatusOK) {
- agentLinkList.value = res.data ?? []
- loginTypeList()
- getAgentAccountSetting()
- activityLing.value = ''
- linkActivity.value = ''
- commission.value = 0
- ibInvalid.value = 'B0'
- linkActivityPopup.value.open()
- flag.value = false
- }
- }
- const CreateActivityLink = async () => {
- if (!activityLing.value) {
- uni.showToast({ title: t('Ib.Index.ChooseActiv'), icon: 'error' })
- return
- }
- const linkValue = await getLink1()
- if (!linkValue) return
- if (activityLing.value.indexOf('http') > -1) {
- if (activityLing.value.indexOf('?') > -1) {
- linkActivity.value =
- activityLing.value +
- '&mmdi=' +
- getInfoId.value +
- '&mmF=' +
- linkValue +
- '&mmB=' +
- ibInvalid.value
- } else {
- linkActivity.value =
- activityLing.value +
- '?mmdi=' +
- getInfoId.value +
- '&mmF=' +
- linkValue +
- '&mmB=' +
- ibInvalid.value
- }
- } else {
- if (activityLing.value.indexOf('?') > -1) {
- linkActivity.value =
- Host80 +
- '/' +
- activityLing.value +
- '&mmdi=' +
- getInfoId.value +
- '&mmF=' +
- linkValue +
- '&mmB=' +
- ibInvalid.value
- } else {
- linkActivity.value =
- Host80 +
- '/' +
- activityLing.value +
- '?mmdi=' +
- getInfoId.value +
- '&mmF=' +
- linkValue +
- '&mmB=' +
- ibInvalid.value
- }
- }
- }
- const handleMenuClick = ({ value }) => {
- console.log(value.type)
- if (value.type === 1) {
- toWithdraw()
- } else {
- toTransfer()
- }
- }
- const toWithdraw = () => {
- router.push({
- path: '/pages/ib/withdraw',
- },
- )
- }
- const toTransfer = () => {
- router.push({
- path: '/pages/ib/transfer',
- },
- )
- }
- const toCustomManagement = () => {
- router.push({
- path: '/pages/ib/customer',
- query: { type: 3 },
- },
- )
- }
- const toIbManagement = () => {
- router.push({
- path: '/pages/ib/subsList',
- query: { type: 2 },
- },
- )
- }
- const getIbData = async () => {
- const res = await ibApi.IbData()
- if (res.code === Code.StatusOK) {
- if (res.data != null)
- ibData.value = res.data
- } else {
- uni.showToast({ title: res.msg, icon: 'none' })
- }
- }
- const getPammManagerValid = async () => {
- const res = await ibApi.mamApplyPammManagerValid()
- if (res.code === Code.StatusOK) {
- if (res.data != null)
- pammManagerValid.value = res.data
- } else {
- uni.showToast({ title: res.msg, icon: 'none' })
- }
- }
- onMounted(() => {
- // 初始化数据
- getIbData()
- getPammManagerValid()
- })
- </script>
- <style lang="scss" scoped>
- @import "@/uni.scss";
- .dashboard-container {
- min-height: 100vh;
- box-sizing: border-box;
- }
- /* 卡片通用样式 */
- .card {
- background: var(--color-white);
- color: #333;
- padding: px2rpx(12) px2rpx(16);
- border-radius: 4px;
- margin-bottom: px2rpx(20);
- box-shadow: 0 px2rpx(4) px2rpx(12) rgba(0, 0, 0, 0.2);
- }
- .card-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: px2rpx(12);
- }
- .header-left {
- display: flex;
- align-items: center;
- gap: 12rpx;
- }
- .header-title {
- font-size: px2rpx(14);
- font-weight: 600;
- }
- .header-right {
- display: flex;
- align-items: center;
- }
- .action-btn {
- background: #ffde02;
- border: none;
- border-radius: 50%;
- width: px2rpx(32);
- height: px2rpx(32);
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0;
- margin: 0;
- &:after {
- border: none;
- }
- }
- /* 余额区域 */
- .balance-content {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 16rpx;
- }
- .balance-main {
- display: flex;
- align-items: baseline;
- flex-wrap: wrap;
- }
- .balance-amount {
- font-size: px2rpx(20);
- font-weight: 700;
- line-height: 1;
- }
- .balance-decimal {
- font-size: px2rpx(16);
- font-weight: 500;
- line-height: 1;
- }
- .balance-currency {
- font-size: px2rpx(16);
- font-weight: 500;
- }
- .total-earnings {
- display: flex;
- gap: 12px;
- color: rgba(20, 29, 34, 0.6);
- font-size: px2rpx(12);
- }
- .total-value {
- }
- /* 合作伙伴卡片 */
- .partner-content {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .link-area {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- align-items: center;
- gap: 12px;
- }
- .link-btn {
- height: px2rpx(32);
- background-color: rgb(108, 133, 149);
- line-height: px2rpx(32);
- color: var(--color-white);
- border-radius: px2rpx(16);
- font-size: px2rpx(14);
- margin: 0;
- }
- .code-content {
- display: flex;
- justify-content: center;
- }
- .code-input {
- width: 50%;
- max-width: px2rpx(178);
- margin-right: px2rpx(20);
- }
- .custom-content {
- display: flex;
- justify-content: space-around;
- flex-wrap: wrap;
- .con {
- cursor: pointer;
- text-align: center;
- font-size: px2rpx(16);
- margin: 5px;
- }
- .num {
- font-weight: bold;
- }
- .des {
- margin-top: px2rpx(5);
- }
- }
- .dia-content {
- padding: 20rpx;
- }
- .content {
- display: flex;
- flex-direction: column;
- gap: 20rpx;
- }
- .label {
- font-weight: 500;
- margin-bottom: 8rpx;
- }
- .btn {
- margin-top: 16rpx;
- text-align: center;
- }
- .crm-cursor {
- cursor: pointer;
- }
- .link {
- display: flex;
- margin-top: 20rpx;
- .btn {
- display: flex;
- align-items: center;
- justify-content: center;
- height: px2rpx(35);
- margin: 0 px2rpx(10);
- }
- }
- .qrCode {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 16rpx;
- }
- </style>
|