Commit 0fda1561b340e0adc086dcc02b28a7746c3bda14
1 parent
946a8292
feat: 订货单-编辑&申请发货-底部dom移入uni-list里-解决日期组件被 foot(提交合计等)遮盖问题
Showing
2 changed files
with
15 additions
and
14 deletions
| ... | ... | @@ -138,20 +138,19 @@ |
| 138 | 138 | <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> |
| 139 | 139 | </template> |
| 140 | 140 | </uni-list-item> |
| 141 | - | |
| 141 | + <view class="footer"> | |
| 142 | + <view class="view-total"> | |
| 143 | + <view class="head">合计</view> | |
| 144 | + <view class="row"> | |
| 145 | + <text class="label">总数量</text><text class="value">{{ form.totalQuantity }}</text> | |
| 146 | + </view> | |
| 147 | + </view> | |
| 148 | + <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 149 | + </view> | |
| 142 | 150 | |
| 143 | 151 | </uni-list> |
| 144 | 152 | </scroll-view> |
| 145 | - | |
| 146 | - <view class="footer"> | |
| 147 | - <view class="view-total"> | |
| 148 | - <view class="head">合计</view> | |
| 149 | - <view class="row"> | |
| 150 | - <text class="label">总数量</text><text class="value">{{ form.totalQuantity }}</text> | |
| 151 | - </view> | |
| 152 | - </view> | |
| 153 | - <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 154 | - </view> | |
| 153 | + | |
| 155 | 154 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" v-model="sheet.value" |
| 156 | 155 | @confirm="onSheetConfirm" /> |
| 157 | 156 | </view> | ... | ... |
| ... | ... | @@ -83,13 +83,14 @@ |
| 83 | 83 | placeholder="请输入装货特别要求/需求" :inputBorder="false" /> |
| 84 | 84 | </template> |
| 85 | 85 | </uni-list-item> |
| 86 | + <view class="footer"> | |
| 87 | + <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 88 | + </view> | |
| 86 | 89 | </view> |
| 87 | 90 | </uni-list> |
| 88 | 91 | </scroll-view> |
| 89 | 92 | |
| 90 | - <view class="footer"> | |
| 91 | - <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 92 | - </view> | |
| 93 | + | |
| 93 | 94 | </view> |
| 94 | 95 | </template> |
| 95 | 96 | |
| ... | ... | @@ -340,6 +341,7 @@ export default { |
| 340 | 341 | padding-bottom: calc(32rpx + env(safe-area-inset-bottom)); |
| 341 | 342 | background: #fff; |
| 342 | 343 | box-shadow: 0 -8rpx 24rpx rgba(0, 0, 0, 0.06); |
| 344 | + z-index: 10; | |
| 343 | 345 | |
| 344 | 346 | .btn { |
| 345 | 347 | height: 80rpx; | ... | ... |