Browse Source

fix ipt&btn

organize
刘嘉炜 3 years ago
parent
commit
d58e767d6c
  1. 12
      src/pages/site/confirm/confirm.vue
  2. 8
      src/pages/site/occupy_success/occupy_success.vue

12
src/pages/site/confirm/confirm.vue

@ -50,9 +50,9 @@
</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>
@ -91,7 +91,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 +113,7 @@ export default {
isDefaultGet: false
})
.then(res=>{
util.hideLoad();
if(res.data.code == 0){
util.showNone(res.data.message || '操作成功!');
@ -130,6 +131,7 @@ export default {
util.showNone(res.data.message || '操作失败!');
}
})
.catch(util.hideLoad)
}, 300, true),
},
@ -299,7 +301,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;

8
src/pages/site/occupy_success/occupy_success.vue

@ -37,10 +37,10 @@ export default {
},
backBtn(){
util.routeTo();
util.previousPageFunction({ //
fnName: 'refreshList',
query: null
})
// util.previousPageFunction({ //
// fnName: 'refreshList',
// query: null
// })
},
getPageInfo({
brand_id,

Loading…
Cancel
Save