tianyi 3 weeks ago
parent
commit
080b6163f1
  1. 20
      package1/group/groupBuySingle.vue
  2. 3
      package1/order/returnOrder.vue
  3. 8
      package1/runErrand/runErrand.vue

20
package1/group/groupBuySingle.vue

@ -822,8 +822,7 @@
methods: { methods: {
// touchmovegoods-list // touchmovegoods-list
onPageTouchMove(e) { onPageTouchMove(e) {
// scroll-view
console.log(e)
}, },
// goods-list + // goods-list +
onGoodsListScroll(e) { onGoodsListScroll(e) {
@ -905,7 +904,7 @@
if (this.productItem[i].sellBeginTime != '' && this.productItem[i].sellEndTime != '') { if (this.productItem[i].sellBeginTime != '' && this.productItem[i].sellEndTime != '') {
let isEndTime = this.isWithinBusinessHours(this.productItem[i].sellBeginTime, this let isEndTime = this.isWithinBusinessHours(this.productItem[i].sellBeginTime, this
.productItem[i].sellEndTime) .productItem[i].sellEndTime)
console.log(isEndTime)
this.productItem[i].status = isEndTime ? 0 : 1 this.productItem[i].status = isEndTime ? 0 : 1
} }
if (that.productItem[i].isMoreBuy == 1) { if (that.productItem[i].isMoreBuy == 1) {
@ -1034,9 +1033,7 @@
}); });
} }
} }
} catch (e) { } catch (e) {}
console.log(e);
}
} }
this.isPintuan = true; this.isPintuan = true;
@ -1169,9 +1166,7 @@
}); });
} }
} }
} catch (e) { } catch (e) {}
console.log(e);
}
} }
if (index == 'pintuan') { if (index == 'pintuan') {
@ -1454,7 +1449,6 @@
const startMinutes = parseTime(begin); const startMinutes = parseTime(begin);
const endMinutes = parseTime(end); const endMinutes = parseTime(end);
console.log(currentMinutes + ',' + startMinutes + ',' + endMinutes)
// //
return currentMinutes >= startMinutes && currentMinutes <= endMinutes; return currentMinutes >= startMinutes && currentMinutes <= endMinutes;
@ -1501,9 +1495,9 @@
}, },
goDetail(type) { goDetail(type) {
if (type == 'goodsDetail') { if (type == 'goodsDetail') {
uni.navigateTo({ // uni.navigateTo({
url: '/package1/goods/goodsDetail' // url: '/package1/goods/goodsDetail'
}) // })
} else if (type == 'shopDetail') { } else if (type == 'shopDetail') {
uni.navigateTo({ uni.navigateTo({
url: '/package1/group/groupBuyDetail?item=' + JSON.stringify(this.shopItem) url: '/package1/group/groupBuyDetail?item=' + JSON.stringify(this.shopItem)

3
package1/order/returnOrder.vue

@ -890,8 +890,7 @@
background: #fff; background: #fff;
max-height: 1200rpx; max-height: 1200rpx;
width: 100%; width: 100%;
border-top-left-radius: 20rpx; border-radius: 20rpx;
border-top-right-radius: 20rpx;
padding: 20rpx; padding: 20rpx;
overflow: scroll; overflow: scroll;
} }

8
package1/runErrand/runErrand.vue

@ -207,13 +207,11 @@
<view class="content-title"> <view class="content-title">
订单备注 订单备注
</view> </view>
<view style="height: 200rpx;background: rgba(247, 248, 248, 0.6);border-radius: 40rpx;padding: 20rpx;width: 70%;margin-top: 20rpx;"> <view style="height: 200rpx;background: rgba(247, 248, 248, 0.6);border-radius: 40rpx;padding: 20rpx;margin-top: 20rpx;flex: 1;">
<textarea v-model="addFormData.remark" cols="30" rows="10" placeholder="请填写备注" style="height: 160rpx;width: 100%;"></textarea> <textarea v-model="addFormData.remark" cols="30" rows="10" placeholder="请填写备注" style="height: 160rpx;width: 100%;"></textarea>
</view> </view>
</view> </view>
</view> <view style="display: flex;height: 80rpx;line-height: 80rpx;font-weight: 700; align-items:center;padding: 0 4%;border-top: 1px solid #eee;margin-top: 10px;" @tap="openCouponPopup">
<view style="display: flex;height: 80rpx;line-height: 80rpx;font-weight: 700; align-items:center;padding: 0 4%;" @tap="openCouponPopup">
<view style="flex: 1;"> <view style="flex: 1;">
优惠券 优惠券
</view> </view>
@ -241,7 +239,7 @@
<view style="flex: 1;">合计</view> <view style="flex: 1;">合计</view>
<view>{{totalAmountCalc.toFixed(2)}}</view> <view>{{totalAmountCalc.toFixed(2)}}</view>
</view> </view>
</view>
<view style="width: 100%;height: 520rpx;"></view> <view style="width: 100%;height: 520rpx;"></view>
</view> </view>

Loading…
Cancel
Save