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
149969e0
Commit
149969e0
authored
Sep 24, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:我的拼团页面邀请好友参数调整
parent
e75b1e0f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
12 deletions
+26
-12
groupBuy.js
src/api/groupBuy.js
+2
-6
module.js
src/store/module.js
+1
-1
List.vue
src/views/orderList/components/List.vue
+19
-0
index.vue
src/views/orderList/index.vue
+4
-5
No files found.
src/api/groupBuy.js
View file @
149969e0
...
@@ -44,12 +44,8 @@ export default {
...
@@ -44,12 +44,8 @@ export default {
getScheme
(
params
)
{
getScheme
(
params
)
{
return
http
.
get
(
return
http
.
get
(
`
${
talosHost
}
/api/kdsp/ka/info/getShareMiniUrl`
,
`
${
talosHost
}
/api/kdsp/ka/info/getShareMiniUrl`
,
{
{
params
},
params
{
hideLoading
:
true
}
},
{
hideLoading
:
true
}
);
);
},
},
// 获取百人团订单
// 获取百人团订单
...
...
src/store/module.js
View file @
149969e0
...
@@ -104,7 +104,7 @@ const mutations = {
...
@@ -104,7 +104,7 @@ const mutations = {
let
getScheme
=
async
function
()
{
let
getScheme
=
async
function
()
{
const
[
res
]
=
await
groupBuy
.
getScheme
({
const
[
res
]
=
await
groupBuy
.
getScheme
({
miniUrl
:
'
pages/webview/webview
'
,
miniUrl
:
'
pages/webview/webview
'
,
params
:
window
.
location
.
href
params
:
'
https://group-buy-test1.liangkebang.net/groupBuy/list?h=0&activityId=39
'
//
window.location.href
});
});
const
url
=
res
;
const
url
=
res
;
window
.
location
.
href
=
url
;
// todo 需要验证
window
.
location
.
href
=
url
;
// todo 需要验证
...
...
src/views/orderList/components/List.vue
View file @
149969e0
...
@@ -67,6 +67,16 @@
...
@@ -67,6 +67,16 @@
>
>
去支付
去支付
</cr-button>
</cr-button>
<cr-button
v-if=
"item.openGroupStatus === 3"
size=
"small"
plain
type=
"primary"
shape=
"circle"
@
click.stop=
"goGroupBuyList(item)"
>
重新拼团
</cr-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -150,6 +160,15 @@ export default {
...
@@ -150,6 +160,15 @@ export default {
else
if
(
isWxMp
)
this
.
nativeBridge
=
new
MpBridge
();
else
if
(
isWxMp
)
this
.
nativeBridge
=
new
MpBridge
();
},
},
methods
:
{
methods
:
{
goGroupBuyList
(
itemInfo
)
{
this
.
$router
.
push
({
path
:
'
/groupBuy/list
'
,
query
:
{
h
:
0
,
activityId
:
itemInfo
.
activityInfoId
}
});
},
goGroupDetails
(
skuInfo
)
{
goGroupDetails
(
skuInfo
)
{
this
.
nativeBridge
.
openNewUrl
({
this
.
nativeBridge
.
openNewUrl
({
newUrl
:
`/pages/order/orderDetail?orderNo=
${
skuInfo
.
orderNo
}
`
newUrl
:
`/pages/order/orderDetail?orderNo=
${
skuInfo
.
orderNo
}
`
...
...
src/views/orderList/index.vue
View file @
149969e0
...
@@ -110,13 +110,12 @@ export default {
...
@@ -110,13 +110,12 @@ export default {
async
getShareData
(
shareInfo
)
{
async
getShareData
(
shareInfo
)
{
// 处理详情页面分享数据
// 处理详情页面分享数据
const
linkPath
=
qs
.
stringify
({
const
linkPath
=
qs
.
stringify
({
h
:
0
,
skuNo
:
shareInfo
.
skuNo
,
skuNo
:
shareInfo
.
skuNo
,
groupBuyGroupId
:
shareInfo
.
activityHundred
GroupId
,
groupBuyGroupId
:
shareInfo
.
groupBuy
GroupId
,
goodsSpecialId
:
shareInfo
.
s
pecialId
,
goodsSpecialId
:
shareInfo
.
goodsS
pecialId
,
activityId
:
shareInfo
.
activityI
nfoI
d
,
activityId
:
shareInfo
.
activityId
,
templateId
:
shareInfo
.
templateId
,
templateId
:
shareInfo
.
templateId
,
templateDetailId
:
shareInfo
.
templateId
templateDetailId
:
shareInfo
.
template
Detail
Id
});
});
let
detailUrl
=
`
${
config
.
localHost
}
/groupBuy/skuInfoSmallPic?h=0&
${
linkPath
}
`
;
let
detailUrl
=
`
${
config
.
localHost
}
/groupBuy/skuInfoSmallPic?h=0&
${
linkPath
}
`
;
if
(
isWxMp
)
{
if
(
isWxMp
)
{
...
...
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