Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
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 cda190f5
authored
Aug 24, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.8.0' of
http://192.168.3.233:8090/saas/scrm-micro-drainage
into v2.8.0
2 parents
839bcdaa
8846de3e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
15 deletions
package-lock.json
package.json
src/views/channel/components/channelList.vue
src/views/channel/poster.vue
package-lock.json
View file @
cda190f
This diff is collapsed.
Click to expand it.
package.json
View file @
cda190f
...
...
@@ -16,6 +16,7 @@
"glsx-components"
:
"^1.5.2"
,
"glsx-table"
:
"^1.0.9"
,
"vue-draggable-resizable"
:
"^2.3.0"
,
"vue-template-compiler"
:
"^2.7.9"
,
"vuedraggable"
:
"^2.24.3"
,
"xlsx"
:
"^0.18.5"
},
...
...
@@ -37,8 +38,7 @@
"postcss-loader"
:
"^6.2.0"
,
"prettier"
:
"^1.19.1"
,
"sass-loader"
:
"^8.0.0"
,
"vue-cli-plugin-element"
:
"^1.0.1"
,
"vue-template-compiler"
:
"^2.6.10"
"vue-cli-plugin-element"
:
"^1.0.1"
},
"browserslist"
:
[
"> 1%"
,
...
...
src/views/channel/components/channelList.vue
View file @
cda190f
...
...
@@ -166,7 +166,8 @@ export default {
{
label
:
'活码'
,
prop
:
'qrCode'
,
addHtml
:
'qrCode'
addHtml
:
'qrCode'
,
width
:
'126px'
},
{
label
:
'标签'
,
...
...
@@ -182,7 +183,7 @@ export default {
{
label
:
'操作'
,
prop
:
'optionBtns'
,
width
:
'2
2
0px'
,
width
:
'2
4
0px'
,
addHtml
:
'optionBtns'
,
fixed
:
'right'
}
...
...
@@ -322,6 +323,7 @@ export default {
font-weight
:
400
;
color
:
#666666
;
line-height
:
20px
;
padding-left
:
5px
;
}
.codeRemark
{
font-size
:
14px
;
...
...
src/views/channel/poster.vue
View file @
cda190f
...
...
@@ -33,9 +33,9 @@
</div>
</div>
</div>
<
GLDialog
@
onOk=
"savePoster"
@
onCancel=
"dialogVisible = false"
v-loading=
"loadingDrag"
title=
"创建活码海报"
:visible
.
sync=
"dialogVisible"
>
<
el-dialog
title=
"创建活码海报"
:visible
.
sync=
"dialogVisible"
>
<div
class=
"poster-draggable-title"
>
拖动活码可调整活码位置
</div>
<div
class=
"poster-draggable"
>
<div
class=
"poster-draggable"
v-loading=
"loadingDrag"
>
<div
class=
"poster-image"
v-if=
"dragHeight"
...
...
@@ -55,7 +55,7 @@
:style=
"
{
'background-image': 'url(' + codeUrl + ')'
}"
:parent="tru
e"
parent=".poster-imag
e"
@dragging="onDrag"
@resizing="onResize"
:customId="index"
...
...
@@ -63,11 +63,11 @@
>
</vue-draggable-resizable>
</div>
</div>
<
!--
<
span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"savePoster"
>
确 定
</el-button>
</span>
-->
</
GLD
ialog>
</span>
</
el-d
ialog>
</div>
</
template
>
...
...
@@ -252,11 +252,10 @@ export default {
getDraggable
(
img_url
)
{
let
img
=
new
Image
()
img
.
src
=
img_url
let
self
=
this
img
.
onload
=
function
()
{
self
.
dragHeight
=
(
img
.
height
*
375
)
/
img
.
width
self
.
dialogVisible
=
true
self
.
loading
=
false
img
.
onload
=
()
=>
{
this
.
dragHeight
=
(
img
.
height
*
375
)
/
img
.
width
this
.
dialogVisible
=
true
this
.
loading
=
false
}
}
},
...
...
@@ -300,6 +299,8 @@ export default {
.poster-draggable
{
display
:
flex
;
justify-content
:
center
;
//
height
:
500px
;
//
overflow
:
auto
;
.poster-image
{
background-size
:
100%
100%
;
width
:
375px
;
...
...
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