diff --git a/src/assets/css/exterior/house.less b/src/assets/css/exterior/house.less index 83633ada1..dc521b967 100644 --- a/src/assets/css/exterior/house.less +++ b/src/assets/css/exterior/house.less @@ -1,10 +1,13 @@ .p-exterior { .pt(40px); + .flex(); + gap: 30px; .comLayout { .r(20px); box-shadow: 0px 0px 10px 0px rgba(243, 202, 162, 0.9); } .comTrTime { + .pointer(); transition: 0.2s all; } .m-left { @@ -67,7 +70,6 @@ width: 18px; stroke: #da8029; .comTrTime(); - .pointer(); &:last-child { .ml(10px); } @@ -122,87 +124,211 @@ .flex(); justify-content: space-between; .u-item { - .color(#da8029); .x(); .fz(14px,18px); .bold(); + .pointer(); + .color(#808080); font-family: Outfit; + &.act { + .color(#da8029); + } } } .m-goods { .mt(10px); - .m-item { + .flex(); + flex-direction: column; + gap: 10px; + } + } + } + .m-center { + flex: 1; + .m-layout { + .r(100px); + background-color: #ffffff; + box-shadow: 0px 0px 14px 0px rgba(243, 202, 162, 0.9); + } + .m-search { + .flex(); + .m-layout(); + .u-search__input { + flex: 1; + border: none; + background-color: transparent; + .fz(14px); + .color(#000000); + padding: 0 20px; + } + .m-search__icon { + padding: 5px 0; + background-color: #da8029; + .w(85px); + .r(100px); + .flex(); + justify-content: center; + .u-icon { + .size(30px); + } + } + } + .m-index { + .mt(30px); + .m-layout(); + .r(20px); + padding: 20px; + .pt(0); + .m-box { + .m-title { + .color(#000000); + .fz(20px,30px); + .bold(); + .flex(); + gap: 10px; + padding: 20px 0; + .u-icon { + .size(30px); + } + } + .m-list { + .flex(); + gap: 20px; + flex-wrap: wrap; + } + } + } + } + .m-right { + .w(280px); + .flex(); + flex-direction: column; + gap: 30px; + .m-top { + .flex(); + justify-content: space-between; + .m-fold { + .size(60px); + .flex(); + .flex(y); + justify-content: center; + .r(100px); + box-shadow: 0px 0px 10px 0px rgba(42, 167, 175, 0.4); + background-color: #2aa7af; + .comTrTime(); + .u-icon { + .size(30px); + fill: #ffffff; + } + &:hover { + box-shadow: 0px 0px 10px 0px #2aa7af; + .u-icon { + fill: #ffdb5a; + } + } + } + .m-wbl { + .w(200px); + .flex(); + .flex(y); + justify-content: center; + .r(100px); + background-color: #ffdb5a; + box-shadow: 0px 0px 10px 0px rgba(255, 219, 90, 0.4); + .comTrTime(); + &:hover { + box-shadow: 0px 0px 10px 0px #ffdb5a; + } + .u-wbl { + .w(161px); + } + } + } + .m-box { + .r(20px); + background-color: #2aa7af; + box-shadow: 0px 0px 10px 0px rgba(42, 167, 175, 0.25); + padding: 14px; + .m-title { + .flex(); + gap: 4px; + font-family: Outfit; + .color(#ffffff); + .fz(14px,18px); + .bold(); + .u-icon { + .size(18px); + } + } + .m-list { + .mt(10px); + .flex(); + flex-direction: column; + gap: 10px; + .m-rank { .r(10px); - padding: 12px 10px; - background-color: #f9e4cf; - .m-item__top { - .pr(); + background-color: #fff; + padding: 10px; + .flex(); + .flex(y); + justify-content: space-between; + .comTrTime(); + .m-img { .flex(); .flex(y); - .u-logo { - .size(36px); - .r(4px); - background-color: white; + gap: 10px; + .color(#000000); + .fz(14px,18px); + overflow: hidden; /* 确保超出容器的内容被裁剪 */ + white-space: nowrap; /* 确保文本在一行内显示 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + .u-img { + .size(14px); + background-color: #000000; } - .m-info { - .ml(10px); - .u-title { - .color(#da8029); - .fz(14px,18px); - .bold(); - } - .u-type { - .mt(5px); - .color(#000000); - .fz(10px,13px); - } + } + .m-info { + .flex(); + gap: 2px; + .fz(12px,15px); + .u-price { + color: #000000; } - .u-number { - .pa(); - .rb(0); - .color(#000000); + .u-line { + .size(15px); + } + .u-range { font-family: Outfit; - .fz(14px); .bold(); - } - } - .m-item__bottom { - .mt(10px); - .m-detail { - .flex(); - justify-content: space-between; - .fz(12px,16px); - gap: 12px; - .m-detail__box { - .flex(); - .r(4px); - flex: 1; - overflow: hidden; - .u-title { - background-color: #da8029; - color: #ffffff; - padding: 4px; - } - .u-value { - background-color: white; - flex: 1; - padding: 4px; - .pr(0); - color: #000; - font-family: Outfit; - } + &.u-rise { + .color(#FF0000); } - &:last-child { - .mt(10px); - .u-value { - .flex(); - justify-content: space-between; - } + &.u-fall { + .color(#07c046); } } } - &:not(:first-child) { - .mt(10px); + &:hover { + box-shadow: 0px 0px 6px 0px #fff; + } + } + .m-news { + .r(10px); + overflow: hidden; + background-color: #ffffff; + .comTrTime(); + .u-img { + background-color: #dfdfdf; + .h(112px); + } + .u-title { + padding: 10px; + .color(#000000); + .fz(14px,18px); + .bold(); + } + &:hover { + box-shadow: 0px 0px 10px 0px #fff; } } } diff --git a/src/assets/css/exterior/item.less b/src/assets/css/exterior/item.less new file mode 100644 index 000000000..847ef2438 --- /dev/null +++ b/src/assets/css/exterior/item.less @@ -0,0 +1,207 @@ +.m-house-item { + .r(10px); + .pointer(); + .pr(); + background-color: #f9e4cf; + &.warehouse { + padding: 12px 10px; + .m-item__top { + .pr(); + .flex(); + .flex(y); + .u-logo { + .size(36px); + .r(4px); + background-color: white; + } + .m-info { + .ml(10px); + .u-title { + .color(#da8029); + .fz(14px,18px); + .bold(); + } + .u-type { + .mt(5px); + .color(#000000); + .fz(10px,13px); + } + } + .u-number { + .pa(); + .rb(0); + .color(#000000); + font-family: Outfit; + .fz(14px); + .bold(); + } + } + .m-item__bottom { + .mt(10px); + .m-detail { + .flex(); + justify-content: space-between; + .fz(12px,16px); + gap: 12px; + .m-detail__box { + .flex(); + .r(4px); + flex: 1; + overflow: hidden; + .u-title { + background-color: #da8029; + color: #ffffff; + padding: 4px; + } + .u-value { + background-color: white; + flex: 1; + padding: 4px; + .pr(0); + color: #000; + font-family: Outfit; + } + } + &:last-child { + .mt(10px); + .u-value { + .flex(); + justify-content: space-between; + } + } + } + } + } + &.shop { + padding: 10px; + .w(280px); + .flex(); + gap: 10px; + flex-direction: column; + .m-item__top { + .flex(); + gap: 10px; + .u-img { + .size(48px); + .r(5px); + background-color: #ffffff; + } + .m-info { + flex: 1; + .u-title { + .fz(16px,21px); + .color(#DA8029); + .bold(); + } + .m-label { + .mt(6px); + .flex(); + gap: 4px; + .u-item { + padding: 4px; + .r(4px); + background: rgba(0, 0, 0, 0.6); + .color(#ffffff); + .fz(10px,13px); + .bold(); + &.u-color { + background-color: #da8029; + } + } + } + } + } + .m-item__center { + background-color: #ffffff; + .r(10px); + .h(88px); + } + .m-item__bottom { + .flex(); + .u-item { + flex: 1; + padding: 4px; + .fz(12px,16px); + .color( rgba(0, 0, 0, 0.6)); + } + } + } + .m-hover { + .pa(); + .lt(0); + .rb(0); + .r(10px); + .flex(); + .flex(y); + justify-content: center; + background: rgba(255, 255, 255, 0.9); + border: 2px solid #ff4365; + opacity: 0; + transition: 0.2s all; + .m-icon { + .pa(); + .rt(10px); + .u-icon { + .db(); + .size(15px); + } + } + .u-detail { + .w(102px); + .fz(18px,34px); + .x(); + .r(4px); + .color(#ffffff); + .bold(); + background: #ff4365; + } + .m-modal { + .x(); + .flex(); + .color(#000000); + justify-content: center; + gap: 4px; + flex-direction: column; + background-color: #ffffff; + box-shadow: 0px 0px 10px 0px rgba(255, 12, 12, 0.2) inset; + .size(100%,100%); + .r(10px); + .u-title { + .fz(16px,21px); + .bold(); + } + .u-content { + .fz(12px,16px); + } + .m-btn { + .flex(); + justify-content: center; + gap: 10px; + .u-btn { + .w(82px); + .fz(18px,34px); + .color(#ffffff); + .r(4px); + transition: 0.2s all; + &:first-child { + background-color: #8d8d8d; + &:hover { + background-color: #000000; + } + } + &:last-child { + background-color: #ff4365; + &:hover { + box-shadow: 0px 0px 10px 0px rgba(255, 67, 101, 0.8); + } + } + } + } + } + } + &:hover { + .m-hover { + opacity: 1 !important; + } + } +} diff --git a/src/assets/css/exterior/list.less b/src/assets/css/exterior/list.less index c5fcd85df..621c35b91 100644 --- a/src/assets/css/exterior/list.less +++ b/src/assets/css/exterior/list.less @@ -133,7 +133,7 @@ .pointer(); .m-item__img { .h(242px); - padding: 4px; + padding: 4px 2px 2px 4px; box-sizing: border-box; background-image: url(../../img/exterior/exterior_border.svg); background-size: 100% 100%; diff --git a/src/assets/img/exterior/house/cib_marketo.svg b/src/assets/img/exterior/house/cib_marketo.svg new file mode 100644 index 000000000..49c9638b6 --- /dev/null +++ b/src/assets/img/exterior/house/cib_marketo.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/delete.svg b/src/assets/img/exterior/house/delete.svg new file mode 100644 index 000000000..519ad3212 --- /dev/null +++ b/src/assets/img/exterior/house/delete.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/mdi_heart.svg b/src/assets/img/exterior/house/mdi_heart.svg new file mode 100644 index 000000000..2d6515b72 --- /dev/null +++ b/src/assets/img/exterior/house/mdi_heart.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/mdi_hot.svg b/src/assets/img/exterior/house/mdi_hot.svg new file mode 100644 index 000000000..9683a462c --- /dev/null +++ b/src/assets/img/exterior/house/mdi_hot.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/mid_fall.svg b/src/assets/img/exterior/house/mid_fall.svg new file mode 100644 index 000000000..b6d3830a1 --- /dev/null +++ b/src/assets/img/exterior/house/mid_fall.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/mid_rise.svg b/src/assets/img/exterior/house/mid_rise.svg new file mode 100644 index 000000000..32b3edcfc --- /dev/null +++ b/src/assets/img/exterior/house/mid_rise.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/read-filled.svg b/src/assets/img/exterior/house/read-filled.svg new file mode 100644 index 000000000..aef23ac94 --- /dev/null +++ b/src/assets/img/exterior/house/read-filled.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/ri_skip-left-line.svg b/src/assets/img/exterior/house/ri_skip-left-line.svg new file mode 100644 index 000000000..b1dd7f425 --- /dev/null +++ b/src/assets/img/exterior/house/ri_skip-left-line.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/assets/img/exterior/house/search.svg b/src/assets/img/exterior/house/search.svg new file mode 100644 index 000000000..6a9a83468 --- /dev/null +++ b/src/assets/img/exterior/house/search.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/assets/img/exterior/house/wbl_logo.png b/src/assets/img/exterior/house/wbl_logo.png new file mode 100644 index 000000000..efc14892d Binary files /dev/null and b/src/assets/img/exterior/house/wbl_logo.png differ diff --git a/src/components/market/item.vue b/src/components/market/item.vue new file mode 100644 index 000000000..2c8bfaf49 --- /dev/null +++ b/src/components/market/item.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/src/views/exterior/house.vue b/src/views/exterior/house.vue index d5ab559f4..8f73d816e 100644 --- a/src/views/exterior/house.vue +++ b/src/views/exterior/house.vue @@ -3,17 +3,17 @@
- +
- + 我的仓库
- - + +
Updata time 2024-4-13 14:47:31
@@ -36,50 +36,88 @@
{{ index }}
-
-
- -
-
春山鸟归 · 鹤 · 豪华
-
盒子
-
-
x 2
-
-
-
-
-
成本
-
422.76
-
-
-
近期价
-
10422.77
-
-
-
-
-
预计收益
-
- + 10000.01 - ( 20000.2 ) -
-
-
-
+ +
+
+
+ +
+ +
+
+
+ + 我的收藏 +
+
+ +
+
+
+
+ + 近期热门 +
+
+ +
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+ + 今日涨跌 +
+
+
+
+ + 春山鸟归 · 鹤 · 豪华
+
+ ¥432 + + 2% +
+
+
+
+
+
+ + 拓展阅读 +
+
+
+
+
标题
-
-