|
@@ -16,7 +16,7 @@
|
|
<div class="doc_m_content">
|
|
<div class="doc_m_content">
|
|
<div class="doc_content_infor">
|
|
<div class="doc_content_infor">
|
|
<div class="doc_c_left">
|
|
<div class="doc_c_left">
|
|
- <img src="../../assets/images/banner.png" class="doc_c_img" alt="" />
|
|
|
|
|
|
+ <img :src="response.previewImgId" class="doc_c_img" alt="" />
|
|
<span class="icon_word"></span>
|
|
<span class="icon_word"></span>
|
|
</div>
|
|
</div>
|
|
<div class="doc_c_right">
|
|
<div class="doc_c_right">
|
|
@@ -55,7 +55,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="doc_agreement">
|
|
<div class="doc_agreement">
|
|
- <el-checkbox v-model="checked" >我已阅读并同意<a href="javascript:;" class="agree_link">《剑鱼标讯线上购买与服务条款》</a></el-checkbox>
|
|
|
|
|
|
+ <el-checkbox v-model="checked" >我已阅读并同意<a href="/front/staticPage/serviceterms.html" class="agree_link">《剑鱼标讯线上购买与服务条款》</a></el-checkbox>
|
|
</div>
|
|
</div>
|
|
<div class="doc_surepur">
|
|
<div class="doc_surepur">
|
|
<button class="btnsure" @click="setExhange()" :disabled="!this.checked" id="btnsure">确定兑换</button>
|
|
<button class="btnsure" @click="setExhange()" :disabled="!this.checked" id="btnsure">确定兑换</button>
|
|
@@ -114,8 +114,9 @@ export default {
|
|
})
|
|
})
|
|
getJYchannel({ B: true }).then((res) => {
|
|
getJYchannel({ B: true }).then((res) => {
|
|
console.log(res)
|
|
console.log(res)
|
|
- if (res.error_code === 0) {
|
|
|
|
- this.response.channel = res.points.balance
|
|
|
|
|
|
+ if (res.data.error_code === 0) {
|
|
|
|
+ console.log(res.data)
|
|
|
|
+ this.response.channel = res.data.data.points.balance
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -123,9 +124,9 @@ export default {
|
|
setExhange () {
|
|
setExhange () {
|
|
getDocPays({ docId: this.query, phone: this.tel }).then((res) => {
|
|
getDocPays({ docId: this.query, phone: this.tel }).then((res) => {
|
|
console.log(res)
|
|
console.log(res)
|
|
- if (res.error_code === 0) {
|
|
|
|
|
|
+ if (res.data.error_code === 0) {
|
|
sessionStorage.setItem('paydata', JSON.stringify(res.data))
|
|
sessionStorage.setItem('paydata', JSON.stringify(res.data))
|
|
- this.$router.push('/purchasesuccess')
|
|
|
|
|
|
+ this.$router.push('/purchasesuccess/' + this.response.price)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|