Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
afbb6722
Commit
afbb6722
authored
Sep 29, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 确认订单页面新增字段groupId
parent
93c11dbd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
groupSwiper.vue
src/components/groupSwiper.vue
+9
-5
index.vue
src/views/goodsDetail/index.vue
+1
-0
List.vue
src/views/orderList/components/List.vue
+9
-0
No files found.
src/components/groupSwiper.vue
View file @
afbb6722
...
...
@@ -49,30 +49,34 @@ export default {
initialSlide
:
0
,
slidesPerView
:
7
,
spaceBetween
:
4
,
speed
:
1
6
00
,
speed
:
1
7
00
,
centeredSlides
:
false
,
watchSlidesProgress
:
true
,
allowTouchMove
:
false
,
autoplay
:
{
delay
:
5
000
,
delay
:
2
000
,
reverseDirection
:
true
},
on
:
{
slideChangeTransitionStart
:
function
()
{
vm
.
$emit
(
'
animation-event-start
'
);
},
transitionStart
:
function
()
{
const
activeIndex
=
this
.
activeIndex
,
slideLeft
=
this
.
slides
.
eq
(
activeIndex
),
slideRight
=
this
.
slides
.
eq
(
activeIndex
+
7
);
vm
.
$emit
(
'
animation-event-start
'
);
vm
.
avatorItem
=
vm
.
getAvatorItem
(
slideLeft
);
vm
.
isAnimate
=
true
;
vm
.
rightImgPath
=
slideRight
.
data
(
'
src
'
);
vm
.
leftImgPath
=
slideLeft
.
data
(
'
src
'
);
slideLeft
.
addClass
(
'
ani-opt
'
);
slideRight
.
addClass
(
'
ani-opt
'
);
const
timer
=
setTimeout
(()
=>
{
vm
.
$emit
(
'
animation-event-end
'
,
vm
.
avatorItem
);
clearTimeout
(
timer
);
},
1000
);
},
transitionEnd
:
function
()
{
vm
.
isAnimate
=
false
;
vm
.
$emit
(
'
animation-event-end
'
,
vm
.
avatorItem
);
for
(
let
i
=
0
;
i
<
this
.
slides
.
length
;
i
++
)
{
let
slide
=
this
.
slides
.
eq
(
i
);
slide
.
removeClass
(
'
ani-opt
'
);
...
...
src/views/goodsDetail/index.vue
View file @
afbb6722
...
...
@@ -474,6 +474,7 @@ export default {
}
this
.
show
=
false
;
const
order
=
{
groupId
:
this
.
groupId
||
''
,
// 唐峰确认订单页加
activityInfoId
:
this
.
detailParam
.
activityId
,
activityTemplateId
:
this
.
detailParam
.
templateId
,
activityTemplateDetailId
:
this
.
detailParam
.
templateDetailId
,
...
...
src/views/orderList/components/List.vue
View file @
afbb6722
...
...
@@ -69,6 +69,8 @@ import countDown from '@/components/countDown';
import
{
isWxMp
,
isApp
}
from
'
@/service/validation.service
'
;
import
{
saTrackEvent
}
from
'
@/service/sa.service
'
;
import
localStorage
from
'
@/service/localStorage.service
'
;
import
MpBridge
from
'
@/service/mp
'
;
import
Bridge
from
'
@qg/js-bridge
'
;
export
default
{
name
:
'
OrderSkuList
'
,
components
:
{
...
...
@@ -142,6 +144,13 @@ export default {
this
.
listFinished
=
val
;
}
},
created
()
{
if
(
isWxMp
)
{
this
.
nativeBridge
=
new
MpBridge
();
return
;
}
this
.
nativeBridge
=
new
Bridge
();
},
methods
:
{
bundleButtonClick
(
item
)
{
this
[
this
.
showButtonMethod
[
item
.
showButton
].
click
](
item
);
...
...
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