| | |
| | | <view class="value" wx:if="{{ type !== '' }}">{{ typeArray[type] }}</view> |
| | | <view class="placeholder" wx:else>请选择</view> |
| | | </view> |
| | | <van-icon class="icon" name="arrow-down" /> |
| | | <van-icon color="#B08771" class="icon" name="arrow-down" /> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | <view class="value" wx:if="{{ info !== '' }}">{{ infoArray[info] }}</view> |
| | | <view class="placeholder" wx:else>请选择</view> |
| | | </view> |
| | | <van-icon class="icon" name="arrow-down" /> |
| | | <van-icon color="#B08771" class="icon" name="arrow-down" /> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="form-item"> |
| | | <view class="label">房屋面积:</view> |
| | | <view class="input-box"> |
| | | <input class="input" placeholder-class="placeholder" placeholder="0" |
| | | <input class="input" type="number" placeholder-class="placeholder" placeholder="0" |
| | | data-index="area" bindinput="inputTyping" value="{{ area }}"/> |
| | | <view class="icon">㎡</view> |
| | | </view> |
| | |
| | | <view class="form-item"> |
| | | <view class="label">装修预算:</view> |
| | | <view class="input-box"> |
| | | <input class="input" placeholder-class="placeholder" placeholder="0" |
| | | <input class="input" type="number" placeholder-class="placeholder" placeholder="0" |
| | | data-index="money" bindinput="inputTyping" value="{{ money }}"/> |
| | | <view class="icon">万元</view> |
| | | </view> |
| | |
| | | <!-- 计算器 end --> |
| | | |
| | | <!-- 计算结果展示 --> |
| | | <view class="results" style="opacity: {{ showResultMoney ? '1' : '0.2' }};"> |
| | | <view class="results" style="position: {{ showResultMoney ? 'static' : 'absolute' }}"> |
| | | <view class="results-title">最优家装分配表</view> |
| | | <view class="flex thead"> |
| | | <view class="td name">详情</view> |
| | | <view class="td rate">参考比例</view> |
| | | <view class="td money">参考价格</view> |
| | | </view> |
| | | <view class="item" wx:for="{{ activeList }}" wx:key="index" |
| | | <view style="opacity: {{ showResultMoney ? '1' : '0.2' }};" class="item" wx:for="{{ activeList }}" wx:key="index" |
| | | hidden="{{ type == item.info }}"> |
| | | <view class="flex th"> |
| | | <view class="td name">{{ item.name }}</view> |