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 4385d335
authored
Sep 08, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v4.11.0 bug和样式修复
1 parent
b6475fed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
14 deletions
src/views/systemConfig/qRcodeDialog.vue
src/views/systemConfig/wxQRcodeDialog.vue
src/views/systemConfig/qRcodeDialog.vue
View file @
4385d33
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
:is-visible=
"qRcodeVisible"
:is-visible=
"qRcodeVisible"
class=
"qRcodeDailog"
class=
"qRcodeDailog"
width=
"750px"
width=
"750px"
btn
OkL
abel=
"全部下载"
btn
-ok-l
abel=
"全部下载"
@
closeDialog=
"handleClose"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
@
confirmDialog=
"handleAddConfirm"
>
<div
class=
"qrcon"
>
<div
class=
"qrcon"
>
...
@@ -21,11 +21,12 @@
...
@@ -21,11 +21,12 @@
:src=
"qrCodeURL"
>
:src=
"qrCodeURL"
>
<!-- crossorigin="anonymous" -->
<!-- crossorigin="anonymous" -->
<div
v-if=
"!qrCodeURL"
<div
v-if=
"!qrCodeURL"
class=
"el-icon-loading loadingIcon"
></div
>
class=
"el-icon-loading loadingIcon"
/
>
<!--
</div>
-->
<!--
</div>
-->
<div
class=
"merchantNameDiv"
>
{{
info
.
yqMerchantName
}}
</div>
<div
class=
"merchantNameDiv"
>
{{
info
.
yqMerchantName
}}
</div>
</div>
</div>
<el-button
style=
"marginTop:20px"
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('wxview',`$
{info.yqMerchantName}微信支付收款码`)">下载
</el-button>
@
click=
"takeScreenshot('wxview',`$
{info.yqMerchantName}微信支付收款码`)">下载
</el-button>
</div>
</div>
<div
class=
"alicon"
>
<div
class=
"alicon"
>
...
@@ -41,11 +42,12 @@
...
@@ -41,11 +42,12 @@
crossorigin=
"anonymous"
crossorigin=
"anonymous"
:src=
"aliqrCodeURL"
>
:src=
"aliqrCodeURL"
>
<div
v-if=
"!aliqrCodeURL"
<div
v-if=
"!aliqrCodeURL"
class=
"el-icon-loading loadingIcon"
></div
>
class=
"el-icon-loading loadingIcon"
/
>
<!--
</div>
-->
<!--
</div>
-->
<div
class=
"merchantNameDiv"
>
{{
info
.
yqMerchantName
}}
</div>
<div
class=
"merchantNameDiv"
>
{{
info
.
yqMerchantName
}}
</div>
</div>
</div>
<el-button
style=
"marginTop:20px"
<el-button
style=
"marginTop:20px"
type=
"primary "
@
click=
"takeScreenshot('aliview',`$
{info.yqMerchantName}支付宝支付收款码`)">下载
@
click=
"takeScreenshot('aliview',`$
{info.yqMerchantName}支付宝支付收款码`)">下载
</el-button>
</el-button>
</div>
</div>
...
@@ -301,7 +303,7 @@ export default {
...
@@ -301,7 +303,7 @@ export default {
}
}
.merchantNameDiv
{
.merchantNameDiv
{
width
:
150px
;
width
:
150px
;
height
:
20px
;
/* height: 20px; */
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
top
:
63%
;
top
:
63%
;
...
@@ -312,5 +314,15 @@ export default {
...
@@ -312,5 +314,15 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
line-height
:
17px
;
line-height
:
17px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
/* 自定义行数 */
-webkit-line-clamp
:
2
;
}
}
</
style
>
</
style
>
src/views/systemConfig/wxQRcodeDialog.vue
View file @
4385d33
<
template
>
<
template
>
<d2-dialog
title=
"加微二维码"
<d2-dialog
title=
"加微二维码"
:is
V
isible=
"qRcodeVisible"
:is
-v
isible=
"qRcodeVisible"
class=
"qRcodeDailog"
class=
"qRcodeDailog"
width=
"585px"
width=
"585px"
@
closeDialog=
"handleClose"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleAddConfirm"
>
@
confirmDialog=
"handleAddConfirm"
>
<!-- btnOkLabel="下载二维码" -->
<!-- btnOkLabel="下载二维码" -->
<div
class=
"dialogContainer"
>
<div
class=
"dialogContainer"
>
<p
class=
"merchantName"
>
商户名称
{{
merchantInfo
.
yqMerchantName
}}
</p>
<p
class=
"merchantName"
>
{{
merchantInfo
.
yqMerchantName
}}
</p>
<p
class=
"merchantId"
>
商户号
{{
merchantInfo
.
yqMerchantId
}}
</p>
<p
class=
"merchantId"
>
{{
merchantInfo
.
yqMerchantId
}}
</p>
<el-upload
action=
""
<el-upload
action=
""
class=
"elupload"
class=
"elupload"
list-type=
"picture-card"
list-type=
"picture-card"
...
@@ -21,12 +21,12 @@
...
@@ -21,12 +21,12 @@
:on-remove=
"e => handleRemove(e, )"
>
:on-remove=
"e => handleRemove(e, )"
>
<span
class=
"img-btn"
>
<span
class=
"img-btn"
>
<img
v-if=
"imgUrl"
<img
v-if=
"imgUrl"
:src=
'imgUrl'
:src=
"imgUrl"
class=
"rectImg"
>
class=
"rectImg"
>
<span
class=
"img-btns"
>
<span
class=
"img-btns"
>
<span
class=
"btn-item"
>
<span
class=
"btn-item"
>
<i
@
click
.
stop=
'handleRemove()'
<i
@
click
.
stop=
"handleRemove()"
class=
"el-icon-delete"
></i
>
class=
"el-icon-delete"
/
>
<!--
<i
@
click
.
stop=
"handleImgLook"
<!--
<i
@
click
.
stop=
"handleImgLook"
class=
"el-icon-zoom-in"
></i>
-->
class=
"el-icon-zoom-in"
></i>
-->
</span>
</span>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
import
{
uploadImg
}
from
'@/api/sys.base'
import
{
uploadImg
}
from
'@/api/sys.base'
import
{
yqMerchantConfigDetail
,
serviceMerchantRelateQrcode
}
from
'@/api/serviceManage'
import
{
yqMerchantConfigDetail
,
serviceMerchantRelateQrcode
}
from
'@/api/serviceManage'
export
default
{
export
default
{
name
:
'
w
xQRcodeDialog'
,
name
:
'
W
xQRcodeDialog'
,
components
:
{
components
:
{
// baseDialog
// baseDialog
},
},
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
imgUrl
:
''
,
imgUrl
:
''
,
defaultImgUrl
:
''
,
defaultImgUrl
:
''
// oldImgUrl: ''
// oldImgUrl: ''
// dialogConfig: {
// dialogConfig: {
// setting: {
// setting: {
...
@@ -194,6 +194,7 @@ export default {
...
@@ -194,6 +194,7 @@ export default {
white-space
:
nowrap
;
white-space
:
nowrap
;
top
:
28px
;
top
:
28px
;
left
:
-14px
;
left
:
-14px
;
margin-top
:
8px
;
font-size
:
14px
;
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