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
b25480db
Commit
b25480db
authored
Aug 06, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车徽标
parent
09fcce0e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
8 deletions
+28
-8
detail.vue
src/pages/detail/detail.vue
+5
-3
building.vue
src/pages/index/building.vue
+11
-2
presale.vue
src/pages/index/presale.vue
+11
-2
index.vue
src/pages/shop/index.vue
+1
-1
car.png
src/static/detail/car.png
+0
-0
No files found.
src/pages/detail/detail.vue
View file @
b25480db
...
...
@@ -60,9 +60,11 @@
<img
src=
"/static/detail/img8.png"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
>
客服
</view>
</view>
<view
class=
"borderClass"
>
<img
src=
"/static/detail/img6.png"
style=
"width: 40rpx; height: 40rpx"
/>
<view
class=
"sort-text"
@
tap=
"toCart"
>
购物车
</view>
<view
class=
"borderClass"
@
tap=
"toCart"
>
<wd-badge
modelValue=
"4"
>
<img
src=
"/static/detail/car.png"
style=
"width: 40rpx; height: 40rpx"
/>
</wd-badge>
<view
class=
"sort-text"
>
购物车
</view>
</view>
</view>
<!--
<view
class=
"sort"
>
-->
...
...
src/pages/index/building.vue
View file @
b25480db
...
...
@@ -92,8 +92,10 @@
</view>
</view>
<!-- 购物车悬浮按钮 -->
<view
class=
"cart-floating"
>
<img
class=
"cart"
@
tap=
"toCart"
src=
"/static/presale/cart.png"
/>
<view
class=
"cart-floating"
@
tap=
"toCart"
>
<wd-badge
modelValue=
"4"
>
<img
class=
"shop-car"
src=
"/static/presale/cart.png"
style=
"width: 40rpx; height: 40rpx"
/>
</wd-badge>
</view>
</view>
</
template
>
...
...
@@ -346,4 +348,11 @@ page {
width
:
48rpx
;
height
:
46rpx
;
}
.shop-car
{
margin-left
:
20rpx
;
margin-top
:
20rpx
;
}
::v-deep
.wd-badge__content.is-fixed
{
margin-top
:
20rpx
;
}
</
style
>
src/pages/index/presale.vue
View file @
b25480db
...
...
@@ -134,8 +134,10 @@
</view>
</view>
<!-- 购物车悬浮按钮 -->
<view
class=
"cart-floating"
>
<img
class=
"cart"
@
tap=
"toCart"
src=
"/static/presale/cart.png"
/>
<view
class=
"cart-floating"
@
tap=
"toCart"
>
<wd-badge
modelValue=
"4"
>
<img
class=
"shop-car"
src=
"/static/presale/cart.png"
style=
"width: 40rpx; height: 40rpx"
/>
</wd-badge>
</view>
</
template
>
...
...
@@ -491,4 +493,11 @@ page {
width
:
48rpx
;
height
:
46rpx
;
}
.shop-car
{
margin-left
:
20rpx
;
margin-top
:
20rpx
;
}
::v-deep
.wd-badge__content.is-fixed
{
margin-top
:
20rpx
;
}
</
style
>
src/pages/shop/index.vue
View file @
b25480db
...
...
@@ -248,7 +248,7 @@ uni-page-body {
}
.cart-floating
{
position
:
fixed
;
text-align
:
center
;
bottom
:
10%
;
width
:
80rpx
;
height
:
80rpx
;
...
...
src/static/detail/car.png
0 → 100644
View file @
b25480db
475 Bytes
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