diff --git a/src/App.vue b/src/App.vue index 9356003..eab280a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,6 +7,7 @@ + + \ No newline at end of file diff --git a/src/page/index/components/BasicMessageBox/BasicMessageBox.less b/src/page/index/components/BasicMessageBox/BasicMessageBox.less index 09016f5..191a172 100644 --- a/src/page/index/components/BasicMessageBox/BasicMessageBox.less +++ b/src/page/index/components/BasicMessageBox/BasicMessageBox.less @@ -1,5 +1,6 @@ .BasicMessageBox { width: 100%; + height: 25px; .rightBox { // position: absolute; @@ -26,14 +27,15 @@ white-space: nowrap; .weatherIcon { - width: 20px; - height: 20px; + width: 18px; + height: 18px; margin-right: 10px; } .weatherText { font-weight: 400; - font-size: 20px; + font-size: 19px; + line-height: 19px; color: #FFFFFF; text-align: center; font-style: normal; diff --git a/src/page/index/components/BrandDetail/BrandDetail.less b/src/page/index/components/BrandDetail/BrandDetail.less new file mode 100644 index 0000000..8c625ef --- /dev/null +++ b/src/page/index/components/BrandDetail/BrandDetail.less @@ -0,0 +1,156 @@ +.BrandDetailBox { + width: 100%; + box-sizing: border-box; + padding: 20px; + + .brandTypeBox { + width: 100%; + + .brandChartBox { + width: 100%; + height: 132px; + margin-top: 35px; + position: relative; + + } + } + + .brandList { + width: 100%; + margin-top: 42px; + + .tabBox { + width: 100%; + + .tabItem { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 15px; + color: #89929E; + text-align: left; + font-style: normal; + margin: 0 20px; + display: inline-block; + cursor: pointer; + } + + .selectTab { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 15px; + color: #FFFFFF; + text-align: left; + font-style: normal; + position: relative; + display: inline-block; + } + + .selectTab::after { + content: ''; + width: 100%; + height: 1px; + background: linear-gradient(180deg, #00F6FF 0%, #008CFF 100%); + position: absolute; + left: 0; + bottom: -5px; + } + } + + .brandListBox { + width: 100%; + box-sizing: border-box; + padding: 20px 11px; + + .brandItem { + width: 100%; + margin-bottom: 10px; + background-color: #0F1625; + box-sizing: border-box; + padding: 10px; + display: flex; + align-items: center; + + .brandLeft { + width: 66px; + height: 66px; + border-radius: 10px; + overflow: hidden; + margin-right: 10px; + + .brandIcon { + width: 100%; + height: 100%; + } + } + + .brandRight { + flex: 1; + height: 100%; + box-sizing: border-box; + padding: 10px 0; + + .brandRightTop { + width: 100%; + + .brandRightTopLeft { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 12px; + color: #FFFFFF; + text-align: left; + font-style: normal; + } + + .brandRightTopRight { + display: flex; + align-items: center; + + .brandRightTopRightIcon { + width: 15px; + height: 15px; + margin-right: 10px; + } + + .brandRightTopRightValue { + font-family: Impact, Impact; + font-weight: 400; + font-size: 15px; + color: #FFFFFF; + letter-spacing: 1px; + text-align: right; + font-style: normal; + } + + .brandRightTopRightUnit { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 12px; + color: #626670; + text-align: left; + font-style: normal; + margin-left: 4px; + } + } + } + + .brandRightBottom { + margin-top: 13px; + + .brandRightBottomItem { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 10px; + color: #0094FF; + text-align: center; + font-style: normal; + display: inline-block; + padding: 2px 10px; + background-color: rgba(0, 148, 255, 0.3); + border-radius: 3px; + } + } + } + } + } + } +} \ No newline at end of file diff --git a/src/page/index/components/BrandDetail/BrandDetail.vue b/src/page/index/components/BrandDetail/BrandDetail.vue new file mode 100644 index 0000000..073ce47 --- /dev/null +++ b/src/page/index/components/BrandDetail/BrandDetail.vue @@ -0,0 +1,240 @@ + + + + + \ No newline at end of file diff --git a/src/page/index/components/BusinessCase/BusinessCase.less b/src/page/index/components/BusinessCase/BusinessCase.less new file mode 100644 index 0000000..c930c34 --- /dev/null +++ b/src/page/index/components/BusinessCase/BusinessCase.less @@ -0,0 +1,159 @@ +.BusinessCaseBox { + width: 100%; + + .BusinessCaseTabBox { + width: 100%; + display: flex; + align-items: center; + + .BusinessCaseItem { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 15px; + color: #87919C; + text-align: left; + font-style: normal; + margin: 0 10px; + cursor: pointer; + } + + .selectBusinessCaseItem { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 15px; + color: #FFFFFF; + text-align: left; + font-style: normal; + position: relative; + } + + + .selectBusinessCaseItem::after { + content: ""; + width: 100%; + height: 1px; + background: linear-gradient(180deg, #00F6FF 0%, #008CFF 100%); + position: absolute; + left: 0; + bottom: -4px; + } + } + + + .BusinessCaseRevenueYOY { + width: 100%; + margin-top: 26px; + background: linear-gradient(30deg, rgba(0, 148, 255, 0.1) 0%, rgba(0, 148, 255, 0) 100%); + box-sizing: border-box; + padding: 20px 15px; + display: flex; + align-items: center; + + + .BusinessCaseLeftItem { + width: 53px; + height: 53px; + margin-right: 10px; + + .BusinessIcon { + width: 53px; + height: 53px; + } + } + + .BusinessCaseRightItem { + flex: 1; + display: flex; + align-items: flex-end; + justify-content: space-between; + + .rightItemLeft { + .rightItemTitle { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 14px; + color: #FFFFFF; + text-align: left; + font-style: normal; + margin-top: 5px; + } + + .rightItemBottom { + margin-top: 8px; + display: flex; + align-items: center; + + .compareTitle { + font-family: Inter, Inter; + font-weight: 400; + font-size: 12px; + color: #78828E; + text-align: left; + font-style: normal; + } + + .changeBox { + margin-left: 5px; + + .changeIcon { + width: 6px; + height: 8px; + margin-right: 2px; + } + + .changeText { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 10px; + color: #00FF00; + text-align: left; + font-style: normal; + } + } + } + } + + + .rightItemRight { + display: flex; + align-items: center; + + .BusinessCaseRevenueValue { + font-family: Impact, Impact; + font-weight: 400; + font-size: 25px; + color: #FFFFFF; + letter-spacing: 2px; + text-align: right; + font-style: normal; + } + + .BusinessCaseRevenueUnit { + font-family: Inter, Inter; + font-weight: 400; + font-size: 12px; + color: #788390; + text-align: right; + font-style: normal; + margin-left: 10px; + } + } + } + } + + .featureAnalysis { + width: 100%; + height: 283px; + + .featureAnalysisBox { + width: 100%; + height: 283px; + } + + .featureAnalysisBottom { + width: 100%; + height: 283px; + margin-top: 23px; + } + } +} \ No newline at end of file diff --git a/src/page/index/components/BusinessCase/BusinessCase.vue b/src/page/index/components/BusinessCase/BusinessCase.vue new file mode 100644 index 0000000..0405624 --- /dev/null +++ b/src/page/index/components/BusinessCase/BusinessCase.vue @@ -0,0 +1,432 @@ + + + + + \ No newline at end of file diff --git a/src/page/index/components/CoreBusinessData/CoreBusinessData.less b/src/page/index/components/CoreBusinessData/CoreBusinessData.less index 3eb21ed..46139e3 100644 --- a/src/page/index/components/CoreBusinessData/CoreBusinessData.less +++ b/src/page/index/components/CoreBusinessData/CoreBusinessData.less @@ -4,7 +4,7 @@ .busninessBox { width: 100%; height: 106px; - background-image: url('../../../../assets/image/businessCenterBg.png'); + // background-image: url('../../../../assets/image/businessCenterBg.png'); background-repeat: no-repeat; background-size: 100% 100%; box-sizing: border-box; @@ -93,7 +93,7 @@ .busninessItemValue { font-family: Impact, Impact; font-weight: 400; - font-size: 24px; + font-size: 20px; color: #FFFFFF; letter-spacing: 2px; text-align: left; @@ -115,4 +115,63 @@ } } + .newCoreBusinessBox { + display: flex; + align-items: center; + + .newCoreBusinessItem { + box-sizing: border-box; + padding: 3px 55px; + + .newCoreBusinessItemLabel { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: bold; + font-size: 12px; + color: #C1ECF7; + text-align: center; + font-style: normal; + } + + .newCoreBusinessItemValue { + font-family: Bahnschrift, Bahnschrift; + font-weight: 400; + font-size: 25px; + color: #48A9F6; + text-align: center; + font-style: normal; + } + + .newCoreBusinessItemCompare { + display: flex; + align-items: center; + + .newCoreBusinessItemText { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 9px; + color: #C1ECF7; + text-align: left; + font-style: normal; + text-transform: none; + } + + .newCoreBusinessItemAddIcon { + width: 6px; + height: 8px; + margin: 0 2px; + } + + .newCoreBusinessItemAddValue { + font-family: Microsoft YaHei, Microsoft YaHei; + font-weight: 400; + font-size: 10px; + color: #00FF00; + text-align: left; + font-style: normal; + } + } + + } + } + } \ No newline at end of file diff --git a/src/page/index/components/CoreBusinessData/CoreBusinessData.vue b/src/page/index/components/CoreBusinessData/CoreBusinessData.vue index 1a9fe02..ccb6124 100644 --- a/src/page/index/components/CoreBusinessData/CoreBusinessData.vue +++ b/src/page/index/components/CoreBusinessData/CoreBusinessData.vue @@ -141,8 +141,72 @@ const handleGetPonitFixed = (str: string) => {