调整部分页面颜色

This commit is contained in:
唐明明
2021-09-30 13:19:04 +08:00
2 changed files with 10 additions and 10 deletions

View File

@@ -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;

View File

@@ -24,7 +24,7 @@
<view class="add-info">
<view class="inputs">
<label class="input-label">券类型</label>
<picker :range="types" range-key="text" :value="typeIndex" data-type="typeIndex" @change="changePicker">
<picker :range="types" range-key="text" :value="typeIndex" @change="changePicker($event, 'typeIndex')">
<view class="input-text">{{types[typeIndex].text}}<uni-icons class="picker-icon" type="arrowdown" size="14" /></view>
</picker>
</view>
@@ -58,11 +58,11 @@
<view class="input-checkbox">
<radio-group @change="radioChange">
<label class="input-checkbox-item">
<radio color="#e93340" value="1" checked/>
<radio color="#8b64fd" value="1" checked/>
<text>线上优惠</text>
</label>
<label class="input-checkbox-item">
<radio color="#e93340" value="2"/>
<radio color="#8b64fd" value="2"/>
<text>线下活动</text>
</label>
</radio-group>
@@ -71,7 +71,7 @@
</block>
<view class="inputs">
<label class="input-label">时间类型</label>
<picker :range="times" range-key="text" :value="timeIndex" data-type="timeIndex" @change="changePicker">
<picker :range="times" range-key="text" :value="timeIndex" @change="changePicker($event, 'timeIndex')">
<view class="input-text">{{times[timeIndex].text}}<uni-icons class="picker-icon" type="arrowdown" size="14" /></view>
</picker>
</view>
@@ -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 : '提示',