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
b5df5e54
Commit
b5df5e54
authored
Oct 03, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faet:处理异常操作
parent
be6e9df0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
goodsCard.vue
src/views/goodsList/components/goodsCard.vue
+9
-2
index.vue
src/views/goodsList/index.vue
+1
-1
List.vue
src/views/orderList/components/List.vue
+1
-0
No files found.
src/views/goodsList/components/goodsCard.vue
View file @
b5df5e54
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
}
}
if
(
s
===
3
)
{
if
(
s
===
3
)
{
message
=
'
您选的商品太火爆了,已经卖完了呢,您可以选择其他的团品重新开团哦~
'
;
message
=
'
您选的商品太火爆了,已经卖完了呢,您可以选择其他的团品重新开团哦~
'
;
confirmButtonText
=
'
知道了
'
;
confirmButtonText
=
'
选择更多
'
;
}
}
this
.
$dialog
({
this
.
$dialog
({
...
@@ -133,12 +133,19 @@ export default {
...
@@ -133,12 +133,19 @@ export default {
showCancelButton
:
true
,
showCancelButton
:
true
,
confirmButtonText
,
confirmButtonText
,
onConfirm
:
()
=>
{
onConfirm
:
()
=>
{
s
!==
3
&&
this
.
$toast
(
'
已订阅完成!
'
);
s
!==
3
?
this
.
$toast
(
'
已订阅完成!
'
)
:
this
.
goToScrollTop
(
);
}
}
});
});
}
catch
(
err
)
{
}
catch
(
err
)
{
alert
(
JSON
.
stringify
(
err
));
alert
(
JSON
.
stringify
(
err
));
}
}
},
goToScrollTop
()
{
// 等待隐藏之后调用
const
timer
=
setTimeout
(()
=>
{
document
.
getElementById
(
'
groupScroll
'
).
scrollIntoView
();
clearTimeout
(
timer
);
},
0
);
}
}
}
}
};
};
...
...
src/views/goodsList/index.vue
View file @
b5df5e54
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!-- 配置头部动态信息 end -->
<!-- 配置头部动态信息 end -->
<!-- 下方列表展示信息 start -->
<!-- 下方列表展示信息 start -->
<div
class=
"group-bottom"
:class=
"
{ padtop: isShowSwiper }">
<div
id=
"groupScroll"
class=
"group-bottom"
:class=
"
{ padtop: isShowSwiper }">
<div
v-if=
"!isShowSwiper"
class=
"group-portrait"
>
<div
v-if=
"!isShowSwiper"
class=
"group-portrait"
>
<div
class=
"group-portrait-head"
>
<div
class=
"group-portrait-head"
>
<div
class=
"group-portrait-swipe"
>
<div
class=
"group-portrait-swipe"
>
...
...
src/views/orderList/components/List.vue
View file @
b5df5e54
...
@@ -211,6 +211,7 @@ export default {
...
@@ -211,6 +211,7 @@ export default {
});
});
this
.
$emit
(
'
option-click
'
,
{
...
item
.
skuList
[
0
],
eventType
:
'
share
'
});
this
.
$emit
(
'
option-click
'
,
{
...
item
.
skuList
[
0
],
eventType
:
'
share
'
});
}
catch
(
err
)
{
}
catch
(
err
)
{
this
.
$store
.
dispatch
(
'
change_loading
'
,
false
);
console
.
log
(
err
);
console
.
log
(
err
);
}
}
},
},
...
...
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