quantify.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <view class="quantifyContainer">
  2. <!-- 提示 -->
  3. <!-- <view class="tip">
  4. <icon color="#fbac15" type="warn" />
  5. <text>请勿在油机旁使用手机</text>
  6. </view> -->
  7. <view class="quantifyBox">
  8. <!-- 油品信息 -->
  9. <view class="oilInfoBox">
  10. <image style="position: relative; left: 25rpx; top: 0rpx; width: 218rpx; display: block; box-sizing: border-box" src="../../images/oiloil.png" mode="aspectFill" class="flip-image" />
  11. <view class="oilInfo">
  12. <text class="oil" style="position: relative; left: -8rpx; top: 0rpx">{{nozzleInfo.productName}}</text>
  13. <text class="price" style="position: relative; left: -8rpx; top: 6rpx">¥{{nozzleInfo.productPrice}}/升</text>
  14. </view>
  15. </view>
  16. <!-- 定值区 -->
  17. <view class="inputBox">
  18. <!-- 输入 -->
  19. <view class="input">
  20. <text>{{inputTip}}</text>
  21. <input style="width: 393rpx; height: 43rpx; display: block; box-sizing: border-box" type="digit" placeholder="0.00" value="{{inputValue}}" bindinput="onInputChange" />
  22. <text>{{quantify}}</text>
  23. </view>
  24. <!-- 分割线 -->
  25. <view class="line" />
  26. <!-- 快速输入 -->
  27. <view class="fastInput">
  28. <text hover-class="fast-item-hover" class="fastItem" wx:for="{{fastInputs}}" wx:key="index" bindtap="onFastInputClick" data-id="{{item}}">{{item}}{{quantify}}</text>
  29. </view>
  30. <!-- 定量类型选择 -->
  31. <radio-group class="typeSelect" bindchange="onTypeChange" style="position: relative; left: 0rpx; top: 22rpx">
  32. <radio wx:for="{{type}}" wx:key="index" checked="{{item.checked}}" color="#0d7ee7" value="{{item.name}}">{{item.name}}</radio>
  33. </radio-group>
  34. </view>
  35. </view>
  36. <text class="anthorization" bind:tap="toAuthorization" hover-class="authorization-hover" loading="{{isLoading}}">授权</text>
  37. </view>