| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!-- 底部工具栏-保存 -->
- <view class="{{cssType == 'shopping' ? 'bottom-class-2':'bottom-class-1'}}">
- <!-- 订单开单保存 -->
- <view class="btn-main-class">
- <view wx:if="{{contentList && contentList.length > 0}}" style="width: 50%;">
- <view wx:for="{{contentList}}" wx:for-item="item" data-item="{{item}}" wx:key="index">
- <!--文本-->
- <view wx:if="{{item.type == 'str'}}" style="color: {{item.color?item.color:'#CAA977'}};font-size: {{item.fontSize?item.fontSize:'15px'}}">
- {{item.title}}
- </view>
- <!--数字-->
- <dk-cell wx:if="{{item.type=='number'}}" fontSize="{{item.fontSize?item.fontSize:16}}" contentFontSize="{{item.fontSize?item.fontSize:16}}" height="{{item.height?item.height:'44rpx'}}" fontWeight="{{item.fontWeight?item.fontWeight:600}}" left="0rpx" contentColor="{{item.color?item.color:'#CAA977'}}" title="{{item.title}}" content="{{ item.content}}" amount="{{true}}"></dk-cell>
- <!--选择框-->
- <view wx:if="{{item.type=='checkbox'}}" style="display: flex;margin-top: 10rpx; margin-bottom: 10rpx;">
- <van-checkbox value="{{ form[item.code] }}" icon-size="{{item.iconSize?item.iconSize:'16px'}}" data-code="{{item.code}}" bind:change="change"></van-checkbox>
- <view style=" margin-left: 15rpx;color:{{item.color?item.color:'#1B365D'}}; font-size:{{item.fontSize?item.fontSize:'14px'}};font-weight: {{form[item.code]?'bold':'normal'}};">{{item.title}}</view>
- </view>
- <!--单数和件数-->
- <view wx:if="{{item.type == 'count'}}" style="display: flex ;margin-top: 10rpx;color: {{item.color?item.color:'#95A8CB'}};font-size: {{item.fontSize?item.fontSize:'12px'}}">
- <view wx:if="{{item.bill}}">共:{{item.bill}}{{item.tail?item.tail:'单'}}</view>
- <view wx:if="{{item.quantity}}" style="padding-left: {{item.bill?'20rpx':''}} ">数量:{{item.quantity}}件 </view>
- </view>
- </view>
- </view>
- <!-- 保存确定区域 -->
- <view style="display: flex;width: {{contentList && contentList.length > 0?'50%':'100%'}};justify-content: {{btnRightFlag?'flex-end':'left'}};">
- <view class="btn-class" style="margin-right: {{btnAutoWidthFlag?'20rpx':''}}; width:{{btnAutoWidthFlag?(100/buttonList.length + '%'): (item.width?item.width:'196rpx')}}" wx:for="{{buttonList}}" wx:for-item="item" data-item="{{item}}" wx:key="index">
- <van-button round size="large" plain="{{item.plain}}" data-item="{{item}}" color="{{item.color?item.color:'#1B365D'}}" custom-style="height:88rpx;" bind:click="submit" type="info">{{item.title}}
- </van-button>
- </view>
- </view>
- </view>
-
- </view>
|