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
c9044292
Commit
c9044292
authored
Oct 18, 2021
by
徐光星
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/group-buy' into 'master'
fix: code review See merge request
!9
parents
8bd68191
03c424b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
41 deletions
+34
-41
index.vue
src/views/goodsDetail/index.vue
+17
-20
smallPic.vue
src/views/goodsDetail/smallPic.vue
+17
-21
No files found.
src/views/goodsDetail/index.vue
View file @
c9044292
...
@@ -427,7 +427,7 @@ export default {
...
@@ -427,7 +427,7 @@ export default {
this
.
detailInfo
=
res
;
this
.
detailInfo
=
res
;
this
.
setStartStatus
(
res
);
this
.
setStartStatus
(
res
);
this
.
showPage
=
true
;
this
.
showPage
=
true
;
try
{
this
.
detailInfo
.
contentDetailUrl
=
this
.
detailInfo
.
contentDetailUrl
.
replace
(
this
.
detailInfo
.
contentDetailUrl
=
this
.
detailInfo
.
contentDetailUrl
.
replace
(
'
http://
'
,
'
http://
'
,
'
https://
'
'
https://
'
...
@@ -445,9 +445,6 @@ export default {
...
@@ -445,9 +445,6 @@ export default {
srcArr
.
push
(
src
);
srcArr
.
push
(
src
);
}
}
this
.
detailImgList
=
srcArr
;
this
.
detailImgList
=
srcArr
;
}
catch
(
error
)
{
console
.
error
(
error
);
}
this
.
selectedGoods
.
skuId
=
this
.
detailInfo
.
skuNo
;
this
.
selectedGoods
.
skuId
=
this
.
detailInfo
.
skuNo
;
if
(
res
.
activitySkuTotalCount
===
0
)
{
if
(
res
.
activitySkuTotalCount
===
0
)
{
...
...
src/views/goodsDetail/smallPic.vue
View file @
c9044292
...
@@ -239,7 +239,6 @@ export default {
...
@@ -239,7 +239,6 @@ export default {
this
.
imgList
=
res
.
imageUrl
||
[];
this
.
imgList
=
res
.
imageUrl
||
[];
this
.
detailInfo
=
res
;
this
.
detailInfo
=
res
;
this
.
setStartStatus
(
res
);
this
.
setStartStatus
(
res
);
try
{
this
.
detailInfo
.
contentDetailUrl
=
this
.
detailInfo
.
contentDetailUrl
.
replace
(
this
.
detailInfo
.
contentDetailUrl
=
this
.
detailInfo
.
contentDetailUrl
.
replace
(
'
http://
'
,
'
http://
'
,
'
https://
'
'
https://
'
...
@@ -258,9 +257,6 @@ export default {
...
@@ -258,9 +257,6 @@ export default {
srcArr
.
push
(
src
);
srcArr
.
push
(
src
);
}
}
this
.
detailImgList
=
srcArr
;
this
.
detailImgList
=
srcArr
;
}
catch
(
error
)
{
console
.
error
(
error
);
}
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
}
}
...
...
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