作品 62

@@ -276,9 +292,10 @@ onMounted(() => {
state.videos.my.total = resource.my.length
})
-function stop(e){
+function stop(e) {
e.stopPropagation()
}
+
function followButton() {
}
@@ -669,240 +686,251 @@ function touchEnd(e) {
}
}
- .other {
+
+ }
+
+ .other {
+ display: flex;
+ margin-bottom: 20rem;
+ overflow: hidden;
+
+ .scroll-x {
+ padding-left: 20rem;
display: flex;
- margin-bottom: 20rem;
+ overflow-x: scroll;
+ }
- .item {
- margin-right: 25rem;
- display: flex;
+ .item {
+ margin-right: 25rem;
+ display: flex;
+ flex-shrink: 0;
- img {
- margin-right: 8rem;
- border-radius: 4rem;
- background: @second-btn-color-tran;
- padding: 8rem;
- height: 22rem;
- }
+ img {
+ margin-right: 8rem;
+ border-radius: 4rem;
+ background: @second-btn-color-tran;
+ padding: 8rem;
+ height: 22rem;
+ }
- .right {
- display: flex;
- justify-content: space-between;
- flex-direction: column;
+ .right {
+ display: flex;
+ justify-content: space-between;
+ flex-direction: column;
- .top {
- color: white;
- font-size: 14rem;
- }
+ .top {
+ color: white;
+ font-size: 14rem;
+ }
- .bottom {
- color: @second-text-color;
- font-size: 12rem;
- }
+ .bottom {
+ color: @second-text-color;
+ font-size: 12rem;
}
}
}
+ }
- .my-buttons {
- margin-top: 20rem;
- margin-bottom: 20rem;
+ .my-buttons {
+ margin: 20rem;
+ overflow: hidden;
+ display: flex;
+ justify-content: flex-end;
+ align-items: center;
+ @width: 36rem;
+
+ .follow-display {
+ flex: 1;
overflow: hidden;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- @width: 36rem;
- .follow-display {
- flex: 1;
- overflow: hidden;
+ .follow-wrapper {
+ width: 200%;
+ display: flex;
+ flex-wrap: nowrap;
+ transition: all .3s ease;
+
+ &.follow-wrapper-followed {
+ transform: translate3d(-50%, 0, 0);
+ }
- .follow-wrapper {
- width: 200%;
+ .no-follow {
+ width: calc(100% - 5rem);
+ color: white;
+ border-radius: 4rem;
+ background: @primary-btn-color;
+ height: @width;
display: flex;
- flex-wrap: nowrap;
- transition: all .3s ease;
+ align-items: center;
+ justify-content: center;
+ margin-right: 5rem;
+ box-sizing: border-box;
- &.follow-wrapper-followed {
- transform: translate3d(-50%, 0, 0);
+ span {
+ margin-left: 2rem;
}
+ }
- .no-follow {
- width: calc(100% - 5rem);
+ .followed {
+ width: 100%;
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+
+ .l-button {
color: white;
border-radius: 4rem;
- background: @primary-btn-color;
+ background: @second-btn-color;
height: @width;
+ width: 50%;
+ margin-right: 5rem;
+ box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
- margin-right: 5rem;
- box-sizing: border-box;
span {
margin-left: 2rem;
}
- }
-
- .followed {
- width: 100%;
- display: flex;
- justify-content: space-around;
- align-items: center;
- .l-button {
- color: white;
- border-radius: 4rem;
- background: @second-btn-color;
- height: @width;
- width: 50%;
- margin-right: 5rem;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: center;
-
- span {
- margin-left: 2rem;
- }
-
- img {
- transform: rotate(180deg);
- }
+ img {
+ transform: rotate(180deg);
}
}
}
-
- img {
- @width: 14rem;
- width: @width;
- height: @width;
- }
}
- .option {
- position: relative;
+ img {
+ @width: 14rem;
width: @width;
height: @width;
- font-size: 12rem;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 4rem;
- background: @second-btn-color;
- color: white;
+ }
+ }
- &.option-recommend {
- .arrow {
- transform: rotate(0deg);
- }
+ .option {
+ position: relative;
+ width: @width;
+ height: @width;
+ font-size: 12rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-radius: 4rem;
+ background: @second-btn-color;
+ color: white;
+
+ &.option-recommend {
+ .arrow {
+ transform: rotate(0deg);
}
}
+ }
- .loading {
- @width: 12rem;
- width: @width;
- height: @width;
- animation: rotate .6s linear infinite;
+ .loading {
+ @width: 12rem;
+ width: @width;
+ height: @width;
+ animation: rotate .6s linear infinite;
- @keyframes rotate {
- from {
- transform: rotate(0deg)
- }
- to {
- transform: rotate(360deg)
- }
+ @keyframes rotate {
+ from {
+ transform: rotate(0deg)
+ }
+ to {
+ transform: rotate(360deg)
}
}
+ }
- .arrow {
- transition: transform .3s ease;
- transform: rotate(180deg);
- @width: 16rem;
- width: @width;
- height: @width;
- }
+ .arrow {
+ transition: transform .3s ease;
+ transform: rotate(180deg);
+ @width: 16rem;
+ width: @width;
+ height: @width;
}
+ }
- .recommend {
- transition: all .3s ease;
- height: 230rem;
- overflow: hidden;
- margin-bottom: 20rem;
+ .recommend {
+ transition: all .3s ease;
+ height: 250rem;
+ overflow: hidden;
- &.hidden {
- height: 0;
- }
+ &.hidden {
+ height: 0;
+ }
- .title {
- font-size: 12rem;
- color: @second-text-color;
- display: flex;
- align-items: center;
+ .title {
+ padding-left: 20rem;
+ font-size: 12rem;
+ color: @second-text-color;
+ display: flex;
+ align-items: center;
- img {
- margin-left: 3rem;
- width: 13rem;
- height: 13rem;
- }
+ img {
+ margin-left: 3rem;
+ width: 13rem;
+ height: 13rem;
}
+ }
- .friends {
- margin-top: 10rem;
- display: flex;
- overflow-x: scroll;
+ .friends {
+ padding-left: 20rem;
+ margin-top: 10rem;
+ display: flex;
+ overflow-x: scroll;
+ margin-bottom: 20rem;
- .friend {
- position: relative;
- background: @second-btn-color-tran;
- margin-right: 10rem;
- padding: 10rem;
- display: flex;
- flex-direction: column;
- align-items: center;
+ .friend {
+ position: relative;
+ background: @second-btn-color-tran;
+ margin-right: 10rem;
+ padding: 10rem;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
- .avatar {
- @width: 100rem;
- border-radius: 50%;
- width: @width;
- height: @width;
- }
+ .avatar {
+ @width: 100rem;
+ border-radius: 50%;
+ width: @width;
+ height: @width;
+ }
- .name {
- margin-top: 10rem;
- font-size: 12rem;
- color: white;
- }
+ .name {
+ margin-top: 10rem;
+ font-size: 12rem;
+ color: white;
+ }
- .tips {
- margin-top: 5rem;
- font-size: 12rem;
- color: @second-text-color;
- }
+ .tips {
+ margin-top: 5rem;
+ font-size: 12rem;
+ color: @second-text-color;
+ }
- .button {
- margin-top: 10rem;
- width: 150rem;
- height: 26rem;
- font-size: 12rem;
- }
+ .button {
+ margin-top: 10rem;
+ width: 150rem;
+ height: 26rem;
+ font-size: 12rem;
+ }
- .close {
- position: absolute;
- top: 2rem;
- right: 2rem;
- }
+ .close {
+ position: absolute;
+ top: 2rem;
+ right: 2rem;
}
+ }
- .more {
- .notice {
- width: 100rem;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- color: @second-text-color;
- }
+ .more {
+ .notice {
+ width: 100rem;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ color: @second-text-color;
}
}
}
diff --git a/src/pages/slideHooks/Shop.vue b/src/pages/slideHooks/Shop.vue
new file mode 100644
index 0000000..7587742
--- /dev/null
+++ b/src/pages/slideHooks/Shop.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
\ No newline at end of file