Commit a6a77c75 by 展昭

update

parent fc32f494
......@@ -39,7 +39,7 @@ export default {
},
data() {
return {
title: "",
title: "资金记录",
accountId: 0,
mescrollUp: {
callback: this.upCallback, // 上拉回调,此处可简写; 相当于 callback: function (page, mescroll) { getListData(page); }
......@@ -100,14 +100,16 @@ export default {
this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick);
this.accountId = this.$route.query.accountId;
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录";
if (this.getBeginDate > "2020-04-30") {
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录";
}
}
};
</script>
<style lang="less" scoped>
.orangeColor{
color: #FF8A05;
.orangeColor {
color: #ff8a05;
}
.container-wrap {
padding: 0 16px;
......
......@@ -88,23 +88,27 @@ export default {
);
},
makeTitle() {
let month = dayjs(this.getBeginDate).format("M");
let month = "";
if (this.getBeginDate > "2020-04-30") {
month = dayjs(this.getBeginDate).format("M") + "月";
}
// insurance=社保
// accumulation=公积金
// income=个税
// service=服务费
switch (this.type) {
case "insurance":
this.title = month + "月" + "社保" + "代理";
this.title = month + "社保" + "代理";
break;
case "accumulation":
this.title = month + "月" + "公积金" + "代理";
this.title = month + "公积金" + "代理";
break;
case "income":
this.title = month + "月" + "个税" + "代理";
this.title = month + "个税" + "代理";
break;
case "service":
this.title = month + "月" + "服务费" + "代理";
this.title = month + "服务费" + "代理";
break;
}
},
......
......@@ -46,10 +46,10 @@
<i class="title_color">{{hosting.fund.amount|moneyNum}}</i>
</div>
<div class="list_contenter">
<div class="list" v-for="(item,index) in hosting.fund.list" :key="index">
<div class="list" v-for="(item,index) in hosting.fund.list" :key="index" @click="openDetail(item.detail)">
<div class="list_title">
<div class="title">{{item.cityName}}</div>
<van-icon name="arrow" class="arrow_right" @click="openDetail(item.detail)" />
<van-icon name="arrow" class="arrow_right" />
</div>
<p>
<span>总备款金额</span>
......
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