diff --git a/compoents/addressAdd.vue b/compoents/addressAdd.vue index c8a527a..998d7f2 100644 --- a/compoents/addressAdd.vue +++ b/compoents/addressAdd.vue @@ -70,7 +70,22 @@ }, methods: { init(option) { + this.id = null + this.username = '' + this.mobile = '' + this.citySeld = '' + this.detailAddr = '' + this.idDefault = false + this.province = null + this.city = null + this.area = '' + this.provinceId = null + this.cityId = null + this.areaId = null + this.multiIndex = [0, 0, 0] this.id = option.id + + if (option.id > 0) { this.title = '编辑收货地址' this.getDetail() diff --git a/compoents/contactAdd.vue b/compoents/contactAdd.vue new file mode 100644 index 0000000..c96cfa0 --- /dev/null +++ b/compoents/contactAdd.vue @@ -0,0 +1,265 @@ + + + + + diff --git a/subPackages/techan/order.vue b/subPackages/techan/order.vue index 2dcf995..6c21c36 100644 --- a/subPackages/techan/order.vue +++ b/subPackages/techan/order.vue @@ -184,7 +184,7 @@ 取消 - 添加收货地址 + {{addressTitle}} 保存 diff --git a/subPackages/ticketBooking/detail.vue b/subPackages/ticketBooking/detail.vue index 585ed3e..e000f38 100644 --- a/subPackages/ticketBooking/detail.vue +++ b/subPackages/ticketBooking/detail.vue @@ -58,7 +58,7 @@ - + 预订须知 > @@ -78,7 +78,7 @@ 介绍 - + @@ -86,12 +86,12 @@ - + {{skuInfo.title}} + style="width: 20rpx;height: 20rpx;" class="flex-shrink-0"> @@ -109,7 +109,7 @@ - + 使用日期 @@ -123,13 +123,12 @@ - 更多日期 - > + 更多日期 - 选择时段 + 选择场次 0) { + this.seldDateIndex = index + this.getTimeStock(item.date) + } + }, // 选择时段 changeTime(item, index) { - if(item.store > 0) { + if(item.stock_number > 0) { this.seldTimeIndex = index } }, confirmCalendar (val) { - let index = this.allSeldDate.find(v=>v.date == val.fulldate) - if (index) { - this.clickTab({date:val.fulldate},index) + let index = this.allSeldDate.findIndex(v=>v.date == val.fulldate) + if (index>=0) { + this.clickTab(this.allSeldDate[index],index) } }, @@ -327,20 +330,6 @@ return; } - - this.selectGoods.specifications.forEach(v=>{v.buyNum = 0;v.selPeople = []}) - - let orderSkuIndex = this.selectGoods.specifications.findIndex(v=>v.id == that.skuInfo.id) - let item = this.selectGoods.specifications.splice(orderSkuIndex, 1)[0]; // 将购买的数据放在第一位 - item.buyNum = 1 - item.selPeople = [ - { - id:null,id_number:null,name:null, - tel:null,user_id:null,age:null, - }, - ] - this.selectGoods.specifications.unshift(item); - let param = { sInfo: this.skuInfo, pInfo: this.selectGoods, @@ -624,31 +613,54 @@ .popup-content-date { background-color: white; - padding: 0rpx 39rpx 51rpx 39rpx; + padding: 0rpx 28rpx 166rpx; height: 70vh; border-radius: 20rpx 20rpx 0 0 ; .popup-content-title{ - padding: 20rpx 0; + font-family: PingFang SC; + font-weight: bold; + font-size: 37rpx; + color: #000000; + padding: 39rpx 0; + display: flex; + align-items: center; + border-bottom: 1px solid #CCCCCC; } // 预定须知 .content{ + padding-top: 48rpx; overflow-y: auto; } + .order-popup-detail{ + .sku-title{ + padding: 48rpx 0 26rpx; + font-family: PingFangSC; + font-weight: 500; + font-size: 31rpx; + color: #000000; + } + } + .dateMore{ width: 120rpx; - height: 180rpx; - background: #fff; - font-weight: 400; - font-size: 32rpx; - padding-left: 15rpx; - color: #0b898e; + height: 133rpx; + background: white; + border-radius: 10rpx; + border: 1px solid #000000; + font-family: PingFang SC; + font-weight: 500; + font-size: 27rpx; + color: #000000; display: flex; - justify-content: center; + flex-direction: column; align-items: center; + justify-content: space-around; + flex-shrink: 0; + padding: 6rpx 0; position: absolute; - right: 0; bottom: 0; + right: 0; } .date-content{ @@ -659,25 +671,34 @@ padding-right: 140rpx; .item{ - min-width: 160rpx; - height: 180rpx; - background: #f5f5f5; + width: 120rpx; + height: 133rpx; border-radius: 10rpx; - margin-right: 20rpx; + border: 1px solid #000000; + margin-right: 24rpx; + font-family: PingFang SC; font-weight: 500; - font-size: 32rpx; - color: #000; + font-size: 27rpx; + color: #000000; display: flex; flex-direction: column; align-items: center; justify-content: space-around; + flex-shrink: 0; + padding: 6rpx 0; } .item.active{ - background: #0b898e; - color: #fff; + background: linear-gradient(-56deg, #9EE4FE, #7FD491); + color: #000000; + border: none; } .item.disabled{ - color: #999; + color: #666; + border-color: #CCC; + } + + .price{ + color: #EE3E3B; } } @@ -690,58 +711,71 @@ display: flex; justify-content: space-between; flex-wrap: wrap; + max-height: 340rpx; + overflow-y: auto; .time-item { width: 48%; - background: #F5F5F5; + height: 60rpx; border-radius: 10rpx; text-align: center; - font-weight: 400; font-size: 34rpx; - color: #000000; - margin-bottom: 20rpx; - padding: 5rpx; + margin-bottom: 23rpx; + font-family: PingFangSC; + font-weight: 400; + font-size: 25rpx; + border: 1px solid #333333; + line-height: 58rpx; + color: #000; } .time-active { - background: #0B898E; - color: #fff; + background: linear-gradient(270deg, #9EE4FE, #7FD491); + border: none; } .time-disable { - color: #999999; + color: #666666; + border-color: #CCC; } } .sku-bottom { width: 100%; - height: 120rpx; + height: 166rpx; background: #FFFFFF; - padding: 20rpx; + box-shadow: 0rpx -3rpx 8rpx 0rpx rgba(71,71,71,0.1); display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; - font-weight: 400; - font-size: 36rpx; + padding: 50rpx 50rpx 85rpx; + font-family: PingFang SC; + font-weight: 500; + font-size: 28rpx; color: #393B3E; - line-height: 80rpx; + position: absolute; + bottom: 0; + left: 0; + right: 0; .bottom-price { + font-size: 48rpx; font-weight: 500; - font-size: 50rpx; - color: #D62828; + color: #EE3E3B; } .bottom-price::before { - font-size: 27rpx; + font-size: 24rpx; content: '¥'; } .bottom-btn { - width: 360rpx; - background: #D62828; + width: 250rpx; + height: 80rpx; + background: #F74A57; border-radius: 40rpx; + font-size: 32rpx; text-align: center; font-weight: bold; - font-size: 42rpx; color: #FFFFFF; + line-height: 78rpx; } } diff --git a/subPackages/ticketBooking/order.vue b/subPackages/ticketBooking/order.vue index be8d58f..8fb96ed 100644 --- a/subPackages/ticketBooking/order.vue +++ b/subPackages/ticketBooking/order.vue @@ -1,97 +1,325 @@