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
e94f42ed
Commit
e94f42ed
authored
Aug 15, 2024
by
陈宗胤(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
a5fc598f
67c54edf
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
10 deletions
+47
-10
fab.vue
src/Components/fab/fab.vue
+5
-1
RuralTravel.vue
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
+7
-0
detail.vue
src/pages/order/detail.vue
+31
-5
order.vue
src/pages/order/order.vue
+4
-4
No files found.
src/Components/fab/fab.vue
View file @
e94f42ed
...
@@ -26,7 +26,11 @@
...
@@ -26,7 +26,11 @@
</view>
</view>
<view
class=
"custom-button"
@
click=
"go('/pages/storeEntry/index')"
>
<view
class=
"custom-button"
@
click=
"go('/pages/storeEntry/index')"
>
<image
class=
"fab-icon"
src=
"../../static/index/coupon.png"
></image>
<image
class=
"fab-icon"
src=
"../../static/index/coupon.png"
></image>
<text
class=
"fab-text"
>
商家入驻
</text>
<text
class=
"fab-text"
>
商家
</text>
</view>
<view
class=
"custom-button"
@
click=
"go('/pages/assistingAgriculture/index/index')"
>
<image
class=
"fab-icon"
src=
"../../static/index/coupon.png"
></image>
<text
class=
"fab-text"
>
助农
</text>
</view>
</view>
</view>
</view>
<!-- 预售主页 -->
<!-- 预售主页 -->
...
...
src/pages/assistingAgriculture/RuralTravel/RuralTravel.vue
View file @
e94f42ed
...
@@ -754,4 +754,11 @@ uni-video {
...
@@ -754,4 +754,11 @@ uni-video {
padding
:
20rpx
;
padding
:
20rpx
;
color
:
#999
;
color
:
#999
;
}
}
::v-deep
.uni-video-progress-container
{
transform
:
scale
(
0
);
}
::v-deep
.uni-video-current-time
,
::v-deep
.uni-video-duration
{
transform
:
scale
(
0
);
}
</
style
>
</
style
>
src/pages/order/detail.vue
View file @
e94f42ed
...
@@ -20,22 +20,36 @@
...
@@ -20,22 +20,36 @@
></wd-icon>
></wd-icon>
<view
class=
"status-text"
>
{{
statusList
[
orderDetail
.
orderStore
.
status
]
}}
</view>
<view
class=
"status-text"
>
{{
statusList
[
orderDetail
.
orderStore
.
status
]
}}
</view>
</view>
</view>
<view
class=
"detail"
v-if=
"orderDetail.orderStore.status == 3"
>
<view
class=
"detail"
v-if=
"orderDetail.orderStore.status == 3 && orderDetail.baseOrder.prodType === 5"
>
请在
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
0
,
4
)
}}
年
{{
请在
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
0
,
4
)
}}
年
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
5
,
7
)
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
5
,
7
)
}}
月
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
8
,
10
)
}}
前到店消费
}}
月
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
8
,
10
)
}}
前到店消费
</view>
</view>
<view
class=
"detail"
v-if=
"orderDetail.orderStore.status == 3 && orderDetail.baseOrder.prodType === 9"
>
预约时间:
{{
orderDetail
.
orderStore
.
receiverTime
.
slice
(
0
,
4
)
}}
年
{{
orderDetail
.
orderStore
.
receiverTime
.
slice
(
5
,
7
)
}}
月
{{
orderDetail
.
orderStore
.
receiverTime
.
slice
(
8
,
10
)
}}
日
</view>
</view>
</view>
<!-- 券码信息 -->
<!-- 券码信息 -->
<view
class=
"info"
>
<view
class=
"info"
>
<view
class=
"box"
>
<view
class=
"box"
@
tap=
"toProdDetail()"
>
<view
class=
"left"
>
<view
class=
"left"
>
<image
mode=
"aspectFill"
:src=
"fileDomain + orderDetail.orderItems[0].pic"
/>
<image
mode=
"aspectFill"
:src=
"fileDomain + orderDetail.orderItems[0].pic"
/>
<view
class=
"left-box"
>
<view
class=
"left-box"
>
<text
class=
"title"
>
{{
orderDetail
.
orderItems
[
0
].
prodName
}}
</text>
<text
class=
"title"
>
{{
orderDetail
.
orderItems
[
0
].
prodName
}}
</text>
<!--
<text
class=
"detail"
>
周一至周日 到店吃
</text>
<!--
<text
class=
"detail"
>
周一至周日 到店吃
</text>
<text
class=
"detail"
>
随时退·过期自动退·免预约
</text>
-->
<text
class=
"detail"
>
随时退·过期自动退·免预约
</text>
-->
<text
class=
"detail"
v-if=
"orderDetail.baseOrder.prodType === 9"
>
预约时间:
{{
orderDetail
.
orderStore
.
receiverTime
}}
</text>
<text
class=
"detail"
>
购买数量:
{{
orderDetail
.
orderItems
[
0
].
prodCount
}}
</text>
<text
class=
"detail"
>
购买数量:
{{
orderDetail
.
orderItems
[
0
].
prodCount
}}
</text>
<view
class=
"price-box"
>
<view
class=
"price-box"
>
<text
class=
"icon"
>
¥
</text>
<text
class=
"icon"
>
¥
</text>
...
@@ -43,7 +57,12 @@
...
@@ -43,7 +57,12 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!--
<wd-icon
name=
"chevron-right"
size=
"22px"
color=
"#333"
></wd-icon>
-->
<wd-icon
name=
"chevron-right"
size=
"22px"
color=
"#333"
v-if=
"orderDetail.baseOrder.prodType === 9"
></wd-icon>
</view>
</view>
<view
class=
"rectangle-with-semicircles"
></view>
<view
class=
"rectangle-with-semicircles"
></view>
...
@@ -59,7 +78,7 @@
...
@@ -59,7 +78,7 @@
>
>
<view
class=
"column"
>
<view
class=
"column"
>
<text
class=
"title"
>
券码信息(1张可用)
</text>
<text
class=
"title"
>
券码信息(1张可用)
</text>
<text
class=
"text"
>
{{
orderDetail
.
orderStore
.
writeOffEnd
}}
到期
</text>
<text
class=
"text"
>
{{
orderDetail
.
orderStore
.
writeOffEnd
.
slice
(
0
,
16
)
}}
到期
</text>
</view>
</view>
<view
class=
"btn"
@
tap=
"handleRefund(orderDetail.orderStore.orderNumber)"
>
<view
class=
"btn"
@
tap=
"handleRefund(orderDetail.orderStore.orderNumber)"
>
申请退款
申请退款
...
@@ -385,7 +404,7 @@ function copyTextToClipboard(text) {
...
@@ -385,7 +404,7 @@ function copyTextToClipboard(text) {
const
handleRefund
=
(
item
)
=>
{
const
handleRefund
=
(
item
)
=>
{
xma
.
navigateTo
({
xma
.
navigateTo
({
url
:
`/pages/order/refund?orderNumber=
${
item
.
orderNumber
}
`
,
url
:
`/pages/order/refund?orderNumber=
${
item
}
`
,
});
});
};
};
...
@@ -394,6 +413,13 @@ const anotherOrder = () => {
...
@@ -394,6 +413,13 @@ const anotherOrder = () => {
url
:
`/pages/shop/confirmOrder?prodId=
${
orderDetail
.
value
.
orderItems
[
0
].
prodId
}
&skuId=
${
orderDetail
.
value
.
orderItems
[
0
].
skuId
}
`
,
url
:
`/pages/shop/confirmOrder?prodId=
${
orderDetail
.
value
.
orderItems
[
0
].
prodId
}
&skuId=
${
orderDetail
.
value
.
orderItems
[
0
].
skuId
}
`
,
});
});
};
};
const
toProdDetail
=
()
=>
{
if
(
orderDetail
.
value
.
baseOrder
.
prodType
===
5
)
return
;
xma
.
navigateTo
({
url
:
`/pages/assistingAgriculture/RouteDetails/RouteDetails?shopId=
${
orderDetail
.
value
.
baseOrder
.
shopId
}
&prodId=
${
orderDetail
.
value
.
orderItems
[
0
].
prodId
}
`
,
});
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
src/pages/order/order.vue
View file @
e94f42ed
...
@@ -58,10 +58,10 @@
...
@@ -58,10 +58,10 @@
<image
mode=
"aspectFill"
:src=
"fileDomain + item.orderItems[0].pic"
/>
<image
mode=
"aspectFill"
:src=
"fileDomain + item.orderItems[0].pic"
/>
<view
class=
"info-box"
>
<view
class=
"info-box"
>
<view
class=
"text"
>
下单时间:
{{
item
.
createTime
.
slice
(
0
,
16
)
}}
</view>
<view
class=
"text"
>
下单时间:
{{
item
.
createTime
.
slice
(
0
,
16
)
}}
</view>
<view
class=
"text"
v-if=
"item.prodType ===
6
"
>
<view
class=
"text"
v-if=
"item.prodType ===
9
"
>
预约时间:
{{
item
.
receiverTime
}}
预约时间:
{{
item
.
subOrder
.
receiverTime
}}
</view>
</view>
<view
class=
"text"
v-else
>
数量:
{{
item
.
orderItems
[
0
].
prodCount
}}
</view>
<view
class=
"text"
>
数量:
{{
item
.
orderItems
[
0
].
prodCount
}}
</view>
<view
class=
"text"
>
实付:¥
{{
item
.
actualTotal
}}
</view>
<view
class=
"text"
>
实付:¥
{{
item
.
actualTotal
}}
</view>
</view>
</view>
</view>
</view>
...
@@ -545,7 +545,7 @@ function callShopPhone(phoneNumber) {
...
@@ -545,7 +545,7 @@ function callShopPhone(phoneNumber) {
}
}
/**
/**
* 再来一单 商品类型,0-普通商品,5-团购,6-套餐,7-预售,8-售券
* 再来一单 商品类型,0-普通商品,5-团购,6-套餐,7-预售,8-售券
9-景点,10-旅游路线
*/
*/
const
anotherOrder
=
(
item
)
=>
{
const
anotherOrder
=
(
item
)
=>
{
// 清空查询待付款状态
// 清空查询待付款状态
...
...
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