diff --git a/package1/address/addressList.vue b/package1/address/addressList.vue index b3fefc8..ad603d9 100644 --- a/package1/address/addressList.vue +++ b/package1/address/addressList.vue @@ -39,9 +39,10 @@ - - + + {{addressForm.id ? '编辑地址' : '填写地址'}} + {{areaTitleInput}} @@ -70,7 +71,7 @@ - + 选择楼座区域 @@ -86,7 +87,7 @@ :cursor-spacing="160" /> - + 未找到匹配的楼座 @@ -264,16 +265,19 @@ this.$refs.addBookPopup.open('bottom'); }, openAreaPopup() { - this.areaSearchInput = this.areaTitleInput; + this.areaSearchInput = ''; this.getAreaList(); this.$refs.areaPopup.open(); }, closeAreaPopup() { this.$refs.areaPopup.close(); }, + closeAddBookPopup() { + this.$refs.addBookPopup.close(); + }, selectAreaTitle(title) { this.areaTitleInput = title; - this.areaSearchInput = title; + this.areaSearchInput = ''; this.closeAreaPopup(); }, onFloorInput(e) { @@ -464,6 +468,25 @@ padding-top: 40rpx; } + .book-popup-title { + height: 80rpx; + line-height: 80rpx; + font-size: 36rpx; + font-weight: 700; + text-align: center; + position: relative; + } + + .book-popup-close { + position: absolute; + right: 0; + top: 0; + width: 80rpx; + height: 80rpx; + line-height: 80rpx; + text-align: center; + } + .area-select { margin-bottom: 20rpx; display: flex; diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue index 475813f..bb87368 100644 --- a/package1/buyFood/buyFood.vue +++ b/package1/buyFood/buyFood.vue @@ -1,52 +1,56 @@ - - - - - - - - - - - - 团购到店 - 约上同学一起省 - 支付后到店核销,拼团更划算 + + + + + + + + - - 核 - - 到店核销 - 同校热拼 + + + + + 团购到店 + 约上同学一起省 + 支付后到店核销,拼团更划算 + + + 核 + + 到店核销 + 同校热拼 + + - - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + + {{isStoreGroupOrder ? '到店信息' : '取餐信息'}} @@ -346,7 +350,7 @@ - + @@ -603,7 +607,8 @@ freeOrderEffectVisible: false, freeOrderAmount: '0.00', navigatingFromPayPopup: false, - isNavigatingToWorkerList: false + isNavigatingToWorkerList: false, + isSeckillOrder: false } }, components: { @@ -641,6 +646,7 @@ if (option.packageFee) { this.totalPackageFee = parseFloat(option.packageFee) || 0; } + this.isSeckillOrder = option.seckillOrder == 1 || option.seckillOrder === '1'; if (this.isStoreGroupOrder) { this.isPaotui = false; this.nowMake = false; @@ -1386,6 +1392,9 @@ if(this.isStoreGroupOrder){ payload.otherOrder = 2 } + if(this.isSeckillOrder){ + payload.seckillOrder = 1 + } payload.regionId = JSON.parse(uni.getStorageSync('area')).id this.tui.request("/mall/order/create", "POST", payload, false, false).then(res => { uni.hideLoading(); @@ -1526,11 +1535,41 @@ #F5F8F5; } + .page1--locked { + height: 100vh; + overflow: hidden; + } + + .checkout-fixed-header { + position: fixed; + top: 0; + left: 0; + right: 0; + height: 344rpx; + z-index: 100; + overflow: hidden; + background: #F5F8F5; + } + + .checkout-fixed-header--store { + height: 360rpx; + background: #fff0df; + } + .title { background: url('https://jewel-shop.oss-cn-beijing.aliyuncs.com/8bc15960c2dc40268e295d6dd23aecce.png') no-repeat; width: 100%; height: 340rpx; background-size: 100% 100%; + position: relative; + } + + .checkout-header-holder { + height: 344rpx; + } + + .checkout-header-holder--store { + height: 360rpx; } .title-sreach { diff --git a/package1/components/delivery-time-op/delivery-time-op.vue b/package1/components/delivery-time-op/delivery-time-op.vue index 840344a..2cf0829 100644 --- a/package1/components/delivery-time-op/delivery-time-op.vue +++ b/package1/components/delivery-time-op/delivery-time-op.vue @@ -10,7 +10,10 @@ :class="{ add: model }" @tap.stop > - {{ title }} x + + {{ title }} + × + @@ -208,15 +211,21 @@ export default { border-bottom: 2rpx solid #eee; } -.title-model > text { +.title-close { position: absolute; - right: 14rpx; - width: 46rpx; - height: 46rpx; - line-height: 38rpx; - background-color: #ccc; - color: #fff; + top: 50%; + right: 24rpx; + display: flex; + align-items: center; + justify-content: center; + width: 48rpx; + height: 48rpx; + background-color: #f2f5f3; border-radius: 50%; + color: #9aa5a0; + font-size: 32rpx; + line-height: 1; + transform: translateY(-50%); } .cont { diff --git a/package1/order/orderDetail.vue b/package1/order/orderDetail.vue index a5b3da7..f8a9153 100644 --- a/package1/order/orderDetail.vue +++ b/package1/order/orderDetail.vue @@ -230,10 +230,10 @@ @tap="makeMeal" style="background: rgba(0, 35, 28, 1);color:rgba(166, 255, 234, 1);"> 立即备餐 - + 增加配送佣金 - + 改派配送员 + @@ -32,7 +33,7 @@ - + @@ -253,7 +254,7 @@ - + @@ -1144,6 +1145,10 @@ height: 100%; } + .content--locked { + overflow: hidden; + } + .tab1 { width: 100%; height: 160rpx; diff --git a/package1/tabbar/fishRelease.vue b/package1/tabbar/fishRelease.vue index 64c8f7f..2c945d1 100644 --- a/package1/tabbar/fishRelease.vue +++ b/package1/tabbar/fishRelease.vue @@ -16,7 +16,7 @@ 标题 - + @@ -423,11 +423,12 @@ const phone = String(this.form.phone || '').trim() if (!title) return '请填写标题' if (title.length < 2) return '标题至少2个字' - if (title.length > 10) return '标题最多10个字' + if (title.length > 30) return '标题最多30个字' if (this.selectedCategoryIndex < 0) return '请选择分类' if (!price) return this.publishType == 'sell' ? '请填写售价' : '请填写预算' if (!this.isValidPrice(price)) return this.publishType == 'sell' ? '售价必须大于0且最多2位小数' : '预算必须大于0且最多2位小数' if (originPrice && !this.isValidAmount(originPrice)) return '原价最多2位小数' + if (this.publishType == 'sell' && originPrice && Number(price) > Number(originPrice)) return '售价不得大于原价' if (this.publishType == 'sell' && this.form.images.length == 0) return '请至少上传1张商品图片' if (this.publishType == 'want' && this.form.images.length > 1) return '求购最多上传1张图片' if (!contentText) return this.publishType == 'sell' ? '请填写商品介绍' : '请填写求购内容'