|
@@ -42,10 +42,15 @@
|
|
|
color: #171826;
|
|
|
}
|
|
|
.tips-text{
|
|
|
- padding: .26rem 0;
|
|
|
+ padding: .16rem 0 .12rem;
|
|
|
font-size: .2rem;
|
|
|
color: #9B9CA3;
|
|
|
}
|
|
|
+ .end-time{
|
|
|
+ margin-bottom: .2rem;
|
|
|
+ color: #2ABED1;
|
|
|
+ font-size: .2rem;
|
|
|
+ }
|
|
|
.recharge{
|
|
|
width: 3.3rem;
|
|
|
height: .8rem;
|
|
@@ -134,7 +139,8 @@
|
|
|
<span class="ci">个</span>
|
|
|
</div>
|
|
|
<div class="tips-text">招标文件解读个数余额</div>
|
|
|
- <div v-if="!info.isSubCount && info.isMember" class="recharge" @click="goPay">充值</div>
|
|
|
+ <div class="end-time">请于 ${info.used_count} 前使用</div>
|
|
|
+ <div v-if="info.isSubCount" class="recharge" @click="goPay">充值</div>
|
|
|
<div v-else style="height: 0.8rem;"></div>
|
|
|
</div>
|
|
|
<div class="record">
|
|
@@ -149,8 +155,8 @@
|
|
|
</div>
|
|
|
<div class="record-table-main">
|
|
|
<div class="t-item t-body" v-for="item in info.history_list">
|
|
|
- <span>${item.s_phone}</span>
|
|
|
- <span>${item.createtime}</span>
|
|
|
+ <span>${item.phone}</span>
|
|
|
+ <span>${item.explain_time}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -187,8 +193,7 @@
|
|
|
surplus: 0,
|
|
|
used_count: 0,
|
|
|
history_list: [],
|
|
|
- isSubCount: false,
|
|
|
- isMember: false
|
|
|
+ isSubCount: false
|
|
|
}
|
|
|
},
|
|
|
created () {},
|
|
@@ -199,11 +204,9 @@
|
|
|
getHistoryList: function() {
|
|
|
var _this = this
|
|
|
$.ajax({
|
|
|
- type:'POST',
|
|
|
- url:'/bigmember/use/aiused_history',
|
|
|
- data:{},
|
|
|
+ type:'GET',
|
|
|
+ url:'/bigmember/bidfile/history',
|
|
|
success:function(res){
|
|
|
- console.log(res)
|
|
|
if(res.error_code == 0 && res.data) {
|
|
|
if(res.data.surplus) {
|
|
|
_this.info.surplus = res.data.surplus;
|
|
@@ -216,15 +219,10 @@
|
|
|
}
|
|
|
if(res.data.history_list) {
|
|
|
res.data.history_list.forEach(function(item) {
|
|
|
- item.s_phone = utils.addSpaceForTel(item.s_phone)
|
|
|
+ item.phone = item.phone ? utils.addSpaceForTel(item.phone) : ''
|
|
|
})
|
|
|
_this.info.history_list = res.data.history_list
|
|
|
}
|
|
|
- if(res.data.power && res.data.power.indexOf(11) > -1) {
|
|
|
- _this.info.isMember = true
|
|
|
- } else {
|
|
|
- _this.info.isMember = false
|
|
|
- }
|
|
|
} else {
|
|
|
console.log(res.error_code)
|
|
|
}
|