Compare commits

..

2 Commits

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

@ -66,6 +66,8 @@
pelletoilList: '', pelletoilList: '',
// //
shareNum: 0, shareNum: 0,
//
isSelect: false
}, },
@ -263,6 +265,7 @@
border: solid 1px #cccccc !important; border: solid 1px #cccccc !important;
overflow: hidden; overflow: hidden;
} }
// //
checkbox.mycheck .uni-checkbox-input-checked::before, checkbox.mycheck .uni-checkbox-input-checked::before,
checkbox.mycheck .wx-checkbox-input-checked::before { checkbox.mycheck .wx-checkbox-input-checked::before {
@ -276,6 +279,7 @@
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none; display: none;
} }
/* #endif */ /* #endif */
/* 解决H5 的问题 */ /* 解决H5 的问题 */
/* #ifdef H5 */ /* #ifdef H5 */
@ -283,6 +287,7 @@
/* 隐藏滚动条,但依旧具备可以滚动的功能 */ /* 隐藏滚动条,但依旧具备可以滚动的功能 */
display: none display: none
} }
/* #endif */ /* #endif */
@ -292,12 +297,13 @@
border-top-left-radius: 10px !important; border-top-left-radius: 10px !important;
border-bottom-left-radius: 10px !important; border-bottom-left-radius: 10px !important;
} }
.cart-num .uni-numbox-btns { .cart-num .uni-numbox-btns {
background-color: #f6f6f6 !important; background-color: #f6f6f6 !important;
} }
.cart-num .uni-numbox__plus { .cart-num .uni-numbox__plus {
border-top-right-radius: 10px !important; border-top-right-radius: 10px !important;
border-bottom-right-radius: 10px !important; border-bottom-right-radius: 10px !important;
} }
</style> </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;

@ -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;
@ -526,12 +525,14 @@
} }
} }
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))

@ -138,8 +138,7 @@
</view> </view>
</view> </view>
<!-- 大图 --> <!-- 大图 -->
<view class="width90 mart20 alijusstart" v-if="item.type == 4" <view class="width90 mart20 alijusstart" v-if="item.type == 4" @click="goGoodsList(item.jumpUrl)">
@click="goGoodsList(item.jumpUrl)">
<view class="width70 font18 fcor333"> <view class="width70 font18 fcor333">
{{item.name}} {{item.name}}
</view> </view>
@ -222,10 +221,12 @@
onShow() { onShow() {
// this.homeCateList = []; // this.homeCateList = [];
// if (app.globalData.cityName != '') { if (app.globalData.cityName != '') {
// this.city = app.globalData.qianzhuCityName; this.city = app.globalData.qianzhuCityName;
// this.getCmsContentcmsContent(); if (app.globalData.isSelect) {
// } this.getCmsContentcmsContent();
}
}
}, },
onLoad(options) { onLoad(options) {
let that = this; let that = this;
@ -338,6 +339,7 @@
getCmsContent(params).then(res => { getCmsContent(params).then(res => {
this.isdisplay = false; this.isdisplay = false;
if (res.return_code == '000000') { if (res.return_code == '000000') {
app.globalData.isSelect = false;
this.homeCateList = res.return_data; this.homeCateList = res.return_data;
} }
}); });

@ -111,6 +111,7 @@
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) {
@ -394,12 +393,14 @@
} }
} }
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