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
649dea1b
Commit
649dea1b
authored
Aug 09, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预售
parent
d5bcedf7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
presale.vue
src/pages/assistingAgriculture/index/presale.vue
+11
-3
No files found.
src/pages/assistingAgriculture/index/presale.vue
View file @
649dea1b
...
...
@@ -47,7 +47,7 @@
</text>
</scroll-view>
</view>
<view
class=
"tab-list"
v-for=
"(item, index) in
sortData
List"
:key=
"index"
@
tap=
"toDetail"
>
<view
class=
"tab-list"
v-for=
"(item, index) in
buy
List"
:key=
"index"
@
tap=
"toDetail"
>
<img
class=
"buy-list"
:src=
"item.img"
style=
"width: 670rpx; height: 670rpx"
/>
<view>
<text
class=
"retail-price"
>
零售价:¥
{{
item
.
oriPrice
}}
/盒
</text>
...
...
@@ -205,7 +205,6 @@ onMounted(async () => {
getPresaleProd
();
presaleSortList
();
chooseTab
(
'3287'
);
choice
(
0
,
'3292'
);
});
// 预售板块轮播图
const
getPresale
=
()
=>
{
...
...
@@ -254,7 +253,16 @@ const getPresaleProd = () => {
};
// 二级分类点击事件
const
choice
=
(
index
,
categoryId
)
=>
{
sortDataList
.
value
=
tabsData
.
value
[
index
];
getPresaleProdList
({
current
:
1
,
size
:
10
,
categoryId
}).
then
((
res
)
=>
{
res
.
data
.
records
.
forEach
((
item
)
=>
{
item
.
img
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
});
buyList
.
value
=
res
.
data
.
records
;
if
(
index
===
0
)
{
chooseTab
(
'3287'
);
choice
(
0
,
'3273'
);
}
});
light
.
value
=
index
;
};
// 左侧数据列表
...
...
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