【新增】自提门店选择
parent
b98f848be1
commit
1bc75b2ff5
|
@ -1,8 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
|
<s-layout title="选择自提门店" :bgStyle="{ color: '#FFF' }">
|
||||||
<view class="storeBox" ref="container">
|
<view class="storeBox" ref="container">
|
||||||
<view class="storeBox-box" v-for="(item, index) in state.storeList" :key="index" @tap="checked(item)">
|
<view class="storeBox-box" v-for="(item, index) in state.storeList" :key="index" @tap="checked(item)">
|
||||||
<view class="store-img">
|
<view class="store-img">
|
||||||
<image :src="item.logo" class="img"/>
|
<image :src="item.logo" class="img" />
|
||||||
</view>
|
</view>
|
||||||
<view class="store-cent-left">
|
<view class="store-cent-left">
|
||||||
<view class="store-name">{{ item.name }}</view>
|
<view class="store-name">{{ item.name }}</view>
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</s-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
@ -134,7 +136,7 @@
|
||||||
*/
|
*/
|
||||||
const checked = (addressInfo) => {
|
const checked = (addressInfo) => {
|
||||||
uni.$emit('SELECT_PICK_UP_INFO', {
|
uni.$emit('SELECT_PICK_UP_INFO', {
|
||||||
addressInfo
|
addressInfo,
|
||||||
});
|
});
|
||||||
sheep.$router.back();
|
sheep.$router.back();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue