Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
integralMall
integral-mall
Commits
ce4c19e9
Commit
ce4c19e9
authored
Jan 21, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 悬浮窗
parent
5a379915
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
store-part.vue
src/components/store/store-part.vue
+6
-4
No files found.
src/components/store/store-part.vue
View file @
ce4c19e9
...
...
@@ -70,7 +70,7 @@
<div
class=
"list-content"
>
<div
v-if=
"selectRightList.length > 0"
>
<div
class=
"list-item"
v-for=
"(item, index) in selectRightList"
:key=
"index"
>
<span
class=
"storeGroup-name"
>
{{
item
.
pickUpPointName
}}
</span>
<span
slot=
"content"
class=
"storeGroup-name"
:title=
"item.pickUpPointName"
>
{{
item
.
pickUpPointName
}}
</span>
<span
class=
"el-icon-close"
@
click=
"removeItem(item, index)"
/>
</div>
</div>
...
...
@@ -97,6 +97,7 @@
import
request
from
'../../service/request.js'
;
import
qs
from
'qs'
;
import
copy
from
'../../utils/clone'
;
import
utils
from
'../../utils/common'
;
export
default
{
directives
:
{
loadmore
:
{
...
...
@@ -149,6 +150,7 @@ export default {
tableData
:
[],
showHeader
:
false
,
popoverShow
:
false
,
getZhLen
:
utils
.
getZhLen
,
};
},
mounted
()
{
...
...
@@ -185,7 +187,7 @@ export default {
this
.
totalPage
=
res
.
data
.
result
.
totalPage
;
if
(
this
.
selectLeftList
.
length
)
{
for
(
const
item
of
this
.
selectLeftList
)
{
let
obj
;
let
obj
=
''
;
obj
=
this
.
tableData
.
find
(
i
=>
{
return
i
.
integralMallPickUpPointId
===
item
.
integralMallPickUpPointId
;
});
...
...
@@ -244,7 +246,7 @@ export default {
},
// 右侧搜索
getRightList
()
{
var
newData
=
this
.
selectLeftList
.
filter
(
item
=>
{
const
newData
=
this
.
selectLeftList
.
filter
(
item
=>
{
if
(
item
.
pickUpPointName
.
indexOf
(
this
.
searchValue
)
>
-
1
)
{
return
item
;
}
...
...
@@ -260,7 +262,7 @@ export default {
return
false
;
}
// 过滤数据只保留部分有用字段
this
.
selectLeftList
.
map
(
v
=>
{
this
.
selectLeftList
.
forEach
(
v
=>
{
delete
v
.
storeId
;
delete
v
.
pickUpPointAddress
;
delete
v
.
pickUpPointPhone
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment