优化框架
This commit is contained in:
@@ -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} ${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);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user