diff --git a/pages/detailNursing/detailNursing.vue b/pages/detailNursing/detailNursing.vue index 3374c2c..74cf909 100644 --- a/pages/detailNursing/detailNursing.vue +++ b/pages/detailNursing/detailNursing.vue @@ -65,10 +65,10 @@ - + - {{item.sku.name}} + {{item.sku_info.name}} { + this.form = res.sku.map(item => { return { isSelect: false, sku_id: item.id, diff --git a/pages/home/home.vue b/pages/home/home.vue index bab27a0..33d1d60 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -129,7 +129,7 @@ - + @@ -138,7 +138,7 @@ {{item.title}} - {{item.time}} + {{$u.timeFormat(new Date(item.created_at),'yyyy-mm-dd')}} @@ -149,6 +149,11 @@ + + + {{detailNotice.title}} + {{detailNotice.content}} + @@ -189,7 +194,9 @@ ing: 0, end: 0, }, - infoList: [] + infoList: [], + isShowNotice: false, + detailNotice: {}, } }, methods: { @@ -203,6 +210,10 @@ }) }) }, + showNotice(item) { + this.detailNotice = item + this.isShowNotice = true + }, async getStatistic() { let res = await this.$u.api.statistic() @@ -661,4 +672,18 @@ left: 50%; } } + + .notice-title { + font-size: 34rpx; + text-align: center; + color: #36596A; + font-weight: 600; + margin: 20rpx 0; + } + + .notice-content { + text-indent: 60rpx; + + padding: 0 10rpx; + }