Commit eb91a88d by 胡悦

修改样式

1 parent 7fe54e20
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-07-18 17:47:05
* @LastEditTime: 2023-07-20 15:27:03
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
-->
......@@ -16,7 +16,7 @@
<div class="merchant-name">{{ firstTab[dataListObj.labelName] }}</div>
<img class="arrow-down" src="@/assets/images/title-arrow.png" alt="">
</div>
<SelectBox :isShow="isShow" :defaultValue="firstTab[dataListObj.valueName]" @clickOutside="clickOutside" :dataList="merchantList" :boxWidth="'23.33vw'" isObject @selectVal="selectVal" :labelName="dataListObj.labelName" :valueName="dataListObj.valueName">
<SelectBox :isShow="isShow" :defaultValue="firstTab[dataListObj.valueName]" @clickOutside="clickOutside" :dataList="merchantList" :boxWidth="'26.53vw'" isObject @selectVal="selectVal" :labelName="dataListObj.labelName" :valueName="dataListObj.valueName">
<div slot="search" class="search">
<input type="text" class="search-input" v-model="search" @input="handleInput">
<img class="icon-search" src="@/assets/images/icon-search.png" @click="searchMerchant" alt="">
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-07-19 10:49:44
* @LastEditTime: 2023-07-20 15:25:22
* @FilePath: \dj-data-view\src\components\ViewTitle.vue
* @Description: 页面头部组件
-->
......@@ -15,14 +15,14 @@
<div class="tab-item first-tab" :class="currentMenu == 'home' ? 'active' : ''" @click.prevent="jump('home')">
<div class="tab-title">{{ firstTab.label }}</div>
<img class="arrow-down" @click.stop="openSelect" src="@/assets/images/title-arrow.png" alt="">
<SelectBox :isShow="isShow" @clickOutside="clickOutside" :dataList="dataList" :boxWidth="'17.1vw'" isObject @selectVal="selectVal"></SelectBox>
<SelectBox :isShow="isShow" @clickOutside="clickOutside" :dataList="dataList" :boxWidth="'16.94vw'" isObject @selectVal="selectVal"></SelectBox>
</div>
<div class="tab-item other-tab" :class="currentMenu == 'operational' ? 'active' : ''" @click="jump('operational')">
<!-- <div class="tab-item other-tab" :class="currentMenu == 'operational' ? 'active' : ''" @click="jump('operational')">
<div class="tab-name">运营数据</div>
</div>
<div class="tab-item other-tab" :class="currentMenu == 'interior' ? 'active' : ''" @click="jump('interior')">
<div class="tab-name">内部数据</div>
</div>
</div> -->
</div>
<!-- <div class="view-title user-select">嘀加智慧门店运营看板</div> -->
<div class="time">
......@@ -163,9 +163,6 @@ export default {
width: 1.39vw;
height: 2.22vh;
}
.select-box {
left: -2px;
}
}
.other-tab{
width: 7.22vw;
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 11:46:53
* @LastEditors: huyue
* @LastEditTime: 2023-07-14 14:39:49
* @LastEditTime: 2023-07-20 15:21:45
*/
const DefaultData = {
yearList: ['2023', '2022'],
......@@ -11,18 +11,18 @@ const DefaultData = {
{
label: '业务数据 | 1.0太阳膜采购',
value: '1'
},
{
label: '业务数据 | 1.1精品升级',
value: '2'
},
{
label: '业务数据 | 1.3售后众筹',
value: '3'
},
{
label: '业务数据 | 2.1会员权益',
value: '4'
// },
// {
// label: '业务数据 | 1.1精品升级',
// value: '2'
// },
// {
// label: '业务数据 | 1.3售后众筹',
// value: '3'
// },
// {
// label: '业务数据 | 2.1会员权益',
// value: '4'
}
],
directionTimer: 3000,
......
......@@ -23,7 +23,7 @@ export default {
formatter: function(params) {
var _html = `<div style="backdrop-filter: blur(4px);background-color: #051526;border: 2px solid;border-image: linear-gradient(90deg, #074989, #30DCFF, #074989) 1;padding: 10px;">
<div style="color: #fff;">${params.name}</div>
<div style="display:flex;"><div style="color: #c9c9c9">客单价:</div><div style="color: #fff;">${params.data ? utils.numAddSymbol(params.data.value1) : 0}</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">客单价:</div><div style="color: #fff;">¥${params.data ? utils.numAddSymbol(params.data.value1) : 0}</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">转化率:</div><div style="color: #fff;">${params.data ? utils.numAddSymbol(params.data.value2) : 0}%</div></div>
<div style="display:flex;"><div style="color: #c9c9c9">占比:</div><div style="color: #fff;">${params.data ? utils.numAddSymbol(params.data.rate) : 0}%</div></div>
</div>`
......@@ -57,8 +57,8 @@ export default {
type: 'linear',
x: 0,
y: 0,
x2: 0,
y2: 1,
x2: 1,
y2: 0,
colorStops: [{
offset: 0, color: '#079FF1' // 0% 处的颜色
}, {
......@@ -93,7 +93,7 @@ export default {
<style lang="scss">
.map {
width: 39.58vw;
height: 44.89vh;
width: 40.58vw;
height: 45.89vh;
}
</style>
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-04 13:55:35
* @LastEditors: huyue
* @LastEditTime: 2023-07-20 10:39:14
* @LastEditTime: 2023-07-20 15:22:15
-->
<template>
<div class="layout">
......@@ -59,7 +59,7 @@ export default {
},
data() {
return {
activeName: '2'
activeName: '1'
}
},
mounted() {
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-06 16:19:15
* @LastEditors: huyue
* @LastEditTime: 2023-07-18 17:27:35
* @LastEditTime: 2023-07-20 15:24:42
-->
<template>
<div class="purchase-box">
......@@ -123,6 +123,7 @@ export default {
display: inline-block;
width: 0.83vw;
height: 1.33vh;
line-height: 1.33vh;
margin-right: 0.28vw;
font-size: 8px;
text-align: center;
......
......@@ -103,6 +103,7 @@ export default {
display: inline-block;
width: 0.83vw;
height: 1.33vh;
line-height: 1.33vh;
margin-right: 0.28vw;
font-size: 8px;
text-align: center;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!