优化框架

This commit is contained in:
2024-08-08 01:53:51 +08:00
parent d0adbaff13
commit 24e63cf551
16 changed files with 1454 additions and 493 deletions
+4 -5
View File
@@ -7,7 +7,7 @@
</view>
</uni-card>
<uni-card :border="false" :is-shadow="false">
<uni-card :border="false" :is-shadow="false" v-if="address.name">
<uv-cell
v-if="deliveryType === 0"
:title="`${address.name} &nbsp; ${address.phone}`"
@@ -23,12 +23,11 @@
</uv-cell>
<uv-cell
v-if="deliveryType === 1"
:title="`${shopAddress.merchantName}`"
:label="`${shopAddress.address}`"
:title="`${cart.shops[0].shopName}`"
:label="`${cart.shops[0].address}`"
icon="map"
:cellStyle="{ padding: '5px 0' }"
:border="false"
@click="openAddressList"
>
<template v-slot:right-icon>
<uv-icon name="arrow-right"></uv-icon>
@@ -302,7 +301,6 @@ export default {
};
},
onLoad(where) {
console.log('where:',where)
this.where = where;
this.reload();
},
@@ -331,6 +329,7 @@ export default {
CartApi.listCart(where).then(data => {
if(data){
app.cart = data
console.log(app.cart.shops);
}
})