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
00f60057
Commit
00f60057
authored
Sep 24, 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
0862a107
7cb7f22a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
8 deletions
+14
-8
sharePic.vue
src/components/sharePic.vue
+8
-4
goodsCheck.mixin.js
src/mixins/goodsCheck.mixin.js
+1
-1
validation.service.js
src/service/validation.service.js
+1
-1
payResult.vue
src/views/pay/payResult.vue
+4
-2
No files found.
src/components/sharePic.vue
View file @
00f60057
...
...
@@ -30,7 +30,9 @@
<div
class=
"item more"
/>
</div>
<div
class=
"groupProcess"
>
<div
class=
"desc"
>
还差
<span>
2人
</span>
成团,参团截止时间5月3日
</div>
<div
class=
"desc"
>
还差
<span>
{{
sharePicData
.
needGuys
}}
人
</span>
成团,参团截止时间5月3日
</div>
</div>
</div>
<div
class=
"skuImg"
>
...
...
@@ -39,11 +41,13 @@
<div
class=
"skuInfo"
>
<div
class=
"skuPrice"
>
<span
class=
"groupPriceContainer"
>
拼团价 ¥
</span>
<span
class=
"groupPrice"
>
0
</span>
<span
class=
"salePrice"
>
¥
3899
</span>
<span
class=
"groupPrice"
>
¥
{{
sharePicData
.
activityPrice
}}
</span>
<span
class=
"salePrice"
>
¥
{{
sharePicData
.
salePrice
}}
</span>
</div>
<div
class=
"skuSuccess"
>
<p>
已有
<span>
6999人
</span></p>
<p>
已有
<span>
{{
sharePicData
.
groupBuySuccessGuys
}}
人
</span>
</p>
<p>
拼团成功
</p>
</div>
</div>
...
...
src/mixins/goodsCheck.mixin.js
View file @
00f60057
...
...
@@ -16,7 +16,7 @@ export default {
if
(
json
.
event
===
'
getTokenSuccess
'
)
{
const
appData
=
json
.
data
||
{};
if
(
appData
&&
appData
.
token
)
{
localStorage
.
g
et
(
'
vccToken
'
,
appData
.
token
);
localStorage
.
s
et
(
'
vccToken
'
,
appData
.
token
);
that
.
$nextTick
(()
=>
{
window
.
location
.
reload
();
});
...
...
src/service/validation.service.js
View file @
00f60057
...
...
@@ -301,7 +301,7 @@ export const isIOS = /iphone|ipad|ipod/.test(ua);
export
const
isAndroid
=
/android/
.
test
(
ua
);
// 判断
export
const
appVersion
=
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
);
export
const
appVersion
=
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
)
?
ua
.
match
(
/xyqb
\/([\d
|.
]
+
)
/
)[
1
]
:
"
7.7.00
"
;
// 判断羊小咩环境
export
const
isXyqb
=
ua
.
match
(
/xyqb/i
)
==
"
xyqb
"
;
...
...
src/views/pay/payResult.vue
View file @
00f60057
...
...
@@ -128,13 +128,15 @@ export default {
},
methods
:
{
outputPicUrl
(
res
)
{
console
.
log
(
res
);
this
.
picUrl
=
res
;
this
.
$store
.
dispatch
(
'
goods_share_open
'
);
console
.
log
(
this
.
picUrl
);
},
async
setShareData
()
{
const
[
res
]
=
await
groupBuyApi
.
getGroupShareInfo
(
this
.
orderNo
);
const
[
res
,
error
]
=
await
groupBuyApi
.
getGroupShareInfo
(
this
.
orderNo
);
if
(
error
)
{
return
this
.
$toast
(
'
获取分享数据失败
'
);
}
this
.
sharePicData
=
res
;
this
.
$refs
.
sharePic
.
createAndUploadPic
();
},
...
...
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