商城下单购买,品类接口,钱包依赖

This commit is contained in:
唐明明
2022-01-07 16:28:29 +08:00
parent 6d4971bc5e
commit a75b9e7964
20 changed files with 1176 additions and 69 deletions

View File

@@ -1,15 +1,15 @@
<template>
<view class="content">
<oct-address
:isTag="false"
:lists="addressList"
:isEdit="false"
:pattern="true"
editColor="#34CE98"
:btnStyle="{'backgroundColor': '#34CE98'}"
@onAddress="onInfo"
@onAdd="add"
>
</oct-address>
@onAdd="$Router.push({name: 'AddressEdit'})"
/>
</view>
</template>
@@ -73,7 +73,8 @@ export default {
},
methods: {
onInfo(val){
console.log(val)
this.$store.commit('setAddress', val)
this.$Router.back()
},
add(){
console.log("新增地址")