Commit a9f3543a by 梁建民

js

parent 8226644a
......@@ -24,16 +24,14 @@
</template>
<template v-else>
<li class="no-data">
<p style="color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;">您的钱包当前还没有记录哦,去看看商品吧~ <a style="color: #1080d0;" href="/v3/s">去搜索</a></p>
</li>
<i class="iconfont icon-zanwushuju" style="color: #999;margin: 0 auto;display: block;text-align: center;font-size: 90px;padding-top: 60px;"></i>
<p style="color: #333;width: 80%;margin: 0 auto;font-size: 13px;margin-top: 28px;">您的钱包当前还没有记录哦,去看看商品吧~ <a style="color: #1080d0;" href="/v3/s">去搜索</a></p> </li>
</template>
</ul>
<van-popup v-model="dateShow" position="bottom" :overlay="true">
<van-datetime-picker v-model="currentDate" type="year-month" :formatter="formatter" @cancel="onDateCancel" @confirm="onDateConfirm" @change="dateChange"/>
</van-popup>
<van-popup v-model="typeShow" position="bottom" :overlay="true">
<van-picker show-toolbar title="交易类型" :columns="columns" @cancel="onTypeCancel" @confirm="onTypeConfirm"/>
</van-popup>
</div>
<!--记录类型弹出框-->
<div class="dialog-layer-shade" v-if="dialog">
......@@ -209,15 +207,13 @@
})
},
onTypeConfirm(value, index) {
this.dialog = false;
this.active=index;
this.text=this.columns[index].text;
this.typeCheckedkeyId = value.keyId;
this.typeCheckedText = value.text;
this.typeCheckedkeyId = value;
this.recordYear = this.updateYear || this.recordYear;
this.recordMonth = this.updateMonth || this.recordMonth;
......
......@@ -214,8 +214,7 @@
this.active=index;
this.text=this.columns[index].text;
this.typeCheckedkeyId = value.keyId;
this.typeCheckedText = value.text;
this.typeCheckedkeyId = value;
this.dateYear = this.updateYear || this.dateYear;
this.dateMonth = this.updateMonth || this.dateMonth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment