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,