Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
buildingAgricultureSharing-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
彭佳妮(贵阳日报)
buildingAgricultureSharing-miniapp
Commits
f526ace5
Commit
f526ace5
authored
Aug 02, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改icon
parent
969a3e46
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
55 deletions
+45
-55
index.vue
src/pages/index/index.vue
+45
-55
bacImg.png
src/static/assets/bacImg.png
+0
-0
bottom.png
src/static/assets/bottom.png
+0
-0
right.png
src/static/assets/right.png
+0
-0
sort.png
src/static/assets/sort.png
+0
-0
No files found.
src/pages/index/index.vue
View file @
f526ace5
<
template
>
<
template
>
<view
style=
"background-color: #f3f3f3; height: 100vh"
>
<view
style=
"background-color: #f3f3f3; height: 100vh"
>
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"top"
>
<view>
<view
class=
"left-icon"
></view>
<img
src=
"/static/assets/bottom.png"
style=
"width: 750rpx; height: 32rpx"
/>
<view
class=
"bottom-image"
>
<img
src=
"/static/assets/bacImg.png"
style=
"width: 750rpx; height: 440rpx"
/>
<view
class=
"right-image"
></view>
<img
src=
"/static/assets/right.png"
/>
</view>
</view>
</view>
<view
class=
"sort"
>
<view
class=
"sort"
>
<view
style=
"display: flex; flex-direction: row"
>
<view
style=
"display: flex; flex-direction: row"
>
<view
class=
"borderClass"
>
<view
class=
"borderClass"
>
<img
src=
"/static/assets/buildingAgriculture.png"
style=
"width:
48px; height: 48
px"
/>
<img
src=
"/static/assets/buildingAgriculture.png"
style=
"width:
96rpx; height: 96r
px"
/>
<view
class=
"sort-text"
>
筑农严选
</view>
<view
class=
"sort-text"
>
筑农严选
</view>
</view>
</view>
<view
class=
"borderClass"
>
<view
class=
"borderClass"
>
<img
src=
"/static/assets/rural.png"
style=
"width:
48px; height: 48
px"
/>
<img
src=
"/static/assets/rural.png"
style=
"width:
96rpx; height: 96r
px"
/>
<view
class=
"sort-text"
>
认养农业
</view>
<view
class=
"sort-text"
>
认养农业
</view>
</view>
</view>
<view
class=
"borderClass"
>
<view
class=
"borderClass"
>
<img
src=
"/static/assets/adoption.png"
style=
"width:
48px; height: 48
px"
/>
<img
src=
"/static/assets/adoption.png"
style=
"width:
96rpx; height: 96r
px"
/>
<view
class=
"sort-text"
>
乡村旅居
</view>
<view
class=
"sort-text"
>
乡村旅居
</view>
</view>
</view>
<view
class=
"borderClass"
>
<view
class=
"borderClass"
>
<img
src=
"/static/assets/adoption.png"
style=
"width:
48px; height: 48
px"
/>
<img
src=
"/static/assets/adoption.png"
style=
"width:
96rpx; height: 96r
px"
/>
<view
class=
"sort-text"
>
特色农庄
</view>
<view
class=
"sort-text"
>
特色农庄
</view>
</view>
</view>
</view>
</view>
...
@@ -34,15 +33,15 @@
...
@@ -34,15 +33,15 @@
</view>
</view>
<view
style=
"display: flex; flex-direction: row"
>
<view
style=
"display: flex; flex-direction: row"
>
<view
class=
"detail-border"
>
<view
class=
"detail-border"
>
<img
src=
"/static/assets/detailedMapOne.png"
style=
"width:
108px; height: 88
px"
/>
<img
src=
"/static/assets/detailedMapOne.png"
style=
"width:
216rpx; height: 176r
px"
/>
<view
class=
"detail-title"
>
干辣椒炒肉
</view>
<view
class=
"detail-title"
>
干辣椒炒肉
</view>
</view>
</view>
<view
class=
"detail-border"
>
<view
class=
"detail-border"
>
<img
src=
"/static/assets/detailedMapTwo.png"
style=
"width:
108px; height: 88
px"
/>
<img
src=
"/static/assets/detailedMapTwo.png"
style=
"width:
216rpx; height: 176r
px"
/>
<view
class=
"detail-title"
>
贵阳辣子鸡
</view>
<view
class=
"detail-title"
>
贵阳辣子鸡
</view>
</view>
</view>
<view
class=
"detail-border"
>
<view
class=
"detail-border"
>
<img
src=
"/static/assets/detailedMapThree.png"
style=
"width:
108px; height: 88
px"
/>
<img
src=
"/static/assets/detailedMapThree.png"
style=
"width:
216rpx; height: 176r
px"
/>
<view
class=
"detail-title"
>
麻辣鱼豆腐
</view>
<view
class=
"detail-title"
>
麻辣鱼豆腐
</view>
</view>
</view>
</view>
</view>
...
@@ -56,52 +55,43 @@
...
@@ -56,52 +55,43 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.container
{
.container
{
position
:
relative
;
position
:
relative
;
left
:
0px
;
left
:
0
r
px
;
top
:
0px
;
top
:
0
r
px
;
width
:
375
px
;
width
:
750r
px
;
height
:
220
px
;
height
:
440r
px
;
opacity
:
1
;
opacity
:
1
;
background-image
:
url('@/static/assets/矩形 196@1x.png')
;
}
}
.bottom-image
{
.bottom-image
{
position
:
relative
;
position
:
relative
;
left
:
0px
;
top
:
-40rpx
;
top
:
204px
;
width
:
750rpx
;
width
:
375px
;
height
:
32rpx
;
height
:
16px
;
opacity
:
1
;
opacity
:
1
;
background
:
url('@/static/assets/矩形 198@1x.png')
;
}
}
.right-image
{
.right-image
{
top
:
-192rpx
;
float
:
right
;
float
:
right
;
position
:
relative
;
position
:
relative
;
left
:
231px
;
top
:
-45px
;
width
:
144px
;
height
:
62px
;
opacity
:
1
;
background
:
url('@/static/assets/图层 1@1x.png')
;
}
}
.sort
{
.sort
{
position
:
relative
;
position
:
relative
;
left
:
0
px
;
//left: 0r
px;
top
:
200
px
;
top
:
400r
px
;
width
:
375
px
;
width
:
750r
px
;
height
:
93
px
;
height
:
186r
px
;
opacity
:
1
;
opacity
:
1
;
background
:
url('@/static/assets/矩形 197@1x.png')
;
}
}
.borderClass
{
.borderClass
{
width
:
100
px
;
width
:
200r
px
;
height
:
100
px
;
height
:
200r
px
;
background-color
:
transparent
;
background-color
:
transparent
;
margin
:
20
px
;
margin
:
40r
px
;
}
}
.sort-text
{
.sort-text
{
font-family
:
Source
Han
Sans
;
font-family
:
Source
Han
Sans
;
font-size
:
12
px
;
font-size
:
24r
px
;
font-weight
:
500
;
font-weight
:
500
;
line-height
:
12
px
;
line-height
:
24r
px
;
text-align
:
center
;
text-align
:
center
;
letter-spacing
:
0em
;
letter-spacing
:
0em
;
...
@@ -111,26 +101,26 @@
...
@@ -111,26 +101,26 @@
}
}
.product-page
{
.product-page
{
position
:
relative
;
position
:
relative
;
width
:
355
px
;
width
:
710r
px
;
height
:
371
px
;
height
:
742r
px
;
border-radius
:
8
px
;
border-radius
:
16r
px
;
opacity
:
1
;
opacity
:
1
;
background
:
#ffffff
;
background
:
#ffffff
;
top
:
210
px
;
top
:
420r
px
;
left
:
10
px
;
left
:
20r
px
;
}
}
.page-title
{
.page-title
{
position
:
relative
;
position
:
relative
;
left
:
10
px
;
left
:
20r
px
;
top
:
10
px
;
top
:
20r
px
;
width
:
56
px
;
width
:
112r
px
;
height
:
14
px
;
height
:
28r
px
;
opacity
:
1
;
opacity
:
1
;
font-family
:
Source
Han
Sans
;
font-family
:
Source
Han
Sans
;
font-size
:
14
px
;
font-size
:
28r
px
;
font-weight
:
500
;
font-weight
:
500
;
line-height
:
14
px
;
line-height
:
28r
px
;
text-align
:
center
;
text-align
:
center
;
letter-spacing
:
0em
;
letter-spacing
:
0em
;
...
@@ -139,17 +129,17 @@
...
@@ -139,17 +129,17 @@
color
:
#3d3d3d
;
color
:
#3d3d3d
;
}
}
.main-img
{
.main-img
{
width
:
335
px
;
width
:
670r
px
;
height
:
181
px
;
height
:
362r
px
;
border-radius
:
8
px
;
border-radius
:
16r
px
;
opacity
:
1
;
opacity
:
1
;
margin-top
:
20
px
;
margin-top
:
40r
px
;
}
}
.detail-title
{
.detail-title
{
font-family
:
Source
Han
Sans
;
font-family
:
Source
Han
Sans
;
font-size
:
12
px
;
font-size
:
24r
px
;
font-weight
:
500
;
font-weight
:
500
;
line-height
:
14
px
;
line-height
:
28r
px
;
letter-spacing
:
0em
;
letter-spacing
:
0em
;
font-variation-settings
:
'opsz'
auto
;
font-variation-settings
:
'opsz'
auto
;
...
...
src/static/assets/
矩形 196@1x
.png
→
src/static/assets/
bacImg
.png
View file @
f526ace5
File moved
src/static/assets/
矩形 198@1x
.png
→
src/static/assets/
bottom
.png
View file @
f526ace5
File moved
src/static/assets/
图层 1@1x
.png
→
src/static/assets/
right
.png
View file @
f526ace5
File moved
src/static/assets/
矩形 197@1x
.png
→
src/static/assets/
sort
.png
View file @
f526ace5
File moved
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