diff --git a/pages/company/approve.vue b/pages/company/approve.vue index e0a840d..c273b74 100644 --- a/pages/company/approve.vue +++ b/pages/company/approve.vue @@ -337,14 +337,14 @@ @extend .nowrap; &.show{ color: white; - background-color: $mian-color-deep; + background-color: $mian-color; } } } .btns{ padding-top: $padding * 2; button{ - background: $mian-color-deep; + background: $mian-color; border-radius: 0; height: 90rpx; line-height: 90rpx; diff --git a/pages/coupons/add.vue b/pages/coupons/add.vue index cff7fa0..8174f46 100644 --- a/pages/coupons/add.vue +++ b/pages/coupons/add.vue @@ -24,7 +24,7 @@ - + {{types[typeIndex].text}} @@ -58,11 +58,11 @@ @@ -71,7 +71,7 @@ - + {{times[timeIndex].text}} @@ -163,8 +163,8 @@ this.useWay = e.detail.value }, // 选择 - changePicker(e){ - this[e.target.dataset.type] = e.detail.value + changePicker(e, key){ + this[key] = e.detail.value }, // 日期 confirmDatePicker(e){ @@ -207,11 +207,11 @@ start_at : this.datePickerValue[0], end_at : this.datePickerValue[1], description : this.description, - time_type : this.times[this.typeIndex].type, + time_type : this.times[this.timeIndex].type, days : this.timeNumber, goodsable_ids : this.coupongoods } - console.log(valuss) + console.log(valuss.time_type) pushCoupons(valuss).then(res => { uni.showModal({ title : '提示',