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
0922c162
Commit
0922c162
authored
Aug 09, 2024
by
张娇(东信)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车列表
parent
10c61674
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
cart.vue
src/pages/assistingAgriculture/cart/cart.vue
+9
-5
No files found.
src/pages/assistingAgriculture/cart/cart.vue
View file @
0922c162
...
@@ -9,8 +9,9 @@
...
@@ -9,8 +9,9 @@
>
>
<wd-icon
v-if=
"shop.isChecked"
name=
"check1"
></wd-icon>
<wd-icon
v-if=
"shop.isChecked"
name=
"check1"
></wd-icon>
</div>
</div>
<div
class=
"type"
>
{{
shop
.
type
}}
</div>
<div
class=
"type"
>
店铺
</div>
<div
class=
"shop-name"
>
{{
shop
.
shopName
}}
</div>
<div
class=
"shop-name"
@
click=
"toStore"
>
{{
shop
.
shopName
}}
</div>
<wd-icon
name=
"arrow-right"
size=
"32rpx"
style=
"margin-left: -15rpx"
></wd-icon>
</div>
</div>
<div
class=
"commodity-list"
>
<div
class=
"commodity-list"
>
<div
class=
"commodity-item flex-align-center"
v-for=
"(item, j) in secondaryList"
:key=
"j"
>
<div
class=
"commodity-item flex-align-center"
v-for=
"(item, j) in secondaryList"
:key=
"j"
>
...
@@ -76,8 +77,6 @@ const totalPrice = computed(() => {
...
@@ -76,8 +77,6 @@ const totalPrice = computed(() => {
});
});
const
list
=
ref
([]);
const
list
=
ref
([]);
const
secondaryList
=
ref
([]);
const
secondaryList
=
ref
([]);
const
hhh
=
ref
([]);
const
cartList
=
ref
([]);
const
cartList
=
ref
([]);
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
presaleSortList
();
presaleSortList
();
...
@@ -115,7 +114,12 @@ const presaleSortList = (index) => {
...
@@ -115,7 +114,12 @@ const presaleSortList = (index) => {
});
});
});
});
};
};
// 跳转店铺主页
// const toStore = () => {
// xma.navigateTo({
// url: `/pages/assistingAgriculture/shop/index?shopId=1`,
// });
// };
function
toSettle
()
{
function
toSettle
()
{
// TODO: 跳转到结算页面
// TODO: 跳转到结算页面
xma
.
navigateTo
({
xma
.
navigateTo
({
...
...
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