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
57778c10
Commit
57778c10
authored
Aug 14, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e30b0992
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
specialOfferZoneList.js
src/api/assistingAgriculture/specialOfferZoneList.js
+1
-1
specialOfferZoneList.vue
...assistingAgriculture/RuralTravel/specialOfferZoneList.vue
+11
-6
ConfirmOrder.vue
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
+1
-1
No files found.
src/api/assistingAgriculture/specialOfferZoneList.js
View file @
57778c10
...
@@ -4,7 +4,7 @@ import { request } from '../../utils/request';
...
@@ -4,7 +4,7 @@ import { request } from '../../utils/request';
export
function
queryOfferProdList
(
data
)
{
export
function
queryOfferProdList
(
data
)
{
return
request
({
return
request
({
url
:
`/sgyrdd/prod/queryOfferProdList`
,
url
:
`/sgyrdd/prod/queryOfferProdList`
,
method
:
'
GE
T'
,
method
:
'
POS
T'
,
data
,
data
,
});
});
}
}
src/pages/assistingAgriculture/RuralTravel/specialOfferZoneList.vue
View file @
57778c10
...
@@ -113,6 +113,7 @@
...
@@ -113,6 +113,7 @@
</template>
</template>
<
script
setup
>
<
script
setup
>
import
{
getPresaleList
}
from
'@/api/assistingAgriculture/building'
;
import
{
queryOfferProdList
}
from
'@/api/assistingAgriculture/specialOfferZoneList'
;
import
{
queryOfferProdList
}
from
'@/api/assistingAgriculture/specialOfferZoneList'
;
import
Sort
from
'../../../components/assistingAgriculture/index/Sort.vue'
;
import
Sort
from
'../../../components/assistingAgriculture/index/Sort.vue'
;
import
DepartureDate
from
'../../../components/assistingAgriculture/index/Date.vue'
;
import
DepartureDate
from
'../../../components/assistingAgriculture/index/Date.vue'
;
...
@@ -130,11 +131,7 @@ const params = ref({
...
@@ -130,11 +131,7 @@ const params = ref({
size
:
15
,
size
:
15
,
isEnd
:
false
,
isEnd
:
false
,
});
});
const
shopSwiperList
=
ref
([
const
shopSwiperList
=
ref
([]);
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg'
,
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/capybara.jpg'
,
'https://registry.npmmirror.com/wot-design-uni-assets/*/files/panda.jpg'
,
]);
const
locationFiltering
=
(
index
)
=>
{
const
locationFiltering
=
(
index
)
=>
{
const
rotates
=
[
rotate
,
rotate2
,
rotate3
,
rotate4
];
const
rotates
=
[
rotate
,
rotate2
,
rotate3
,
rotate4
];
rotates
.
forEach
((
rotate
,
i
)
=>
{
rotates
.
forEach
((
rotate
,
i
)
=>
{
...
@@ -144,6 +141,12 @@ const locationFiltering = (index) => {
...
@@ -144,6 +141,12 @@ const locationFiltering = (index) => {
onMounted
(()
=>
{
onMounted
(()
=>
{
queryOfferProdListFn
();
queryOfferProdListFn
();
getPresaleList
({
place
:
'sojourn'
}).
then
((
res
)
=>
{
shopSwiperList
.
value
=
res
.
data
.
map
((
item
)
=>
{
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
return
item
.
imgUrl
;
});
});
});
});
function
handleClick
(
e
)
{
function
handleClick
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
...
@@ -183,7 +186,9 @@ const dataParams = (item, datePart) => {
...
@@ -183,7 +186,9 @@ const dataParams = (item, datePart) => {
};
};
// 景点
// 景点
const
placeParams
=
(
info
)
=>
{
const
placeParams
=
(
info
)
=>
{
params
.
value
.
attractionIdList
=
[
info
.
id
];
console
.
log
(
'info'
,
info
);
// params.value.attractionIdList = [info.id];
refresh
().
then
(()
=>
{
refresh
().
then
(()
=>
{
queryOfferProdListFn
();
queryOfferProdListFn
();
});
});
...
...
src/pages/assistingAgriculture/cart/ConfirmOrder.vue
View file @
57778c10
...
@@ -229,7 +229,7 @@ onShow(() => {
...
@@ -229,7 +229,7 @@ onShow(() => {
success
()
{
success
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
xma
.
redirectTo
({
xma
.
redirectTo
({
url
:
`/pages/
assistingAgriculture/order/detail?orderNumber=
${
outTradeNos
.
value
}
`
,
url
:
`/pages/
order/order?status=not_pay
`
,
});
});
},
1500
);
},
1500
);
},
},
...
...
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