From 473a017e42a80136c307d48f9ba17112560c9da9 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期一, 15 七月 2024 18:31:13 +0800 Subject: [PATCH] 1 --- pages/home/supplier-home.vue | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue index bcc74e0..beeab9b 100644 --- a/pages/home/supplier-home.vue +++ b/pages/home/supplier-home.vue @@ -114,7 +114,7 @@ </view> <view class="m-t-12" @click="getNoticeMore"> <uni-notice-bar class="notice-bar" color="#333" background-color="#fff" show-get-more show-icon - :scrollable="scrollable" :text="currentNotice.title||'暂无公共'" :key="currentNotice.id" /> + :scrollable="scrollable" :text="currentNotice.title||'暂无公告'" :key="currentNotice.id" /> <span v-if="!currentNotice||!currentNotice.id"> </span> </view> <view class="item-container"> @@ -224,24 +224,24 @@ this.scrollable = false } let that = this - if (this.noticeList.length >= 1) { - setInterval(() => { - console.log('interval,1') - that.currentNoticeIndex += 1 - that.currentNoticeIndex %= that.noticeList.length - that.currentNotice = that.noticeList[that.currentNoticeIndex] - that.scrollable = false - that.$nextTick(() => { - if (that.currentNotice.title && that.currentNotice.title - .length >= 30) { - that.scrollable = true - } else { - that.scrollable = false - } - }) + // if (this.noticeList.length >= 1) { + // setInterval(() => { + // console.log('interval,1') + // that.currentNoticeIndex += 1 + // that.currentNoticeIndex %= that.noticeList.length + // that.currentNotice = that.noticeList[that.currentNoticeIndex] + // that.scrollable = false + // that.$nextTick(() => { + // if (that.currentNotice.title && that.currentNotice.title + // .length >= 30) { + // that.scrollable = true + // } else { + // that.scrollable = false + // } + // }) - }, 8000) - } + // }, 8000) + // } } } @@ -253,7 +253,7 @@ if (!this.currentInfo.supplierDTO) { - await this.$message.confirm('尚未入住店铺信息,是否前往入住?') + await this.$message.confirm('尚未入驻店铺信息,是否前往入驻?') this.goto('/sub_pages/supplier/supplier-info/supplier-info', true) return } -- Gitblit v1.9.3