|
|
<!--买家求购确认页-->
|
|
|
<template>
|
|
|
<LayoutApp :show-back="true">
|
|
|
<LayoutApp :show-back="true" title="出价求购">
|
|
|
<div class="body" ref="body">
|
|
|
<div class="topContainer">
|
|
|
<div class="topView">
|
...
|
...
|
@@ -58,15 +58,13 @@ |
|
|
<div class="space"></div>
|
|
|
<div class="line"></div>
|
|
|
|
|
|
<div class="bottomContainer">
|
|
|
<OrderAgree :value="isAgreeTerms" @input="isAgreeTerms = !isAgreeTerms" class="agree-wrapper"></OrderAgree>
|
|
|
<div>
|
|
|
<Button :disabled="!isAgreeTerms" type="submit" @click="submitClick">提交</Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<div class="bottomContainer">
|
|
|
<OrderAgree :value="isAgreeTerms" @input="isAgreeTerms = !isAgreeTerms" class="agree-wrapper" :desc="agreeDesc" :url="url"></OrderAgree>
|
|
|
<div>
|
|
|
<Button :disabled="!isAgreeTerms" type="submit" @click="submitClick">提交</Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</LayoutApp>
|
|
|
</template>
|
...
|
...
|
@@ -99,6 +97,8 @@ export default { |
|
|
return {
|
|
|
inputPrice: '',
|
|
|
isAgreeTerms: false,
|
|
|
url: `http://m.yohobuy.com/activity/student/detail/renzhen?openby:yohobuy={\"action\":\"go.h5\",\"params\":{\"url\":\"https://activity.yoho.cn/feature/3189.html?title=买家协议&promiseV="}}`,
|
|
|
agreeDesc: '有货买家协议'
|
|
|
};
|
|
|
},
|
|
|
|
...
|
...
|
@@ -129,6 +129,7 @@ export default { |
|
|
},
|
|
|
|
|
|
mounted() {
|
|
|
this.BUYER_ASK_RESET_DATA();
|
|
|
this.BUYER_ASK_SET_STORAGEID(this.storageId);
|
|
|
this.fetchBuyerOrderCount({ tabType: 'buy'});
|
|
|
this.fetchConfig();
|
...
|
...
|
@@ -158,6 +159,7 @@ export default { |
|
|
'BUYER_ASK_SET_CHOOSEDAY',
|
|
|
'BUYER_ASK_SET_SHOWDIALOG',
|
|
|
'BUYER_ASK_SET_STORAGEID',
|
|
|
'BUYER_ASK_RESET_DATA',
|
|
|
]),
|
|
|
...mapActions([
|
|
|
'fetchConfig',
|
...
|
...
|
@@ -297,15 +299,16 @@ export default { |
|
|
<style lang="scss" scoped>
|
|
|
.body {
|
|
|
height: 100%;
|
|
|
|
|
|
position: relative;
|
|
|
/*position: relative;*/
|
|
|
padding-bottom: 200px;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
.topContainer {
|
|
|
height: calc(100% - 100*2px);
|
|
|
/*height: calc(100% - 100*2px);*/
|
|
|
padding-left: 20*2px;
|
|
|
padding-right: 20*2px;
|
|
|
margin-bottom: 200px;
|
|
|
/*margin-bottom: 200px;*/
|
|
|
}
|
|
|
|
|
|
.topView {
|
...
|
...
|
@@ -517,6 +520,7 @@ export default { |
|
|
/*height: 100px;*/
|
|
|
width: 100%;
|
|
|
left: 0px;
|
|
|
z-index: 1;
|
|
|
}
|
|
|
|
|
|
.agree-wrapper {
|
...
|
...
|
|