Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 0b2ec1a4
authored
Apr 20, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.1.0' into wuwx_dev_v2.1.0
2 parents
fed29fb0
8b33f595
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
src/views/customerTransform/components/preview.vue
src/views/customerTransform/components/selectLabel.vue
src/views/giftBag/index.vue
src/views/giftBag/selectGiftDialog.vue
src/views/customerTransform/components/preview.vue
View file @
0b2ec1a
...
@@ -59,7 +59,7 @@ export default {
...
@@ -59,7 +59,7 @@ export default {
previewList
(
val
)
{
previewList
(
val
)
{
if
(
val
.
length
&&
val
[
0
].
attType
==
1
)
{
if
(
val
.
length
&&
val
[
0
].
attType
==
1
)
{
const
attContent
=
val
[
0
].
attContent
const
attContent
=
val
[
0
].
attContent
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
let
word
=
res
.
replace
(
/
\[
|
\]
/gi
,
''
)
let
word
=
res
.
replace
(
/
\[
|
\]
/gi
,
''
)
const
list
=
emoji
.
flat
(
Infinity
)
const
list
=
emoji
.
flat
(
Infinity
)
let
index
=
parseInt
(
list
.
indexOf
(
word
))
+
1
let
index
=
parseInt
(
list
.
indexOf
(
word
))
+
1
...
@@ -125,7 +125,7 @@ export default {
...
@@ -125,7 +125,7 @@ export default {
color
:
#333
;
color
:
#333
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
4px
;
border-radius
:
4px
;
word-
wrap
:
break-word
;
word-
break
:
break-all
;
display
:
flex
;
display
:
flex
;
img
{
img
{
width
:
20px
;
width
:
20px
;
...
@@ -133,6 +133,7 @@ export default {
...
@@ -133,6 +133,7 @@ export default {
}
}
}
}
.text
{
.text
{
display
:
inline-block
;
font-size
:
16px
;
font-size
:
16px
;
padding
:
8px
11px
;
padding
:
8px
11px
;
}
}
...
...
src/views/customerTransform/components/selectLabel.vue
View file @
0b2ec1a
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
<div
class=
"checkbox-group-box"
:style=
"
{ height: heightBox + 'px' }">
<div
class=
"checkbox-group-box"
:style=
"
{ height: heightBox + 'px' }">
<div
style=
"margin-bottom: 8px"
class=
"checkbox-box"
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
@
click=
"item.checked = !item.checked"
>
<div
style=
"margin-bottom: 8px"
class=
"checkbox-box"
v-for=
"(item, index) in labelTreeRets"
:key=
"index"
@
click
.
self
=
"item.checked = !item.checked"
>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click="item.checked = !item.checked">
</span>
<span
class=
"el-tree-node__expand-icon el-icon-caret-right"
:class=
"
{ expanded: item.checked }" @click
.self
="item.checked = !item.checked">
</span>
{{
item
.
labelGroup
.
name
}}
{{
item
.
labelGroup
.
name
}}
<el-tag
:size=
"size"
>
{{
item
.
labelType
}}
</el-tag>
<el-tag
:size=
"size"
>
{{
item
.
labelType
}}
</el-tag>
<el-radio-group
class=
"tag-group"
v-model=
"item.tagChecked"
v-show=
"item.checked"
>
<el-radio-group
class=
"tag-group"
v-model=
"item.tagChecked"
v-show=
"item.checked"
>
...
...
src/views/giftBag/index.vue
View file @
0b2ec1a
...
@@ -27,11 +27,15 @@ export default {
...
@@ -27,11 +27,15 @@ export default {
giftList
,
giftList
,
receivedGiftList
receivedGiftList
},
},
created
()
{
this
.
activeName
=
sessionStorage
.
getItem
(
'GIFTNAME'
)
?
sessionStorage
.
getItem
(
'GIFTNAME'
)
:
'giftList'
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
handleTabClick
()
{}
handleTabClick
()
{
sessionStorage
.
setItem
(
'GIFTNAME'
,
this
.
activeName
)
}
}
}
}
}
</
script
>
</
script
>
...
...
src/views/giftBag/selectGiftDialog.vue
View file @
0b2ec1a
...
@@ -69,8 +69,8 @@
...
@@ -69,8 +69,8 @@
<div
slot=
"content"
>
{{
subItem
.
couponName
}}
</div>
<div
slot=
"content"
>
{{
subItem
.
couponName
}}
</div>
</el-tooltip>
</el-tooltip>
<div
class=
"gift-sum"
>
<div
class=
"gift-sum"
>
<el-input-number
v-if=
"subItem.discountType == 7"
:disabled=
"subItem.status == '3'"
class=
"sum-input"
v-model=
"subItem.couponAmount"
@
change=
"handleChange"
:min=
"1"
:max=
"999999"
size=
"mini"
label=
"描述文字"
></el-input-number>
<el-input-number
:disabled=
"subItem.status == '3'"
class=
"sum-input"
v-model=
"subItem.couponAmount"
@
change=
"handleChange"
:min=
"1"
:max=
"999999"
size=
"mini"
label=
"描述文字"
></el-input-number>
<
p
:class=
"[subItem.status == '3' ? ' txt-grey' : '']"
v-else
>
×
{{
subItem
.
couponAmount
}}
</p
>
<
!--
<p
:class=
"[subItem.status == '3' ? ' txt-grey' : '']"
v-else
>
×
{{
subItem
.
couponAmount
}}
</p>
--
>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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