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
a4dcf754
Commit
a4dcf754
authored
Aug 15, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
c76f419f
5e89b49d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
RouteDetails.vue
src/pages/assistingAgriculture/RouteDetails/RouteDetails.vue
+15
-5
No files found.
src/pages/assistingAgriculture/RouteDetails/RouteDetails.vue
View file @
a4dcf754
<
template
>
<div
class=
"route-details"
>
<Search></Search>
<scroll-view
class=
"container"
scroll-y
>
<Search
:backgroundBox=
"backgroundBox"
></Search>
<scroll-view
class=
"container"
scroll-y
@
scroll=
"onScroll"
>
<!--
<img
class=
"back-img"
src=
"/static/assistingAgriculture/assets/left.png"
@
tap=
"back"
/>
-->
<!-- 轮播 -->
<div
class=
"banner"
>
...
...
@@ -148,7 +148,7 @@
<div
class=
"date-wrap"
>
<div
class=
"date-title"
>
选择日期
</div>
<div
class=
"date-list flex-between"
>
<div
class=
"list"
>
<div
class=
"list"
style=
"margin-top: 20rpx"
>
<div
class=
"item"
:class=
"
{ active: activePrice === v }"
...
...
@@ -331,7 +331,16 @@ import {
import
{
sgyOrderOrderInfo
}
from
'@/api/assistingAgriculture/shop'
;
import
{
groupBuyConfirm
,
groupBuyUpdate
,
groupBuyCreate
}
from
'@/api/confirmOrder'
;
import
{
getCollect
}
from
'@/api/packageDetail'
;
/* 监听滑动改变顶部颜色 */
const
backgroundBox
=
ref
(
''
);
const
onScroll
=
(
e
)
=>
{
const
{
scrollTop
}
=
e
.
detail
;
if
(
scrollTop
>
20
)
{
backgroundBox
.
value
=
'#fff'
;
}
else
{
backgroundBox
.
value
=
''
;
}
};
const
swiperList
=
ref
([
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg'
,
]);
...
...
@@ -345,12 +354,13 @@ const firstEvaluation = ref({});
const
photoList
=
ref
([]);
// 套餐列表
const
mealList
=
ref
([]);
const
activeMeal
=
ref
(
null
);
const
activeMeal
=
ref
(
{}
);
const
orderInfo
=
ref
({});
const
onActiveMeal
=
(
item
)
=>
{
activeMeal
.
value
=
item
;
getPriceListFn
(
item
.
mealId
);
};
// 日历
const
priceList
=
ref
([]);
const
viewPriceList
=
ref
([]);
...
...
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