|
|
@ -50,12 +50,11 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="sc-fixed-bot"> |
|
|
|
<view hover-class="hover-active" @click="confirmOccupy">确定</view> |
|
|
|
</view> |
|
|
|
<cover-view class="sc-fixed-bot"> |
|
|
|
<cover-view class="sfb-view" hover-class="hover-active" @click="confirmOccupy">确定</cover-view> |
|
|
|
</cover-view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { mapState } from 'vuex'; |
|
|
|
import { API } from '../../../js/api'; |
|
|
@ -91,7 +90,7 @@ export default { |
|
|
|
confirmOccupy: util.debounce(function(){ |
|
|
|
let { storeInfo, dateInfo, venueList, typeInfo } = this.occupyInfo; |
|
|
|
let { ocPrice, ocReaon, light_up } = this; |
|
|
|
|
|
|
|
util.showLoad(); |
|
|
|
servers.post({ |
|
|
|
url: API.venue.venueTakeUp, |
|
|
|
data: { |
|
|
@ -113,6 +112,7 @@ export default { |
|
|
|
isDefaultGet: false |
|
|
|
}) |
|
|
|
.then(res=>{ |
|
|
|
util.hideLoad(); |
|
|
|
if(res.data.code == 0){ |
|
|
|
|
|
|
|
util.showNone(res.data.message || '操作成功!'); |
|
|
@ -130,6 +130,7 @@ export default { |
|
|
|
util.showNone(res.data.message || '操作失败!'); |
|
|
|
} |
|
|
|
}) |
|
|
|
.catch(util.hideLoad) |
|
|
|
|
|
|
|
}, 300, true), |
|
|
|
}, |
|
|
@ -299,7 +300,7 @@ export default { |
|
|
|
padding-bottom: calc( 10upx + constant(safe-area-inset-bottom)); /* 兼容 iOS < 11.2 */ |
|
|
|
padding-bottom: calc( 10upx + env(safe-area-inset-bottom)); /* 兼容 iOS >= 11.2 */ |
|
|
|
background-color: #fff; |
|
|
|
>view{ |
|
|
|
.sfb-view{ |
|
|
|
margin: 0 auto; |
|
|
|
width: 702upx; |
|
|
|
height: 88upx; |
|
|
|