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
68cd7bc8
Commit
68cd7bc8
authored
Aug 10, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
509ffcf3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
9 deletions
+25
-9
building.vue
src/pages/assistingAgriculture/index/building.vue
+14
-5
index.vue
src/pages/assistingAgriculture/index/index.vue
+4
-1
presale.vue
src/pages/assistingAgriculture/index/presale.vue
+7
-3
No files found.
src/pages/assistingAgriculture/index/building.vue
View file @
68cd7bc8
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
color=
"#ABAAAA"
color=
"#ABAAAA"
style=
"position: relative; float: right; top: -42rpx"
style=
"position: relative; float: right; top: -42rpx"
></wd-icon>
></wd-icon>
<view
class=
"buy-img"
>
<view
class=
"hot-img"
v-for=
"(item, index) in hotImgList"
:key=
"index"
>
<view
class=
"hot-img"
v-for=
"(item, index) in hotImgList"
:key=
"index"
>
<img
<img
class=
"rice"
class=
"rice"
...
@@ -72,6 +73,7 @@
...
@@ -72,6 +73,7 @@
/>
/>
</view>
</view>
</view>
</view>
</view>
<!-- tabs-->
<!-- tabs-->
<scroll-view
class=
"tabs"
show-scrollbar=
"false"
scroll-x
:scroll-with-animation=
"true"
>
<scroll-view
class=
"tabs"
show-scrollbar=
"false"
scroll-x
:scroll-with-animation=
"true"
>
<text
<text
...
@@ -98,7 +100,11 @@
...
@@ -98,7 +100,11 @@
:key=
"index"
:key=
"index"
style=
"margin-left: 20rpx"
style=
"margin-left: 20rpx"
>
>
<img
@
tap=
"toDetail(item)"
:src=
"item.imgUrl"
style=
"width: 330rpx; height: 330rpx"
/>
<img
@
tap=
"toDetail(item)"
:src=
"item.imgUrl"
style=
"width: 330rpx; height: 330rpx; border-radius: 16rpx"
/>
<view
class=
"detail-title"
>
{{
whh
}}
</view>
<view
class=
"detail-title"
>
{{
whh
}}
</view>
<view
class=
"price-page"
>
<view
class=
"price-page"
>
<text
class=
"price"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"price"
>
¥
{{
item
.
price
}}
</text>
...
@@ -249,18 +255,19 @@ page {
...
@@ -249,18 +255,19 @@ page {
}
}
.hot-sale
{
.hot-sale
{
width
:
710rpx
;
width
:
710rpx
;
height
:
532rpx
;
//
height: 532rpx;
border-radius
:
16rpx
;
border-radius
:
16rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
margin
:
20rpx
;
margin
:
20rpx
;
}
}
.top-title
{
.top-title
{
top
:
5
px
;
top
:
20r
px
;
position
:
relative
;
position
:
relative
;
margin
:
25rpx
;
margin
:
25rpx
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
padding-bottom
:
10rpx
;
}
}
.left-title
{
.left-title
{
font-family
:
Source
Han
Sans
;
font-family
:
Source
Han
Sans
;
...
@@ -444,7 +451,9 @@ page {
...
@@ -444,7 +451,9 @@ page {
img
.rice
{
img
.rice
{
border-radius
:
16rpx
16rpx
16rpx
16rpx
;
border-radius
:
16rpx
16rpx
16rpx
16rpx
;
margin-left
:
20rpx
;
margin-left
:
20rpx
;
margin-top
:
-40rpx
;
}
padding-bottom
:
40rpx
;
.buy-img
{
position
:
relative
;
top
:
-20rpx
;
}
}
</
style
>
</
style
>
src/pages/assistingAgriculture/index/index.vue
View file @
68cd7bc8
...
@@ -43,7 +43,10 @@
...
@@ -43,7 +43,10 @@
:key=
"index"
:key=
"index"
@
click=
"toDetail(item)"
@
click=
"toDetail(item)"
>
>
<img
:src=
"item.commodityImg"
style=
"width: 216rpx; height: 176rpx"
/>
<img
:src=
"item.commodityImg"
style=
"width: 216rpx; height: 176rpx; border-radius: 16rpx"
/>
<view
class=
"detail-title"
>
{{
item
.
prodName
}}
</view>
<view
class=
"detail-title"
>
{{
item
.
prodName
}}
</view>
<view
class=
"jiage-page"
>
<view
class=
"jiage-page"
>
<text
class=
"jiage"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"jiage"
>
¥
{{
item
.
price
}}
</text>
...
...
src/pages/assistingAgriculture/index/presale.vue
View file @
68cd7bc8
...
@@ -48,7 +48,11 @@
...
@@ -48,7 +48,11 @@
</scroll-view>
</scroll-view>
</view>
</view>
<view
class=
"tab-list"
v-for=
"(item, index) in buyList"
:key=
"index"
@
tap=
"toDetail(item)"
>
<view
class=
"tab-list"
v-for=
"(item, index) in buyList"
:key=
"index"
@
tap=
"toDetail(item)"
>
<img
class=
"buy-list"
:src=
"item.img"
style=
"width: 670rpx; height: 670rpx"
/>
<img
class=
"buy-list"
:src=
"item.img"
style=
"width: 670rpx; height: 670rpx; border-radius: 16rpx"
/>
<view>
<view>
<text
class=
"retail-price"
>
零售价:¥
{{
item
.
oriPrice
}}
/盒
</text>
<text
class=
"retail-price"
>
零售价:¥
{{
item
.
oriPrice
}}
/盒
</text>
<text
class=
"presale-price"
>
预售价:¥
{{
item
.
price
}}
/盒
</text>
<text
class=
"presale-price"
>
预售价:¥
{{
item
.
price
}}
/盒
</text>
...
@@ -83,7 +87,7 @@
...
@@ -83,7 +87,7 @@
z-index: 10;
z-index: 10;
margin-left: 18rpx;
margin-left: 18rpx;
top: -70rpx;
top: -70rpx;
left: -1
4
rpx;
left: -1
9
rpx;
"
"
/>
/>
<image
<image
...
@@ -331,7 +335,7 @@ page {
...
@@ -331,7 +335,7 @@ page {
height
:
730rpx
;
height
:
730rpx
;
margin-top
:
-64rpx
;
margin-top
:
-64rpx
;
margin-left
:
20rpx
;
margin-left
:
20rpx
;
border-radius
:
0px
0px
8px
8
px
;
border-radius
:
16r
px
;
background
:
#ffffff
;
background
:
#ffffff
;
margin-top
:
6rpx
;
margin-top
:
6rpx
;
}
}
...
...
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