home.wxml 2.4 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='{{is_declared}}' style='float:left;margin-top:4rpx'>
            <text class='text_999_32'>北京小爱智能科技</text>
          </view>
          <view hidden='{{!is_declared}}' style='float:left;margin-top:4rpx'>
            <text class='text_black_32'>北京小爱智能科技</text>
          </view>

          <image hidden='{{is_declared}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/not_declare.png'></image>
          <image hidden='{{!is_declared}}' class='declare_image_wrap' style='margin-top:12rpx;' src='/images/already_declare.png'></image>
          <view style='float:right' hidden='{{is_declared}}' 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='{{!is_declared}}' bindtap='godeclare'>
            <text class='text_blue_28'>调整使用项</text>
            <image class='arrow_img_wrap' src='/images/arrow_right.png'></image>
          </view>

        </view>

        <view wx:if="{{is_declared}}" style=''>
          <block wx:for="{{datas02}}" wx:key="">
            <view hidden="{{!datas02[index].sureid}}">
              <view class='divide_line'></view>
              <view style='padding:44rpx 30rpx;display:flex;flex-direction:column'>
                <view>
                  <text class='text_666_30 float_left' wx:if="datas02[index].message!='住房'">{{datas02[index].message}}</text>
                  <text class='text_666_30 float_left' wx:if="datas02[index].message=='住房'">{{datas02[index].extra_message}}</text>
                  <text class='text_blue_28 float_right' bindtap='lookandadd' id='{{index}}'>查看并调整</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>
            </view>
          </block>
        </view>
      </view>
    </block>
  </view>


</view>