From 18e9c3c8c5c05fb14b13d2a30a69af0165496f33 Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 31 十月 2024 17:46:10 +0800 Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit --- screen/src/views/LogisticsEfficiency.vue | 615 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 499 insertions(+), 116 deletions(-) diff --git a/screen/src/views/LogisticsEfficiency.vue b/screen/src/views/LogisticsEfficiency.vue index 77c7610..cde3e9f 100644 --- a/screen/src/views/LogisticsEfficiency.vue +++ b/screen/src/views/LogisticsEfficiency.vue @@ -20,19 +20,23 @@ <div>绱鍑哄簱閲忕粺璁�</div> </div> <div class="tabs"> - <div class="tab active">鏈湀</div> + <div class="tab" :class="{ active: activeTab1 == 0 }" @click="tabClick1(0)">鏈湀</div> <div class="separate"></div> - <div class="tab">鏈勾</div> + <div class="tab" :class="{ active: activeTab1 == 1 }" @click="tabClick1(1)">鏈勾</div> </div> <img src="@/assets/images/title@2x.png" class="bg" alt="" /> </div> <div class="content_wrap"> <div class="content"> - <div class="num">1000000</div> - <div class="unit_wrap"> + <div class="num">{{ activeTab1 == 0 ? data1.monthOutTotal : data1.yearOutTotal }}</div> + <div class="unit_wrap" v-if="data1.monthOutTotalOnYear || data1.yearOutTotalOnYear"> <span style="color: #869CC9;">鍚屾瘮</span> - <img src="@/assets/images/ic_up.png" class="icon" alt=""> - <span>10.2%</span> + <img + v-if="(activeTab1 == 0 && data1.monthOutTotalOnYear > 0) || (activeTab1 == 1 && data1.yearOutTotalOnYear > 0)" + src="@/assets/images/ic_up.png" class="icon" alt=""> + <img v-else src="@/assets/images/ic_down.png" class="icon" alt=""> + <span>{{ activeTab1 == 0 ? Math.abs(data1.monthOutTotalOnYear) : Math.abs(data1.yearOutTotalOnYear) + }}%</span> </div> </div> <div class="train_wrap"> @@ -41,7 +45,8 @@ </div> <div class="total"> <span>绱鍑哄簱杞︽</span> - <span><strong>3900</strong><span class="unit">娆�</span></span> + <span><strong>{{ activeTab1 == 0 ? data1.monthOutTimes : data1.yearOutTimes }}</strong><span + class="unit">娆�</span></span> </div> </div> </div> @@ -50,14 +55,14 @@ <div class="com_header"> <div class="title"> <img src="@/assets/images/ic_title@2x.png" class="icon" alt="" /> - <div>鏈堣兘鑰楀垎鏋�</div> + <div>杩愯緭浠诲姟鍒嗘瀽</div> </div> <div class="tabs"> - <div class="tab active">杩�7鏃�</div> + <div class="tab" :class="{ active: activeTab2 == 0 }" @click="tabClick2(0)">杩�7鏃�</div> <div class="separate"></div> - <div class="tab">鏈湀</div> + <div class="tab" :class="{ active: activeTab2 == 1 }" @click="tabClick2(1)">鏈湀</div> <div class="separate"></div> - <div class="tab">鏈勾</div> + <div class="tab" :class="{ active: activeTab2 == 2 }" @click="tabClick2(2)">鏈勾</div> </div> <img src="@/assets/images/title@2x.png" class="bg" alt="" /> </div> @@ -83,13 +88,14 @@ <span class="item addr">鏀惰揣鍗曚綅</span> <span class="item time">浠诲姟寮�濮嬫椂闂�</span> </div> - <div class="line" v-for="i in 7"> - <span class="item flag"><span class="flag_bg">鍑�</span></span> - <span class="item order">11</span> - <span class="item id_card">11</span> - <span class="item status">11</span> - <span class="item addr">11</span> - <span class="item time">11</span> + <div class="line" v-for="item in dataList3"> + <span class="item flag"><span :class="{ flag_bg: item.type == 1 || item.type == 3 }">{{ item.type == 1 + || item.type == 3 ? '鍑�' : '鍏�' }}</span></span> + <span class="item order">{{ item.billCode || item.contractNum }}</span> + <span class="item id_card">{{ item.carCodeFront }}</span> + <span class="item status">{{ statusMap[item.status].label }}</span> + <span class="item addr">{{ item.repertotyAddress }}</span> + <span class="item time" v-if="item.confirmTaskDate">{{ item.confirmTaskDate.slice(5, 16) }}</span> </div> </div> </div> @@ -98,12 +104,14 @@ <div class="center_box"> <div class="center_box_one"> <div class="tabs"> - <div class="tab active"> - <img src="@/assets/images/energy_ef/chuku_task_ac.png" alt=""> + <div class="tab" :class="{ active: activeTab4 == 0 }" @click="tabClick4(0)"> + <img v-if="activeTab4 == 0" src="@/assets/images/energy_ef/chuku_task_ac.png" alt=""> + <img v-else src="@/assets/images/energy_ef/chuku_task.png" alt=""> <span>鍑哄簱浠诲姟</span> </div> - <div class="tab"> - <img src="@/assets/images/energy_ef/ruku_task.png" alt=""> + <div class="tab" :style="{ color: activeTab4 == 1 ? '#387df0' : '#d8e4f8' }" @click="tabClick4(1)"> + <img v-if="activeTab4 == 1" src="@/assets/images/energy_ef/ruku_task_ac.png" alt=""> + <img v-if="activeTab4 == 0" src="@/assets/images/energy_ef/ruku_task.png" alt=""> <span>鍏ュ簱浠诲姟</span> </div> </div> @@ -112,26 +120,29 @@ <img src="@/assets/images/energy_ef/ic_renwuzongliang@2x.png" alt=""> <div class="content"> <div class="name">褰撳墠浠诲姟閲�</div> - <div class="num"><span>1000</span>涓囨敮</div> + <div class="num"><span>{{ data4.planTaskNum }}</span>涓囨敮</div> </div> </div> <div class="item"> <img src="@/assets/images/energy_ef/ic_wanchengrenwu@2x.png" alt=""> <div class="content"> <div class="name">褰撴棩瀹屾垚浠诲姟鎬婚噺</div> - <div class="num"><span class="today">1000</span>涓囨敮</div> + <div class="num"><span class="today">{{ data4.finishTaskNum }}</span>涓囨敮</div> </div> </div> <div class="item"> <img src="@/assets/images/energy_ef/ic_bili@2x.png" alt=""> <div class="content"> <div class="name">宸插畬鎴愭瘮渚�</div> - <div class="num"><span class="finish">1000</span>涓囨敮</div> + <div class="num" v-if="data4.finishTaskNum && data4.planTaskNum"><span class="finish">{{ (( + data4.finishTaskNum / data4.planTaskNum) * 100).toFixed(1) }}%</span>涓囨敮</div> </div> </div> </div> </div> - <div class="center_box_two"></div> + <div class="center_box_two"> + <div ref="echartMap" class="echart_map" id="echartMap"></div> + </div> </div> <div class="right_box"> <div class="right_box_one"> @@ -141,9 +152,9 @@ <div>鍑哄叆搴撴晥鐜�</div> </div> <div class="tabs"> - <div class="tab active">浠婃棩</div> + <div class="tab" :class="{ active: activeTab12 == 0 }" @click="tabClick12(0)">浠婃棩</div> <div class="separate"></div> - <div class="tab">鏈湀</div> + <div class="tab" :class="{ active: activeTab12 == 1 }" @click="tabClick12(1)">鏈湀</div> </div> <img src="@/assets/images/title@2x.png" class="bg" alt="" /> </div> @@ -152,14 +163,16 @@ <img src="@/assets/images/energy_ef/ic_chukuxiaolv@2x.png" alt=""> <div class="content"> <div class="name">鍑哄簱鏁堢巼</div> - <div class="num"><span>1000</span>涓囨敮/灏忔椂</div> + <div class="num"><span>{{ activeTab12 == 0 ? data1.todayInRata : data1.monthInRata }}</span>涓囨敮/灏忔椂 + </div> </div> </div> <div class="item"> <img src="@/assets/images/energy_ef/ic_rukuxiaolv@2x.png" alt=""> <div class="content"> <div class="name">鍏ュ簱鏁堢巼</div> - <div class="num"><span class="today">1000</span>涓囨敮/灏忔椂</div> + <div class="num"><span class="today">{{ activeTab12 == 0 ? data1.monthOutTotal : data1.yearOutTotal + }}</span>涓囨敮/灏忔椂</div> </div> </div> </div> @@ -175,32 +188,18 @@ <div class="content"> <div class="echart_wrap"> <div class="pie_text"> - <div class="fs30"><strong>300</strong></div> + <div class="fs30"><strong>{{ data5 }}</strong></div> <div>鍏ュ簱鏁伴噺</div> </div> <div class="echart" id="echart1"></div> </div> <div class="list"> - <div class="item"> + <div class="item" v-for="item, i in dataList5"> <div class="line"> - <div :style="{ background: colors[0] }" class="icon"></div> - <div class="text">鍚堣偉鍘�</div> + <div :style="{ background: colors[i] }" class="icon"></div> + <div class="text">{{ item.name }}</div> </div> - <div :style="{ color: colors[0] }" class="num">100涓囨敮 | 55%</div> - </div> - <div class="item"> - <div class="line"> - <div :style="{ background: colors[1] }" class="icon"></div> - <div class="text">闆嗘暎涓績</div> - </div> - <div :style="{ color: colors[1] }" class="num">100涓囨敮 | 55%</div> - </div> - <div class="item"> - <div class="line"> - <div :style="{ background: colors[2] }" class="icon"></div> - <div class="text">甯傚叕鍙�</div> - </div> - <div :style="{ color: colors[2] }" class="num">100涓囨敮 | 55%</div> + <div :style="{ color: colors[i] }" class="num">{{ item.value }}涓囨敮 | {{ item.rate }}%</div> </div> </div> </div> @@ -216,19 +215,15 @@ <div class="repertory"> <div class="use_ratio"> <div class="header"> - <div>搴撳瓨閲� <span class="num">80/100</span></div> - <div>鍒╃敤鐜� 88%</div> + <div>搴撳瓨閲� <span class="num">{{data1.stockTotal}}/{{data1.stockMax}}</span></div> + <div v-if="data1.stockTotal && data1.stockMax">鍒╃敤鐜噞{ ((data1.stockTotal / data1.stockMax) * 100).toFixed(0) }}%</div> </div> - <Percent :rate="80" /> + <Percent v-if="data1.stockTotal && data1.stockMax" :rate="((data1.stockTotal / data1.stockMax) * 100).toFixed(0)" /> </div> <div class="list"> - <div class="item"> - <div class="la">榛勫北(鏂板埗鐨栫儫)</div> - <div class="val">400涓囨敮</div> - </div> - <div class="item"> - <div class="la">榛勫北(鏂板埗鐨栫儫)</div> - <div class="val">400涓囨敮</div> + <div class="item" v-for="item in dataList6"> + <div class="la">{{ item.name }}</div> + <div class="val">{{item.num}}涓囨敮</div> </div> </div> </div> @@ -244,8 +239,17 @@ import VScaleScreen from 'v-scale-screen' import Percent from '@/components/percent.vue' import dayjs from 'dayjs' - import * as echarts from 'echarts' +import ahJSON from '@/assets/anhui.json' +import { + wlcenterData, + wljobData, + wlplatformJobList, + wlstockList, + wltotalInList, + wltransportMeasure, +} from '@/api' + const colors = ['#FEAF01', '#01ABFE', '#51F9E4'] const weekMap = ['鏄熸湡鏃�', '鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�',] const date = ref(dayjs().format('YYYY.MM.DD')) @@ -262,59 +266,161 @@ const initEnergy = () => { var myChart = echarts.init(document.querySelector('.energyRef')) // 缁樺埗鍥捐〃 - const arr = ['#68e2e3', '#50afd3', '#377cdb', '#d5ae3a'] myChart.setOption({ + legend: { + itemGap: 12, + // icon: 'circle', + right: '12px', + top: '10px', + data: ['璁″垝浠诲姟閲�', '浠诲姟瀹屾垚閲�', '璁″垝浠诲姟鏁�'], + itemWidth: 12, + itemHeight: 4, + textStyle: { + color: '#fff', + borderColor: '#fff' + }, + }, grid: { - top: '20%', - left: '2%', - right: '2%', - bottom: '4%', + left: '3%', + right: '4%', + bottom: '3%', + top: '18%', containLabel: true }, tooltip: { - trigger: 'axis', - axisPointer: { - type: 'line' - }, + trigger: 'axis' }, - xAxis: { + xAxis: [{ + nameGap: 5, type: 'category', - data: [1, 2, 3, 4, 4, 5] - }, - yAxis: { - type: 'value', - name: 'kw路h', - nameTextStyle: { - padding: [0, 0, 4, -30] // 鍥涗釜鏁板瓧鍒嗗埆涓轰笂鍙充笅宸︿笌鍘熶綅缃窛绂� - }, - splitLine: { + axisLine: { show: true, lineStyle: { - //杩欓噷杈撳叆绾挎潯鐨勬牱寮� - color: 'rgba(255,255,255,0.14)', - } + color: '#999' + }, + }, + axisLabel: { + color: '#869CC9' + // fontSize: 24, + }, + axisTick: { + show: false, + }, + data: dataList2.value.map(i => i.planDate), + }], + yAxis: [ + { + nameTextStyle: { + color: '#869CC9', + }, + offset: 0, + name: '涓囨敮', + type: 'value', + axisLabel: { + show: true, + color: "#869CC9", + }, + axisLine: { + show: true, + }, + splitLine: { + show: true, + lineStyle: { + width: 1, + color: "rgba(49,105,129,0.4)", + type: 'dashed' + } + }, + }, + { + type: 'value', + name: '%', + min: 0, + max: 100, + // interval: 5, + axisLabel: { + formatter: '{value}%' + }, + splitLine: false } - }, + ], series: [ { - data: [1, 2, 3, 4, 5], + name: '璁″垝浠诲姟閲�', type: 'bar', barWidth: 10, + barGap: '60%', + label: { + show: false, + position: 'top', + color: '#fff', + }, itemStyle: { - normal: { - color: new echarts.graphic.LinearGradient( - 0, 0, 0, 1, - [ - { offset: 0, color: arr[1] }, - { offset: 1, color: '#080807' } - ] - ), - barBorderRadius: [10, 10, 0, 0] - } - } + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: '#5bc7d5' + }, + { + offset: 1, + color: '#1a3f55' + } + ], false), + lineStyle: { + width: 1, + type: 'solid' + }, + barBorderRadius: [3, 3, 0, 0], + }, + data: dataList2.value.map(i => i.planTaskNum) + }, + { + name: '浠诲姟瀹屾垚閲�', + type: 'bar', + barWidth: 10, + label: { + show: false, + position: 'top', + color: '#fff', + }, + itemStyle: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: '#edaf3d' + }, + { + offset: 1, + color: '#323522' + } + ], false), + lineStyle: { + width: 1, + type: 'solid' + }, + barBorderRadius: [3, 3, 0, 0], + }, + data: dataList2.value.map(i => i.finishTaskNum) + }, + { + name: '璁″垝浠诲姟鏁�', + type: 'line', + smooth: false, + showAllSymbol: true, + symbol: 'none', + lineStyle: { + color: "#1a43bc" + }, + label: { + show: false, + position: 'top', + color: '#fff', + }, + data: dataList2.value.map(i => i.planTimes) } ] }) + window.addEventListener('resize', function () {//鎵ц myChart.resize() }) @@ -338,11 +444,7 @@ labelLine: { show: false }, - data: [ - { value: 1048, name: 'Search Engine' }, - { value: 735, name: 'Direct' }, - { value: 580, name: 'Email' } - ] + data: dataList5.value } ] } @@ -352,9 +454,267 @@ }) } +const echartMap = ref() +const initMap = () => { + var myChart = echarts.init(echartMap.value) + echarts.registerMap('js', ahJSON) + var center = { + '鍚堣偉甯�': [117.25, 31.83], + '婊佸窞甯�': [118.32, 32.3], + '鑺滄箹甯�': [118.43, 31.35], + '闃滈槼甯�': [115.38, 32.89], + '铓屽煚甯�': [117.39, 32.92], + '娣崡甯�': [116.99, 32.63], + '椹瀺灞卞競': [118.5, 31.71], + '瀹夊簡甯�': [117.05, 30.52], + '榛勫北甯�': [118.33, 29.71], + '閾滈櫟甯�': [117.81, 30.94], + '瀹垮窞甯�': [116.98, 33.64], + '娣寳甯�': [116.8, 33.9], + '鍏畨甯�': [116.51, 31.75], + '姹犲窞甯�': [117.49, 30.66], + '瀹e煄甯�': [118.76, 30.94], + '浜冲窞甯�': [115.78, 33.84], + } + var data = [ + { name: "鍚堣偉甯�", value: 3 }, + { name: "婊佸窞甯�", value: 0 }, + { name: "鑺滄箹甯�", value: 1 }, + { name: "闃滈槼甯�", value: 0 }, + { name: "铓屽煚甯�", value: 0 }, + { name: "娣崡甯�", value: 0 }, + { name: "椹瀺灞卞競", value: 0 }, + { name: "瀹夊簡甯�", value: 0 }, + { name: "榛勫北甯�", value: 0 }, + { name: "閾滈櫟甯�", value: 0 }, + { name: "瀹垮窞甯�", value: 0 }, + { name: "娣寳甯�", value: 0 }, + { name: "鍏畨甯�", value: 0 }, + { name: "姹犲窞甯�", value: 1 }, + { name: "瀹e煄甯�", value: 0 }, + { name: "浜冲窞甯�", value: 0 }, + ] + const option = { + title: { + top: 20, + text: '', + subtext: '', + x: 'center', + textStyle: { + color: '#ffffff' + } + }, + + tooltip: { + trigger: 'item', + formatter: function (params) { + if (typeof (params.value)[2] == "undefined") { + return params.name + ' : ' + params.value + } else { + return params.name + ' : ' + params.value[2] + } + } + }, + visualMap: { + show: false, + max: 100, + seriesIndex: [3], + inRange: { + color: ['#A5DCF4', '#006edd'] + } + }, + geo: [{ + map: 'js', + roam: false, //鏄惁鍏佽缂╂斁 + zoom: 1.1, //榛樿鏄剧ず绾у埆 + scaleLimit: { + min: 0, + max: 3 + }, //缂╂斁绾у埆 + itemStyle: { + normal: { + areaColor: 'transparent', + borderColor: '#3fdaff', + borderWidth: 2, + shadowColor: 'rgba(63, 218, 255, 0.5)', + shadowBlur: 30 + }, + emphasis: { + areaColor: '#2B91B7', + } + }, + tooltip: { + show: false + } + }], + series: [ + { + type: 'effectScatter', + coordinateSystem: 'geo', + z: 5, + data, + symbolSize: 14, + label: { + normal: { + show: true, + formatter: function (params) { + return '{fline|鍦扮偣锛�' + params.data.city + '}\n{tline|' + (params.data.info || '鍙戠敓xx闆嗕欢') + '}' + }, + position: 'top', + backgroundColor: 'rgba(233,63,66,.9)', + padding: [0, 0], + borderRadius: 3, + lineHeight: 32, + color: '#ffffff', + rich: { + fline: { + padding: [0, 10, 10, 10], + color: '#ffffff' + }, + tline: { + padding: [10, 10, 0, 10], + color: '#ffffff' + } + } + }, + emphasis: { + show: true + } + }, + itemStyle: { + color: '#e93f42', + } + }, + + //鍦板浘 + { + type: 'map', + mapType: 'js', + geoIndex: -1, + zoom: 1.1, //榛樿鏄剧ず绾у埆 + label: { + show: true, + color: '#ffffff', + emphasis: { + color: 'white', + show: false + } + }, + itemStyle: { + normal: { + borderColor: '#2980b9', + borderWidth: 1, + areaColor: '#1d3b60' + }, + emphasis: { + areaColor: '#FA8C16', + borderWidth: 0, + color: 'green' + } + }, + data: data + } + ] + } + + myChart.setOption(option) + window.addEventListener('resize', function () {//鎵ц + myChart.resize() + }) +} + +const data1 = ref({}) +const activeTab1 = ref(0) +const activeTab12 = ref(0) +const tabClick1 = (val) => { + activeTab1.value = val +} +const tabClick12 = (val) => { + activeTab12.value = val +} +const getData1 = () => { + wlcenterData().then(res => { + const result = res.data + data1.value = result + }) +} + +const dataList2 = ref([]) +const activeTab2 = ref(0) +const tabClick2 = (val) => { activeTab2.value = val } +const getData2 = () => { + wltransportMeasure({ queryType: activeTab2.value }).then(res => { + const result = res.data + dataList2.value = result + initEnergy() + }) +} + +const dataList3 = ref([]) +const statusMap = [ + { value: 0, label: '寰呯‘璁�' }, + { value: 1, label: '寰呯鍒�' }, + { value: 2, label: '绛夊緟鍙彿' }, + { value: 3, label: '鍏ュ洯绛夊緟' }, + { value: 4, label: '鏈堝彴绛夊緟' }, + { value: 5, label: '浣滀笟涓�' }, + { value: 6, label: '浣滀笟瀹屾垚' }, + { value: 7, label: '杞Щ涓�' }, + { value: 8, label: '寮傚父鎸傝捣' }, + { value: 9, label: '宸叉巿鏉冪鍥�' }, + { value: 10, label: '宸茬鍥�' }, + { value: 11, label: '宸茶繃鍙�' }, + { value: 12, label: '宸插彇娑�' }, +] +const getData3 = () => { + wlplatformJobList().then(res => { + const result = res.data + dataList3.value = result + }) +} +const data4 = ref({}) +const activeTab4 = ref(0) +const tabClick4 = (val) => { activeTab4.value = val } +const getData4 = () => { + wljobData({ queryType: activeTab4.value }).then(res => { + const result = res.data + data4.value = result + }) +} +const dataList5 = ref([]) +const data5 = ref(0) +const getData5 = () => { + wltotalInList().then(res => { + const result = res.data || [] + let count = 0 + dataList5.value = result.map(i => { + i.value = i.num + count += i.num + return i + }) + dataList5.value.forEach(i => { + i.rate = ((i.num / count) * 100).toFixed(0) + }) + data5.value = count + initEchart1() + }) +} +const dataList6 = ref([]) +const getData6 = () => { + wlstockList().then(res => { + const result = res.data + dataList6.value = result + }) +} onMounted(() => { - initEnergy() - initEchart1() + getData1() + getData2() + getData3() + getData4() + getData5() + getData6() + + initMap() }) @@ -485,10 +845,6 @@ &:nth-of-type(2n) { background: rgba(27, 64, 97, 0.52); - - .flag_bg { - background: #01ABFE !important; - } } .item { @@ -502,7 +858,7 @@ flex: 3; display: flex; - .flag_bg { + span { width: 22px; height: 22px; display: flex; @@ -512,6 +868,10 @@ background: #00F2F3; font-weight: 500; color: #001B3C; + } + + .flag_bg { + background: #4eacf6; } } @@ -536,8 +896,12 @@ .center_box { flex: 1; padding: 16px 60px; + display: flex; + flex-direction: column; .center_box_one { + height: 190px; + .tabs { display: flex; align-items: center; @@ -546,6 +910,7 @@ display: flex; align-items: center; margin-right: 30px; + cursor: pointer; img { width: 20px; @@ -570,12 +935,13 @@ .static_wrap { display: flex; - justify-content: space-between; align-items: center; margin: 30px 0 54px; .item { display: flex; + justify-content: center; + flex: 1; img { width: 68px; @@ -623,8 +989,13 @@ } .center_box_two { + flex: 1; width: 100%; - border: 1px solid; + + .echart_map { + width: 100%; + height: 100%; + } } } @@ -696,7 +1067,6 @@ justify-content: center; align-items: center; height: 200px; - border: 1px solid; .echart_wrap { position: relative; @@ -772,27 +1142,35 @@ font-size: 14px; color: #D2E0FF; margin-bottom: 11px; + .num { font-weight: 500; font-size: 16px; color: #FFFFFF; } } - .list{ + + .list { margin-top: 22px; - .item{ + height: 240px; + overflow: auto; + scrollbar-width: none; + .item { width: 100%; height: 36px; display: flex; align-items: center; - &:nth-of-type(2n+1){ - background: rgba(0,152,255,0.13); + + &:nth-of-type(2n+1) { + background: rgba(0, 152, 255, 0.13); } - .la{ + + .la { flex: 5; padding-left: 20px; } - .val{ + + .val { flex: 2; } } @@ -899,6 +1277,10 @@ margin: 0 6px; } + .tab { + cursor: pointer; + } + .active { color: #0094eb; } @@ -915,6 +1297,7 @@ position: relative; z-index: -2; font-size: 14px; + .main_bg { position: absolute; left: 0; -- Gitblit v1.9.3