Mr.Shi
2023-08-22 37e1d3fbf79291e74846be90db574387b5df5f74
大屏
已修改2个文件
790 ■■■■■ 文件已修改
screen_standard/src/utils/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen_standard/src/views/index.vue 788 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
screen_standard/src/utils/index.js
@@ -1,4 +1,4 @@
export function getAssets(url) {
  // console.log(url, new URL(`../assets/img/${url}`, import.meta.url).href);
  console.log(url, new URL(`../assets/img/${url}`, import.meta.url).href);
  return new URL(`../assets/img/${url}`, import.meta.url).href
}
screen_standard/src/views/index.vue
@@ -1,6 +1,7 @@
<template>
    <div class="content1">
        <div class="content_left">
            <!-- 当日员工产量TOP10 -->
            <div class="content_left_item1">
                <div class="content_left_item1_head">
                    <span>当日员工产量TOP10</span>
@@ -21,6 +22,7 @@
                    </div>
                </div>
            </div>
            <!-- 仓库实时余量统计 -->
            <div class="content_left_item2">
                <div class="content_left_item2_head">
                    <span>仓库实时余量统计</span>
@@ -34,20 +36,151 @@
                    </div>
                    <div @mouseenter="handleMouseEnter" @mouseleave="handleMouseLeave" class="main_container">
                        <div ref="scrollContainer" class="scroll_container">
                            <div v-for="(item, index) in listData" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <span>{{ item.name }}</span>
                                <div class="scroll_item_row"></div>
                                <div class="scroll_item_row"></div>
                                <div class="scroll_item_row"></div>
                                <div class="scroll_item_row"></div>
                            <div v-for="(item, index) in 10" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <div class="scroll_item_row">电吉他 / 木工</div>
                                <div class="scroll_item_row">成品库</div>
                                <div class="scroll_item_row">C323</div>
                                <div class="scroll_item_row">3000把</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="content_center">2</div>
        <div class="content_right">3</div>
        <div class="content_center">
            <!-- 成品计划进度/工序进度 -->
            <div class="content_center_top">
                <div class="content_center_top_list">
                    <div @click="clickCate(index)" :class="item.active ? 'content_center_top_list_item bg4' : 'content_center_top_list_item bg3'" v-for="(item, index) in cate" :key="index">
                        {{ item.name }}
                    </div>
                </div>
                <div class="content_center_top_form" v-if="cate[0].active">
                    <div class="content_center_top_form_head">
                        <div class="content_center_top_form_head_item">计划编码</div>
                        <div class="content_center_top_form_head_item">物料名称</div>
                        <div class="content_center_top_form_head_item">物料编码</div>
                        <div class="content_center_top_form_head_item">计划数量</div>
                        <div class="content_center_top_form_head_item">各工序完成情况</div>
                        <div class="content_center_top_form_head_item">良品数/完工数</div>
                    </div>
                    <div @mouseenter="handleMouseEnter1" @mouseleave="handleMouseLeave1" class="main_container">
                        <div ref="scrollContainer1" class="scroll_container">
                            <div v-for="(item, index) in 10" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <div class="scroll_item_row">323444112</div>
                                <div class="scroll_item_row">电吉他</div>
                                <div class="scroll_item_row">CP003</div>
                                <div class="scroll_item_row">1000</div>
                                <div class="scroll_item_row">
                                    <el-tooltip
                                        v-for="(child, i) in 6" :key="i"
                                        effect="dark"
                                        content="已报工良品数1000;工序计划数500"
                                        placement="top">
                                        <div class="scroll_item_row_item">
                                            <div class="scroll_item_row_item_x"></div>
                                            <img v-if="i == 0 || i == 1" src="@/assets/img/ic_complete@2x.png" alt="" />
                                            <span v-else>98%</span>
                                        </div>
                                    </el-tooltip>
                                </div>
                                <div class="scroll_item_row">498/500</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="content_center_top_form1" v-if="cate[1].active">
                    <div class="content_center_top_form_head">
                        <div class="content_center_top_form_head_item">工序名称</div>
                        <div class="content_center_top_form_head_item">计划个数</div>
                        <div class="content_center_top_form_head_item">计划数量</div>
                        <div class="content_center_top_form_head_item">良品数</div>
                        <div class="content_center_top_form_head_item">不良品数</div>
                        <div class="content_center_top_form_head_item">未完工数量</div>
                        <div class="content_center_top_form_head_item">不良率</div>
                    </div>
                    <div @mouseenter="handleMouseEnter2" @mouseleave="handleMouseLeave2" class="main_container">
                        <div ref="scrollContainer2" class="scroll_container">
                            <div v-for="(item, index) in 15" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <div class="scroll_item_row">木工</div>
                                <div class="scroll_item_row">3</div>
                                <div class="scroll_item_row">1000</div>
                                <div class="scroll_item_row">959</div>
                                <div class="scroll_item_row">30</div>
                                <div class="scroll_item_row">11</div>
                                <div class="scroll_item_row">3.12%</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 报工日志 -->
            <div class="content_center_bottom">
                <div class="content_center_bottom_head">
                    <span>报工日志</span>
                </div>
                <div class="content_center_bottom_b">
                    <div class="content_center_top_form_head">
                        <div class="content_center_top_form_head_item">员工名称</div>
                        <div class="content_center_top_form_head_item">物料名称</div>
                        <div class="content_center_top_form_head_item">物料编码</div>
                        <div class="content_center_top_form_head_item">报工时间</div>
                        <div class="content_center_top_form_head_item">良品数</div>
                        <div class="content_center_top_form_head_item">不良品数</div>
                        <div class="content_center_top_form_head_item">不良率</div>
                    </div>
                    <div @mouseenter="handleMouseEnter3" @mouseleave="handleMouseLeave3" class="main_container">
                        <div ref="scrollContainer3" class="scroll_container">
                            <div v-for="(item, index) in 15" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <div class="scroll_item_row">韩伟</div>
                                <div class="scroll_item_row">电吉他</div>
                                <div class="scroll_item_row">CP003</div>
                                <div class="scroll_item_row">2023/08/12 10:12:22</div>
                                <div class="scroll_item_row">459</div>
                                <div class="scroll_item_row">2</div>
                                <div class="scroll_item_row">2.12%</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="content_right">
            <!-- 近7天不良品分布 -->
            <div class="content_right_top">
                <div class="content_right_top_head">
                    <span>近7天不良品分布</span>
                </div>
                <div class="content_right_top_nr">
                    <div class="content_right_top_nr_top"></div>
                    <div class="content_right_top_nr_bottom"></div>
                </div>
            </div>
            <!-- 设备巡检记录 -->
            <div class="content_right_bottom">
                <div class="content_right_bottom_head">
                    <span>设备巡检记录</span>
                </div>
                <div class="content_right_bottom_nr">
                    <div class="item2_content_head">
                        <div class="item2_content_head_item">巡检时间</div>
                        <div class="item2_content_head_item">巡检设备</div>
                        <div class="item2_content_head_item">巡检结果</div>
                        <div class="item2_content_head_item">巡检人员</div>
                    </div>
                    <div @mouseenter="handleMouseEnter4" @mouseleave="handleMouseLeave4" class="main_container">
                        <div ref="scrollContainer4" class="scroll_container">
                            <div v-for="(item, index) in 10" :key="item.id" :class="index % 2 == 0 ? 'scroll_item scroll_item_bg1' : 'scroll_item scroll_item_bg2'">
                                <div class="scroll_item_row">2023-10-12 02:00:23</div>
                                <div class="scroll_item_row">木工设备</div>
                                <div class="scroll_item_row">合格</div>
                                <div class="scroll_item_row">何子春</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
@@ -55,20 +188,36 @@
    import {reactive, ref, onMounted, onBeforeUnmount, onUnmounted, nextTick} from 'vue'
    let timer = ref(null)
    let timer1 = ref(null)
    let timer2 = ref(null)
    let timer3 = ref(null)
    let timer4 = ref(null)
    let scrollContainer = ref(null)
    let listData = reactive([
        {name: 'dom第一个'},
        {name: 'dom第二个'},
        {name: 'dom第三个'},
        {name: 'dom第四个'},
        {name: 'dom第五个'},
        {name: 'dom第六个'},
        {name: 'dom第七个'},
        {name: 'dom第八个'},
        {name: 'dom第九个'},
        {name: 'dom第十个'},
    let scrollContainer1 = ref(null)
    let scrollContainer2 = ref(null)
    let scrollContainer3 = ref(null)
    let scrollContainer4 = ref(null)
    let cate = ref([
        {
            name: '成品计划进度',
            id: 1,
            active: true,
            background: 'tab_select_grey@2x.png',
            activeBackground: 'tab_select@2x.png'
        },
        {
            name: '工序进度',
            id: 2,
            active: false,
            background: 'tab_select_grey@2x.png',
            activeBackground: 'tab_select@2x.png'
        }
    ])
    start()
    start1()
    // start2()
    start3()
    start4()
    // 注:示例中的 listData 写的是静态数据,可以直接调用 start()
    // 如果是接口获取 listData 列表时,需要在 nextTick 中调用 start()
    // 否则,进入页面不会滚动。必须鼠标移入移出才会滚动
@@ -92,16 +241,63 @@
    onBeforeUnmount(()=>{
        clearTimeout(timer.value)
        clearTimeout(timer1.value)
        clearTimeout(timer2.value)
        clearTimeout(timer3.value)
        clearTimeout(timer4.value)
    })
    onUnmounted(()=>{
        clearTimeout(timer.value)
        clearTimeout(timer1.value)
        clearTimeout(timer2.value)
        clearTimeout(timer3.value)
        clearTimeout(timer4.value)
    })
    const clickCate = (index) => {
        clearTimeout(timer1.value)
        clearTimeout(timer2.value)
        cate.value.forEach((item, i) => {
            if (i === index) {
                if (i == 0) {
                    start1()
                } else {
                    start2()
                }
                item.active = true
            } else {
                item.active = false
            }
        })
    }
    function handleMouseEnter() {
        clearTimeout(timer.value)
    }
    function handleMouseEnter1() {
        clearTimeout(timer1.value)
    }
    function handleMouseEnter2() {
        clearTimeout(timer2.value)
    }
    function handleMouseEnter3() {
        clearTimeout(timer3.value)
    }
    function handleMouseEnter4() {
        clearTimeout(timer4.value)
    }
    function handleMouseLeave() {
        start()
    }
    function handleMouseLeave1() {
        start1()
    }
    function handleMouseLeave2() {
        start2()
    }
    function handleMouseLeave3() {
        start3()
    }
    function handleMouseLeave4() {
        start4()
    }
    // 开启定时器
    function start() {
@@ -109,6 +305,34 @@
        // 定时器触发周期
        let speed = ref(25)
        timer.value = setInterval(ListScroll, speed.value)
    }
    // 开启定时器
    function start1() {
        clearTimeout(timer1.value)
        // 定时器触发周期
        let speed1 = ref(25)
        timer1.value = setInterval(ListScroll1, speed1.value)
    }
    // 开启定时器
    function start2() {
        clearTimeout(timer2.value)
        // 定时器触发周期
        let speed2 = ref(25)
        timer2.value = setInterval(ListScroll2, speed2.value)
    }
    // 开启定时器
    function start3() {
        clearTimeout(timer3.value)
        // 定时器触发周期
        let speed3 = ref(25)
        timer3.value = setInterval(ListScroll3, speed3.value)
    }
    // 开启定时器
    function start4() {
        clearTimeout(timer4.value)
        // 定时器触发周期
        let speed4 = ref(25)
        timer3.value = setInterval(ListScroll4, speed4.value)
    }
    function ListScroll() {
        let scrollDom = scrollContainer.value
@@ -133,7 +357,103 @@
                scrollDom.append(first)
            }
        }
    }
    }
    function ListScroll1() {
        let scrollDom = scrollContainer1.value
        // 判读组件是否渲染完成
        if(scrollDom.offsetHeight == 0) {
            scrollDom = scrollContainer1.value
        }else {
            // 如果列表数量过少不进行滚动
            if(scrollDom.children.length < 7) {
                clearTimeout(timer1.value)
                return
            }
            // 组件进行滚动
            scrollDom.scrollTop += 1
            // 判断是否滚动到底部
            if(scrollDom.scrollTop == (scrollDom.scrollHeight - scrollDom.clientHeight)) {
                // 获取组件第一个节点
                let first = scrollDom.children[0]
                // 删除节点
                scrollDom.removeChild(first)
                // 将该节点拼接到组件最后
                scrollDom.append(first)
            }
        }
    }
    function ListScroll2() {
        let scrollDom = scrollContainer2.value
        // 判读组件是否渲染完成
        if(scrollDom.offsetHeight == 0) {
            scrollDom = scrollContainer2.value
        }else {
            // 如果列表数量过少不进行滚动
            if(scrollDom.children.length < 7) {
                clearTimeout(timer2.value)
                return
            }
            // 组件进行滚动
            scrollDom.scrollTop += 1
            // 判断是否滚动到底部
            if(scrollDom.scrollTop == (scrollDom.scrollHeight - scrollDom.clientHeight)) {
                // 获取组件第一个节点
                let first = scrollDom.children[0]
                // 删除节点
                scrollDom.removeChild(first)
                // 将该节点拼接到组件最后
                scrollDom.append(first)
            }
        }
    }
    function ListScroll3() {
        let scrollDom = scrollContainer3.value
        // 判读组件是否渲染完成
        if(scrollDom.offsetHeight == 0) {
            scrollDom = scrollContainer3.value
        }else {
            // 如果列表数量过少不进行滚动
            if(scrollDom.children.length < 7) {
                clearTimeout(timer3.value)
                return
            }
            // 组件进行滚动
            scrollDom.scrollTop += 1
            // 判断是否滚动到底部
            if(scrollDom.scrollTop == (scrollDom.scrollHeight - scrollDom.clientHeight)) {
                // 获取组件第一个节点
                let first = scrollDom.children[0]
                // 删除节点
                scrollDom.removeChild(first)
                // 将该节点拼接到组件最后
                scrollDom.append(first)
            }
        }
    }
    function ListScroll4() {
        let scrollDom = scrollContainer4.value
        // 判读组件是否渲染完成
        if(scrollDom.offsetHeight == 0) {
            scrollDom = scrollContainer4.value
        }else {
            // 如果列表数量过少不进行滚动
            if(scrollDom.children.length < 7) {
                clearTimeout(timer4.value)
                return
            }
            // 组件进行滚动
            scrollDom.scrollTop += 1
            // 判断是否滚动到底部
            if(scrollDom.scrollTop == (scrollDom.scrollHeight - scrollDom.clientHeight)) {
                // 获取组件第一个节点
                let first = scrollDom.children[0]
                // 删除节点
                scrollDom.removeChild(first)
                // 将该节点拼接到组件最后
                scrollDom.append(first)
            }
        }
    }
</script>
<style lang="scss" scoped>
@@ -141,7 +461,7 @@
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        align-items: start;
        justify-content: space-between;
        .content_left {
            flex: 1;
@@ -299,7 +619,17 @@
                                height: 36px;
                                display: flex;
                                align-items: center;
                                .scroll_item_row {
                                    flex: 1;
                                    height: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #FFFFFF;
                                    &:first-child {
                                        flex: 1.5;
                                    }
                                }
                            }
                        }
                    }
@@ -308,12 +638,418 @@
        }
        .content_center {
            flex: 2;
            margin: 0 40px;
            background-color: aquamarine;
            margin: 0 20px;
            display: flex;
            flex-direction: column;
            .content_center_top {
                width: 100%;
                height: 509px;
                margin-bottom: 20px;
                background: linear-gradient(180deg, rgba(52,88,159,0) 0%, rgba(0,86,255,0.4) 100%);
                .content_center_top_list {
                    width: 100%;
                    height: 38px;
                    display: flex;
                    align-items: center;
                    .bg3 {
                        background: url('@/assets/img/tab_select_grey@2x.png');
                        background-size: 100% 100%;
                    }
                    .bg4 {
                        background: url('@/assets/img/tab_select@2x.png');
                        background-size: 100% 100%;
                    }
                    .content_center_top_list_item {
                        width: 200px;
                        height: 38px;
                        cursor: pointer;
                        line-height: 38px;
                        padding-left: 34px;
                        box-sizing: border-box;
                        font-size: 16px;
                        font-family: SourceHanSansSC-Bold, SourceHanSansSC;
                        font-weight: bold;
                        color: #FFFFFF;
                        margin-right: 20px;
                        text-shadow: 0px 0px 10px rgba(0,24,72,0.75);
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
                .content_center_top_form {
                    width: 100%;
                    padding: 20px;
                    box-sizing: border-box;
                    height: calc(100% - 38px);
                    .content_center_top_form_head {
                        width: 100%;
                        height: 34px;
                        background: rgba(52,88,159,0.5);
                        display: flex;
                        align-items: center;
                        .content_center_top_form_head_item {
                            flex: 1;
                            height: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 13px;
                            font-family: PingFangSC-Medium, PingFang SC;
                            font-weight: 500;
                            color: #01D9FE;
                            &:nth-child(5) {
                                flex: 2.7;
                            }
                        }
                    }
                    .main_container {
                        width: 100%;
                        height: calc(100% - 34px);
                        .scroll_container {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            .scroll_item_bg1 {
                                background: rgba(52,88,159,0.2);
                            }
                            .scroll_item_bg2 {
                                background: rgba(52,88,159,0.5);
                            }
                            .scroll_item {
                                width: 100%;
                                height: 57px;
                                display: flex;
                                align-items: center;
                                .scroll_item_row {
                                    flex: 1;
                                    height: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #FFFFFF;
                                    &:nth-child(5) {
                                        flex: 3;
                                    }
                                    .scroll_item_row_item {
                                        width: 29px;
                                        height: 29px;
                                        border-radius: 50%;
                                        margin-right: 19px;
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        border: 2px solid #01D9FE;
                                        cursor: pointer;
                                        position: relative;
                                        &:last-child {
                                            margin-right: 0;
                                            .scroll_item_row_item_x {
                                                display: none;
                                            }
                                        }
                                        &:nth-child(1) {
                                            border: 2px solid #03D2B5;
                                            .scroll_item_row_item_x {
                                                background-color: #03D2B5;
                                            }
                                        }
                                        &:nth-child(2) {
                                            border: 2px solid #03D2B5;
                                        }
                                        img {
                                            width: 17px;
                                            height: 13px;
                                        }
                                        span {
                                            font-size: 12px;
                                            font-family: PingFangSC-Regular, PingFang SC;
                                            font-weight: 400;
                                            color: #01D9FE;
                                        }
                                        .scroll_item_row_item_x {
                                            position: absolute;
                                            right: -85%;
                                            top: 50%;
                                            transform: translate(0, -50%);
                                            width: 19px;
                                            height: 2px;
                                            background-color: #01D9FE;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                .content_center_top_form1 {
                    width: 100%;
                    padding: 20px;
                    box-sizing: border-box;
                    height: calc(100% - 38px);
                    .content_center_top_form_head {
                        width: 100%;
                        height: 34px;
                        background: rgba(52,88,159,0.5);
                        display: flex;
                        align-items: center;
                        .content_center_top_form_head_item {
                            flex: 1;
                            height: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 13px;
                            font-family: PingFangSC-Medium, PingFang SC;
                            font-weight: 500;
                            color: #01D9FE;
                        }
                    }
                    .main_container {
                        width: 100%;
                        height: calc(100% - 34px);
                        .scroll_container {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            .scroll_item_bg1 {
                                background: rgba(52,88,159,0.2);
                            }
                            .scroll_item_bg2 {
                                background: rgba(52,88,159,0.5);
                            }
                            .scroll_item {
                                width: 100%;
                                height: 36px;
                                display: flex;
                                align-items: center;
                                .scroll_item_row {
                                    flex: 1;
                                    height: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #FFFFFF;
                                    .scroll_item_row_item {
                                        width: 29px;
                                        height: 29px;
                                        border-radius: 50%;
                                        margin-right: 19px;
                                        display: flex;
                                        align-items: center;
                                        justify-content: center;
                                        border: 2px solid #01D9FE;
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .content_center_bottom {
                width: 100%;
                height: 286px;
                .content_center_bottom_head {
                    width: 100%;
                    height: 38px;
                    line-height: 38px;
                    padding-left: 34px;
                    box-sizing: border-box;
                    background: linear-gradient(270deg, rgba(21,103,255,0) 0%, rgba(21,103,255,0.61) 100%);
                    border-radius: 10px 0px 0px 0px;
                    background: url('@/assets/img/gongxu_title@2x.png');
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    span {
                        font-size: 16px;
                        font-family: SourceHanSansSC-Bold, SourceHanSansSC;
                        font-weight: bold;
                        color: #FFFFFF;
                        text-shadow: 0px 0px 10px rgba(0,24,72,0.75);
                    }
                }
                .content_center_bottom_b {
                    width: 100%;
                    height: calc(100% - 38px);
                    padding: 20px;
                    box-sizing: border-box;
                    background: linear-gradient(180deg, rgba(52,88,159,0) 0%, rgba(0,86,255,0.4) 100%);
                    .content_center_top_form_head {
                        width: 100%;
                        height: 34px;
                        background: rgba(52,88,159,0.5);
                        display: flex;
                        align-items: center;
                        .content_center_top_form_head_item {
                            flex: 1;
                            height: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 13px;
                            font-family: PingFangSC-Medium, PingFang SC;
                            font-weight: 500;
                            color: #01D9FE;
                            &:nth-child(4) {
                                flex: 2;
                            }
                        }
                    }
                    .main_container {
                        width: 100%;
                        height: calc(100% - 34px);
                        .scroll_container {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            .scroll_item_bg1 {
                                background: rgba(52,88,159,0.2);
                            }
                            .scroll_item_bg2 {
                                background: rgba(52,88,159,0.5);
                            }
                            .scroll_item {
                                width: 100%;
                                height: 36px;
                                display: flex;
                                align-items: center;
                                .scroll_item_row {
                                    flex: 1;
                                    height: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #FFFFFF;
                                    &:nth-child(4) {
                                        flex: 2;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .content_right {
            flex: 1;
            background-color: aquamarine;
            .content_right_top {
                width: 100%;
                height: 511px;
                margin-bottom: 20px;
                .content_right_top_head {
                    width: 100%;
                    height: 38px;
                    line-height: 38px;
                    padding-left: 34px;
                    box-sizing: border-box;
                    background: url('@/assets/img/home_title_short@2x.png');
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    span {
                        font-size: 16px;
                        font-family: SourceHanSansSC-Bold, SourceHanSansSC;
                        font-weight: bold;
                        color: #FFFFFF;
                        text-shadow: 0px 0px 10px rgba(0,24,72,0.75);
                    }
                }
                .content_right_top_nr {
                    width: 100%;
                    height: calc(100% - 38px);
                    background: linear-gradient(180deg, rgba(52,88,159,0) 0%, rgba(0,86,255,0.4) 100%);
                    .content_right_top_nr_top {
                        width: 100%;
                        height: 50%;
                        background-color: #00B0FF;
                    }
                    .content_right_top_nr_bottom {
                        width: 100%;
                        height: 50%;
                        background-color: #5900ff;
                    }
                }
            }
            .content_right_bottom {
                width: 100%;
                height: 284px;
                .content_right_bottom_head {
                    width: 100%;
                    height: 38px;
                    line-height: 38px;
                    padding-left: 34px;
                    box-sizing: border-box;
                    background: url('@/assets/img/home_title_short@2x.png');
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    span {
                        font-size: 16px;
                        font-family: SourceHanSansSC-Bold, SourceHanSansSC;
                        font-weight: bold;
                        color: #FFFFFF;
                        text-shadow: 0px 0px 10px rgba(0,24,72,0.75);
                    }
                }
                .content_right_bottom_nr {
                    width: 100%;
                    height: calc(100% - 38px);
                    padding: 20px;
                    box-sizing: border-box;
                    background: linear-gradient(180deg, rgba(52,88,159,0) 0%, rgba(0,86,255,0.4) 100%);
                    .item2_content_head {
                        width: 100%;
                        height: 36px;
                        display: flex;
                        align-items: center;
                        background: rgba(52,88,159,0.5);
                        .item2_content_head_item {
                            flex: 1;
                            height: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 13px;
                            font-family: PingFangSC-Medium, PingFang SC;
                            font-weight: 500;
                            color: #01D9FE;
                            &:first-child {
                                flex: 2;
                            }
                        }
                    }
                    .main_container {
                        width: 100%;
                        height: calc(100% - 36px);
                        .scroll_container {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            .scroll_item_bg1 {
                                background: rgba(52,88,159,0.2);
                            }
                            .scroll_item_bg2 {
                                background: rgba(52,88,159,0.5);
                            }
                            .scroll_item {
                                width: 100%;
                                height: 36px;
                                display: flex;
                                align-items: center;
                                .scroll_item_row {
                                    flex: 1;
                                    height: 100%;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #FFFFFF;
                                    &:first-child {
                                        flex: 2;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
</style>