【新增】自提门店选择

pull/68/head
puhui999 2024-08-05 18:01:47 +08:00
parent b98f848be1
commit 1bc75b2ff5
1 changed files with 68 additions and 66 deletions

View File

@ -1,4 +1,5 @@
<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">
@ -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();
}; };