diff --git a/pagesB/Prescriptionrecords/Prescriptionrecords.vue b/pagesB/Prescriptionrecords/Prescriptionrecords.vue index 01cf4a3..d1a616c 100644 --- a/pagesB/Prescriptionrecords/Prescriptionrecords.vue +++ b/pagesB/Prescriptionrecords/Prescriptionrecords.vue @@ -6,7 +6,7 @@ - + {{aitem.recordDate}} @@ -71,6 +71,12 @@ if (uni.getStorageSync("userinfo")) { this.cardNo = uni.getStorageSync("userinfo").cardNo dayList(this.cardNo).then(res => { + res.data.forEach(e => { + e.list.forEach(el => { + const parts = + el.recordDate = el.recordDate.substr(5, 9); + }) + }) this.itemlistleft = res.data this.itemlistleft.length > 0 ? this.itemlistleft[0].open = true : '' res.data && res.data[0].list.length > 0 ? this.recordCode = res.data[0].list[0] @@ -123,8 +129,8 @@ .left { // height: 100vh; + width: 30%; - // background: aliceblue; ::v-deep .u-collapse-title { font-size: 26rpx; font-family: Source Han Sans CN; @@ -181,7 +187,7 @@ .right { // height: 100vh; - width: 77%; + width: 70%; ::v-deep .u-collapse-title { font-size: 30rpx;