From 8af485a215aacdcef9103f883be0894059ba503e Mon Sep 17 00:00:00 2001 From: 77 <270260644@qq.com> Date: Wed, 25 Sep 2024 15:17:18 +0800 Subject: [PATCH] =?UTF-8?q?9=E3=80=81=E6=88=91=E7=9A=84=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E4=B8=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=9A=84?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4=E4=B8=8E?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=80=E8=A1=8C=E5=9B=9B=E5=88=97=E5=B9=B6?= =?UTF-8?q?=E4=B8=94=E4=B8=8D=E7=94=A8=E8=BD=AE=E6=92=AD=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=90=91=E4=B8=8B=E6=8E=92=E5=88=97=20=2010=E3=80=81=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=20=E8=90=A5=E9=94=80=E6=96=87=E7=AB=A0=E8=A3=85?= =?UTF-8?q?=E4=BF=AE=E6=A8=A1=E5=9D=97=E8=B0=83=E6=95=B4=E4=B8=BA=E5=88=97?= =?UTF-8?q?=E8=A1=A8=EF=BC=88=E6=97=A0=E6=B3=95=E9=80=89=E6=8B=A9=E6=9F=90?= =?UTF-8?q?=E4=B8=80=E7=AF=87=E6=96=87=E7=AB=A0=E5=8F=AA=E8=83=BD=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=85=A8=E9=83=A8=EF=BC=89=20=2011=E3=80=81=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=20=E8=A3=85=E4=BF=AE=E7=94=A8=E6=88=B7=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mobile/MenuList/index.vue | 62 +++-- .../components/mobile/MenuSwiper/index.vue | 262 ++++++++++-------- .../mobile/PromotionArticle/index.vue | 68 ++++- .../src/components/DiyEditor/util.ts | 10 +- 4 files changed, 260 insertions(+), 142 deletions(-) diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuList/index.vue b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuList/index.vue index 9a56fd9..f8f8f02 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuList/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuList/index.vue @@ -1,31 +1,45 @@ - - - - - {{ item.title }} - - - {{ item.subtitle }} - - - - + + + + + {{ item.title }} + + + {{ item.subtitle }} + + + + + .item+.item { + border-top: 1px solid #eee; + } + + .wh { + width: 77px; + height: 20px; + position: relative; + padding-right: 10px; + &::after{ + position:absolute; + content:''; + top:50%; + right:0; + width:1px; + height:57%; + border-right:1px solid #ababab; + transform: translateY(-50%); + } + } + \ No newline at end of file diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue index f8e2bbc..2cc2726 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue @@ -1,119 +1,161 @@ - - - - - - - - - {{ item.badge.text }} - - - - - - {{ item.title }} - - - - - + + + + + + + + + 我的服务 + + + + + + + + + + {{ item.badge.text }} + + + + + + {{ item.title }} + + + + + .title { + padding: 10px 20px; + height: 20px; + line-height: 20px; + font-size: 12px; + font-weight: 600; + // border-bottom: 1px solid #dcdcdc; + margin-bottom:20px; + } + .new_menu { + display: flex; + flex-wrap: wrap; + + .new_items { + width: 25%; + margin-bottom: 20px; + display: flex; + justify-content: center; + flex-wrap: wrap; + .new_title{ + width:100%; + text-align: center; + } + } + } + + // 重写指示器样式,与 APP 保持一致 + :root { + .el-carousel__indicator { + padding-top: 0; + padding-bottom: 0; + + .el-carousel__button { + --el-carousel-indicator-height: 6px; + --el-carousel-indicator-width: 6px; + --el-carousel-indicator-out-color: #ff6000; + border-radius: 6px; + } + } + + .el-carousel__indicator.is-active { + .el-carousel__button { + --el-carousel-indicator-width: 12px; + } + } + } + \ No newline at end of file diff --git a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue index e003b08..7e69ddb 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue @@ -1,7 +1,27 @@ - + + + + + + + + + {{item.title}} + + + + {{ formatDate(item.createTime) }} + + + + + - + diff --git a/yudao-admin-vue3/src/components/DiyEditor/util.ts b/yudao-admin-vue3/src/components/DiyEditor/util.ts index fac26e7..c75945f 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/util.ts +++ b/yudao-admin-vue3/src/components/DiyEditor/util.ts @@ -135,11 +135,11 @@ export const PAGE_LIBS = [ ] }, { name: '商品组件', extended: true, components: ['ProductCard', 'ProductList'] }, - { - name: '用户组件', - extended: true, - components: ['UserCard', 'UserOrder', 'UserWallet', 'UserCoupon'] - }, + // { + // name: '用户组件', + // extended: true, + // components: ['UserCard', 'UserOrder', 'UserWallet', 'UserCoupon'] + // }, { name: '营销组件', extended: true,