From d8c1ca944560329c2c8ab613ce3d610a6c9f12db Mon Sep 17 00:00:00 2001 From: weiwei Date: Mon, 27 Oct 2025 17:08:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=B0=83=E6=95=B4=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=BB=93=E6=9E=84=EF=BC=9B=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/detail/detail.vue | 4 +- src/pages/home/home.vue | 294 +++++++----------- src/pages/messages/messages.vue | 2 +- src/sheep/api/make-friend.ts | 43 +++ src/sheep/api/{ => other}/infra/file.js | 0 src/sheep/api/{ => other}/member/address.js | 0 src/sheep/api/{ => other}/member/auth.js | 0 src/sheep/api/{ => other}/member/point.js | 0 src/sheep/api/{ => other}/member/signin.js | 0 src/sheep/api/{ => other}/member/social.js | 0 src/sheep/api/{ => other}/member/user.js | 0 src/sheep/api/{ => other}/migration/app.js | 0 src/sheep/api/{ => other}/migration/index.js | 0 src/sheep/api/{ => other}/migration/third.js | 0 src/sheep/api/{ => other}/pay/channel.js | 0 src/sheep/api/{ => other}/pay/order.js | 0 src/sheep/api/{ => other}/pay/wallet.js | 0 src/sheep/api/{ => other}/product/category.js | 0 src/sheep/api/{ => other}/product/comment.js | 0 src/sheep/api/{ => other}/product/favorite.js | 0 src/sheep/api/{ => other}/product/history.js | 0 src/sheep/api/{ => other}/product/spu.js | 0 .../api/{ => other}/promotion/activity.js | 0 .../api/{ => other}/promotion/article.js | 0 .../api/{ => other}/promotion/combination.js | 0 src/sheep/api/{ => other}/promotion/coupon.js | 0 src/sheep/api/{ => other}/promotion/diy.js | 0 src/sheep/api/{ => other}/promotion/kefu.js | 0 src/sheep/api/{ => other}/promotion/point.js | 0 .../{ => other}/promotion/rewardActivity.js | 0 .../api/{ => other}/promotion/seckill.js | 0 src/sheep/api/{ => other}/system/area.js | 0 src/sheep/api/{ => other}/system/dict.js | 0 src/sheep/api/{ => other}/trade/afterSale.js | 0 src/sheep/api/{ => other}/trade/brokerage.js | 0 src/sheep/api/{ => other}/trade/cart.js | 0 src/sheep/api/{ => other}/trade/config.js | 0 src/sheep/api/{ => other}/trade/delivery.js | 0 src/sheep/api/{ => other}/trade/order.js | 0 .../{ => other}/countDown/index.vue | 0 .../s-activity-pop/s-activity-pop.vue | 0 .../s-address-item/s-address-item.vue | 0 .../s-auth-modal/components/account-login.vue | 0 .../s-auth-modal/components/change-mobile.vue | 0 .../components/change-password.vue | 0 .../components/mp-authorization.vue | 0 .../components/reset-password.vue | 0 .../s-auth-modal/components/sms-login.vue | 0 .../{ => other}/s-auth-modal/index.scss | 0 .../{ => other}/s-auth-modal/s-auth-modal.vue | 0 .../{ => other}/s-block-item/s-block-item.vue | 0 .../{ => other}/s-block/s-block.vue | 0 .../{ => other}/s-count-down/s-count-down.vue | 0 .../s-coupon-block/s-coupon-block.vue | 0 .../s-coupon-card/s-coupon-card.vue | 0 .../{ => other}/s-coupon-get/s-coupon-get.vue | 0 .../s-coupon-list/s-coupon-list.vue | 0 .../s-coupon-select/s-coupon-select.vue | 0 .../components/navbar-item.vue | 0 .../s-custom-navbar/components/navbar.vue | 0 .../s-custom-navbar/s-custom-navbar.vue | 0 .../s-discount-list/s-discount-list.vue | 0 .../{ => other}/s-empty/s-empty.vue | 0 .../{ => other}/s-float-menu/s-float-menu.vue | 0 .../{ => other}/s-goods-card/s-goods-card.vue | 0 .../s-goods-column/s-goods-column.vue | 0 .../{ => other}/s-goods-item/s-goods-item.vue | 0 .../s-goods-scroll/s-goods-scroll.vue | 0 .../s-goods-shelves/s-goods-shelves.vue | 0 .../s-groupon-block/s-groupon-block.vue | 0 .../s-hotzone-block/s-hotzone-block.vue | 0 .../s-image-banner/s-image-banner.vue | 0 .../s-image-block/s-image-block.vue | 0 .../{ => other}/s-image-cube/s-image-cube.vue | 0 .../{ => other}/s-layout/s-layout.vue | 0 .../{ => other}/s-line-block/s-line-block.vue | 0 .../{ => other}/s-live-block/s-live-block.vue | 0 .../{ => other}/s-live-card/s-live-card.vue | 0 .../s-menu-button/s-menu-button.vue | 0 .../{ => other}/s-menu-grid/s-menu-grid.vue | 0 .../{ => other}/s-menu-list/s-menu-list.vue | 0 .../{ => other}/s-menu-tools/s-menu-tools.vue | 0 .../s-notice-block/s-notice-block.vue | 0 .../{ => other}/s-order-card/s-order-card.vue | 0 .../s-point-block/s-point-block.vue | 0 .../{ => other}/s-point-card/s-point-card.vue | 0 .../s-popup-image/s-popup-image.vue | 0 .../s-richtext-block/s-richtext-block.vue | 0 .../s-search-block/s-search-block.vue | 0 .../s-seckill-block/s-seckill-block.vue | 0 .../s-select-groupon-sku.vue | 0 .../s-select-seckill-sku.vue | 0 .../{ => other}/s-select-sku/s-select-sku.vue | 0 .../s-share-modal/canvas-poster/index.vue | 0 .../canvas-poster/poster/goods.js | 0 .../canvas-poster/poster/groupon.js | 0 .../canvas-poster/poster/index.js | 0 .../canvas-poster/poster/user.js | 0 .../s-share-modal/s-share-modal.vue | 0 .../{ => other}/s-statusbar/s-statusbar.vue | 0 .../{ => other}/s-tabbar/s-tabbar.vue | 0 .../s-title-block/s-title-block.vue | 0 .../s-uploader/choose-and-upload-file.js | 0 .../{ => other}/s-uploader/s-uploader.vue | 0 .../{ => other}/s-uploader/upload-file.vue | 0 .../{ => other}/s-uploader/upload-image.vue | 0 .../{ => other}/s-uploader/utils.js | 0 .../{ => other}/s-user-card/s-user-card.vue | 0 .../s-video-block/s-video-block.vue | 0 .../s-wallet-card/s-wallet-card.vue | 0 src/sheep/components/s-scroll-list/README.md | 1 + 111 files changed, 156 insertions(+), 188 deletions(-) create mode 100644 src/sheep/api/make-friend.ts rename src/sheep/api/{ => other}/infra/file.js (100%) rename src/sheep/api/{ => other}/member/address.js (100%) rename src/sheep/api/{ => other}/member/auth.js (100%) rename src/sheep/api/{ => other}/member/point.js (100%) rename src/sheep/api/{ => other}/member/signin.js (100%) rename src/sheep/api/{ => other}/member/social.js (100%) rename src/sheep/api/{ => other}/member/user.js (100%) rename src/sheep/api/{ => other}/migration/app.js (100%) rename src/sheep/api/{ => other}/migration/index.js (100%) rename src/sheep/api/{ => other}/migration/third.js (100%) rename src/sheep/api/{ => other}/pay/channel.js (100%) rename src/sheep/api/{ => other}/pay/order.js (100%) rename src/sheep/api/{ => other}/pay/wallet.js (100%) rename src/sheep/api/{ => other}/product/category.js (100%) rename src/sheep/api/{ => other}/product/comment.js (100%) rename src/sheep/api/{ => other}/product/favorite.js (100%) rename src/sheep/api/{ => other}/product/history.js (100%) rename src/sheep/api/{ => other}/product/spu.js (100%) rename src/sheep/api/{ => other}/promotion/activity.js (100%) rename src/sheep/api/{ => other}/promotion/article.js (100%) rename src/sheep/api/{ => other}/promotion/combination.js (100%) rename src/sheep/api/{ => other}/promotion/coupon.js (100%) rename src/sheep/api/{ => other}/promotion/diy.js (100%) rename src/sheep/api/{ => other}/promotion/kefu.js (100%) rename src/sheep/api/{ => other}/promotion/point.js (100%) rename src/sheep/api/{ => other}/promotion/rewardActivity.js (100%) rename src/sheep/api/{ => other}/promotion/seckill.js (100%) rename src/sheep/api/{ => other}/system/area.js (100%) rename src/sheep/api/{ => other}/system/dict.js (100%) rename src/sheep/api/{ => other}/trade/afterSale.js (100%) rename src/sheep/api/{ => other}/trade/brokerage.js (100%) rename src/sheep/api/{ => other}/trade/cart.js (100%) rename src/sheep/api/{ => other}/trade/config.js (100%) rename src/sheep/api/{ => other}/trade/delivery.js (100%) rename src/sheep/api/{ => other}/trade/order.js (100%) rename src/sheep/components/{ => other}/countDown/index.vue (100%) rename src/sheep/components/{ => other}/s-activity-pop/s-activity-pop.vue (100%) rename src/sheep/components/{ => other}/s-address-item/s-address-item.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/account-login.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/change-mobile.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/change-password.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/mp-authorization.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/reset-password.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/components/sms-login.vue (100%) rename src/sheep/components/{ => other}/s-auth-modal/index.scss (100%) rename src/sheep/components/{ => other}/s-auth-modal/s-auth-modal.vue (100%) rename src/sheep/components/{ => other}/s-block-item/s-block-item.vue (100%) rename src/sheep/components/{ => other}/s-block/s-block.vue (100%) rename src/sheep/components/{ => other}/s-count-down/s-count-down.vue (100%) rename src/sheep/components/{ => other}/s-coupon-block/s-coupon-block.vue (100%) rename src/sheep/components/{ => other}/s-coupon-card/s-coupon-card.vue (100%) rename src/sheep/components/{ => other}/s-coupon-get/s-coupon-get.vue (100%) rename src/sheep/components/{ => other}/s-coupon-list/s-coupon-list.vue (100%) rename src/sheep/components/{ => other}/s-coupon-select/s-coupon-select.vue (100%) rename src/sheep/components/{ => other}/s-custom-navbar/components/navbar-item.vue (100%) rename src/sheep/components/{ => other}/s-custom-navbar/components/navbar.vue (100%) rename src/sheep/components/{ => other}/s-custom-navbar/s-custom-navbar.vue (100%) rename src/sheep/components/{ => other}/s-discount-list/s-discount-list.vue (100%) rename src/sheep/components/{ => other}/s-empty/s-empty.vue (100%) rename src/sheep/components/{ => other}/s-float-menu/s-float-menu.vue (100%) rename src/sheep/components/{ => other}/s-goods-card/s-goods-card.vue (100%) rename src/sheep/components/{ => other}/s-goods-column/s-goods-column.vue (100%) rename src/sheep/components/{ => other}/s-goods-item/s-goods-item.vue (100%) rename src/sheep/components/{ => other}/s-goods-scroll/s-goods-scroll.vue (100%) rename src/sheep/components/{ => other}/s-goods-shelves/s-goods-shelves.vue (100%) rename src/sheep/components/{ => other}/s-groupon-block/s-groupon-block.vue (100%) rename src/sheep/components/{ => other}/s-hotzone-block/s-hotzone-block.vue (100%) rename src/sheep/components/{ => other}/s-image-banner/s-image-banner.vue (100%) rename src/sheep/components/{ => other}/s-image-block/s-image-block.vue (100%) rename src/sheep/components/{ => other}/s-image-cube/s-image-cube.vue (100%) rename src/sheep/components/{ => other}/s-layout/s-layout.vue (100%) rename src/sheep/components/{ => other}/s-line-block/s-line-block.vue (100%) rename src/sheep/components/{ => other}/s-live-block/s-live-block.vue (100%) rename src/sheep/components/{ => other}/s-live-card/s-live-card.vue (100%) rename src/sheep/components/{ => other}/s-menu-button/s-menu-button.vue (100%) rename src/sheep/components/{ => other}/s-menu-grid/s-menu-grid.vue (100%) rename src/sheep/components/{ => other}/s-menu-list/s-menu-list.vue (100%) rename src/sheep/components/{ => other}/s-menu-tools/s-menu-tools.vue (100%) rename src/sheep/components/{ => other}/s-notice-block/s-notice-block.vue (100%) rename src/sheep/components/{ => other}/s-order-card/s-order-card.vue (100%) rename src/sheep/components/{ => other}/s-point-block/s-point-block.vue (100%) rename src/sheep/components/{ => other}/s-point-card/s-point-card.vue (100%) rename src/sheep/components/{ => other}/s-popup-image/s-popup-image.vue (100%) rename src/sheep/components/{ => other}/s-richtext-block/s-richtext-block.vue (100%) rename src/sheep/components/{ => other}/s-search-block/s-search-block.vue (100%) rename src/sheep/components/{ => other}/s-seckill-block/s-seckill-block.vue (100%) rename src/sheep/components/{ => other}/s-select-groupon-sku/s-select-groupon-sku.vue (100%) rename src/sheep/components/{ => other}/s-select-seckill-sku/s-select-seckill-sku.vue (100%) rename src/sheep/components/{ => other}/s-select-sku/s-select-sku.vue (100%) rename src/sheep/components/{ => other}/s-share-modal/canvas-poster/index.vue (100%) rename src/sheep/components/{ => other}/s-share-modal/canvas-poster/poster/goods.js (100%) rename src/sheep/components/{ => other}/s-share-modal/canvas-poster/poster/groupon.js (100%) rename src/sheep/components/{ => other}/s-share-modal/canvas-poster/poster/index.js (100%) rename src/sheep/components/{ => other}/s-share-modal/canvas-poster/poster/user.js (100%) rename src/sheep/components/{ => other}/s-share-modal/s-share-modal.vue (100%) rename src/sheep/components/{ => other}/s-statusbar/s-statusbar.vue (100%) rename src/sheep/components/{ => other}/s-tabbar/s-tabbar.vue (100%) rename src/sheep/components/{ => other}/s-title-block/s-title-block.vue (100%) rename src/sheep/components/{ => other}/s-uploader/choose-and-upload-file.js (100%) rename src/sheep/components/{ => other}/s-uploader/s-uploader.vue (100%) rename src/sheep/components/{ => other}/s-uploader/upload-file.vue (100%) rename src/sheep/components/{ => other}/s-uploader/upload-image.vue (100%) rename src/sheep/components/{ => other}/s-uploader/utils.js (100%) rename src/sheep/components/{ => other}/s-user-card/s-user-card.vue (100%) rename src/sheep/components/{ => other}/s-video-block/s-video-block.vue (100%) rename src/sheep/components/{ => other}/s-wallet-card/s-wallet-card.vue (100%) create mode 100644 src/sheep/components/s-scroll-list/README.md diff --git a/src/pages/detail/detail.vue b/src/pages/detail/detail.vue index b749362c..083e5b33 100644 --- a/src/pages/detail/detail.vue +++ b/src/pages/detail/detail.vue @@ -16,7 +16,7 @@ - + {{ "啊发发" }} @@ -31,7 +31,7 @@ 相册 - + 评价1+ diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue index ae4c2970..d285e14b 100644 --- a/src/pages/home/home.vue +++ b/src/pages/home/home.vue @@ -22,175 +22,110 @@ - - - - - + + + + @@ -240,70 +167,67 @@ onMounted(() => { align-items: center; font-size: $font-size-medium; } -.home-page { +.user-list { background-color: $color-background; height: calc(100vh - 100rpx - 100rpx); - .user-list { - height: 100%; - .user-card { + .user-card { + height: 300rpx; + display: flex; + justify-content: center; + align-items: center; + padding: 30rpx; + .user-image { + width: 200rpx; height: 300rpx; + margin-right: 20rpx; + border-radius: 16rpx; + background-color: #777777; + } + .user-info { + flex: 1; + width: 100%; + height: 100%; display: flex; - justify-content: center; - align-items: center; - padding: 30rpx; - .user-image { - width: 200rpx; - height: 300rpx; - margin-right: 20rpx; - border-radius: 16rpx; - background-color: #777777; - } - .user-info { - flex: 1; - width: 100%; - height: 100%; + flex-direction: column; + justify-content: start; + .user { display: flex; - flex-direction: column; - justify-content: start; - .user { - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 16rpx; - .user-name { - font-size: $font-size-large; - font-weight: bold; - } - .user-status { - background-color: $color-theme-d; - font-size: $font-size-small; - padding: 10rpx 20rpx; - border-radius: 36rpx; - color: white; - } + align-items: center; + justify-content: space-between; + margin-top: 16rpx; + .user-name { + font-size: $font-size-large; + font-weight: bold; } - .verification { - margin-top: 16rpx; - .verify-badge { - background-color: $color-theme; - font-size: $font-size-small; - color: black; - padding: 6rpx 12rpx; - border-radius: 6rpx; - } - } - .user-details { - margin-top: 26rpx; - display: flex; - flex-wrap: wrap; - gap: 20rpx; + .user-status { + background-color: $color-theme-d; font-size: $font-size-small; - color: $color-text-ll; - .tag { - background-color: $color-highlight-background; - padding: 10rpx 16rpx; - border-radius: 6rpx; - } + padding: 10rpx 20rpx; + border-radius: 36rpx; + color: white; + } + } + .verification { + margin-top: 16rpx; + .verify-badge { + background-color: $color-theme; + font-size: $font-size-small; + color: black; + padding: 6rpx 12rpx; + border-radius: 6rpx; + } + } + .user-details { + margin-top: 26rpx; + display: flex; + flex-wrap: wrap; + gap: 20rpx; + font-size: $font-size-small; + color: $color-text-ll; + .tag { + background-color: $color-highlight-background; + padding: 10rpx 16rpx; + border-radius: 6rpx; } } } diff --git a/src/pages/messages/messages.vue b/src/pages/messages/messages.vue index 345a7b65..dab221bd 100644 --- a/src/pages/messages/messages.vue +++ b/src/pages/messages/messages.vue @@ -22,7 +22,7 @@ {{ message.time }} - {{ message.lastMessage }}吼吼吼吼吼吼吼吼吼吼吼吼吼吼吼吼 + {{ message.lastMessage }} diff --git a/src/sheep/api/make-friend.ts b/src/sheep/api/make-friend.ts new file mode 100644 index 00000000..8b953b3e --- /dev/null +++ b/src/sheep/api/make-friend.ts @@ -0,0 +1,43 @@ +// import request from "@/sheep/request"; + +const mockUsers = Array.from({ length: 26 }).map((_, index) => ({ + id: index, + name: "山峰" + (index + 1), + avatar: "/static/avatar2.jpg", + gender: "男", + age: 30, + height: "185", + weight: "75", + occupation: "健身教练", + distance: "5.2", + photoCount: 3, + isVip: false, + status: "在线", +})); + +const makeFriendApi = { + // 获得用户收件地址列表 + // getAddressList: () => { + // return request({ + // url: "/member/address/list", + // method: "GET", + // }); + // }, + + getMakeFriendList: async (page: number = 1, pageSize: number = 10) => { + await new Promise((resolve) => setTimeout(resolve, 1000)); + + const startIndex = (page - 1) * pageSize; + const endIndex = startIndex + pageSize; + const newUsers = mockUsers.slice(startIndex, endIndex); + + return { + page, + pageSize, + total: 26, + data: newUsers, + }; + }, +}; + +export default makeFriendApi; diff --git a/src/sheep/api/infra/file.js b/src/sheep/api/other/infra/file.js similarity index 100% rename from src/sheep/api/infra/file.js rename to src/sheep/api/other/infra/file.js diff --git a/src/sheep/api/member/address.js b/src/sheep/api/other/member/address.js similarity index 100% rename from src/sheep/api/member/address.js rename to src/sheep/api/other/member/address.js diff --git a/src/sheep/api/member/auth.js b/src/sheep/api/other/member/auth.js similarity index 100% rename from src/sheep/api/member/auth.js rename to src/sheep/api/other/member/auth.js diff --git a/src/sheep/api/member/point.js b/src/sheep/api/other/member/point.js similarity index 100% rename from src/sheep/api/member/point.js rename to src/sheep/api/other/member/point.js diff --git a/src/sheep/api/member/signin.js b/src/sheep/api/other/member/signin.js similarity index 100% rename from src/sheep/api/member/signin.js rename to src/sheep/api/other/member/signin.js diff --git a/src/sheep/api/member/social.js b/src/sheep/api/other/member/social.js similarity index 100% rename from src/sheep/api/member/social.js rename to src/sheep/api/other/member/social.js diff --git a/src/sheep/api/member/user.js b/src/sheep/api/other/member/user.js similarity index 100% rename from src/sheep/api/member/user.js rename to src/sheep/api/other/member/user.js diff --git a/src/sheep/api/migration/app.js b/src/sheep/api/other/migration/app.js similarity index 100% rename from src/sheep/api/migration/app.js rename to src/sheep/api/other/migration/app.js diff --git a/src/sheep/api/migration/index.js b/src/sheep/api/other/migration/index.js similarity index 100% rename from src/sheep/api/migration/index.js rename to src/sheep/api/other/migration/index.js diff --git a/src/sheep/api/migration/third.js b/src/sheep/api/other/migration/third.js similarity index 100% rename from src/sheep/api/migration/third.js rename to src/sheep/api/other/migration/third.js diff --git a/src/sheep/api/pay/channel.js b/src/sheep/api/other/pay/channel.js similarity index 100% rename from src/sheep/api/pay/channel.js rename to src/sheep/api/other/pay/channel.js diff --git a/src/sheep/api/pay/order.js b/src/sheep/api/other/pay/order.js similarity index 100% rename from src/sheep/api/pay/order.js rename to src/sheep/api/other/pay/order.js diff --git a/src/sheep/api/pay/wallet.js b/src/sheep/api/other/pay/wallet.js similarity index 100% rename from src/sheep/api/pay/wallet.js rename to src/sheep/api/other/pay/wallet.js diff --git a/src/sheep/api/product/category.js b/src/sheep/api/other/product/category.js similarity index 100% rename from src/sheep/api/product/category.js rename to src/sheep/api/other/product/category.js diff --git a/src/sheep/api/product/comment.js b/src/sheep/api/other/product/comment.js similarity index 100% rename from src/sheep/api/product/comment.js rename to src/sheep/api/other/product/comment.js diff --git a/src/sheep/api/product/favorite.js b/src/sheep/api/other/product/favorite.js similarity index 100% rename from src/sheep/api/product/favorite.js rename to src/sheep/api/other/product/favorite.js diff --git a/src/sheep/api/product/history.js b/src/sheep/api/other/product/history.js similarity index 100% rename from src/sheep/api/product/history.js rename to src/sheep/api/other/product/history.js diff --git a/src/sheep/api/product/spu.js b/src/sheep/api/other/product/spu.js similarity index 100% rename from src/sheep/api/product/spu.js rename to src/sheep/api/other/product/spu.js diff --git a/src/sheep/api/promotion/activity.js b/src/sheep/api/other/promotion/activity.js similarity index 100% rename from src/sheep/api/promotion/activity.js rename to src/sheep/api/other/promotion/activity.js diff --git a/src/sheep/api/promotion/article.js b/src/sheep/api/other/promotion/article.js similarity index 100% rename from src/sheep/api/promotion/article.js rename to src/sheep/api/other/promotion/article.js diff --git a/src/sheep/api/promotion/combination.js b/src/sheep/api/other/promotion/combination.js similarity index 100% rename from src/sheep/api/promotion/combination.js rename to src/sheep/api/other/promotion/combination.js diff --git a/src/sheep/api/promotion/coupon.js b/src/sheep/api/other/promotion/coupon.js similarity index 100% rename from src/sheep/api/promotion/coupon.js rename to src/sheep/api/other/promotion/coupon.js diff --git a/src/sheep/api/promotion/diy.js b/src/sheep/api/other/promotion/diy.js similarity index 100% rename from src/sheep/api/promotion/diy.js rename to src/sheep/api/other/promotion/diy.js diff --git a/src/sheep/api/promotion/kefu.js b/src/sheep/api/other/promotion/kefu.js similarity index 100% rename from src/sheep/api/promotion/kefu.js rename to src/sheep/api/other/promotion/kefu.js diff --git a/src/sheep/api/promotion/point.js b/src/sheep/api/other/promotion/point.js similarity index 100% rename from src/sheep/api/promotion/point.js rename to src/sheep/api/other/promotion/point.js diff --git a/src/sheep/api/promotion/rewardActivity.js b/src/sheep/api/other/promotion/rewardActivity.js similarity index 100% rename from src/sheep/api/promotion/rewardActivity.js rename to src/sheep/api/other/promotion/rewardActivity.js diff --git a/src/sheep/api/promotion/seckill.js b/src/sheep/api/other/promotion/seckill.js similarity index 100% rename from src/sheep/api/promotion/seckill.js rename to src/sheep/api/other/promotion/seckill.js diff --git a/src/sheep/api/system/area.js b/src/sheep/api/other/system/area.js similarity index 100% rename from src/sheep/api/system/area.js rename to src/sheep/api/other/system/area.js diff --git a/src/sheep/api/system/dict.js b/src/sheep/api/other/system/dict.js similarity index 100% rename from src/sheep/api/system/dict.js rename to src/sheep/api/other/system/dict.js diff --git a/src/sheep/api/trade/afterSale.js b/src/sheep/api/other/trade/afterSale.js similarity index 100% rename from src/sheep/api/trade/afterSale.js rename to src/sheep/api/other/trade/afterSale.js diff --git a/src/sheep/api/trade/brokerage.js b/src/sheep/api/other/trade/brokerage.js similarity index 100% rename from src/sheep/api/trade/brokerage.js rename to src/sheep/api/other/trade/brokerage.js diff --git a/src/sheep/api/trade/cart.js b/src/sheep/api/other/trade/cart.js similarity index 100% rename from src/sheep/api/trade/cart.js rename to src/sheep/api/other/trade/cart.js diff --git a/src/sheep/api/trade/config.js b/src/sheep/api/other/trade/config.js similarity index 100% rename from src/sheep/api/trade/config.js rename to src/sheep/api/other/trade/config.js diff --git a/src/sheep/api/trade/delivery.js b/src/sheep/api/other/trade/delivery.js similarity index 100% rename from src/sheep/api/trade/delivery.js rename to src/sheep/api/other/trade/delivery.js diff --git a/src/sheep/api/trade/order.js b/src/sheep/api/other/trade/order.js similarity index 100% rename from src/sheep/api/trade/order.js rename to src/sheep/api/other/trade/order.js diff --git a/src/sheep/components/countDown/index.vue b/src/sheep/components/other/countDown/index.vue similarity index 100% rename from src/sheep/components/countDown/index.vue rename to src/sheep/components/other/countDown/index.vue diff --git a/src/sheep/components/s-activity-pop/s-activity-pop.vue b/src/sheep/components/other/s-activity-pop/s-activity-pop.vue similarity index 100% rename from src/sheep/components/s-activity-pop/s-activity-pop.vue rename to src/sheep/components/other/s-activity-pop/s-activity-pop.vue diff --git a/src/sheep/components/s-address-item/s-address-item.vue b/src/sheep/components/other/s-address-item/s-address-item.vue similarity index 100% rename from src/sheep/components/s-address-item/s-address-item.vue rename to src/sheep/components/other/s-address-item/s-address-item.vue diff --git a/src/sheep/components/s-auth-modal/components/account-login.vue b/src/sheep/components/other/s-auth-modal/components/account-login.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/account-login.vue rename to src/sheep/components/other/s-auth-modal/components/account-login.vue diff --git a/src/sheep/components/s-auth-modal/components/change-mobile.vue b/src/sheep/components/other/s-auth-modal/components/change-mobile.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/change-mobile.vue rename to src/sheep/components/other/s-auth-modal/components/change-mobile.vue diff --git a/src/sheep/components/s-auth-modal/components/change-password.vue b/src/sheep/components/other/s-auth-modal/components/change-password.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/change-password.vue rename to src/sheep/components/other/s-auth-modal/components/change-password.vue diff --git a/src/sheep/components/s-auth-modal/components/mp-authorization.vue b/src/sheep/components/other/s-auth-modal/components/mp-authorization.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/mp-authorization.vue rename to src/sheep/components/other/s-auth-modal/components/mp-authorization.vue diff --git a/src/sheep/components/s-auth-modal/components/reset-password.vue b/src/sheep/components/other/s-auth-modal/components/reset-password.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/reset-password.vue rename to src/sheep/components/other/s-auth-modal/components/reset-password.vue diff --git a/src/sheep/components/s-auth-modal/components/sms-login.vue b/src/sheep/components/other/s-auth-modal/components/sms-login.vue similarity index 100% rename from src/sheep/components/s-auth-modal/components/sms-login.vue rename to src/sheep/components/other/s-auth-modal/components/sms-login.vue diff --git a/src/sheep/components/s-auth-modal/index.scss b/src/sheep/components/other/s-auth-modal/index.scss similarity index 100% rename from src/sheep/components/s-auth-modal/index.scss rename to src/sheep/components/other/s-auth-modal/index.scss diff --git a/src/sheep/components/s-auth-modal/s-auth-modal.vue b/src/sheep/components/other/s-auth-modal/s-auth-modal.vue similarity index 100% rename from src/sheep/components/s-auth-modal/s-auth-modal.vue rename to src/sheep/components/other/s-auth-modal/s-auth-modal.vue diff --git a/src/sheep/components/s-block-item/s-block-item.vue b/src/sheep/components/other/s-block-item/s-block-item.vue similarity index 100% rename from src/sheep/components/s-block-item/s-block-item.vue rename to src/sheep/components/other/s-block-item/s-block-item.vue diff --git a/src/sheep/components/s-block/s-block.vue b/src/sheep/components/other/s-block/s-block.vue similarity index 100% rename from src/sheep/components/s-block/s-block.vue rename to src/sheep/components/other/s-block/s-block.vue diff --git a/src/sheep/components/s-count-down/s-count-down.vue b/src/sheep/components/other/s-count-down/s-count-down.vue similarity index 100% rename from src/sheep/components/s-count-down/s-count-down.vue rename to src/sheep/components/other/s-count-down/s-count-down.vue diff --git a/src/sheep/components/s-coupon-block/s-coupon-block.vue b/src/sheep/components/other/s-coupon-block/s-coupon-block.vue similarity index 100% rename from src/sheep/components/s-coupon-block/s-coupon-block.vue rename to src/sheep/components/other/s-coupon-block/s-coupon-block.vue diff --git a/src/sheep/components/s-coupon-card/s-coupon-card.vue b/src/sheep/components/other/s-coupon-card/s-coupon-card.vue similarity index 100% rename from src/sheep/components/s-coupon-card/s-coupon-card.vue rename to src/sheep/components/other/s-coupon-card/s-coupon-card.vue diff --git a/src/sheep/components/s-coupon-get/s-coupon-get.vue b/src/sheep/components/other/s-coupon-get/s-coupon-get.vue similarity index 100% rename from src/sheep/components/s-coupon-get/s-coupon-get.vue rename to src/sheep/components/other/s-coupon-get/s-coupon-get.vue diff --git a/src/sheep/components/s-coupon-list/s-coupon-list.vue b/src/sheep/components/other/s-coupon-list/s-coupon-list.vue similarity index 100% rename from src/sheep/components/s-coupon-list/s-coupon-list.vue rename to src/sheep/components/other/s-coupon-list/s-coupon-list.vue diff --git a/src/sheep/components/s-coupon-select/s-coupon-select.vue b/src/sheep/components/other/s-coupon-select/s-coupon-select.vue similarity index 100% rename from src/sheep/components/s-coupon-select/s-coupon-select.vue rename to src/sheep/components/other/s-coupon-select/s-coupon-select.vue diff --git a/src/sheep/components/s-custom-navbar/components/navbar-item.vue b/src/sheep/components/other/s-custom-navbar/components/navbar-item.vue similarity index 100% rename from src/sheep/components/s-custom-navbar/components/navbar-item.vue rename to src/sheep/components/other/s-custom-navbar/components/navbar-item.vue diff --git a/src/sheep/components/s-custom-navbar/components/navbar.vue b/src/sheep/components/other/s-custom-navbar/components/navbar.vue similarity index 100% rename from src/sheep/components/s-custom-navbar/components/navbar.vue rename to src/sheep/components/other/s-custom-navbar/components/navbar.vue diff --git a/src/sheep/components/s-custom-navbar/s-custom-navbar.vue b/src/sheep/components/other/s-custom-navbar/s-custom-navbar.vue similarity index 100% rename from src/sheep/components/s-custom-navbar/s-custom-navbar.vue rename to src/sheep/components/other/s-custom-navbar/s-custom-navbar.vue diff --git a/src/sheep/components/s-discount-list/s-discount-list.vue b/src/sheep/components/other/s-discount-list/s-discount-list.vue similarity index 100% rename from src/sheep/components/s-discount-list/s-discount-list.vue rename to src/sheep/components/other/s-discount-list/s-discount-list.vue diff --git a/src/sheep/components/s-empty/s-empty.vue b/src/sheep/components/other/s-empty/s-empty.vue similarity index 100% rename from src/sheep/components/s-empty/s-empty.vue rename to src/sheep/components/other/s-empty/s-empty.vue diff --git a/src/sheep/components/s-float-menu/s-float-menu.vue b/src/sheep/components/other/s-float-menu/s-float-menu.vue similarity index 100% rename from src/sheep/components/s-float-menu/s-float-menu.vue rename to src/sheep/components/other/s-float-menu/s-float-menu.vue diff --git a/src/sheep/components/s-goods-card/s-goods-card.vue b/src/sheep/components/other/s-goods-card/s-goods-card.vue similarity index 100% rename from src/sheep/components/s-goods-card/s-goods-card.vue rename to src/sheep/components/other/s-goods-card/s-goods-card.vue diff --git a/src/sheep/components/s-goods-column/s-goods-column.vue b/src/sheep/components/other/s-goods-column/s-goods-column.vue similarity index 100% rename from src/sheep/components/s-goods-column/s-goods-column.vue rename to src/sheep/components/other/s-goods-column/s-goods-column.vue diff --git a/src/sheep/components/s-goods-item/s-goods-item.vue b/src/sheep/components/other/s-goods-item/s-goods-item.vue similarity index 100% rename from src/sheep/components/s-goods-item/s-goods-item.vue rename to src/sheep/components/other/s-goods-item/s-goods-item.vue diff --git a/src/sheep/components/s-goods-scroll/s-goods-scroll.vue b/src/sheep/components/other/s-goods-scroll/s-goods-scroll.vue similarity index 100% rename from src/sheep/components/s-goods-scroll/s-goods-scroll.vue rename to src/sheep/components/other/s-goods-scroll/s-goods-scroll.vue diff --git a/src/sheep/components/s-goods-shelves/s-goods-shelves.vue b/src/sheep/components/other/s-goods-shelves/s-goods-shelves.vue similarity index 100% rename from src/sheep/components/s-goods-shelves/s-goods-shelves.vue rename to src/sheep/components/other/s-goods-shelves/s-goods-shelves.vue diff --git a/src/sheep/components/s-groupon-block/s-groupon-block.vue b/src/sheep/components/other/s-groupon-block/s-groupon-block.vue similarity index 100% rename from src/sheep/components/s-groupon-block/s-groupon-block.vue rename to src/sheep/components/other/s-groupon-block/s-groupon-block.vue diff --git a/src/sheep/components/s-hotzone-block/s-hotzone-block.vue b/src/sheep/components/other/s-hotzone-block/s-hotzone-block.vue similarity index 100% rename from src/sheep/components/s-hotzone-block/s-hotzone-block.vue rename to src/sheep/components/other/s-hotzone-block/s-hotzone-block.vue diff --git a/src/sheep/components/s-image-banner/s-image-banner.vue b/src/sheep/components/other/s-image-banner/s-image-banner.vue similarity index 100% rename from src/sheep/components/s-image-banner/s-image-banner.vue rename to src/sheep/components/other/s-image-banner/s-image-banner.vue diff --git a/src/sheep/components/s-image-block/s-image-block.vue b/src/sheep/components/other/s-image-block/s-image-block.vue similarity index 100% rename from src/sheep/components/s-image-block/s-image-block.vue rename to src/sheep/components/other/s-image-block/s-image-block.vue diff --git a/src/sheep/components/s-image-cube/s-image-cube.vue b/src/sheep/components/other/s-image-cube/s-image-cube.vue similarity index 100% rename from src/sheep/components/s-image-cube/s-image-cube.vue rename to src/sheep/components/other/s-image-cube/s-image-cube.vue diff --git a/src/sheep/components/s-layout/s-layout.vue b/src/sheep/components/other/s-layout/s-layout.vue similarity index 100% rename from src/sheep/components/s-layout/s-layout.vue rename to src/sheep/components/other/s-layout/s-layout.vue diff --git a/src/sheep/components/s-line-block/s-line-block.vue b/src/sheep/components/other/s-line-block/s-line-block.vue similarity index 100% rename from src/sheep/components/s-line-block/s-line-block.vue rename to src/sheep/components/other/s-line-block/s-line-block.vue diff --git a/src/sheep/components/s-live-block/s-live-block.vue b/src/sheep/components/other/s-live-block/s-live-block.vue similarity index 100% rename from src/sheep/components/s-live-block/s-live-block.vue rename to src/sheep/components/other/s-live-block/s-live-block.vue diff --git a/src/sheep/components/s-live-card/s-live-card.vue b/src/sheep/components/other/s-live-card/s-live-card.vue similarity index 100% rename from src/sheep/components/s-live-card/s-live-card.vue rename to src/sheep/components/other/s-live-card/s-live-card.vue diff --git a/src/sheep/components/s-menu-button/s-menu-button.vue b/src/sheep/components/other/s-menu-button/s-menu-button.vue similarity index 100% rename from src/sheep/components/s-menu-button/s-menu-button.vue rename to src/sheep/components/other/s-menu-button/s-menu-button.vue diff --git a/src/sheep/components/s-menu-grid/s-menu-grid.vue b/src/sheep/components/other/s-menu-grid/s-menu-grid.vue similarity index 100% rename from src/sheep/components/s-menu-grid/s-menu-grid.vue rename to src/sheep/components/other/s-menu-grid/s-menu-grid.vue diff --git a/src/sheep/components/s-menu-list/s-menu-list.vue b/src/sheep/components/other/s-menu-list/s-menu-list.vue similarity index 100% rename from src/sheep/components/s-menu-list/s-menu-list.vue rename to src/sheep/components/other/s-menu-list/s-menu-list.vue diff --git a/src/sheep/components/s-menu-tools/s-menu-tools.vue b/src/sheep/components/other/s-menu-tools/s-menu-tools.vue similarity index 100% rename from src/sheep/components/s-menu-tools/s-menu-tools.vue rename to src/sheep/components/other/s-menu-tools/s-menu-tools.vue diff --git a/src/sheep/components/s-notice-block/s-notice-block.vue b/src/sheep/components/other/s-notice-block/s-notice-block.vue similarity index 100% rename from src/sheep/components/s-notice-block/s-notice-block.vue rename to src/sheep/components/other/s-notice-block/s-notice-block.vue diff --git a/src/sheep/components/s-order-card/s-order-card.vue b/src/sheep/components/other/s-order-card/s-order-card.vue similarity index 100% rename from src/sheep/components/s-order-card/s-order-card.vue rename to src/sheep/components/other/s-order-card/s-order-card.vue diff --git a/src/sheep/components/s-point-block/s-point-block.vue b/src/sheep/components/other/s-point-block/s-point-block.vue similarity index 100% rename from src/sheep/components/s-point-block/s-point-block.vue rename to src/sheep/components/other/s-point-block/s-point-block.vue diff --git a/src/sheep/components/s-point-card/s-point-card.vue b/src/sheep/components/other/s-point-card/s-point-card.vue similarity index 100% rename from src/sheep/components/s-point-card/s-point-card.vue rename to src/sheep/components/other/s-point-card/s-point-card.vue diff --git a/src/sheep/components/s-popup-image/s-popup-image.vue b/src/sheep/components/other/s-popup-image/s-popup-image.vue similarity index 100% rename from src/sheep/components/s-popup-image/s-popup-image.vue rename to src/sheep/components/other/s-popup-image/s-popup-image.vue diff --git a/src/sheep/components/s-richtext-block/s-richtext-block.vue b/src/sheep/components/other/s-richtext-block/s-richtext-block.vue similarity index 100% rename from src/sheep/components/s-richtext-block/s-richtext-block.vue rename to src/sheep/components/other/s-richtext-block/s-richtext-block.vue diff --git a/src/sheep/components/s-search-block/s-search-block.vue b/src/sheep/components/other/s-search-block/s-search-block.vue similarity index 100% rename from src/sheep/components/s-search-block/s-search-block.vue rename to src/sheep/components/other/s-search-block/s-search-block.vue diff --git a/src/sheep/components/s-seckill-block/s-seckill-block.vue b/src/sheep/components/other/s-seckill-block/s-seckill-block.vue similarity index 100% rename from src/sheep/components/s-seckill-block/s-seckill-block.vue rename to src/sheep/components/other/s-seckill-block/s-seckill-block.vue diff --git a/src/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue b/src/sheep/components/other/s-select-groupon-sku/s-select-groupon-sku.vue similarity index 100% rename from src/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue rename to src/sheep/components/other/s-select-groupon-sku/s-select-groupon-sku.vue diff --git a/src/sheep/components/s-select-seckill-sku/s-select-seckill-sku.vue b/src/sheep/components/other/s-select-seckill-sku/s-select-seckill-sku.vue similarity index 100% rename from src/sheep/components/s-select-seckill-sku/s-select-seckill-sku.vue rename to src/sheep/components/other/s-select-seckill-sku/s-select-seckill-sku.vue diff --git a/src/sheep/components/s-select-sku/s-select-sku.vue b/src/sheep/components/other/s-select-sku/s-select-sku.vue similarity index 100% rename from src/sheep/components/s-select-sku/s-select-sku.vue rename to src/sheep/components/other/s-select-sku/s-select-sku.vue diff --git a/src/sheep/components/s-share-modal/canvas-poster/index.vue b/src/sheep/components/other/s-share-modal/canvas-poster/index.vue similarity index 100% rename from src/sheep/components/s-share-modal/canvas-poster/index.vue rename to src/sheep/components/other/s-share-modal/canvas-poster/index.vue diff --git a/src/sheep/components/s-share-modal/canvas-poster/poster/goods.js b/src/sheep/components/other/s-share-modal/canvas-poster/poster/goods.js similarity index 100% rename from src/sheep/components/s-share-modal/canvas-poster/poster/goods.js rename to src/sheep/components/other/s-share-modal/canvas-poster/poster/goods.js diff --git a/src/sheep/components/s-share-modal/canvas-poster/poster/groupon.js b/src/sheep/components/other/s-share-modal/canvas-poster/poster/groupon.js similarity index 100% rename from src/sheep/components/s-share-modal/canvas-poster/poster/groupon.js rename to src/sheep/components/other/s-share-modal/canvas-poster/poster/groupon.js diff --git a/src/sheep/components/s-share-modal/canvas-poster/poster/index.js b/src/sheep/components/other/s-share-modal/canvas-poster/poster/index.js similarity index 100% rename from src/sheep/components/s-share-modal/canvas-poster/poster/index.js rename to src/sheep/components/other/s-share-modal/canvas-poster/poster/index.js diff --git a/src/sheep/components/s-share-modal/canvas-poster/poster/user.js b/src/sheep/components/other/s-share-modal/canvas-poster/poster/user.js similarity index 100% rename from src/sheep/components/s-share-modal/canvas-poster/poster/user.js rename to src/sheep/components/other/s-share-modal/canvas-poster/poster/user.js diff --git a/src/sheep/components/s-share-modal/s-share-modal.vue b/src/sheep/components/other/s-share-modal/s-share-modal.vue similarity index 100% rename from src/sheep/components/s-share-modal/s-share-modal.vue rename to src/sheep/components/other/s-share-modal/s-share-modal.vue diff --git a/src/sheep/components/s-statusbar/s-statusbar.vue b/src/sheep/components/other/s-statusbar/s-statusbar.vue similarity index 100% rename from src/sheep/components/s-statusbar/s-statusbar.vue rename to src/sheep/components/other/s-statusbar/s-statusbar.vue diff --git a/src/sheep/components/s-tabbar/s-tabbar.vue b/src/sheep/components/other/s-tabbar/s-tabbar.vue similarity index 100% rename from src/sheep/components/s-tabbar/s-tabbar.vue rename to src/sheep/components/other/s-tabbar/s-tabbar.vue diff --git a/src/sheep/components/s-title-block/s-title-block.vue b/src/sheep/components/other/s-title-block/s-title-block.vue similarity index 100% rename from src/sheep/components/s-title-block/s-title-block.vue rename to src/sheep/components/other/s-title-block/s-title-block.vue diff --git a/src/sheep/components/s-uploader/choose-and-upload-file.js b/src/sheep/components/other/s-uploader/choose-and-upload-file.js similarity index 100% rename from src/sheep/components/s-uploader/choose-and-upload-file.js rename to src/sheep/components/other/s-uploader/choose-and-upload-file.js diff --git a/src/sheep/components/s-uploader/s-uploader.vue b/src/sheep/components/other/s-uploader/s-uploader.vue similarity index 100% rename from src/sheep/components/s-uploader/s-uploader.vue rename to src/sheep/components/other/s-uploader/s-uploader.vue diff --git a/src/sheep/components/s-uploader/upload-file.vue b/src/sheep/components/other/s-uploader/upload-file.vue similarity index 100% rename from src/sheep/components/s-uploader/upload-file.vue rename to src/sheep/components/other/s-uploader/upload-file.vue diff --git a/src/sheep/components/s-uploader/upload-image.vue b/src/sheep/components/other/s-uploader/upload-image.vue similarity index 100% rename from src/sheep/components/s-uploader/upload-image.vue rename to src/sheep/components/other/s-uploader/upload-image.vue diff --git a/src/sheep/components/s-uploader/utils.js b/src/sheep/components/other/s-uploader/utils.js similarity index 100% rename from src/sheep/components/s-uploader/utils.js rename to src/sheep/components/other/s-uploader/utils.js diff --git a/src/sheep/components/s-user-card/s-user-card.vue b/src/sheep/components/other/s-user-card/s-user-card.vue similarity index 100% rename from src/sheep/components/s-user-card/s-user-card.vue rename to src/sheep/components/other/s-user-card/s-user-card.vue diff --git a/src/sheep/components/s-video-block/s-video-block.vue b/src/sheep/components/other/s-video-block/s-video-block.vue similarity index 100% rename from src/sheep/components/s-video-block/s-video-block.vue rename to src/sheep/components/other/s-video-block/s-video-block.vue diff --git a/src/sheep/components/s-wallet-card/s-wallet-card.vue b/src/sheep/components/other/s-wallet-card/s-wallet-card.vue similarity index 100% rename from src/sheep/components/s-wallet-card/s-wallet-card.vue rename to src/sheep/components/other/s-wallet-card/s-wallet-card.vue diff --git a/src/sheep/components/s-scroll-list/README.md b/src/sheep/components/s-scroll-list/README.md new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/src/sheep/components/s-scroll-list/README.md @@ -0,0 +1 @@ +