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

购物车列表

parent 10c61674
......@@ -9,8 +9,9 @@
>
<wd-icon v-if="shop.isChecked" name="check1"></wd-icon>
</div>
<div class="type">{{ shop.type }}</div>
<div class="shop-name">{{ shop.shopName }}</div>
<div class="type">店铺</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 class="commodity-list">
<div class="commodity-item flex-align-center" v-for="(item, j) in secondaryList" :key="j">
......@@ -76,8 +77,6 @@ const totalPrice = computed(() => {
});
const list = ref([]);
const secondaryList = ref([]);
const hhh = ref([]);
const cartList = ref([]);
onMounted(async () => {
presaleSortList();
......@@ -115,7 +114,12 @@ const presaleSortList = (index) => {
});
});
};
// 跳转店铺主页
// const toStore = () => {
// xma.navigateTo({
// url: `/pages/assistingAgriculture/shop/index?shopId=1`,
// });
// };
function toSettle() {
// TODO: 跳转到结算页面
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