|
@@ -5,43 +5,30 @@
|
|
|
<!-- 智能选品 Banner (多图轮播) -->
|
|
<!-- 智能选品 Banner (多图轮播) -->
|
|
|
<div class="slider-box" @mouseenter="stopAuto" @mouseleave="startAuto">
|
|
<div class="slider-box" @mouseenter="stopAuto" @mouseleave="startAuto">
|
|
|
<div class="slider-list flex" :style="{ transform: `translateX(-${currentIdx * 100}%)` }">
|
|
<div class="slider-list flex" :style="{ transform: `translateX(-${currentIdx * 100}%)` }">
|
|
|
- <div class="slider-item" v-for="(slide, i) in bannerSlides" :key="i">
|
|
|
|
|
- <img :src="slide.img" class="banner-img" />
|
|
|
|
|
- <div class="slider-content">
|
|
|
|
|
- <h1>{{ slide.h1 }}</h1>
|
|
|
|
|
- <h2>{{ slide.h2 }}</h2>
|
|
|
|
|
- <p>{{ slide.p }}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="slider-item" v-for="(slide, i) in carouseData" :key="i" @click="onPath(slide.link)">
|
|
|
|
|
+ <img :src="slide.imageUrl" class="banner-img" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="ai-logo"><span>A</span><span>i</span></div>
|
|
|
|
|
<div class="dots">
|
|
<div class="dots">
|
|
|
- <span v-for="(_, i) in bannerSlides" :key="i" :class="{ active: currentIdx === i }" @click="currentIdx = i"></span>
|
|
|
|
|
|
|
+ <span v-for="(_, i) in carouseData" :key="i" :class="{ active: currentIdx === i }" @click="carouseData = i"></span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 百亿补贴 -->
|
|
<!-- 百亿补贴 -->
|
|
|
<div class="subsidy-box card-base">
|
|
<div class="subsidy-box card-base">
|
|
|
<div class="c-header flex-between">
|
|
<div class="c-header flex-between">
|
|
|
- <span class="title">企业购×百亿补贴</span>
|
|
|
|
|
- <span class="tag">先采后付 享底价</span>
|
|
|
|
|
|
|
+ <span class="title">{{ dataInfo1.mainTitle }}</span>
|
|
|
|
|
+ <span class="tag">{{ dataInfo1.subTitle }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="p-list flex">
|
|
<div class="p-list flex">
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_it.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>69.9</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_office.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>84.8</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_lifestyle.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>139.9</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_it.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>1749</p>
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="p-mini"
|
|
|
|
|
+ v-for="(item, index) in dataInfo1.adModuleItemList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ @click="onPath('/item?id=' + item.productId + '&productNo=' + item.productNo)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-image class="p-img" :src="item.imageUrl" />
|
|
|
|
|
+ <p class="price"><span>¥</span>{{ item.price }}</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -52,19 +39,14 @@
|
|
|
<!-- 企采榜单 -->
|
|
<!-- 企采榜单 -->
|
|
|
<div class="card-base b-item">
|
|
<div class="card-base b-item">
|
|
|
<div class="c-header flex-between">
|
|
<div class="c-header flex-between">
|
|
|
- <span class="title">企采榜单</span>
|
|
|
|
|
- <span class="tag-orange">同行都在买</span>
|
|
|
|
|
|
|
+ <span class="title">{{ dataInfo2.mainTitle }}</span>
|
|
|
|
|
+ <span class="tag-orange">{{ dataInfo2.mainTitle }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="rank-list flex">
|
|
<div class="rank-list flex">
|
|
|
- <div class="r-i">
|
|
|
|
|
- <div class="r-title yellow-t">办公电脑榜<i class="arr"> ></i></div>
|
|
|
|
|
- <img src="@/assets/jd/prod_it.png" />
|
|
|
|
|
- <span class="sold">已售1543件</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="r-i">
|
|
|
|
|
- <div class="r-title red-t">文具榜<i class="arr"> ></i></div>
|
|
|
|
|
- <img src="@/assets/jd/prod_office.png" />
|
|
|
|
|
- <span class="sold">已售2.3万件</span>
|
|
|
|
|
|
|
+ <div class="r-i" v-for="(item, index) in dataInfo2.adModuleItemList" :key="index" @click="onPath(item.tagLink)">
|
|
|
|
|
+ <div class="r-title yellow-t">{{ item.tagText }}<i class="arr"> ></i></div>
|
|
|
|
|
+ <el-image class="r-img" :src="item.imageUrl" />
|
|
|
|
|
+ <span class="sold">已售{{ item.salesCount }}件</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -72,19 +54,14 @@
|
|
|
<!-- 品牌好店 -->
|
|
<!-- 品牌好店 -->
|
|
|
<div class="card-base b-item">
|
|
<div class="card-base b-item">
|
|
|
<div class="c-header flex-between">
|
|
<div class="c-header flex-between">
|
|
|
- <span class="title">品牌好店</span>
|
|
|
|
|
- <span class="tag-orange">返2000元E卡</span>
|
|
|
|
|
|
|
+ <span class="title">{{ dataInfo3.mainTitle }}</span>
|
|
|
|
|
+ <span class="tag-orange">{{ dataInfo3.mainTitle }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="brand-box flex">
|
|
<div class="brand-box flex">
|
|
|
- <div class="brand-i">
|
|
|
|
|
- <img src="@/assets/jd/brand_logo_1.png" class="logo" />
|
|
|
|
|
- <p class="name">鲁花京东自营旗舰店</p>
|
|
|
|
|
- <span class="btn btn-red">品质保障</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="brand-i">
|
|
|
|
|
- <img src="@/assets/jd/brand_logo_2.png" class="logo" />
|
|
|
|
|
- <p class="name">金龙鱼京东自营旗舰</p>
|
|
|
|
|
- <span class="btn btn-red">热销品牌</span>
|
|
|
|
|
|
|
+ <div class="brand-i" v-for="(item, index) in dataInfo3.adModuleItemList" :key="index" @click="onPath(item.tagLink)">
|
|
|
|
|
+ <el-image class="logo" :src="item.imageUrl" />
|
|
|
|
|
+ <p class="name">{{ item.productName }}</p>
|
|
|
|
|
+ <span class="btn btn-red">{{ item.tagText }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -92,17 +69,21 @@
|
|
|
<!-- 企业精选 -->
|
|
<!-- 企业精选 -->
|
|
|
<div class="card-base b-item">
|
|
<div class="card-base b-item">
|
|
|
<div class="c-header flex-between">
|
|
<div class="c-header flex-between">
|
|
|
- <span class="title">企业精选</span>
|
|
|
|
|
- <span class="tag-gray">品牌专供 库存足</span>
|
|
|
|
|
|
|
+ <span class="title">{{ dataInfo4.mainTitle }}</span>
|
|
|
|
|
+ <span class="tag-gray">{{ dataInfo4.mainTitle }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="p-list flex">
|
|
<div class="p-list flex">
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_it.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>10740 <span class="badge-blue">企业价</span></p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_lifestyle.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>877</p>
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="p-mini"
|
|
|
|
|
+ v-for="(item, index) in dataInfo4.adModuleItemList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ @click="onPath('/item?id=' + item.productId + '&productNo=' + item.productNo)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-image class="p-img" :src="item.imageUrl" />
|
|
|
|
|
+ <p class="price">
|
|
|
|
|
+ <span>¥</span>{{ item.price }}
|
|
|
|
|
+ <!-- <span class="badge-blue">企业价</span> -->
|
|
|
|
|
+ </p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -110,17 +91,18 @@
|
|
|
<!-- 京东新品 -->
|
|
<!-- 京东新品 -->
|
|
|
<div class="card-base b-item">
|
|
<div class="card-base b-item">
|
|
|
<div class="c-header flex-between">
|
|
<div class="c-header flex-between">
|
|
|
- <span class="title">企业购×京东新品</span>
|
|
|
|
|
- <span class="tag-orange">美的新鲜</span>
|
|
|
|
|
|
|
+ <span class="title">{{ dataInfo5.mainTitle }}</span>
|
|
|
|
|
+ <span class="tag-orange">{{ dataInfo5.mainTitle }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="p-list flex">
|
|
<div class="p-list flex">
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_lifestyle.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>7188</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="p-mini">
|
|
|
|
|
- <img src="@/assets/jd/prod_office.png" />
|
|
|
|
|
- <p class="price"><span>¥</span>34.9</p>
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="p-mini"
|
|
|
|
|
+ v-for="(item, index) in dataInfo5.adModuleItemList"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ @click="onPath('/item?id=' + item.productId + '&productNo=' + item.productNo)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-image class="p-img" :src="item.imageUrl" />
|
|
|
|
|
+ <p class="price"><span>¥</span>{{ item.price }}</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -128,20 +110,45 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
-import { ref, onMounted, onUnmounted } from 'vue';
|
|
|
|
|
-
|
|
|
|
|
|
|
+import { carouselList, adModuleConfigList } from '@/api/home/index-enterprise';
|
|
|
|
|
+import { onPath } from '@/utils/siteConfig';
|
|
|
const currentIdx = ref(0);
|
|
const currentIdx = ref(0);
|
|
|
-const bannerSlides = [
|
|
|
|
|
- { h1: '智能选品', h2: '让采购更高效', p: '需求清单极速匹配', img: '@/assets/jd/prod_it.png' }, // Use it as default or generate dedicated
|
|
|
|
|
- { h1: '办公大促', h2: '职场焕新季', p: '精选文具低至5折', img: '@/assets/jd/banner_office.png' },
|
|
|
|
|
- { h1: '工业采买', h2: '正品低价保障', p: '专业工具 一站购齐', img: '@/assets/jd/banner_industrial.png' },
|
|
|
|
|
- { h1: '员工福利', h2: '温情定制礼', p: '打造有温度的职场', img: '@/assets/jd/banner_welfare.png' }
|
|
|
|
|
-];
|
|
|
|
|
|
|
+const carouseData = ref<any>([]);
|
|
|
|
|
+const dataInfo1 = ref<any>({});
|
|
|
|
|
+const dataInfo2 = ref<any>({});
|
|
|
|
|
+const dataInfo3 = ref<any>({});
|
|
|
|
|
+const dataInfo4 = ref<any>({});
|
|
|
|
|
+const dataInfo5 = ref<any>({});
|
|
|
|
|
+carouselList({}).then((res) => {
|
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
|
+ carouseData.value = res.rows;
|
|
|
|
|
+ }
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+adModuleConfigList({}).then((res) => {
|
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
|
+ if (res.rows.length > 0) {
|
|
|
|
|
+ dataInfo1.value = res.rows[0];
|
|
|
|
|
+ }
|
|
|
|
|
+ if (res.rows.length > 1) {
|
|
|
|
|
+ dataInfo2.value = res.rows[1];
|
|
|
|
|
+ }
|
|
|
|
|
+ if (res.rows.length > 2) {
|
|
|
|
|
+ dataInfo3.value = res.rows[2];
|
|
|
|
|
+ }
|
|
|
|
|
+ if (res.rows.length > 3) {
|
|
|
|
|
+ dataInfo4.value = res.rows[3];
|
|
|
|
|
+ }
|
|
|
|
|
+ if (res.rows.length > 4) {
|
|
|
|
|
+ dataInfo5.value = res.rows[4];
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+});
|
|
|
|
|
|
|
|
let timer = null;
|
|
let timer = null;
|
|
|
const startAuto = () => {
|
|
const startAuto = () => {
|
|
|
timer = setInterval(() => {
|
|
timer = setInterval(() => {
|
|
|
- currentIdx.value = (currentIdx.value + 1) % bannerSlides.length;
|
|
|
|
|
|
|
+ currentIdx.value = (currentIdx.value + 1) % carouseData.value.length;
|
|
|
}, 4000);
|
|
}, 4000);
|
|
|
};
|
|
};
|
|
|
const stopAuto = () => {
|
|
const stopAuto = () => {
|
|
@@ -213,12 +220,14 @@ onUnmounted(() => stopAuto());
|
|
|
margin-bottom: 2px;
|
|
margin-bottom: 2px;
|
|
|
letter-spacing: 1px;
|
|
letter-spacing: 1px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.slider-content h2 {
|
|
.slider-content h2 {
|
|
|
font-size: 26px;
|
|
font-size: 26px;
|
|
|
font-weight: 800;
|
|
font-weight: 800;
|
|
|
margin-bottom: 16px;
|
|
margin-bottom: 16px;
|
|
|
letter-spacing: 1px;
|
|
letter-spacing: 1px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.slider-content p {
|
|
.slider-content p {
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
@@ -235,6 +244,7 @@ onUnmounted(() => stopAuto());
|
|
|
align-items: baseline;
|
|
align-items: baseline;
|
|
|
text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
|
text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.ai-logo span:first-child {
|
|
.ai-logo span:first-child {
|
|
|
font-size: 110px;
|
|
font-size: 110px;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
@@ -242,6 +252,7 @@ onUnmounted(() => stopAuto());
|
|
|
-webkit-background-clip: text;
|
|
-webkit-background-clip: text;
|
|
|
-webkit-text-fill-color: transparent;
|
|
-webkit-text-fill-color: transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.ai-logo span:last-child {
|
|
.ai-logo span:last-child {
|
|
|
font-size: 80px;
|
|
font-size: 80px;
|
|
|
color: #66b2ff;
|
|
color: #66b2ff;
|
|
@@ -255,6 +266,7 @@ onUnmounted(() => stopAuto());
|
|
|
display: flex;
|
|
display: flex;
|
|
|
gap: 6px;
|
|
gap: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.dots span {
|
|
.dots span {
|
|
|
display: block;
|
|
display: block;
|
|
|
width: 6px;
|
|
width: 6px;
|
|
@@ -262,6 +274,7 @@ onUnmounted(() => stopAuto());
|
|
|
background: rgba(255, 255, 255, 0.4);
|
|
background: rgba(255, 255, 255, 0.4);
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.dots span.active {
|
|
.dots span.active {
|
|
|
width: 14px;
|
|
width: 14px;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
@@ -273,7 +286,8 @@ onUnmounted(() => stopAuto());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.card-base {
|
|
.card-base {
|
|
|
- background: #f8f9fa; /* 与侧边分类背景色相同 */
|
|
|
|
|
|
|
+ background: #f8f9fa;
|
|
|
|
|
+ /* 与侧边分类背景色相同 */
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
padding: 16px;
|
|
padding: 16px;
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -284,6 +298,7 @@ onUnmounted(() => stopAuto());
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.card-base:hover {
|
|
.card-base:hover {
|
|
|
transform: translateY(-2px);
|
|
transform: translateY(-2px);
|
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
|
|
@@ -309,10 +324,12 @@ onUnmounted(() => stopAuto());
|
|
|
color: #d46b08;
|
|
color: #d46b08;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.tag-orange {
|
|
.tag-orange {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: #d46b08;
|
|
color: #d46b08;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.tag-gray {
|
|
.tag-gray {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: #8c8c8c;
|
|
color: #8c8c8c;
|
|
@@ -331,8 +348,9 @@ onUnmounted(() => stopAuto());
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.p-mini img {
|
|
|
|
|
|
|
+.p-img {
|
|
|
width: 90%;
|
|
width: 90%;
|
|
|
|
|
+ aspect-ratio: 1;
|
|
|
margin: 0 auto 6px;
|
|
margin: 0 auto 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -341,6 +359,7 @@ onUnmounted(() => stopAuto());
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.price span {
|
|
.price span {
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
@@ -361,6 +380,7 @@ onUnmounted(() => stopAuto());
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.r-i {
|
|
.r-i {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
@@ -370,6 +390,7 @@ onUnmounted(() => stopAuto());
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.r-title {
|
|
.r-title {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: -10px;
|
|
top: -10px;
|
|
@@ -382,23 +403,29 @@ onUnmounted(() => stopAuto());
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
z-index: 2;
|
|
z-index: 2;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.yellow-t {
|
|
.yellow-t {
|
|
|
background: #fff3e0;
|
|
background: #fff3e0;
|
|
|
color: #e65100;
|
|
color: #e65100;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.red-t {
|
|
.red-t {
|
|
|
background: #ffebee;
|
|
background: #ffebee;
|
|
|
color: #c62828;
|
|
color: #c62828;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.r-title .arr {
|
|
.r-title .arr {
|
|
|
font-style: normal;
|
|
font-style: normal;
|
|
|
font-size: 9px;
|
|
font-size: 9px;
|
|
|
opacity: 0.8;
|
|
opacity: 0.8;
|
|
|
}
|
|
}
|
|
|
-.r-i img {
|
|
|
|
|
|
|
+
|
|
|
|
|
+.r-img {
|
|
|
width: 80%;
|
|
width: 80%;
|
|
|
|
|
+ aspect-ratio: 1;
|
|
|
margin: 15px auto 5px;
|
|
margin: 15px auto 5px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.sold {
|
|
.sold {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
@@ -414,6 +441,7 @@ onUnmounted(() => stopAuto());
|
|
|
gap: 12px;
|
|
gap: 12px;
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.brand-i {
|
|
.brand-i {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -422,17 +450,20 @@ onUnmounted(() => stopAuto());
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.logo {
|
|
.logo {
|
|
|
- width: 50px;
|
|
|
|
|
- height: 50px;
|
|
|
|
|
|
|
+ width: 80%;
|
|
|
|
|
+ aspect-ratio: 120 / 50;
|
|
|
margin-top: 5px;
|
|
margin-top: 5px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.name {
|
|
.name {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: #1890ff;
|
|
color: #1890ff;
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
|
transform: scale(0.9);
|
|
transform: scale(0.9);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.btn-red {
|
|
.btn-red {
|
|
|
font-size: 11px;
|
|
font-size: 11px;
|
|
|
color: #e1251b;
|
|
color: #e1251b;
|