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
7bc2a2ed
Commit
7bc2a2ed
authored
Aug 06, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
7a381d1a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
9 deletions
+38
-9
ConfirmOrder.vue
src/pages/cart/ConfirmOrder.vue
+2
-1
cart.vue
src/pages/cart/cart.vue
+1
-1
building.vue
src/pages/index/building.vue
+1
-1
index.vue
src/pages/shop/index.vue
+34
-6
No files found.
src/pages/cart/ConfirmOrder.vue
View file @
7bc2a2ed
...
...
@@ -392,12 +392,13 @@ page {
font-size
:
32rpx
;
}
.submit-order-view
{
width
:
7
1
0rpx
;
width
:
7
5
0rpx
;
height
:
131rpx
;
padding-left
:
18rpx
;
padding-top
:
21rpx
;
margin-top
:
15%
;
background
:
#ffffff
;
margin-left
:
-20rpx
;
}
.total-view
{
width
:
142rpx
;
...
...
src/pages/cart/cart.vue
View file @
7bc2a2ed
...
...
@@ -141,7 +141,7 @@ const changeCheckedAll = () => {
});
};
function
toSettle
()
{
// TODO: 跳转到
筑农严选
// TODO: 跳转到
结算页面
xma
.
navigateTo
({
url
:
'/pages/cart/ConfirmOrder'
,
});
...
...
src/pages/index/building.vue
View file @
7bc2a2ed
...
...
@@ -147,7 +147,7 @@ function toDetail() {
});
}
function
toCart
()
{
// TODO: 跳转到
筑农严选
// TODO: 跳转到
购物车
xma
.
navigateTo
({
url
:
'/pages/cart/cart'
,
});
...
...
src/pages/shop/index.vue
View file @
7bc2a2ed
...
...
@@ -41,13 +41,17 @@
</div>
</div>
</div>
<div
class=
"shopping-cart"
>
<div>
<img
src=
"/src/static/shop/shoppingCart.png"
alt=
""
/>
购物车
</div>
<img
src=
"/src/static/shop/doubleArrow.png"
alt=
""
/>
<!-- 购物车悬浮按钮 -->
<div
class=
"cart-floating"
>
<img
class=
"cart"
@
tap=
"toCart"
src=
"/static/presale/cart.png"
/>
</div>
<!--
<div
class=
"shopping-cart"
>
-->
<!--
<div>
-->
<!--
<img
src=
"/src/static/shop/shoppingCart.png"
alt=
""
/>
-->
<!-- 购物车-->
<!--
</div>
-->
<!--
<img
src=
"/src/static/shop/doubleArrow.png"
alt=
""
/>
-->
<!--
</div>
-->
</div>
</
template
>
...
...
@@ -80,6 +84,12 @@ const navList = ref([
const
acitveNav
=
ref
(
1
);
const
activeFilter
=
ref
(
false
);
function
toCart
()
{
// TODO: 跳转到购物车
xma
.
navigateTo
({
url
:
'/pages/cart/cart'
,
});
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -236,4 +246,22 @@ uni-page-body {
}
}
}
.cart-floating
{
position
:
fixed
;
bottom
:
10%
;
width
:
80rpx
;
height
:
80rpx
;
z-index
:
99
;
background-color
:
#ffffff
;
border-radius
:
50%
;
margin-left
:
10px
;
}
.cart
{
position
:
relative
;
top
:
20rpx
;
left
:
16rpx
;
width
:
48rpx
;
height
:
46rpx
;
}
</
style
>
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