<input class="nub1" placeholder="请输入成绩" bindinput="A"></input>
<input class="nub2" ><view>
<view wx:if="{{A==0}}">0</view>
<view wx:elif="{{A>11.6}}">10</view>
<view wx:elif="{{A<11.6}}">5</view>
</view></input>
<input class="nubA" placeholder="请输入成绩" bindinput="B"></input>
<input class="nubB" ><view>
<view wx:if="{{b==0}}">0</view>
<view wx:elif="{{A>22}}">10</view>
<view wx:elif="{{A<22}}">5</view>
</view></input>
怎么才能让上下两个<input>出现的数值相加呢?
比如:nub1输入20,nub2会显示10;
nubA输入20,nubB会显示5;
怎么才能让nub2和nubB显示的两个数值相加。