<view class="discount">
		<view class="rebate_box">
				<view class="type ul">
						<view class="li">
								<text class="span">折扣类型：</text>
								<van-checkbox value="{{ level_discount_type }}" shape="square" checked-color="#f15353" bind:change="checkAll">
										会员等级
								</van-checkbox>
						</view>
						<view class="li">
								<text class="span">折扣方式：</text>
								<view style="display:flex;justify-content:center;align-items:center;">
										<van-radio-group value="{{discount_method}}" bind:change="onChangeRadio">
												<van-radio checked-color="#f15353" name="1">折扣</van-radio>
												<van-radio checked-color="#f15353" name="2">固定金额</van-radio>
										</van-radio-group>
								</view>
						</view>
				</view>
				<view class="member_number ul">
						<view class="li" wx:for="{{levelsList}}" wx:key="index">
								<text class="span">{{item.level_name}}</text>
								<van-field type="text" value="{{discount_value[item.id]}}" data-id="{{item.id}}" placeholder="请输入等级折扣" border="{{ false }}" bind:blur="onChange" />
						</view>
				</view>
		</view>
</view>