feat: 新增虚拟商品不展示地址功能

master
Yer 2023-08-18 18:49:34 +08:00
parent 9ab1cec1bb
commit 63fee6f272
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<div <div
class="address-box" class="address-box"
@click="clickToAddress()" @click="clickToAddress()"
v-if="shippingText == 'LOGISTICS'" v-if="shippingText == 'LOGISTICS' && orderMessage.cartTypeEnum != 'VIRTUAL'"
> >
<div class="user-box flex"> <div class="user-box flex">
<div class="flex-8"> <div class="flex-8">
@ -651,7 +651,7 @@ export default {
}); });
return false; return false;
} }
} else if (this.shippingText === "LOGISTICS") { } else if (this.shippingText === "LOGISTICS" && this.orderMessage.cartTypeEnum != 'VIRTUAL') {
if (!this.address.id) { if (!this.address.id) {
uni.showToast({ uni.showToast({
title: "请选择地址", title: "请选择地址",
@ -853,7 +853,7 @@ export default {
</script> </script>
<style scoped> <style scoped>
page { page {
background: #ededed !important; background: #f7f7f7;
} }
</style> </style>
<style scoped lang="scss"> <style scoped lang="scss">