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

20
package1/group/groupBuySingle.vue

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

3
package1/order/returnOrder.vue

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

54
package1/runErrand/runErrand.vue

@ -207,41 +207,39 @@
<view class="content-title">
订单备注
</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>
</view>
</view>
</view>
<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>
<view style="color: #ff5722;" v-if="selectedCoupon">
-{{selectedCoupon.discountAmount.toFixed(2)}}
</view>
<view style="color: #0b9b73;" v-else-if="availableCoupons.length > 0">
{{availableCoupons.length}} 张可用
</view>
<view style="color: #999;" v-else>
无可用券
</view>
<uni-icons type="right" size="14" color="#999" style="margin-left:10rpx;"></uni-icons>
</view>
<view style="height: 80rpx;line-height: 80rpx;display: flex;padding: 0 4%;">
<view style="flex: 1;font-weight: 700;">
{{isKuaidi?'代取配送费':'跑腿费'}}
<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="flex: 1;">
优惠券
</view>
<view style="color: #ff5722;" v-if="selectedCoupon">
-{{selectedCoupon.discountAmount.toFixed(2)}}
</view>
<view style="color: #0b9b73;" v-else-if="availableCoupons.length > 0">
{{availableCoupons.length}} 张可用
</view>
<view style="color: #999;" v-else>
无可用券
</view>
<uni-icons type="right" size="14" color="#999" style="margin-left:10rpx;"></uni-icons>
</view>
<view style="color: #000;font-weight:700;">
{{deliveryFeeCalc.toFixed(2)}}
<view style="height: 80rpx;line-height: 80rpx;display: flex;padding: 0 4%;">
<view style="flex: 1;font-weight: 700;">
{{isKuaidi?'代取配送费':'跑腿费'}}
</view>
<view style="color: #000;font-weight:700;">
{{deliveryFeeCalc.toFixed(2)}}
</view>
</view>
</view>
<view style="display: flex;height: 80rpx;line-height: 100rpx;font-weight: 700;padding: 0 4%;">
<view style="flex: 1;">合计</view>
<view>{{totalAmountCalc.toFixed(2)}}</view>
<view style="display: flex;height: 80rpx;line-height: 100rpx;font-weight: 700;padding: 0 4%;">
<view style="flex: 1;">合计</view>
<view>{{totalAmountCalc.toFixed(2)}}</view>
</view>
</view>
<view style="width: 100%;height: 520rpx;"></view>
</view>

Loading…
Cancel
Save