refactor(app): 优化二维码生成逻辑和首页布局
- 修正了个人二维码生成 URL 的拼写错误 - 调整了首页拍卖详情中的物品数量显示格式 - 移除了未使用的签名板组件依赖
This commit is contained in:
parent
548e2b697a
commit
502927033b
@ -21,7 +21,7 @@ const itemLabel=(data)=>{
|
||||
return statusLabel.find(x=>x.value===data.payStatus)
|
||||
}
|
||||
const getQRBase64 = async () => {
|
||||
const url=`${window.location.origin}/collectCode/signature/personal-Info?number=2&qrUid=${props.data.qrUid}}`
|
||||
const url=`${window.location.origin}/collectCode/signature/personal-Info?number=2&qrUid=${props.data.qrUid}`
|
||||
try {
|
||||
return await QRCode.toDataURL(url, {
|
||||
width: 200,
|
||||
|
@ -24,7 +24,7 @@ await getAuctionDetail()
|
||||
<div v-if="auctionDetail.isLiving===1" class="absolute h-188px w-screen pt-36px flex flex-col text-#fff top-0 left-0 items-center">
|
||||
<div class="text-18px mb-5px">{{ auctionDetail.title }}</div>
|
||||
<div class="text-12px mb-54px">{{ $t('home.text1') }}<van-icon name="arrow" /></div>
|
||||
<div><span>-</span> <span class="text-12px mx-5px">{{auctionDetail.totalNum}}{{ auctionDetail.totalNum }}{{ $t('common.items') }}{{ $t('common.auction') }}</span> <span>-</span></div>
|
||||
<div><span>-</span> <span class="text-12px mx-5px">{{auctionDetail.totalNum}}{{ $t('common.items') }}{{ $t('common.auction') }}</span> <span>-</span></div>
|
||||
<div class="text-12px">{{auctionDetail.startDate}} {{$t('home.text2')}}</div>
|
||||
</div>
|
||||
<div v-else class="absolute h-188px w-screen pt-36px flex flex-col text-#fff top-0 left-0 items-center bg-[url('@/static/images/z6022@2x.png')]">
|
||||
|
@ -23,7 +23,6 @@
|
||||
"dependencies": {
|
||||
"@fingerprintjs/fingerprintjs": "^4.5.1",
|
||||
"@nuxtjs/i18n": "^9.1.1",
|
||||
"@selemondev/vue3-signature-pad": "^1.1.5",
|
||||
"@vueuse/core": "^12.4.0",
|
||||
"aliyun-aliplayer": "^2.28.5",
|
||||
"axios": "^1.7.9",
|
||||
|
@ -17,9 +17,6 @@ importers:
|
||||
'@nuxtjs/i18n':
|
||||
specifier: ^9.1.1
|
||||
version: 9.2.0(@vue/compiler-dom@3.5.13)(eslint@9.20.1(jiti@2.4.2))(magicast@0.3.5)(rollup@4.34.6)(typescript@5.7.3)(vue@3.5.13(typescript@5.7.3))
|
||||
'@selemondev/vue3-signature-pad':
|
||||
specifier: ^1.1.5
|
||||
version: 1.1.5(vue@3.5.13(typescript@5.7.3))
|
||||
'@vueuse/core':
|
||||
specifier: ^12.4.0
|
||||
version: 12.6.1(typescript@5.7.3)
|
||||
@ -1259,11 +1256,6 @@ packages:
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@selemondev/vue3-signature-pad@1.1.5':
|
||||
resolution: {integrity: sha512-AJxajgLzeKQ/fDr4605vCJt44BucFLLKLmQ1XMUDajFu3C8mkSqmnDzpb6EM1GbZxXxAxEFA4pPHoQ8tuT0Pow==}
|
||||
peerDependencies:
|
||||
vue: ^3.2.0
|
||||
|
||||
'@sindresorhus/merge-streams@2.3.0':
|
||||
resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
|
||||
engines: {node: '>=18'}
|
||||
@ -3850,9 +3842,6 @@ packages:
|
||||
signature_pad@3.0.0-beta.4:
|
||||
resolution: {integrity: sha512-cOf2NhVuTiuNqe2X/ycEmizvCDXk0DoemhsEpnkcGnA4kS5iJYTCqZ9As7tFBbsch45Q1EdX61833+6sjJ8rrw==}
|
||||
|
||||
signature_pad@5.0.4:
|
||||
resolution: {integrity: sha512-nngOixbwLAUOuH3QnZwlgwmynQblxmo4iWacKFwfymJfiY+Qt+9icNtcIe/okqXKun4hJ5QTFmHyC7dmv6lf2w==}
|
||||
|
||||
simple-git@3.27.0:
|
||||
resolution: {integrity: sha512-ivHoFS9Yi9GY49ogc6/YAi3Fl9ROnF4VyubNylgCkA+RVqLaKWnDSzXOVzya8csELIaWaYNutsEuAhZrtOjozA==}
|
||||
|
||||
@ -5789,12 +5778,6 @@ snapshots:
|
||||
'@rollup/rollup-win32-x64-msvc@4.34.6':
|
||||
optional: true
|
||||
|
||||
'@selemondev/vue3-signature-pad@1.1.5(vue@3.5.13(typescript@5.7.3))':
|
||||
dependencies:
|
||||
nanoid: 5.0.9
|
||||
signature_pad: 5.0.4
|
||||
vue: 3.5.13(typescript@5.7.3)
|
||||
|
||||
'@sindresorhus/merge-streams@2.3.0': {}
|
||||
|
||||
'@tootallnate/quickjs-emscripten@0.23.0':
|
||||
@ -8918,8 +8901,6 @@ snapshots:
|
||||
|
||||
signature_pad@3.0.0-beta.4: {}
|
||||
|
||||
signature_pad@5.0.4: {}
|
||||
|
||||
simple-git@3.27.0:
|
||||
dependencies:
|
||||
'@kwsites/file-exists': 1.1.1
|
||||
|
Loading…
Reference in New Issue
Block a user