Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
1b2c9f8c
Commit
1b2c9f8c
authored
Aug 14, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
90380938
00b23031
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
74 additions
and
56 deletions
+74
-56
addressList.vue
src/pages/address/addressList.vue
+2
-3
detail.vue
src/pages/assistingAgriculture/order/detail.vue
+0
-0
detail.vue
src/pages/order/detail.vue
+2
-2
order.vue
src/pages/order/order.vue
+51
-37
refund.vue
src/pages/order/refund.vue
+3
-2
remark.vue
src/pages/order/remark.vue
+4
-2
ticketCode.vue
src/pages/order/ticketCode.vue
+6
-5
detail.vue
src/pages/ticket/detail.vue
+3
-3
ticket.vue
src/pages/ticket/ticket.vue
+3
-2
No files found.
src/pages/address/addressList.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"地址管理"
></Header>
<Search
:showTitle=
"true"
title=
"地址管理"
backgroundBox=
"white"
/>
<view
class=
"content"
>
<view
class=
"empty_list"
v-if=
"isAdressEmpty"
>
<img
src=
"@/static/address/address.png"
/>
...
...
@@ -95,7 +94,7 @@ page {
margin
:
0
auto
;
.content
{
padding-top
:
88rpx
;
//
padding-top: 88rpx;
.full_list
{
margin-top
:
20rpx
;
...
...
src/pages/assistingAgriculture/order/detail.vue
View file @
1b2c9f8c
This diff is collapsed.
Click to expand it.
src/pages/order/detail.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"订单详情"
></Header>
<!--
<Header
title=
"订单详情"
></Header>
-->
<Search
title=
"订单详情"
backgroundBox=
"white"
:showTitle=
"true"
></Search>
<view
class=
"content"
v-if=
"orderDetail"
>
<!-- 使用状态 -->
<view
class=
"status"
>
...
...
@@ -405,7 +406,6 @@ page {
margin
:
0
auto
;
.content
{
padding-top
:
44px
;
display
:
flex
;
flex-direction
:
column
;
gap
:
20rpx
;
...
...
src/pages/order/order.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<!-- 顶部搜索框-->
<view
class=
"top"
>
<wd-icon
class=
"icon"
name=
"thin-arrow-left"
color=
"#000"
size=
"32rpx"
@
click=
"handleBack"
></wd-icon>
<Search
backgroundBox=
"#f3f3f3"
>
<view
class=
"searchBox"
>
<view
class=
"search"
>
<wd-icon
name=
"search"
size=
"30rpx"
color=
"#999"
></wd-icon>
...
...
@@ -31,7 +24,8 @@
@
tap=
"handleClear"
></wd-icon>
</view>
</view>
</Search>
<view
class=
"tabs"
v-if=
"orderDic"
>
<wd-tabs
v-model=
"tab"
animated
:lineWidth=
"38"
:lineHeight=
"3"
@
change=
"handleChange"
sticky
>
<block
v-for=
"item in tabs"
:key=
"item.value"
>
...
...
@@ -549,14 +543,31 @@ function callShopPhone(phoneNumber) {
}
/**
* 再来一单
* 再来一单
商品类型,0-普通商品,5-团购,6-套餐,7-预售,8-售券
*/
const
anotherOrder
=
(
item
)
=>
{
// 清空查询待付款状态
pendingPaymentOrder
.
value
=
null
;
xma
.
navigateTo
({
url
:
`/pages/shop/confirmOrder?prodId=
${
item
.
orderItems
[
0
].
prodId
}
&skuId=
${
item
.
orderItems
[
0
].
skuId
}
`
,
});
switch
(
item
.
prodType
)
{
case
5
:
xma
.
navigateTo
({
url
:
`/pages/packageDetails/packageDetails?prodId=
${
item
.
orderItems
[
0
].
prodId
}
`
,
});
break
;
case
7
:
xma
.
redirectTo
({
url
:
`/pages/assistingAgriculture/detail/detail?prodId=
${
item
.
orderItems
[
0
].
prodId
}
`
,
});
break
;
case
10
:
xma
.
redirectTo
({
url
:
`/pages/assistingAgriculture/RouteDetails/RouteDetails?prodId=
${
item
.
orderItems
[
0
].
prodId
}
&shopId=
${
item
.
shopId
}
`
,
});
break
;
default
:
break
;
}
};
/**
...
...
@@ -566,7 +577,7 @@ const handleQrcode = (item) => {
// 清空查询待付款状态
pendingPaymentOrder
.
value
=
null
;
xma
.
navigateTo
({
url
:
`/pages/order/ticketCode?orderNumber=
${
item
.
orderNumber
}
`
,
url
:
`/pages/order/ticketCode?orderNumber=
${
item
.
orderNumber
}
&shopName=
${
item
.
shopName
}
`
,
});
};
...
...
@@ -579,6 +590,9 @@ const handleRemark = (item) => {
});
};
/**
* 售后详情
*/
const
handleAfterSales
=
(
item
)
=>
{
xma
.
navigateTo
({
url
:
`/pages/order/afterSales?orderNumber=
${
item
.
orderNumber
}
`
,
...
...
@@ -665,7 +679,7 @@ page {
margin
:
0
auto
;
.tabs
{
padding-top
:
108
rpx
;
// padding-top: 20
rpx;
&
:deep
(
.wd-tabs
)
{
background-color
:
#f5f5f5
;
...
...
@@ -693,32 +707,32 @@ page {
align-items
:
center
;
padding
:
0
30rpx
;
gap
:
14rpx
;
}
.searchBox
{
width
:
492rpx
;
height
:
66rpx
;
background
:
#f3f3f3
;
border-radius
:
33rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0rpx
28rpx
;
margin-left
:
40rpx
;
.searchBox
{
width
:
492rpx
;
height
:
66rpx
;
background
:
#f3f3f3
;
border-radius
:
33rpx
;
background-color
:
#fff
;
.search
{
gap
:
10rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0rpx
28rpx
;
background-color
:
#fff
;
.search
{
gap
:
10rpx
;
display
:
flex
;
align-items
:
center
;
.text
{
margin-left
:
10rpx
;
font-family
:
PingFang
SC
,
PingFang
SC
;
font-weight
:
500
;
font-size
:
28rpx
;
}
.text
{
margin-left
:
10rpx
;
font-family
:
PingFang
SC
,
PingFang
SC
;
font-weight
:
500
;
font-size
:
28rpx
;
}
}
}
...
...
src/pages/order/refund.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"售后/退款"
></Header>
<!--
<Header
title=
"售后/退款"
></Header>
-->
<Search
title=
"售后/退款"
backgroundBox=
"white"
:type=
"2"
></Search>
<view
class=
"content"
v-if=
"orderDetail"
>
<view
class=
"content-box"
>
<view
class=
"content-item"
>
...
...
@@ -243,7 +244,7 @@ page {
margin
:
0
auto
;
.content
{
padding
:
108
rpx
10rpx
0
;
padding
:
20
rpx
10rpx
0
;
display
:
flex
;
flex-direction
:
column
;
gap
:
60rpx
;
...
...
src/pages/order/remark.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"评论"
></Header>
<Search
:showTitle=
"true"
title=
"评价"
backgroundBox=
"white"
></Search>
<view
class=
"content"
>
<wd-form
ref=
"form"
:model=
"formdata"
:rules=
"rules"
class=
"remake"
>
<wd-cell-group>
...
...
@@ -75,6 +76,7 @@ import Header from './components/Header/index.vue';
import
{
getToken
}
from
'@/utils/auth'
;
import
{
evaluation
}
from
'@/api/order'
;
import
{
useToast
}
from
'wot-design-uni'
;
import
Search
from
'@/components/index/Search.vue'
;
const
uToast
=
useToast
();
const
form
=
ref
();
const
token
=
getToken
();
...
...
@@ -282,7 +284,7 @@ const handleSubmit = async () => {
.content
{
margin
:
25rpx
20rpx
0
;
padding-top
:
88rpx
;
//
padding-top: 88rpx;
.remake
{
width
:
auto
;
...
...
src/pages/order/ticketCode.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"查看券码"
></Header>
<!--
<Header
title=
"查看券码"
></Header>
-->
<Search
title=
"查看券码"
backgroundBox=
"white"
:showTitle=
"true"
></Search>
<view
class=
"content"
v-if=
"orderDetail"
>
<!-- 使用状态 -->
<view
class=
"status"
>
<view
class=
"status-text"
>
{{
orderDetail
.
orderItems
[
0
].
prod
Name
}}
</view>
<view
class=
"detail"
>
有效期:
{{
orderDetail
.
orderStore
.
receiverTime
}}
</view>
<view
class=
"status-text"
>
{{
shop
Name
}}
</view>
<view
class=
"detail"
>
有效期:
{{
orderDetail
.
orderStore
.
writeOffEnd
}}
</view>
</view>
<!-- 券码信息 -->
...
...
@@ -32,8 +33,9 @@ import Header from './components/Header/index.vue';
import
{
getOrderDetail
}
from
'@/api/order'
;
import
QRCode
from
'qrcode'
;
const
shopName
=
ref
(
'商家名称'
);
onLoad
((
options
)
=>
{
console
.
log
(
options
)
;
shopName
.
value
=
options
.
shopName
;
getOrderDetailFn
(
options
.
orderNumber
);
});
...
...
@@ -76,7 +78,6 @@ page {
margin
:
0
auto
;
.content
{
padding-top
:
44px
;
display
:
flex
;
flex-direction
:
column
;
gap
:
20rpx
;
...
...
src/pages/ticket/detail.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<
Header
:title=
"shopDetail.shopName"
></Header
>
<
!--
<Header
:title=
"shopDetail.shopName"
></Header>
--
>
<Search
:title=
"shopDetail.shopName"
backgroundBox=
"white"
:showTitle=
"true"
></Search>
<view
class=
"content"
>
<view
class=
"shop"
>
<image
:src=
"fileDomain + shopDetail.shopLogo"
class=
"logo"
mode=
"aspectFill"
></image>
...
...
@@ -342,7 +342,7 @@ page {
.content
{
display
:
flex
;
flex-direction
:
column
;
padding
:
10
0rpx
26rpx
26rpx
;
padding
:
2
0rpx
26rpx
26rpx
;
gap
:
26rpx
;
.shop
{
...
...
src/pages/ticket/ticket.vue
View file @
1b2c9f8c
<
template
>
<view
class=
"container"
>
<Header
title=
"我的券"
></Header>
<!--
<Header
title=
"我的券"
></Header>
-->
<Search
title=
"我的券"
backgroundBox=
"white"
:showTitle=
"true"
></Search>
<view
class=
"tab"
>
<view
:class=
"currentTab == index ? 'tab-select' : 'tab-item'"
...
...
@@ -308,7 +309,7 @@ page {
.content
{
display
:
flex
;
flex-direction
:
column
;
padding
:
202
rpx
26rpx
26rpx
;
padding
:
100
rpx
26rpx
26rpx
;
gap
:
36rpx
;
.card
{
...
...
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