home.wxml 2.1 KB
<!--pages/main/addtionalreduce/home.wxml-->
<view class='page'>

  <view style='margin-bottom:30rpx'>
    <block wx:for="{{datas}}" wx:key="">
      <view class='card_rectangle_bg_column' style="margin-top:30rpx">
        <view style='position:absolute' style='padding:44rpx 30rpx;'>
          <view hidden='{{index!=0}}' style='float:left;margin-top:4rpx'>
            <text class='text_999_32'>北京小爱科技北京小爱科小爱</text>
          </view>
          <view hidden='{{index==0}}' style='float:left;margin-top:4rpx'>
            <text class='text_black_32'>北京小爱科技北京小爱</text>
          </view>

          <image hidden='{{index!=0}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/already_declare.png'></image>

          <image hidden='{{index==0}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/not_declare.png'></image>
          <view style='float:right' hidden='{{index!=0}}' bindtap='godeclare'>
            <text class='text_blue_28'>去申报</text>
            <image class='arrow_img_wrap' src='/images/arrow_right.png'></image>
          </view>
          <view style='float:right' hidden='{{index==0}}' bindtap='godetail'>
            <text class='text_blue_28'>调整使用项</text>
            <image class='arrow_img_wrap' src='/images/arrow_right.png'></image>
          </view>

        </view>

        <view wx:if="{{index!=0}}" style=''>
          <block wx:for="{{datas}}" wx:key="">
            <view class='divide_line'></view>
            <view style='padding:44rpx 30rpx;display:flex;flex-direction:column'>
              <view>
                <text class='text_666_30 float_left'>{{datas[index]}}</text>
                <text class='text_blue_28 float_right'>查看并调整</text>
              </view>
              <view style='margin-top:20rpx'>
                <text class='text_gray_22 float_left'>已抵扣额度:4890.00</text>
                <text class='text_gray_22 float_right'>剩余可抵扣额度:12810.00</text>
              </view>
            </view>
          </block>
        </view>
      </view>
    </block>
  </view>


</view>