|
|
@@ -154,7 +154,7 @@
|
|
|
<div class="prive" v-if="init.length > 0">
|
|
|
<div class="prive1" :class="{ opened: item.opened }" v-for="(item, index) in init" :key="index">
|
|
|
<img v-if="!item.opened" class="img" :src="item.icon[0]" alt="" />
|
|
|
- <div style="margin-top: 4px" v-if="item.icon[2]">
|
|
|
+ <div style="margin-top: 4px;" v-if="item.icon[2]">
|
|
|
<img v-if="item.opened" class="img" :src="item.icon[2]" alt="" />
|
|
|
</div>
|
|
|
<!-- <img class="img" v-else :src="item.icon[0]" alt="" /> -->
|
|
|
@@ -195,7 +195,7 @@
|
|
|
<div class="text4">{{ item.createdAt.substr(0, 16) }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-else style="display: flex; justify-content: center">暂无购买记录</div>
|
|
|
+ <div v-else style="display: flex; justify-content: center;">暂无购买记录</div>
|
|
|
</van-collapse-item>
|
|
|
</van-collapse>
|
|
|
|
|
|
@@ -658,7 +658,7 @@ export default {
|
|
|
let _this = this;
|
|
|
|
|
|
function getHolds() {
|
|
|
- if (_this.info.holdDays.toString()) {
|
|
|
+ if (_this.info.holdDays || _this.info.holdDays === 0) {
|
|
|
holdDays = Number(_this.info.holdDays);
|
|
|
return Promise.resolve();
|
|
|
} else {
|