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
52955c4f
Commit
52955c4f
authored
Sep 30, 2021
by
beisir
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/group-buy' of git.quantgroup.cn:ui/group-buy-ui into feat/group-buy
parents
deaad20f
bd4e7666
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
47 additions
and
25 deletions
+47
-25
App.vue
src/App.vue
+3
-0
share-icon.png
src/assets/images/share-icon.png
+0
-0
bottomNav.vue
src/components/bottomNav.vue
+1
-0
groupBuySuccessInfo.vue
src/components/groupBuySuccessInfo.vue
+1
-1
sharePic.vue
src/components/sharePic.vue
+1
-1
swipeCustomerInfo.vue
src/components/swipeCustomerInfo.vue
+6
-3
bottomNav.vue
src/views/goodsDetail/components/bottomNav.vue
+6
-1
groupDescInfo.vue
src/views/goodsDetail/components/groupDescInfo.vue
+2
-1
index.less
src/views/goodsDetail/index.less
+6
-6
index.vue
src/views/goodsDetail/index.vue
+12
-10
smallPic.vue
src/views/goodsDetail/smallPic.vue
+4
-0
index.less
src/views/pay/index.less
+5
-2
No files found.
src/App.vue
View file @
52955c4f
...
...
@@ -57,6 +57,9 @@ export default {
pointer
:
this
});
store
.
dispatch
(
'
change_is_weixin_browser
'
,
!
isApp
&&
!
isWxMp
&&
isWechat
?
true
:
false
);
this
.
$nextTick
(()
=>
{
document
.
querySelectorAll
(
'
.cr-overlay
'
).
forEach
(
e
=>
e
.
parentNode
.
removeChild
(
e
));
});
}
},
methods
:
{
...
...
src/assets/images/share-icon.png
View replaced file @
deaad20f
View file @
52955c4f
4.41 KB
|
W:
|
H:
1.63 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/bottomNav.vue
View file @
52955c4f
...
...
@@ -191,6 +191,7 @@ export default {
}
}
.confirm-order-btn {
outline: none;
width: 130px !important;
margin-right: 10px !important;
}
...
...
src/components/groupBuySuccessInfo.vue
View file @
52955c4f
<
template
>
<div
class=
"success-info"
>
<p
class=
"desc"
>
已有
<span>
{{
groupInfo
.
groupBuySuccessPersonCount
||
0
}}
人
</span>
拼团成功
已有
<span>
{{
groupInfo
.
groupBuySuccessPersonCount
||
0
}}
人
</span>
参与拼团
</p>
<avator-swiper
:avator-data=
"avatorData"
/>
</div>
...
...
src/components/sharePic.vue
View file @
52955c4f
...
...
@@ -111,7 +111,7 @@
<p
style=
"font-size: 34px;margin-bottom: 15px;"
>
已有
<span>
{{ sharePicData.groupBuySuccessGuys }}人
</span>
</p>
<p>
拼团成功
</p>
<p>
参与拼团
</p>
</div>
</div>
</div>
...
...
src/components/swipeCustomerInfo.vue
View file @
52955c4f
...
...
@@ -79,15 +79,17 @@ export default {
box-sizing: border-box;
display: inline-flex;
align-items: center;
align-content: center;
height: 30px;
background: rgba(0, 0, 0, 0.
2
);
background: rgba(0, 0, 0, 0.
4
);
border-radius: 15px;
padding: @padding-unit;
padding:
0
@padding-unit;
&-icon {
flex-shrink: 0;
width: 24px;
height: 24px;
margin-right: @padding-unit + 2;
margin-top: 2px;
margin-right: @padding-unit;
.avatar {
/deep/ img {
border-radius: 50%;
...
...
@@ -97,6 +99,7 @@ export default {
}
}
&-info {
text-align: center;
flex-shrink: 0;
padding-right: @padding-x;
.text-12();
...
...
src/views/goodsDetail/components/bottomNav.vue
View file @
52955c4f
...
...
@@ -135,11 +135,16 @@ export default {
width: 100%;
background: @white;
border-top: 2px solid #f7f7f7;
padding: 10px 12px;
padding-bottom: calc(10px + constant(safe-area-inset-bottom));
padding-bottom: calc(10px + env(safe-area-inset-bottom));
padding-top: 10px;
padding-left: 12px;
padding-right: 12px;
box-sizing: border-box;
z-index: 2;
button {
flex: 1;
font-size: 16px;
&.mutiplie {
margin: 0 @padding-xs;
}
...
...
src/views/goodsDetail/components/groupDescInfo.vue
View file @
52955c4f
...
...
@@ -70,7 +70,7 @@ export default {
observer
:
null
,
statusTextMap
:
{
0
:
'
发起拼团,邀请好友一起拼团吧!
'
,
2
:
'
恭喜成团
,等待发货
!
'
,
2
:
'
恭喜成团!
'
,
3
:
'
哎呀,拼团时间已过,尚未成团!
'
,
4
:
'
已发货
'
}
...
...
@@ -135,6 +135,7 @@ export default {
}
.button-area {
button {
font-size: 16px;
margin-bottom: @padding-md;
}
}
...
...
src/views/goodsDetail/index.less
View file @
52955c4f
...
...
@@ -44,19 +44,19 @@
.goods {
&-share-button{
width: 4
0
px;
height: 4
0
px;
width: 4
4
px;
height: 4
4
px;
position: fixed;
right:
0
;
right:
10px
;
bottom: 120px;
z-index: 3;
/deep/ img {
width: 4
0
px;
height: 4
0
px;
width: 4
4
px;
height: 4
4
px;
}
}
&-container {
padding-bottom:
60px
;
padding-bottom:
calc(60px + env(safe-area-inset-bottom))
;
box-sizing: border-box;
font-size: 16px;
&-lose {
...
...
src/views/goodsDetail/index.vue
View file @
52955c4f
...
...
@@ -344,16 +344,18 @@ export default {
// 校验是否允许开团或者参团
this
.
$dialog
({
message
:
checkStatus
.
failedReason
||
''
,
showCancelButton
:
false
,
confirmButtonText
:
'
查看其他商品
'
,
onConfirm
:
()
=>
{
this
.
$router
.
replace
({
path
:
'
/groupBuy/list
'
,
query
:
{
activityId
:
this
.
detailParam
.
activityId
}
});
}
cancelButtonText
:
'
知道了
'
,
showConfirmButton
:
false
,
cancelButtonColor
:
'
#ec1500
'
// confirmButtonText: '返回活动',
// onConfirm: () => {
// this.$router.replace({
// path: '/groupBuy/list',
// query: {
// activityId: this.detailParam.activityId
// }
// });
// }
});
return
;
}
...
...
src/views/goodsDetail/smallPic.vue
View file @
52955c4f
...
...
@@ -226,6 +226,10 @@ export default {
this
.
detailInfo
=
res
;
this
.
setStartStatus
(
res
);
try
{
this
.
detailInfo
.
contentDetailUrl
=
this
.
detailInfo
.
contentDetailUrl
.
replace
(
'
http://
'
,
'
https://
'
);
const
detailImages
=
await
goods
.
getDetailPic
(
this
.
detailInfo
.
contentDetailUrl
);
// const imgReg = new RegExp('(?
<=
src
=
"
).[^
"
]
*
'
,
'
g
'
);
// this.detailImgList = (detailImages ||
''
).match(imgReg);
...
...
src/views/pay/index.less
View file @
52955c4f
...
...
@@ -33,13 +33,16 @@
.payBtn{
width: 100%;
position: fixed;
padding: @padding-xs @padding-lg;
padding-left: @padding-lg;
padding-right: @padding-lg;
padding-top: 10px;
box-sizing: border-box;
z-index: 99;
bottom: 0;
left:0;
background-color:@white;
.iphonex-fix-margin;
padding-bottom: calc(10px + constant(safe-area-inset-bottom));
padding-bottom: calc(10px + env(safe-area-inset-bottom));
button{
.text-16;
width: 100%;
...
...
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