home.wxml
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!--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>