Commit 6e9613f8 authored by leiqingsong's avatar leiqingsong

优化

parent c259f5cf
...@@ -33,14 +33,15 @@ export default { ...@@ -33,14 +33,15 @@ export default {
}, },
up: { up: {
offset: 50, offset: 50,
isAuto: false, isAuto: true,
contentnomore: '没有数据了~',
toTop: { toTop: {
isEnable: false isEnable: false
}, },
callback() { callback() {
that.pageNo++; that.pageNo++;
that.$emit("upRefresh", that.pageNo); that.$emit("upRefresh", that.pageNo);
that.miniRefresh.endUpLoading(false); that.miniRefresh.endUpLoading(true);
} }
} }
}); });
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
<div class="instructions"> <div class="instructions">
<div class="content"> <div class="content">
<p class="paragraph"> <p class="paragraph">
<span> <span class="special">
日本西田森制药株式会社坐落在東京都千代田区東神田2丁目6番7号608,以'传递希望,传播爱'为企业理念 日本西田森制药株式会社坐落在東京都千代田区東神田2丁目6番7号608,以'传递希望,传播爱'为企业理念
,让健康的"希望之光洒向世界每一寸森田"为愿景,开展企业经营活动。其核心业务包括【食品、医药品、保健品、化妆品等研发事业】 ,让健康的"希望之光洒向世界每一寸森田"为愿景,开展企业经营活动。其核心业务包括【食品、医药品、保健品、化妆品等研发事业】
与【医疗健康消费者商品研发事业】研发并生产有助于人类健康的创新产品。 与【医疗健康消费者商品研发事业】研发并生产有助于人类健康的创新产品。
西田森将始终保持高度的伦理观,以健康产品为基点,创造新的价值为目标不断发展,从而成为“全球性的价值创造企业 西田森将始终保持高度的伦理观,以健康产品为基点,创造新的价值为目标不断发展,从而成为"全球性的价值创造企业"
</span> </span>
</p> </p>
</div> </div>
...@@ -36,6 +36,10 @@ export default { ...@@ -36,6 +36,10 @@ export default {
text-align: center; text-align: center;
margin-bottom: 10px; margin-bottom: 10px;
} }
.special {
font-size: 18px;
line-height: 42px;
}
.paragraph { .paragraph {
font-family: PingFang-SC-Regular; font-family: PingFang-SC-Regular;
font-size: 13px; font-size: 13px;
......
...@@ -258,6 +258,9 @@ export default { ...@@ -258,6 +258,9 @@ export default {
}; };
}); });
this.pieOption.legend = legend; this.pieOption.legend = legend;
if (!res.data.totalIncome) {
this.pieOption.graphic.children[1].style.text="暂无数据~"
}
} }
}); });
} }
......
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
}); });
}, },
onRead(file) { onRead(file) {
if (!localStorage.getItem("user").inviteCode) { if (!JSON.parse(localStorage.getItem("user")).inviteCode) {
this.$toast.fail("当前用户没有邀请码"); this.$toast.fail("当前用户没有邀请码");
return; return;
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="bg"> <div class="bg">
<van-icon name="arrow-left" @click="handlerBack" /> <van-icon name="arrow-left" @click="handlerBack" />
<span class="title">本月进步最大奖励池</span> <span class="title">本月进步最大奖励池</span>
<span class="award">{{ growthTotal }}</span> <span class="award"><span v-if="growthTotal > 0"></span>{{ growthTotal }}</span>
</div> </div>
<div class="rank"> <div class="rank">
<div class="header rank-flex"> <div class="header rank-flex">
......
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 to comment