Compare commits

..

2 Commits

  1. 112
      App.vue
  2. 2
      member-Recharge/rec-confirmation/rec-confirmation.vue
  3. 13
      pages/order/confirmation.vue
  4. 1996
      pages/tabBar/home/home.vue
  5. 3
      pages/user/positioning/positioning.vue
  6. 2
      qianzhu-KFC/confirmOrder/confirmOrder.vue
  7. 7
      subPages/unionComfirmation/unionComfirmation.vue

@ -63,10 +63,12 @@
// //
qianzhuCityName: '重庆市', qianzhuCityName: '重庆市',
// //
pelletoilList: '', pelletoilList: '',
// //
shareNum:0, shareNum: 0,
//
isSelect: false
}, },
onLaunch: function() {}, onLaunch: function() {},
@ -230,7 +232,7 @@
} }
} }
}) })
// #endif // #endif
}, },
onHide: function() {} onHide: function() {}
@ -241,7 +243,7 @@
/*每个页面公共css */ /*每个页面公共css */
@import "/static/iconfont/font.scss"; @import "/static/iconfont/font.scss";
@import "/static/iconfont/cart.scss"; @import "/static/iconfont/cart.scss";
@keyframes noticeAnimation { @keyframes noticeAnimation {
from { from {
transform: translateX(100rpx); transform: translateX(100rpx);
@ -252,52 +254,56 @@
transform: translateX(-100%); transform: translateX(-100%);
} }
} }
//checkbox 使使mycheck //checkbox 使使mycheck
checkbox.mycheck .wx-checkbox-input, checkbox.mycheck .wx-checkbox-input,
checkbox.mycheck .uni-checkbox-input { checkbox.mycheck .uni-checkbox-input {
width: 30rpx !important; width: 30rpx !important;
height: 30rpx !important; height: 30rpx !important;
background-color: #ffffff !important; background-color: #ffffff !important;
border-radius: 50% !important; border-radius: 50% !important;
border: solid 1px #cccccc !important; border: solid 1px #cccccc !important;
overflow: hidden; overflow: hidden;
} }
//
checkbox.mycheck .uni-checkbox-input-checked::before, //
checkbox.mycheck .wx-checkbox-input-checked::before { checkbox.mycheck .uni-checkbox-input-checked::before,
font-size: 38rpx !important; // 30rpx / checkbox.mycheck .wx-checkbox-input-checked::before {
// color: #FFCC1E; font-size: 38rpx !important; // 30rpx /
} // color: #FFCC1E;
}
/* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
::-webkit-scrollbar{
display: none;
}
/* #endif */
/* 解决H5 的问题 */
/* #ifdef H5 */
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none
}
/* #endif */
.cart-num .uni-numbox__minus {
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
.cart-num .uni-numbox-btns {
background-color: #f6f6f6 !important;
}
.cart-num .uni-numbox__plus{
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;
}
</style> /* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
::-webkit-scrollbar {
display: none;
}
/* #endif */
/* 解决H5 的问题 */
/* #ifdef H5 */
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
/* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none
}
/* #endif */
.cart-num .uni-numbox__minus {
border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important;
}
.cart-num .uni-numbox-btns {
background-color: #f6f6f6 !important;
}
.cart-num .uni-numbox__plus {
border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important;
}
</style>

@ -450,7 +450,7 @@
this.priceCaluc(this.totalprice); this.priceCaluc(this.totalprice);
} else { // } else { //
if (item.discountType == 1) { if (item.discountType == 1) {
if (this.orderPrice > item.discountCondition) { if (this.orderPrice >= item.discountCondition) {
this.memDiscountId = item.id; this.memDiscountId = item.id;
// //
this.deductionPrice = item.discountPrice; this.deductionPrice = item.discountPrice;

@ -498,7 +498,7 @@
this.$refs.popup.show(); this.$refs.popup.show();
}, },
// //
radioChanges(item) { radioChanges(item) {
this.paytheprice = this.orderPrice; this.paytheprice = this.orderPrice;
this.rechangeload(); this.rechangeload();
if (this.memDiscountId == item.id) { // if (this.memDiscountId == item.id) { //
@ -508,10 +508,9 @@
this.isDiscont = false; this.isDiscont = false;
} else { // } else { //
this.isDiscont = true; this.isDiscont = true;
this.memDiscountId = item.id;
if (item.discountType == 1) { if (item.discountType == 1) {
// //
if (this.orderPrice > item.discountCondition) { if (this.orderPrice >= item.discountCondition) {
this.memDiscountId = item.id; this.memDiscountId = item.id;
// //
this.deductionPrice = item.discountPrice; this.deductionPrice = item.discountPrice;
@ -525,13 +524,15 @@
}) })
} }
} }
if (item.discountType == 2) { if (item.discountType == 2) {
this.memDiscountId = item.id;
// //
this.deductionPrice = item.discountPrice; this.deductionPrice = item.discountPrice;
let oldprice = this.orderPrice - this.deductionPrice; let oldprice = this.orderPrice - this.deductionPrice;
this.priceCaluc(oldprice); this.priceCaluc(oldprice);
} }
if (item.discountType == 3) { if (item.discountType == 3) {
this.memDiscountId = item.id;
// //
this.deductionPrice = parseFloat(this.orderPrice - (this.orderPrice * item this.deductionPrice = parseFloat(this.orderPrice - (this.orderPrice * item
.discountPrice)) .discountPrice))

File diff suppressed because one or more lines are too long

@ -110,7 +110,8 @@
app.globalData.cityName = res.return_data.provinceName; app.globalData.cityName = res.return_data.provinceName;
app.globalData.qianzhuCityName = res.return_data.cityName; app.globalData.qianzhuCityName = res.return_data.cityName;
app.globalData.cityId = res.return_data.regionId; app.globalData.cityId = res.return_data.regionId;
app.globalData.companyId = res.return_data.companyId; app.globalData.companyId = res.return_data.companyId;
app.globalData.isSelect = true;
uni.navigateBack({}) uni.navigateBack({})
} else { } else {
uni.showToast({ uni.showToast({

@ -690,7 +690,7 @@
} else { // } else { //
if (item.discountType == 1) { if (item.discountType == 1) {
if (this.orderPrice > item.discountCondition) { if (this.orderPrice >= item.discountCondition) {
this.memDiscountId = item.id; this.memDiscountId = item.id;
// //
this.deductionPrice = item.discountPrice; this.deductionPrice = item.discountPrice;

@ -376,7 +376,6 @@
this.priceCaluc(this.saveprice); this.priceCaluc(this.saveprice);
} else { // } else { //
this.memDiscountId = item.id;
if (item.discountType == 1) { if (item.discountType == 1) {
// //
if (this.orderPrice >= item.discountCondition) { if (this.orderPrice >= item.discountCondition) {
@ -393,13 +392,15 @@
}) })
} }
} }
if (item.discountType == 2) { if (item.discountType == 2) {
this.memDiscountId = item.id;
// //
this.deductionPrice = item.discountPrice; this.deductionPrice = item.discountPrice;
let oldprice = this.paytheprice - this.deductionPrice; let oldprice = this.paytheprice - this.deductionPrice;
this.priceCaluc(oldprice); this.priceCaluc(oldprice);
} }
if (item.discountType == 3) { if (item.discountType == 3) {
this.memDiscountId = item.id;
// //
this.deductionPrice = parseFloat(this.paytheprice - (this.paytheprice * item.discountPrice)) this.deductionPrice = parseFloat(this.paytheprice - (this.paytheprice * item.discountPrice))
.toFixed(2); .toFixed(2);

Loading…
Cancel
Save