This commit is contained in:
zmj 2024-06-18 10:19:49 +08:00
parent de45d6d15c
commit f3212ac273
1 changed files with 6 additions and 7 deletions

View File

@ -79,7 +79,7 @@
<uni-th width="50" align="center">状态</uni-th> <uni-th width="50" align="center">状态</uni-th>
</uni-tr> </uni-tr>
<!-- 表格数据行 --> <!-- 表格数据行 -->
<uni-tr v-for="(item,index) in lists" :key="index"> <uni-tr v-for="(item,index) in lists" :key="item.order_id">
<uni-td align="center">{{index+1}}</uni-td> <uni-td align="center">{{index+1}}</uni-td>
<uni-td style="font-size: 20rpx;" align="center">{{item.real_name}}</uni-td> <uni-td style="font-size: 20rpx;" align="center">{{item.real_name}}</uni-td>
<uni-td style="font-size: 20rpx;" align="center">{{item.price}}</uni-td> <uni-td style="font-size: 20rpx;" align="center">{{item.price}}</uni-td>
@ -104,35 +104,35 @@
<up-line style="margin-top:20rpx "></up-line> <up-line style="margin-top:20rpx "></up-line>
<view class="address-content" v-if='currentAddressIndex==0'> <view class="address-content" v-if='currentAddressIndex==0'>
<view class="address-li" :class='{act:item.city_code==formData.city}' v-for="item in addressList.city" <view class="address-li" :class='{act:item.city_code==formData.city}' v-for="item in addressList.city"
@click="addressLiClick(0, item)"> :key="item.city_code" @click="addressLiClick(0, item)">
<text>{{item.city_name}}</text> <text>{{item.city_name}}</text>
<up-icon name="arrow-right" :color="item.city_code==formData.city ?'#20B128':'#777777'" /> <up-icon name="arrow-right" :color="item.city_code==formData.city ?'#20B128':'#777777'" />
</view> </view>
</view> </view>
<view class="address-content" v-else-if='currentAddressIndex==1'> <view class="address-content" v-else-if='currentAddressIndex==1'>
<view class="address-li" v-for="item in addressList.area" @click="addressLiClick(1,item)" <view class="address-li" v-for="item in addressList.area" @click="addressLiClick(1,item)"
:class='{act:item.area_code==formData.area}'> :key="item.area_code" :class='{act:item.area_code==formData.area}'>
<text>{{item.area_name}}</text> <text>{{item.area_name}}</text>
<up-icon name="arrow-right" :color="item.area_code==formData.area ?'#20B128':'#777777'" /> <up-icon name="arrow-right" :color="item.area_code==formData.area ?'#20B128':'#777777'" />
</view> </view>
</view> </view>
<view class="address-content" v-else-if='currentAddressIndex==2'> <view class="address-content" v-else-if='currentAddressIndex==2'>
<view class="address-li" v-for="item in addressList.street" @click="addressLiClick(2,item)" <view class="address-li" v-for="item in addressList.street" @click="addressLiClick(2,item)"
:class='{act:item.street_code==formData.street}'> :key="item.street_code" :class='{act:item.street_code==formData.street}'>
<text>{{item.street_name}}</text> <text>{{item.street_name}}</text>
<up-icon name="arrow-right" :color="item.street_code==formData.street ?'#20B128':'#777777'" /> <up-icon name="arrow-right" :color="item.street_code==formData.street ?'#20B128':'#777777'" />
</view> </view>
</view> </view>
<view class="address-content" v-else-if='currentAddressIndex==3'> <view class="address-content" v-else-if='currentAddressIndex==3'>
<view class="address-li" v-for="item in addressList.village" @click="addressLiClick(3,item)" <view class="address-li" v-for="item in addressList.village" @click="addressLiClick(3,item)"
:class='{act:item.village_code==formData.village}'> :key="item.village_code" :class='{act:item.village_code==formData.village}'>
<text>{{item.village_name}}</text> <text>{{item.village_name}}</text>
<up-icon name="arrow-right" :color="item.village_code==formData.village ?'#20B128':'#777777'" /> <up-icon name="arrow-right" :color="item.village_code==formData.village ?'#20B128':'#777777'" />
</view> </view>
</view> </view>
<view class="address-content" v-else-if='currentAddressIndex==4'> <view class="address-content" v-else-if='currentAddressIndex==4'>
<view class="address-li" :class='{act:item.id==formData.brigade}' v-for="item in addressList.brigade" <view class="address-li" :class='{act:item.id==formData.brigade}' v-for="item in addressList.brigade"
@click="addressLiClick(4,item)"> :key="item.id" @click="addressLiClick(4,item)">
<text>{{item.brigade_name}}</text> <text>{{item.brigade_name}}</text>
<up-icon name="arrow-right" :color="item.id==formData.brigade ?'#20B128':'#777777'" /> <up-icon name="arrow-right" :color="item.id==formData.brigade ?'#20B128':'#777777'" />
</view> </view>
@ -165,7 +165,6 @@
onPullDownRefresh onPullDownRefresh
} from "@dcloudio/uni-app" } from "@dcloudio/uni-app"
const showModa = ref(true) const showModa = ref(true)
const storePhone = ref('') const storePhone = ref('')
const confirmStore = () => { const confirmStore = () => {