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
eccb651a
Commit
eccb651a
authored
Aug 09, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转详情页
parent
82b55e74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
cart.vue
src/pages/assistingAgriculture/cart/cart.vue
+0
-1
building.vue
src/pages/assistingAgriculture/index/building.vue
+0
-1
index.vue
src/pages/assistingAgriculture/index/index.vue
+0
-1
presale.vue
src/pages/assistingAgriculture/index/presale.vue
+0
-4
No files found.
src/pages/assistingAgriculture/cart/cart.vue
View file @
eccb651a
...
@@ -147,7 +147,6 @@ function toSettle() {
...
@@ -147,7 +147,6 @@ function toSettle() {
});
});
}
else
{
}
else
{
const
basketIds
=
selected
.
map
((
item
)
=>
item
.
basket
.
basketId
).
join
(
','
);
const
basketIds
=
selected
.
map
((
item
)
=>
item
.
basket
.
basketId
).
join
(
','
);
console
.
log
(
'Basket IDs:'
,
basketIds
);
// TODO: 跳转到结算页面
// TODO: 跳转到结算页面
xma
.
navigateTo
({
xma
.
navigateTo
({
url
:
`/pages/assistingAgriculture/cart/ConfirmOrder?ids=
${
basketIds
}
`
,
url
:
`/pages/assistingAgriculture/cart/ConfirmOrder?ids=
${
basketIds
}
`
,
...
...
src/pages/assistingAgriculture/index/building.vue
View file @
eccb651a
...
@@ -186,7 +186,6 @@ const choice = (index, item) => {
...
@@ -186,7 +186,6 @@ const choice = (index, item) => {
testData
.
value
.
forEach
((
item
)
=>
{
testData
.
value
.
forEach
((
item
)
=>
{
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
whh
.
value
=
getSlashValue
(
item
.
content
);
whh
.
value
=
getSlashValue
(
item
.
content
);
console
.
log
(
whh
.
value
,
333
);
});
});
light
.
value
=
index
;
light
.
value
=
index
;
};
};
...
...
src/pages/assistingAgriculture/index/index.vue
View file @
eccb651a
...
@@ -103,7 +103,6 @@ const getPresaleCategoryList = () => {
...
@@ -103,7 +103,6 @@ const getPresaleCategoryList = () => {
// 预售板块轮播图
// 预售板块轮播图
const
getPresale
=
()
=>
{
const
getPresale
=
()
=>
{
getPresaleList
({
place
:
'index_top'
}).
then
((
res
)
=>
{
getPresaleList
({
place
:
'index_top'
}).
then
((
res
)
=>
{
console
.
log
(
res
,
111
);
res
.
data
.
forEach
((
item
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
});
});
...
...
src/pages/assistingAgriculture/index/presale.vue
View file @
eccb651a
...
@@ -154,7 +154,6 @@ onMounted(async () => {
...
@@ -154,7 +154,6 @@ onMounted(async () => {
// 预售板块轮播图
// 预售板块轮播图
const
getPresale
=
()
=>
{
const
getPresale
=
()
=>
{
getPresaleList
({
place
:
'presale'
}).
then
((
res
)
=>
{
getPresaleList
({
place
:
'presale'
}).
then
((
res
)
=>
{
console
.
log
(
res
,
111
);
res
.
data
.
forEach
((
item
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
item
.
imgUrl
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
imgUrl
;
});
});
...
@@ -234,9 +233,6 @@ function toDetail(item) {
...
@@ -234,9 +233,6 @@ function toDetail(item) {
url
:
`/pages/assistingAgriculture/detail/detail?prodId=
${
item
.
prodId
}
`
,
url
:
`/pages/assistingAgriculture/detail/detail?prodId=
${
item
.
prodId
}
`
,
});
});
}
}
function
toTab
(
item
)
{
console
.
log
(
item
,
222
);
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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