调整部分页面颜色

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; @extend .nowrap;
&.show{ &.show{
color: white; color: white;
background-color: $mian-color-deep; background-color: $mian-color;
} }
} }
} }
.btns{ .btns{
padding-top: $padding * 2; padding-top: $padding * 2;
button{ button{
background: $mian-color-deep; background: $mian-color;
border-radius: 0; border-radius: 0;
height: 90rpx; height: 90rpx;
line-height: 90rpx; line-height: 90rpx;

View File

@@ -24,7 +24,7 @@
<view class="add-info"> <view class="add-info">
<view class="inputs"> <view class="inputs">
<label class="input-label">券类型</label> <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> <view class="input-text">{{types[typeIndex].text}}<uni-icons class="picker-icon" type="arrowdown" size="14" /></view>
</picker> </picker>
</view> </view>
@@ -58,11 +58,11 @@
<view class="input-checkbox"> <view class="input-checkbox">
<radio-group @change="radioChange"> <radio-group @change="radioChange">
<label class="input-checkbox-item"> <label class="input-checkbox-item">
<radio color="#e93340" value="1" checked/> <radio color="#8b64fd" value="1" checked/>
<text>线上优惠</text> <text>线上优惠</text>
</label> </label>
<label class="input-checkbox-item"> <label class="input-checkbox-item">
<radio color="#e93340" value="2"/> <radio color="#8b64fd" value="2"/>
<text>线下活动</text> <text>线下活动</text>
</label> </label>
</radio-group> </radio-group>
@@ -71,7 +71,7 @@
</block> </block>
<view class="inputs"> <view class="inputs">
<label class="input-label">时间类型</label> <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> <view class="input-text">{{times[timeIndex].text}}<uni-icons class="picker-icon" type="arrowdown" size="14" /></view>
</picker> </picker>
</view> </view>
@@ -163,8 +163,8 @@
this.useWay = e.detail.value this.useWay = e.detail.value
}, },
// 选择 // 选择
changePicker(e){ changePicker(e, key){
this[e.target.dataset.type] = e.detail.value this[key] = e.detail.value
}, },
// 日期 // 日期
confirmDatePicker(e){ confirmDatePicker(e){
@@ -207,11 +207,11 @@
start_at : this.datePickerValue[0], start_at : this.datePickerValue[0],
end_at : this.datePickerValue[1], end_at : this.datePickerValue[1],
description : this.description, description : this.description,
time_type : this.times[this.typeIndex].type, time_type : this.times[this.timeIndex].type,
days : this.timeNumber, days : this.timeNumber,
goodsable_ids : this.coupongoods goodsable_ids : this.coupongoods
} }
console.log(valuss) console.log(valuss.time_type)
pushCoupons(valuss).then(res => { pushCoupons(valuss).then(res => {
uni.showModal({ uni.showModal({
title : '提示', title : '提示',