<!--packageI/newMedia/components/rewardPopup/rewardPopup.wxml-->

<van-popup show="{{ show }}" position="bottom" round closeable bind:close="closePopup">
  <view class="reward-target">
      <van-image class="reward-target_avatar" src="{{details.avatar}}" width="2.8rem" height="2.8rem" round></van-image>
      <view class="text-overHide">{{details.nickname}}</view>
      <view class="reward-form">
        <view class="reward-form-item">
          <view class="reward-form_title">奖励类型</view>
         
            <van-radio-group value="{{reward_type}}" bind:change="bindChangeReward" direction="horizontal" checked-color=" #ef3532">
              <view class="reward-form_content">
               <van-radio name="{{index}}" wx:for="{{details.reward_button || reward_button}}">{{item}}</van-radio>
               <!-- <van-radio name="2">消费积分</van-radio>
              <van-radio name="3">爱心值</van-radio> -->
            </view>
            </van-radio-group>
          
        </view>
        <view class="reward-form-item">
          <view class="reward-form_title">奖励数量</view>
          <view class="reward-form_content reward-form_count">
            <span>奖励数量</span>
            <input type="number" model:value="{{reward_number}}" placeholder="请输入奖励数量" />
          </view>
        </view>
      </view>
      <view class="reward-confirm buttonActive" bindtap="sendReward"> 确认{{details.reward_name}} </view>
    </view>
</van-popup>


