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
2c08ecd7
Commit
2c08ecd7
authored
Aug 20, 2024
by
zhangjinyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
1be7ce92
726eaaa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
index.vue
src/pages/assistingAgriculture/index/index.vue
+9
-2
No files found.
src/pages/assistingAgriculture/index/index.vue
View file @
2c08ecd7
...
...
@@ -37,6 +37,7 @@
</view>
<view
class=
"sort"
>
<view
style=
"display: flex; flex-direction: row"
>
<scroll-view
class=
"box-red"
scroll-x=
"true"
@
scroll=
"scroll"
>
<view
class=
"borderClass"
@
click=
"toBuilding(item)"
...
...
@@ -46,6 +47,7 @@
<image
mode=
"aspectFill"
:src=
"item.icon"
style=
"width: 96rpx; height: 96rpx"
/>
<view
class=
"sort-text"
>
{{
item
.
categoryName
}}
</view>
</view>
</scroll-view>
</view>
</view>
<view
class=
"product-page"
v-for=
"(item, index) in list"
:key=
"index"
>
...
...
@@ -109,7 +111,7 @@ const getList = () => {
res
.
data
.
forEach
((
item
)
=>
{
item
.
icon
=
import
.
meta
.
env
.
VITE_APP_IMG_URL
+
item
.
pic
;
});
sortList
.
value
=
res
.
data
.
splice
(
0
,
4
)
;
sortList
.
value
=
res
.
data
;
});
};
// 筑农严选首页-分类预售商品列表
...
...
@@ -205,11 +207,16 @@ page {
height
:
186rpx
;
background
:
linear-gradient
(
180deg
,
#82ce8b
-39%
,
#ffffff
36%
);
}
.box-red
{
white-space
:
nowrap
;
width
:
100%
;
}
.borderClass
{
width
:
96rpx
;
height
:
96rpx
;
margin
-left
:
75
rpx
;
margin
:
0
36
rpx
;
margin-top
:
22rpx
;
display
:
inline-block
;
}
.sort-text
{
font-size
:
24rpx
;
...
...
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