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
f965b713
Commit
f965b713
authored
Aug 19, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
3f9febdf
79dfb43f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
building.vue
src/pages/assistingAgriculture/index/building.vue
+14
-2
presale.vue
src/pages/assistingAgriculture/index/presale.vue
+1
-3
index.vue
src/pages/index/index.vue
+7
-2
No files found.
src/pages/assistingAgriculture/index/building.vue
View file @
f965b713
...
@@ -133,6 +133,7 @@
...
@@ -133,6 +133,7 @@
/>
/>
</view>
</view>
</view>
</view>
<wd-status-tip
image=
"content"
tip=
"暂无数据"
v-if=
"testData.length === 0"
/>
</view>
</view>
<!-- 购物车悬浮按钮 -->
<!-- 购物车悬浮按钮 -->
<!--
<view
class=
"cart-floating"
@
tap=
"toCart"
>
<!--
<view
class=
"cart-floating"
@
tap=
"toCart"
>
...
@@ -219,12 +220,23 @@ const getGoodSaleProd = () => {
...
@@ -219,12 +220,23 @@ const getGoodSaleProd = () => {
};
};
// 筑农严选首页-分类查询商品列表
// 筑农严选首页-分类查询商品列表
const
platformProdList
=
()
=>
{
const
platformProdList
=
()
=>
{
xma
.
showLoading
({
title
:
'加载中'
,
});
getPlatformProdList
({
categoryId
:
router
.
query
.
categoryId
}).
then
((
res
)
=>
{
getPlatformProdList
({
categoryId
:
router
.
query
.
categoryId
}).
then
((
res
)
=>
{
xma
.
hideLoading
();
detailList
.
value
=
res
.
data
;
detailList
.
value
=
res
.
data
;
choice
(
0
,
'3272'
);
choice
(
0
,
'3272'
);
});
});
};
};
const
choice
=
(
index
,
item
)
=>
{
const
choice
=
(
index
,
item
)
=>
{
xma
.
showLoading
({
title
:
'加载中'
,
});
getPlatformProdList
({
categoryId
:
router
.
query
.
categoryId
}).
then
((
res
)
=>
{
xma
.
hideLoading
();
detailList
.
value
=
res
.
data
;
});
testData
.
value
=
detailList
.
value
[
index
].
prodList
;
testData
.
value
=
detailList
.
value
[
index
].
prodList
;
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
;
...
@@ -406,7 +418,7 @@ page {
...
@@ -406,7 +418,7 @@ page {
font-weight
:
500
;
font-weight
:
500
;
line-height
:
28rpx
;
line-height
:
28rpx
;
letter-spacing
:
0em
;
letter-spacing
:
0em
;
margin-left
:
48
rpx
;
margin-left
:
20
rpx
;
color
:
#3d3d3d
;
color
:
#3d3d3d
;
width
:
190rpx
;
width
:
190rpx
;
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -420,7 +432,7 @@ page {
...
@@ -420,7 +432,7 @@ page {
font-size
:
24rpx
;
font-size
:
24rpx
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#abaaaa
;
color
:
#abaaaa
;
margin-left
:
4
0rpx
;
margin-left
:
2
0rpx
;
}
}
.price
{
.price
{
font-size
:
24rpx
;
font-size
:
24rpx
;
...
...
src/pages/assistingAgriculture/index/presale.vue
View file @
f965b713
...
@@ -83,9 +83,7 @@
...
@@ -83,9 +83,7 @@
/>
/>
</view>
</view>
</view>
</view>
<view
class=
"user flex-center"
v-if=
"buyList.length === 0"
>
<wd-status-tip
image=
"content"
tip=
"暂无数据"
v-if=
"buyList.length === 0"
/>
<wd-status-tip
image=
"content"
tip=
"暂无数据"
/>
</view>
</view>
</view>
<view
class=
"waterfall"
>
<view
class=
"waterfall"
>
<view
class=
"wt-left wt-list"
>
<view
class=
"wt-left wt-list"
>
...
...
src/pages/index/index.vue
View file @
f965b713
...
@@ -215,7 +215,7 @@ const cardData2 = ref([]);
...
@@ -215,7 +215,7 @@ const cardData2 = ref([]);
const
shopCardData
=
ref
({});
const
shopCardData
=
ref
({});
const
current
=
ref
(
0
);
const
current
=
ref
(
0
);
const
swiperList
=
ref
([
'../../static/index/guiyang.png'
,
'../../static/index/guiyang.png'
]);
const
swiperList
=
ref
([
'../../static/index/guiyang.png'
,
'../../static/index/guiyang.png'
]);
cons
t
listParams
=
{
le
t
listParams
=
{
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
lon
:
106.68650025025502
,
lon
:
106.68650025025502
,
...
@@ -344,7 +344,12 @@ const recommendedClassification = () => {
...
@@ -344,7 +344,12 @@ const recommendedClassification = () => {
};
};
// 重置数据
// 重置数据
const
reset
=
()
=>
{
const
reset
=
()
=>
{
listParams
.
current
=
1
;
listParams
=
{
current
:
1
,
size
:
10
,
lon
:
106.68650025025502
,
lat
:
26.567192352601154
,
};
shopCardData
.
value
=
{};
shopCardData
.
value
=
{};
cardData
.
value
=
[];
cardData
.
value
=
[];
cardData1
.
value
=
[];
cardData1
.
value
=
[];
...
...
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