Commit 0922c162 authored by 张娇(东信)'s avatar 张娇(东信)

购物车列表

parent 10c61674
...@@ -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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment