Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7bf0ee37
authored
Aug 08, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能开发
1 parent
23235a0c
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
114 additions
and
114 deletions
src/router/modules/914_pointManagement.js
src/views/systemConfig/ShopConfig/components/qRcodeDialog.vue
src/views/systemConfig/images/alipay.png
src/views/systemConfig/images/code1.png
src/views/systemConfig/images/code2.png
src/views/systemConfig/images/code3.png
src/views/systemConfig/merchant/components/qRcodeDialog.vue
src/views/systemConfig/merchant/financialRules/components/channelSelectDialog.vue
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
src/views/systemConfig/merchant/financialRules/components/financialCalculationDialog.vue
src/views/systemConfig/merchant/financialRules/index.vue
src/views/systemConfig/merchant/merchantStep/components/ledgerAccount.vue
src/views/systemConfig/ruleReview/components/ledgerAccount.vue
src/views/systemConfig/yqStoreManage/images/alipay.png
src/views/systemConfig/yqStoreManage/images/code1.png
src/views/systemConfig/yqStoreManage/images/code2.png
src/views/systemConfig/yqStoreManage/images/code3.png
src/views/systemConfig/yqStoreManage/qRcodeDialog.vue
src/router/modules/914_pointManagement.js
View file @
7bf0ee3
const
_import
=
require
(
"@/libs/util.import."
+
process
.
env
.
NODE_ENV
)
export
const
routerName
=
{
914
:
{
...
...
@@ -80,7 +79,6 @@ export const routerName = {
parentId
:
"91402"
}
]
},
{
...
...
@@ -103,8 +101,7 @@ export const routerName = {
parentId
:
"91402"
}
]
},
}
],
component
:
_import
(
"pointManagement/pointParticulars"
)
},
...
...
@@ -132,5 +129,5 @@ export const routerName = {
activePath
:
"/pointParticulars"
},
component
:
_import
(
"pointManagement/addDeduction"
)
}
,
}
}
src/views/systemConfig/ShopConfig/components/qRcodeDialog.vue
View file @
7bf0ee3
<
template
>
<d2-dialog
title=
"收款二维码"
:is-visible=
"qRcodeVisible"
class=
"qRcodeDailog"
width=
"750px"
btn-ok-label=
"全部下载"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<d2-dialog
title=
"收款二维码"
:is-visible=
"qRcodeVisible"
class=
"qRcodeDailog"
width=
"750px"
btn-ok-label=
"全部下载"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<div
class=
"qrcon"
>
<div
class=
"wxcon"
>
<div
class=
"codeDiv"
id=
"wxview"
>
<img
style=
"width:100%;height:100%"
src=
"../../images/code3.png"
>
<div
class=
"codeDiv"
id=
"wxview"
>
<img
style=
"width:100%;height:100%"
src=
"../../images/code3.png"
>
<!-- v-if="qrCodeURL"
<div
class=
"imgDiv"
>
-->
<img
v-if=
"qrCodeURL"
class=
"qrImg"
crossorigin=
"anonymous"
:src=
"qrCodeURL"
>
<img
v-if=
"qrCodeURL"
class=
"qrImg"
crossorigin=
"anonymous"
:src=
"qrCodeURL"
>
<!-- crossorigin="anonymous" -->
<div
v-if=
"!qrCodeURL"
class=
"el-icon-loading loadingIcon"
/>
<div
v-if=
"!qrCodeURL"
class=
"el-icon-loading loadingIcon"
/>
<!--
</div>
-->
<div
class=
"merchantNameDiv"
>
{{
info
.
merchantName
}}
</div>
</div>
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('wxview', `$
{info.merchantName}微信支付收款码`)">下载
</el-button>
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('wxview', `$
{info.merchantName}微信支付收款码`)">下载
</el-button>
</div>
<div
class=
"alicon"
>
<div
class=
"codeDiv"
id=
"aliview"
>
<img
style=
"width:100%;height:100%"
src=
"../../images/alipay.png"
>
<div
class=
"codeDiv"
id=
"aliview"
>
<img
style=
"width:100%;height:100%"
src=
"../../images/alipay.png"
>
<!--
<img
v-if=
"aliqrCodeURL"
class=
"qrImg imgs"
:src=
"aliqrCodeURL"
crossorigin=
"anonymous"
>
-->
<div
id=
"qrcodeDiv"
class=
"qrImg"
/>
<div
id=
"qrcodeDiv"
class=
"qrImg"
/>
<!-- -->
<!-- :src="aliqrCodeURL"> -->
<div
v-if=
"!aliqrCodeURL"
class=
"el-icon-loading loadingIcon"
/>
<div
v-if=
"!aliqrCodeURL"
class=
"el-icon-loading loadingIcon"
/>
<!--
</div>
-->
<div
class=
"merchantNameDiv"
>
{{
info
.
merchantName
}}
</div>
</div>
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('aliview', `$
{info.merchantName}支付宝支付收款码`)">下载
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('aliview', `$
{info.merchantName}支付宝支付收款码`)">下载
</el-button>
</div>
</div>
...
...
@@ -311,7 +294,7 @@ export default {
width
:
150px
;
height
:
150px
;
left
:
50%
;
top
:
4
2
%
;
top
:
4
0
%
;
/* transform: translateX(-50%); */
transform
:
translate
(
-50%
,
-50%
);
/* background-color: #d8d8d8; */
...
...
@@ -341,7 +324,7 @@ export default {
/* height: 20px; */
position
:
absolute
;
left
:
50%
;
top
:
6
3
%
;
top
:
6
0
%
;
transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
font-size
:
14px
;
...
...
src/views/systemConfig/images/alipay.png
View file @
7bf0ee3
29.1 KB
|
W:
|
H:
44.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/systemConfig/images/code1.png
deleted
100644 → 0
View file @
23235a0
11.3 KB
src/views/systemConfig/images/code2.png
deleted
100644 → 0
View file @
23235a0
27 KB
src/views/systemConfig/images/code3.png
View file @
7bf0ee3
16.7 KB
|
W:
|
H:
36.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/systemConfig/merchant/components/qRcodeDialog.vue
View file @
7bf0ee3
<
template
>
<d2-dialog
title=
"收款二维码"
:is-visible=
"qRcodeVisible"
class=
"qRcodeDailog"
width=
"750px"
btn-ok-label=
"全部下载"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
<div
class=
"qrcon"
>
<div
class=
"wxcon"
>
<div
class=
"codeDiv"
id=
"wxview"
>
...
...
@@ -13,7 +13,7 @@
<div
class=
"merchantNameDiv"
>
{{
info
.
merchantName
}}
</div>
</div>
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('wxview', `$
{info.merchantName}微信支付收款码`)">下载
</el-button>
@
click=
"takeScreenshot('wxview', `$
{info.merchantName}微信支付收款码`)">下载
</el-button>
</div>
<div
class=
"alicon"
>
<div
class=
"codeDiv"
id=
"aliview"
>
...
...
@@ -30,7 +30,7 @@
<div
class=
"merchantNameDiv"
>
{{
info
.
merchantName
}}
</div>
</div>
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('aliview', `$
{info.merchantName}支付宝支付收款码`)">下载
@
click=
"takeScreenshot('aliview', `$
{info.merchantName}支付宝支付收款码`)">下载
</el-button>
</div>
</div>
...
...
@@ -292,7 +292,7 @@ export default {
width
:
150px
;
height
:
150px
;
left
:
50%
;
top
:
4
2
%
;
top
:
4
0
%
;
/* transform: translateX(-50%); */
transform
:
translate
(
-50%
,
-50%
);
/* background-color: #d8d8d8; */
...
...
@@ -322,7 +322,7 @@ export default {
/* height: 20px; */
position
:
absolute
;
left
:
50%
;
top
:
6
3
%
;
top
:
6
0
%
;
transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
font-size
:
14px
;
...
...
src/views/systemConfig/merchant/financialRules/components/channelSelectDialog.vue
View file @
7bf0ee3
<!-- 分账测试渠道 -->
<
template
>
<d2-dialog
title=
"选择分账测试渠道"
:is-visible=
"verificationCodeVisible"
class=
"verificationCode"
width=
"750px"
btn-ok-label=
"申请虚拟对公账户"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<!--
<div
class=
"box"
v-for=
"(item, index) in accountValidMerchants"
:key=
"index"
>
-->
<el-radio-group
v-model=
"paymentChannelId"
class=
"radio-group"
>
<el-radio
:label=
"item.paymentChannelId"
v-for=
"(item, index) in divisionRuleTests"
:key=
"index"
>
{{
...
...
@@ -51,7 +51,7 @@ export default {
}
},
mounted
()
{
console
.
log
(
this
.
divisionRuleTests
,
'divisionRuleTests'
)
},
methods
:
{
...
mapActions
({
...
...
src/views/systemConfig/merchant/financialRules/components/classificationCpt.vue
View file @
7bf0ee3
...
...
@@ -964,6 +964,7 @@ export default {
}
}
return
{
channelSelectDialogVisible
:
false
,
divisionRuleTests
:
[],
financialCalculationVisible
:
false
,
tipsDialogVisible
:
false
,
...
...
@@ -1585,16 +1586,17 @@ export default {
// [34, 35, 36, 31].includes(subProgress)
// 需要做分账测算
if
(
divisionRuleTests
)
{
this
.
financialCalculation
Visible
=
true
this
.
financialCalculationObj
=
result
this
.
channelSelectDialog
Visible
=
true
this
.
divisionRuleTests
=
divisionRuleTests
}
console
.
log
(
"result"
,
result
)
})
},
channelConfirm
(
result
)
{
// if (divisionRuleTests) {
console
.
log
(
result
,
"result"
)
this
.
financialCalculationVisible
=
true
this
.
financialCalculationObj
=
result
this
.
financialCalculationObj
=
{
...
result
,
...
result
.
divisionRuleTestItem
}
// }
},
ruleTest
()
{
...
...
src/views/systemConfig/merchant/financialRules/components/financialCalculationDialog.vue
View file @
7bf0ee3
...
...
@@ -6,6 +6,9 @@
<p
class=
"edit-sub-title"
>
分账测试
<span
class=
"title-tips"
>
首次开启线上分账,需进行分账测试!
</span>
</p>
<p
class=
"edit-sub-title"
>
测试渠道:
{{
financialCalculationObj
.
paymentChannelName
}}
</p>
<div
class=
"account-card-block"
>
<div
class=
"card-title card-box"
>
<span
v-if=
"financialCalculationObj.subOrders[0].packageName"
>
...
...
@@ -64,11 +67,12 @@
<p
style=
"width: 88px;"
/>
<div
class=
"step-desc-box"
>
<p
class=
"desc-title"
>
POS机
扫码获取订单信息
微信
扫码获取订单信息
</p>
<!-- v-if="financialCalculationObj.orderCode" -->
<div
class=
"txt-box"
>
<div
id=
"qrcodeDiv"
class=
"qrImg"
/>
<img
:src=
"qrCodeURL"
class=
"qrImg"
alt=
""
>
</div>
</div>
<div
class=
"step-desc-box"
>
...
...
@@ -132,6 +136,7 @@
</template>
<
script
>
// import { sendSms, getAdminInfo } from '@api/merchant'
import
{
createWeappQrcode
}
from
'@api/serviceManage'
import
{
getWsUrlApi
,
divisionRuleTestMoneyValid
}
from
'@api/merchant'
import
{
limitPrice
}
from
'@/common/format'
import
QRCode
from
"qrcodejs2"
...
...
@@ -173,6 +178,7 @@ export default {
size
:
'small'
,
subProgress
:
0
,
// form: {},
qrCodeURL
:
''
,
goodsInfo
:
{},
wsUrl
:
''
,
socket
:
''
,
...
...
@@ -222,18 +228,28 @@ export default {
},
methods
:
{
initQrCode
()
{
setTimeout
(()
=>
{
// console.log(this.financialCalculationObj.orderCode)
// console.log(document.getElementById('qrcodeDiv'))
const
qrcode
=
new
QRCode
(
"qrcodeDiv"
,
{
text
:
this
.
financialCalculationObj
.
outTradeNo
,
width
:
150
,
// 图像宽度
height
:
150
// 图像高度
})
// qrcode.clear() // 清除二维码
// qrcode.makeCode(shareUrl) // 生成另一个新的二维码
// this.aliqrCodeURL = qrcode
},
500
)
// createQrcodeImage() {
const
oParams
=
{}
oParams
.
channelType
=
1
oParams
.
appId
=
this
.
financialCalculationObj
.
paymentChannelId
==
'8881A96B22B84A348263EE4F314A2A23'
?
'wx06d1198e751435d1'
:
'wx3d2ee7f8bda398cc'
oParams
.
qrcodeType
=
'QR_WXA_UNLIMIT'
oParams
.
path
=
'packagesPayment/pages/payment/index'
oParams
.
scene
=
`orderCode=
${
this
.
financialCalculationObj
.
orderCode
}
&workWxSessionId=11}`
// oParams.scene = `merchantId=${this.info.yqMerchantId}&merchantName=${this.info.yqMerchantName}&paymentChannelId=${this.paymentChannelId}`
createWeappQrcode
(
oParams
).
then
(
res
=>
{
console
.
log
(
res
,
'createWeappQrcode'
)
this
.
qrCodeURL
=
res
})
// },
// setTimeout(() => {
// // console.log(this.financialCalculationObj.orderCode)
// // console.log(document.getElementById('qrcodeDiv'))
// const qrcode = new QRCode("qrcodeDiv", {
// text: this.financialCalculationObj.outTradeNo,
// width: 150, // 图像宽度
// height: 150 // 图像高度
// })
// }, 500)
},
initMoneyForm
()
{
this
.
moneyForm
.
testMerchantDivisions
=
Object
.
assign
(
this
.
financialCalculationObj
.
testMerchantDivisions
)
...
...
@@ -370,9 +386,11 @@ export default {
this
.
$refs
.
moneyForm
.
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
const
params
=
{
goodsTypeGroupDivisionId
:
this
.
financialCalculationObj
.
goodsTypeGroupDivisionId
,
testMerchantDivisions
:
this
.
moneyForm
.
testMerchantDivisions
goodsTypeGroupDivisionId
:
this
.
financialCalculationObj
.
divisionRuleTestItem
.
goodsTypeGroupDivisionId
,
testMerchantDivisions
:
this
.
moneyForm
.
testMerchantDivisions
,
paymentChannelId
:
this
.
financialCalculationObj
.
paymentChannelId
}
console
.
log
(
"params"
,
params
)
divisionRuleTestMoneyValid
(
params
).
then
((
result
)
=>
{
console
.
log
(
result
,
'result'
)
const
{
subProgress
}
=
result
...
...
@@ -557,7 +575,7 @@ export default {
width
:
150px
;
height
:
150px
;
left
:
50%
;
top
:
4
2
%
;
top
:
4
0
%
;
/* transform: translateX(-50%); */
transform
:
translate
(
-50%
,
-50%
);
/* background-color: #d8d8d8; */
...
...
src/views/systemConfig/merchant/financialRules/index.vue
View file @
7bf0ee3
...
...
@@ -574,6 +574,7 @@ export default {
:
1
if
(
result
?.
divisionRuleAutos
.
length
)
{
console
.
log
()
const
list
=
[]
this
.
financialObj
.
divisionRuleAutos
.
forEach
((
item
)
=>
{
const
findItem
=
result
.
divisionRuleAutos
.
find
(
item2
=>
item
.
paymentChannelId
==
item2
.
paymentChannelId
)
...
...
@@ -753,6 +754,7 @@ export default {
const
testFlag
=
goodsTypeGroupRules
.
some
(
(
item
)
=>
item
.
testFlag
!=
"Y"
)
console
.
log
(
testFlag
,
autoFlag
,
'testFlag, autoFlag'
)
// 测试没通过的账号 线下分账无需校验
if
(
testFlag
&&
autoFlag
!=
"N"
)
{
let
frequency
=
0
// 没通过的账号
...
...
src/views/systemConfig/merchant/merchantStep/components/ledgerAccount.vue
View file @
7bf0ee3
...
...
@@ -11,7 +11,6 @@
</div>
<div
class=
"content"
v-for=
"(item, index) in items.goodsTypeGroupRules.filter((v, i) => i == activeType)"
:key=
"index + 'ledger'"
>
<!-- <template v-if="(activeType == index)"> -->
<div
class=
"part1"
>
<div
class=
"tit"
>
<div
class=
"line"
></div>
...
...
@@ -35,21 +34,31 @@
<div
class=
"line"
></div>
分账类型
</div>
<div
class=
"cont"
>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
分账类型:
</div>
<div
class=
"msg-val"
>
{{ getLederType(items.autoFlag, items.testFlag) }}
</div>
</div>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
分账周期:
</div>
<div
class=
"msg-val"
>
T + {{ items.settleTime }}
</div>
<div
class=
"cont channelList"
v-for=
"(child, childIndex) in items.divisionRuleAutos"
:key=
"childIndex"
>
<div
class=
"channel"
>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
分账渠道:
</div>
<div
class=
"msg-val"
>
{{ child.paymentChannelName }}
</div>
</div>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
分账类型:
</div>
<div
class=
"msg-val"
>
{{ getLederType(child.autoFlag, items.testFlag) }}
</div>
</div>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
分账周期:
</div>
<div
class=
"msg-val"
>
T + {{ child.settleTime }}
</div>
</div>
</div>
</div>
<div
class=
"cont"
>
<div
class=
"msg"
>
<div
class=
"msg-title"
>
金额分配设置:
</div>
<div
class=
"msg-val"
v-html=
"getDistribute(item.merchantDistributionRules)"
>
</div>
</div>
</div>
</div>
<div
class=
"part1 part3"
>
<div
class=
"tit"
>
...
...
@@ -635,6 +644,21 @@ export default {
</
script
>
<
style
lang=
'scss'
scoped
>
.merchant-checkdetail
.content
.part1
.channelList
{
padding-bottom
:
0px
;
.msg
{
flex
:
1
}
}
.channel
{
display
:
flex
;
justify-content
:
space-between
;
}
.content
{
.datePicker
{
position
:
absolute
;
...
...
src/views/systemConfig/ruleReview/components/ledgerAccount.vue
View file @
7bf0ee3
...
...
@@ -15,14 +15,18 @@
<div
class=
"content"
v-for=
"(item, index) in detailInfo.goodsTypeGroupRules.filter((v, i) => i == activeType)"
:key=
"index + 'ledger'"
>
<!-- <template v-if="(activeType == index)"> -->
<div
class=
"white-table"
>
<div
class=
"white-table"
v-for=
"(child, childIndex) in detailInfo.divisionRuleAutos"
:key=
"childIndex"
>
<div
class=
"type1"
>
<div
class=
"type-name"
>
分账渠道:
</div>
<div
class=
"type-val"
>
{{ child.paymentChannelName }}
</div>
</div>
<div
class=
"type1"
>
<div
class=
"type-name"
>
分账类型:
</div>
<div
class=
"type-val"
>
{{ getLederType(
detailInfo.autoFlag, detailInfo
.testFlag) }}
</div>
<div
class=
"type-val"
>
{{ getLederType(
child.autoFlag, child
.testFlag) }}
</div>
</div>
<div
class=
"type1"
>
<div
class=
"type-name"
>
分账周期:
</div>
<div
class=
"type-val"
>
T + {{
detailInfo
.settleTime }}
</div>
<div
class=
"type-val"
>
T + {{
child
.settleTime }}
</div>
</div>
</div>
<div
class=
"part1"
>
...
...
@@ -574,10 +578,10 @@ $color: #2a58ad;
.type1
{
display
:
flex
;
width
:
50
%
;
width
:
33
%
;
height
:
38px
;
line-height
:
38px
;
border-bottom
:
1px
solid
#e5e5e5
;
//
border-bottom
:
1px
solid
#e5e5e5
;
border-right
:
1px
solid
#e5e5e5
;
box-sizing
:
border-box
;
...
...
@@ -610,6 +614,10 @@ $color: #2a58ad;
}
}
.white-table
:nth-child
(
3
)
{
border-bottom
:
1px
solid
#e5e5e5
;
}
.content
{
.datePicker
{
position
:
absolute
;
...
...
src/views/systemConfig/yqStoreManage/images/alipay.png
View file @
7bf0ee3
29.1 KB
|
W:
|
H:
44.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/systemConfig/yqStoreManage/images/code1.png
deleted
100644 → 0
View file @
23235a0
11.3 KB
src/views/systemConfig/yqStoreManage/images/code2.png
deleted
100644 → 0
View file @
23235a0
27 KB
src/views/systemConfig/yqStoreManage/images/code3.png
View file @
7bf0ee3
16.7 KB
|
W:
|
H:
36.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/systemConfig/yqStoreManage/qRcodeDialog.vue
View file @
7bf0ee3
...
...
@@ -146,40 +146,9 @@ export default {
oParams
.
qrcodeType
=
'QR_WXA_UNLIMIT'
oParams
.
path
=
'packagesPayment/pages/QRPayment/QRPayment'
oParams
.
scene
=
`merchantId=
${
this
.
info
.
yqMerchantId
}
&merchantName=
${
this
.
info
.
yqMerchantName
}
&paymentChannelId=
${
this
.
paymentChannelId
}
`
// oParams.appId = 'wx902f0b9c4b2c669d'
// oParams.appId = 'wx570d9331f9ace0bd'
// oParams.qrcodeType = 'QR_WXA_UNLIMIT'
// oParams.path = 'pages/accountItems/accountItems'
// oParams.scene = `noLogin=15816539334`
// oParams.path = 'pages/webpage/webpage'
// oParams.scene = `jumpLink=https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/`
createWeappQrcode
(
oParams
).
then
(
res
=>
{
this
.
qrCodeURL
=
res
// function getBase64(imgUrl) {
// window.URL = window.URL || window.webkitURL
// var xhr = new XMLHttpRequest()
// xhr.open('get', imgUrl, true)
// xhr.responseType = 'blob'
// xhr.onload = function () {
// if (this.status == 200) {
// // 得到一个blob对象
// var blob = this.response
// console.log('blob', blob)
// // 至关重要
// const oFileReader = new FileReader()
// oFileReader.onloadend = function (e) {
// // 此处拿到的已经是base64的图片了,可以赋值做相应的处理
// console.log(e.target.result)
// }
// oFileReader.readAsDataURL(blob)
// }
// }
// xhr.send()
// }
// console.log(getBase64(res))
// getBase64('需要转成base64的图片url')
})
},
...
...
@@ -314,7 +283,6 @@ export default {
height
:
468px
;
margin
:
0px
auto
;
position
:
relative
;
/* background-image: url('./images/code3.png'); */
}
.qrImg
{
...
...
@@ -322,10 +290,8 @@ export default {
width
:
150px
;
height
:
150px
;
left
:
50%
;
top
:
42%
;
/* transform: translateX(-50%); */
top
:
40%
;
transform
:
translate
(
-50%
,
-50%
);
/* background-color: #d8d8d8; */
z-index
:
2
;
object-fit
:
contain
;
/* transform: scale(0.95); */
...
...
@@ -352,7 +318,7 @@ export default {
/* height: 20px; */
position
:
absolute
;
left
:
50%
;
top
:
6
3
%
;
top
:
6
0
%
;
transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
font-size
:
14px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment