|
|
|
@ -4,16 +4,20 @@ |
|
|
|
|
<div class="merchant"> |
|
|
|
|
<div class="merchant-tittle"> |
|
|
|
|
《 |
|
|
|
|
{{$t('exchangeotc.merchant.rule')}} |
|
|
|
|
{{ $t('exchangeotc.merchant.rule') }} |
|
|
|
|
》 |
|
|
|
|
</div> |
|
|
|
|
<div class="merchant-contant" v-html="rule"></div> |
|
|
|
|
<div class="merchant-che"> |
|
|
|
|
<el-checkbox v-model="checked">{{$t('exchangeotc.merchant.look')}}</el-checkbox> |
|
|
|
|
<el-checkbox v-model="checked">{{ |
|
|
|
|
$t('exchangeotc.merchant.look') |
|
|
|
|
}}</el-checkbox> |
|
|
|
|
</div> |
|
|
|
|
<!-- 立即申请 --> |
|
|
|
|
<div class="merchant-btn"> |
|
|
|
|
<el-button @click="handleVis()">{{$t('exchangeotc.merchant.promptly')}}</el-button> |
|
|
|
|
<el-button @click="handleVis()">{{ |
|
|
|
|
$t('exchangeotc.merchant.promptly') |
|
|
|
|
}}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -24,18 +28,22 @@ |
|
|
|
|
width="536px" |
|
|
|
|
> |
|
|
|
|
<div class="vis-contant"> |
|
|
|
|
{{$t('exchangeotc.merchant.wallet')}} |
|
|
|
|
{{$t('exchangeotc.merchant.fou')}} |
|
|
|
|
{{ $t('exchangeotc.merchant.wallet') }} |
|
|
|
|
{{ $t('exchangeotc.merchant.fou') }} |
|
|
|
|
</div> |
|
|
|
|
<div class="vis-contant" style="margin-top:20px;"> |
|
|
|
|
{{ $t('exchangeotc.merchant.deposit') }}:{{ merchantCAmount }} |
|
|
|
|
{{ merchantCion }} |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
class="vis-contant" |
|
|
|
|
style="margin-top:20px;" |
|
|
|
|
>{{$t('exchangeotc.merchant.deposit')}}:{{merchantCAmount}} {{merchantCion}}</div> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<!-- 取 消 --> |
|
|
|
|
<el-button @click="dialogVisible = false">{{$t('exchangeotc.merchant.delete')}}</el-button> |
|
|
|
|
<el-button @click="dialogVisible = false">{{ |
|
|
|
|
$t('exchangeotc.merchant.delete') |
|
|
|
|
}}</el-button> |
|
|
|
|
<!-- 确 定 --> |
|
|
|
|
<el-button type="primary" @click="handleSure()">{{$t('exchangeotc.merchant.sure')}}</el-button> |
|
|
|
|
<el-button type="primary" @click="handleSure()">{{ |
|
|
|
|
$t('exchangeotc.merchant.sure') |
|
|
|
|
}}</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
@ -44,8 +52,8 @@ |
|
|
|
|
<el-dialog :visible.sync="dialogSure" width="579px" :show-close="false"> |
|
|
|
|
<img src="../../assets/otc/ok.png" alt /> |
|
|
|
|
<div class="sure-contant"> |
|
|
|
|
<div>{{$t('exchangeotc.merchant.submit')}}</div> |
|
|
|
|
<div>{{$t('exchangeotc.merchant.submit_1')}}</div> |
|
|
|
|
<div>{{ $t('exchangeotc.merchant.submit') }}</div> |
|
|
|
|
<div>{{ $t('exchangeotc.merchant.submit_1') }}</div> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
<Footer></Footer> |
|
|
|
@ -58,7 +66,7 @@ import NavHeader from '@/components/common/header'; |
|
|
|
|
import Footer from '@/components/common/footer'; |
|
|
|
|
|
|
|
|
|
import {getMerchant} from '@/api/priceSysconf'; |
|
|
|
|
import {getDeposit, getTotal, getMarketApplyl} from '@/api/coin'; |
|
|
|
|
import {getDeposit, getTotal, getMarketApply} from '@/api/coin'; |
|
|
|
|
// 获取请求 |
|
|
|
|
import {getOTCBtc} from '@/api/btc.js'; |
|
|
|
|
|
|
|
|
@ -124,10 +132,15 @@ export default { |
|
|
|
|
// 确认申请为商家 |
|
|
|
|
handleSure() { |
|
|
|
|
this.checked = false; |
|
|
|
|
getMarketApplyl().then(res => { |
|
|
|
|
getMarketApply().then(res => { |
|
|
|
|
if (res.data.code === 200) { |
|
|
|
|
this.dialogVisible = false; |
|
|
|
|
this.dialogSure = true; |
|
|
|
|
// this.dialogSure = true; |
|
|
|
|
// 申請商家成功! |
|
|
|
|
this.$message.success(this.$t('exchangeotc.merchant.bemarket')); |
|
|
|
|
setInterval(() => { |
|
|
|
|
window.location.href = '../exchange'; |
|
|
|
|
}, 1000); |
|
|
|
|
} else { |
|
|
|
|
this.$message.error(res.data.msg); |
|
|
|
|
} |
|
|
|
@ -288,4 +301,3 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
|
|
|
|
|